Agent skill

Dify Dsl Generator

by wwwzhouhui in wwwzhouhui/skills_collection

专业的 Dify 工作流 DSL/YML 文件生成器,根据用户业务需求自动生成完整的 Dify 工作流配置文件,支持各种节点类型和复杂工作流逻辑

No licenceAuto-check passed

Install Dify Dsl Generator

skills CLI
$ npx skills add wwwzhouhui/skills_collection --skill dify-dsl-generator -a claude-code

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

GitHub CLI
$ gh skill install wwwzhouhui/skills_collection dify-dsl-generator --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/wwwzhouhui/skills_collection.git skills-src && mkdir -p .claude/skills && cp -r skills-src/dify-dsl-generator .claude/skills/dify-dsl-generator && 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-dsl-generator
GitHub stars
283
Token cost
~2.7k tokens
SKILL.md length
593 words
Files
6 (incl. references)
Skills in repo
25
Repo updated
First seen
Licence
None found

At a glance

专业的 Dify 工作流 DSL/YML 文件生成器,根据用户业务需求自动生成完整的 Dify 工作流配置文件,支持各种节点类型和复杂工作流逻辑

  • Works in 8 steps: App 配置 → Dependencies 依赖 → Workflow 工作流 → …
  • SKILL.md covers 核心功能, 使用方法, Dify DSL 文件结构 and 节点类型详解, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Dify Dsl Generator is an agent skill from wwwzhouhui/skills_collection. 专业的 Dify 工作流 DSL/YML 文件生成器,根据用户业务需求自动生成完整的 Dify 工作流配置文件,支持各种节点类型和复杂工作流逻辑

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 7 other files, including reference files (for example `README.md`, `examples/example-agent-workflow.yml` and `examples/example-ocr-workflow.yml`).

It works with Dify and OpenAI. The repository describes itself as: 本项目是个人开发的 Claude Code Skills 集合,提供实用的技能工具,助力提升开发效率和内容创作。 分享一些好用的 Claude Code Skills,自用、学习两相宜,适用于 Claude Code v2.0 及以上版本。

Example prompts

  • “/dify-dsl-generator”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. App 配置
  2. Dependencies 依赖
  3. Workflow 工作流
  4. 需求分析
  5. 节点设计
  6. 流程连接
  7. DSL 生成
  8. 验证检查

What it can do on your machine

Read from SKILL.md and the folder at commit b98f166. 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

    Links to these hosts (documentation or services it may open):

    • github.com
    • docs.dify.ai

    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 Dsl Generator loads about 2.7k tokens when it runs, and up to ~5.6k if it reads all its reference files. Until then it costs about 23 tokens; SKILL.md has 593 words of instructions outside code blocks.

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

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 593 words (~2,663 tokens).

“专业的 Dify 工作流 DSL/YML 文件自动生成工具,基于对 86+ 实际工作流案例的深度学习,能够根据用户的业务需求自动生成符合 Dify 规范的完整工作流配置文件。”

— opening of SKILL.md by wwwzhouhui
name
dify-dsl-generator
version
1.0.0

Read the full SKILL.md on GitHub

Files

SKILL.md and 5 other files (references) in dify-dsl-generator of wwwzhouhui/skills_collection.

  • SKILL.md
  • .gitignore
  • README.md
  • examples/example-agent-workflow.yml
  • examples/example-ocr-workflow.yml
  • references/dsl-structure.md

Open the folder on GitHubat commit b98f166

Compare with similar skills

Dify Dsl Generator 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 Dsl Generator compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dify Dsl Generator this skillwwwzhouhui/skills_collection283—~2.7kAutomated safety check: PassNone
Geo Fundamentalswasp-lang/wasp19k9 repos~861Automated safety check: PassMIT
AI SDKvercel-labs/ai-facts16820 repos~1.2kAutomated safety check: PassNone
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
PR Design DocOpenHands/OpenHands90k—~2.4kAutomated safety check: PassMIT
SEO GeoReScienceLab/opc-skills1.8k4 repos~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Geo Fundamentals

    wasp-lang/wasp

    Generative Engine Optimization for AI search engines (ChatGPT, Claude, Perplexity).

    19k GitHub starsUsed in 9 repos~861 tokens
    Marketing & SEOAuto-check passed
  • AI SDK

    vercel-labs/ai-facts

    Official

    Answer questions about the AI SDK and help build AI-powered features.

    168 GitHub starsUsed in 20 repos~1.2k tokens
    AI & LLM EngineeringAuto-check passed
  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated today
    Media & CreativeAuto-check passed
  • PR Design Doc

    OpenHands/OpenHands

    For a non-trivial pull request, write a self-contained HTML design doc under the temporary .pr/ directory and link a visibility-appropriate preview in the PR description, so maintainers grasp the…

    90k GitHub stars~2.4k tokensUpdated today
    DevelopmentAuto-check passed
  • SEO Geo

    ReScienceLab/opc-skills

    SEO & GEO (Generative Engine Optimization) for websites. An agent skill from ReScienceLab/opc-skills.

    1.8k GitHub starsUsed in 4 repos~2.1k tokens
    Marketing & SEOAuto-check passed
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    46k GitHub stars~3.1k tokensUpdated yesterday
    DevelopmentAuto-check passed

