Agent skill

Dify Workflow

by LingyiChen-AI in LingyiChen-AI/workflow-skill

Generate Dify workflow DSL files from natural language descriptions.

No licenceAuto-check passed

Install Dify Workflow

skills CLI
$ npx skills add LingyiChen-AI/workflow-skill --skill dify-workflow -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install LingyiChen-AI/workflow-skill dify-workflow --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/LingyiChen-AI/workflow-skill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/dify-workflow .claude/skills/dify-workflow && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dify-workflow
GitHub stars
175
Token cost
~3.6k tokens
SKILL.md length
1,223 words
Files
25 (incl. references)
Skills in repo
2
Repo updated
First seen
Licence
None found

At a glance

Generate Dify workflow DSL files from natural language descriptions.

  • Works in 3 steps: "What inputs will the workflow receive,… → "What processing steps are needed?… → "Any specific models, tools, or…
  • SKILL.md covers Overview, Smart Interaction Logic, Node Router Table and Generation Flow, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Dify Workflow is an agent skill from LingyiChen-AI/workflow-skill. Generate Dify workflow DSL files from natural language descriptions. Produces importable YAML/JSON workflow definitions with correct node schemas, edges, and layout.

Its SKILL.md is about 3.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 27 other files, including reference files (for example `examples/rag-with-rerank.yml`, `examples/simple-chatbot.yml` and `references/dsl-format.md`).

It works with Dify. The repository describes itself as: 一句话描述你想要的工作流,自动生成 Coze / Dify / ComfyUI 平台可直接导入的完整工作流定义文件——包括节点配置、连线、布局和所有平台特有的格式要求。

Example prompts

  • “/dify-workflow”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. "What inputs will the workflow receive, and what outputs should it produce?"
  2. "What processing steps are needed? (e.g., LLM call, knowledge retrieval, API call, conditional logic)"
  3. "Any specific models, tools, or knowledge bases to use?"

What it can do on your machine

Read from SKILL.md and the folder at commit 30922c1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dify Workflow loads about 3.6k tokens when it runs, and up to ~41k if it reads all its reference files. Until then it costs about 45 tokens; SKILL.md has 1,223 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~3.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~41k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 1,223 words (~3,600 tokens).

“This skill generates Dify workflow DSL files that can be directly imported into a Dify instance. Given a natural language description of a desired workflow, it produces a complete YAML (default) or JSON file containing all nodes, edges, layout positions…”

— opening of SKILL.md by LingyiChen-AI
name
dify-workflow

Read the full SKILL.md on GitHub

Files

SKILL.md and 24 other files (references) in skills/dify-workflow of LingyiChen-AI/workflow-skill.

  • SKILL.md
  • examples/rag-with-rerank.yml
  • examples/simple-chatbot.yml
  • references/dsl-format.md
  • references/edge-and-layout.md
  • references/nodes/answer.md
  • references/nodes/code.md
  • references/nodes/document-extractor.md
  • references/nodes/end.md
  • references/nodes/http-request.md
  • references/nodes/if-else.md
  • references/nodes/iteration.md
  • references/nodes/knowledge-retrieval.md
  • references/nodes/llm.md
  • references/nodes/parameter-extractor.md
  • references/nodes/question-classifier.md
  • references/nodes/start.md
  • references/nodes/template-transform.md
  • … and 7 more

Open the folder on GitHubat commit 30922c1

Compare with similar skills

Dify Workflow next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dify Workflow compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dify Workflow this skillLingyiChen-AI/workflow-skill175—~3.6kAutomated safety check: PassNone
Frontend Code Reviewlanggenius/dify158k—~938Automated safety check: PassCustom licence
Dify Component Writing Guidelanggenius/dify158k—~626Automated safety check: PassCustom licence
Dify Command Line with difyctllanggenius/dify158k—~1.4kAutomated safety check: PassCustom licence
Deep Research21pounder/terminalAgent1202 repos~883Automated safety check: NotesApache-2.0
Dify Frontend Testinglanggenius/dify158k—~242Automated safety check: PassCustom licence

