glif-workflow-builder
2
总安装量
2
周安装量
#66524
全站排名
安装命令
npx skills add https://github.com/willsigmon/sigstack --skill glif-workflow-builder
Agent 安装分布
opencode
2
codex
2
claude-code
2
antigravity
2
gemini-cli
2
windsurf
1
Skill 文档
Glif Workflow Builder
Design AI workflows using Glif’s block-based system.
Workflow Structure
Glifs are JSON graphs with nodes (blocks) connected via variable references.
{
"nodes": [
{"name": "input1", "type": "TextInputBlock", "params": {...}},
{"name": "generator", "type": "ImageBlock", "params": {"prompt": "{input1}"}}
]
}
Block Types
Input Blocks
- TextInputBlock – Text input from user
- ImageInputBlock – Image upload
- MultipickBlock – Multiple choice selector
AI Generation Blocks
- TextBlock – LLM text generation (GPT, Claude, Llama)
- ImageBlock – Image generation (SDXL, Flux, DALL-E)
- ImageToTextBlock – Image captioning/analysis
- VideoBlock – Video generation
Utility Blocks
- CombineTextBlock – Concatenate text values
- JSONExtractorBlock – Parse JSON responses
- PublishedGlifBlock – Nest other glifs
- WebFetchBlock – HTTP requests
Output Blocks
- HTMLBlock – Custom HTML rendering
- CanvasBlock – Image composition
- AudioBlock – Audio output
Variable References
Reference other blocks using {blockName}:
{
"name": "enhancer",
"type": "TextBlock",
"params": {
"prompt": "Enhance this prompt: {userInput}",
"model": "gpt-4"
}
}
Design Patterns
Basic Image Generator
TextInput â ImageBlock â Output
Prompt Enhancement
TextInput â TextBlock (enhance) â ImageBlock â Output
Multi-Image Composite
TextInput â ImageBlock (bg) ââ
TextInput â ImageBlock (fg) ââ¼â CanvasBlock â Output
Iterative Refinement
TextInput â ImageBlock â ImageToTextBlock â TextBlock â ImageBlock â Output
Best Practices
- Keep inputs minimal – 2-3 max for usability
- Name blocks descriptively –
stylePromptnottext1 - Use alphanumeric + underscore only for names
- Chain text blocks for complex prompts
- Test incrementally – add one block at a time
Schema Reference
Full JSON schema: https://glif.app/api/graphJsonSchema
Common Models
Text: gpt-4, gpt-4o, claude-3, llama-3 Image: flux-pro, sdxl, dall-e-3, stable-diffusion-3 Video: runway-gen3, kling