More from wwwzhouhui/skills_collection

All 25 skills in this repo
  • Knowledge Absorber

    wwwzhouhui/skills_collection

    深度解析链接/文档/代码,生成导师级教学笔记 + Wan 2.7 知识海报. An agent skill from wwwzhouhui/skills_collection.

    283 GitHub stars~2k tokensUpdated 5 days ago
    Auto-check passed
  • Remotion Video Factory

    wwwzhouhui/skills_collection

    视觉从代码生长的技术讲解视频工厂:给一个主题,产出一条"图解动画 + AI 配音"的 MP4——结构图/矩阵/连线拓扑/图表/数字滚动全部用 Remotion + React/SVG 代码精确绘制(不用 AI 视频模型,杜绝公式乱码与连线漂移,可参数化、改数据自动重排),旁白由 TTS 逐段生成 + ffprobe 实测时长(默认 edge-tts 神经音色;--engine clone…

    283 GitHub stars~990 tokensUpdated 5 days ago
    Auto-check passed
  • Voice To Video

    wwwzhouhui/skills_collection

    口播文字稿一键成片:TTS 配音(edge-tts,带逐句/逐词时间戳)→ HTML 动画合成(场景由时间戳驱动,画面跟着声音走)→ Playwright 逐帧确定性渲染合成 MP4。Use whenever the user wants to 把口播稿/文字稿/文案/文章做成视频、配音视频、解说视频、知识类短视频、口播视频、文字转视频、TTS video、voice-over…

    283 GitHub stars~1.1k tokensUpdated 5 days ago
    Auto-check passed
  • Article Explainer Video

    wwwzhouhui/skills_collection

    把一篇技术长文/论文解读自动做成章节式解说视频(1080p, 5-8 分钟)。双主题:warm(奶油底+珊瑚红+cozy-handdrawn 透明插图,亲和感)和 midnight(深蓝黑底+琥珀金+宋体标题+executive-tech 插图,AI 科技感),storyboard 一个 theme 字段切换。每章三种 layout 混排:illustration(左文右图+Ken…

    283 GitHub stars~2.2k tokensUpdated 5 days ago
    Auto-check passed
  • Edu Teaching Animation

    wwwzhouhui/skills_collection

    把单个学科概念(中文/英文都行,如"声现象""杠杆原理""光合作用")自动做成动态教学内容。两种产出都由 HyperFrames 渲染、共用同一个 index.html(mode 变量切换):① 配音教学视频 — 分镜 + Minimax / Edge TTS 中文配音 + 字幕 + 完整 MP4(1080p, ~90s, 发视频号/给孩子看);② 无声循环动图 — 同一内容的紧凑无声版…

    283 GitHub stars~1.5k tokensUpdated 5 days ago
    Auto-check passed
  • Env Setup

    wwwzhouhui/skills_collection

    Checking and provisioning the machine's environment for the video-agent-kit plugin — probing for ffmpeg/ffprobe that actually carry the encoders and filters we render with (libx264/aac/libmp3lame…

    283 GitHub stars~3.5k tokensUpdated 5 days ago
    Auto-check: notes

Works with

Questions about Dify Dsl Generator

What does Dify Dsl Generator do?

专业的 Dify 工作流 DSL/YML 文件生成器,根据用户业务需求自动生成完整的 Dify 工作流配置文件,支持各种节点类型和复杂工作流逻辑. Dify Dsl Generator is an agent skill from wwwzhouhui/skills_collection.

How do I install Dify Dsl Generator in Claude Code?

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

How do I install Dify Dsl Generator in Codex?

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

Can I use Dify Dsl Generator 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 wwwzhouhui/skills_collection --skill dify-dsl-generator -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-dsl-generator, .gemini/skills/dify-dsl-generator, .github/skills/dify-dsl-generator and .opencode/skills/dify-dsl-generator in your project.

What does Dify Dsl Generator need to run?

SKILL.md names no scripts, command-line tools or credentials: Dify Dsl Generator is instructions for the agent only. Our summary lists: Python 3.

Does Dify Dsl Generator access the network?

SKILL.md names 2 domains. As links in the text: github.com and docs.dify.ai. This is read from the text; nothing was executed.

Is Dify Dsl Generator 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 Dsl Generator use?

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

How many tokens does Dify Dsl Generator use?

About 2.7k tokens (SKILL.md is roughly 11k 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 2.9k tokens, read only when the agent opens those files.

What are the alternatives to Dify Dsl Generator?

Skills that share tags, products or a category with Dify Dsl Generator: Geo Fundamentals (wasp-lang/wasp, 19k stars), AI SDK (vercel-labs/ai-facts, 168 stars), AI Image Generation and Editing (zhayujie/CowAgent, 47k stars) and PR Design Doc (OpenHands/OpenHands, 90k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dify Dsl Generator?

wwwzhouhui (a GitHub user) maintains it in wwwzhouhui/skills_collection, which has 283 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on October 6, 2026.

Source: wwwzhouhui/skills_collection on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.