Similar skills

  • Frontend Code Review

    langgenius/dify

    Reviews frontend changes under `web/` or `packages/dify-ui/` for concrete defects and broken project contracts, using routed rule packs and a severity scale for findings.

    158k GitHub stars~938 tokensUpdated today
    DevelopmentAuto-check passed
  • Use when implementing or refactoring React/TypeScript components and the task requires decisions about component ownership, feature boundaries, state, data…

    158k GitHub stars~626 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Base skill for the difyctl CLI: discover a Dify server's operations through help output and run them as commands, always with JSON output.

    158k GitHub stars~1.4k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Deep Research

    21pounder/terminalAgent

    Conduct comprehensive deep research on any topic using Dify-powered workflow - searches documentation, academic papers, tutorials, APIs, best practices, and returns structured analysis with insights.

    120 GitHub starsUsed in 2 repos~883 tokens
    Research & ScienceAuto-check: notes
  • Dify Frontend Testing

    langgenius/dify

    Use when writing or changing Vitest or React Testing Library tests under `web/` or `packages/dify-ui/`, or when the user explicitly requests frontend test…

    158k GitHub stars~242 tokensUpdated today
    Testing & QAAuto-check passed
  • Frontend Testing

    Ohh-889/skyroc

    Generate Vitest + React Testing Library tests for Dify frontend components, hooks, and utilities.

    795 GitHub starsUsed in 1 repo~2.5k tokens
    Testing & QAAuto-check passed

More from LingyiChen-AI/workflow-skill

  • Coze Workflow

    LingyiChen-AI/workflow-skill

    Generate Coze workflow YAML files packaged as ZIP for import into coze.cn cloud platform.

    175 GitHub stars~4.2k tokensUpdated 4 mo ago
    Auto-check passed

Works with

Questions about Dify Workflow

What does Dify Workflow do?

Generate Dify workflow DSL files from natural language descriptions. Dify Workflow is an agent skill from LingyiChen-AI/workflow-skill. Generate Dify workflow DSL files from natural language descriptions.

How do I install Dify Workflow in Claude Code?

Run `npx skills add LingyiChen-AI/workflow-skill --skill dify-workflow -a claude-code`. Or copy the skill folder (skills/dify-workflow in LingyiChen-AI/workflow-skill) into .claude/skills/dify-workflow in your project. Claude Code loads it when a task matches its description.

How do I install Dify Workflow in Codex?

Run `npx skills add LingyiChen-AI/workflow-skill --skill dify-workflow -a codex`. Or copy the skill folder (skills/dify-workflow in LingyiChen-AI/workflow-skill) into .agents/skills/dify-workflow in your project. Codex loads it when a task matches its description.

Can I use Dify Workflow in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LingyiChen-AI/workflow-skill --skill dify-workflow -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dify-workflow, .gemini/skills/dify-workflow, .github/skills/dify-workflow and .opencode/skills/dify-workflow in your project.

What does Dify Workflow need to run?

SKILL.md names no scripts, command-line tools or credentials: Dify Workflow is instructions for the agent only.

Does Dify Workflow access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Dify Workflow safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Dify Workflow use?

No licence was found for Dify Workflow or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Dify Workflow use?

About 3.6k tokens (SKILL.md is roughly 14k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 37k tokens, read only when the agent opens those files.

What are the alternatives to Dify Workflow?

Skills that share tags, products or a category with Dify Workflow: Frontend Code Review (langgenius/dify, 158k stars), Dify Component Writing Guide (langgenius/dify, 158k stars), Dify Command Line with difyctl (langgenius/dify, 158k stars) and Deep Research (21pounder/terminalAgent, 120 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dify Workflow?

LingyiChen-AI (a GitHub user) maintains it in LingyiChen-AI/workflow-skill, which has 175 GitHub stars. The repository holds 2 skills in this directory. The repository was last updated on May 22, 2026.

Source: LingyiChen-AI/workflow-skill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.