Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add alexjiaguo/dify-mcp --skill difywfgit clone --depth 1 https://github.com/alexjiaguo/dify-mcpWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/alexjiaguo/dify-mcp/difywf)<a href="https://agentmods.dev/skills/alexjiaguo/dify-mcp/difywf"><img src="https://agentmods.dev/badge/skills/alexjiaguo/dify-mcp/difywf/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/alexjiaguo/dify-mcp/difywf"><img src="https://agentmods.dev/badge/skills/alexjiaguo/dify-mcp/difywf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00072 | $0.00907 |
| Opus 5.5 | $0.00029 | $0.00363 |
| Sonnet 5.5 | $0.00014 | $0.00181 |
| Haiku 4.5 | $0.00007 | $0.00091 |
Grade A, and why
difywf scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 37 lines — stays where its author put it; the contents beside it link to each section on GitHub.
difywf (dify-mcp)
Programmatic control over Dify (1.16–1.20) via 200 tools across 22 namespaces — identical JSON contract ({ ok, data } or { ok: false, error: { code, message, retryable } }) on both MCP and CLI.
Surfaces
- MCP attached: Call tools with underscore names (e.g.,
workflow_sync_draft,pat_list). Start withagent_guideor read resourcedifywf://guideif you need node schemas or compatibility notes. - CLI (no MCP): Run
difywf <namespace> <verb> [flags](e.g.,difywf wf draft sync <app-id> --graph graph.json --dry-run). Rundifywf agent guidefor the full playbook ordifywf --helpfor all commands. For large outputs, pass--output-file <path>.
Auth & Scope Boundary
Check auth.status / difywf auth status first:
- Console authoring (
/console/api): Required for creating apps, editing/syncing drafts, publishing, DSL/ifpkgimport/export, andpat.*management. Uses Cookie+CSRF (auth.import_cookies,auth.login_console, orDIFY_CONSOLE_COOKIE). - OpenAPI (
/openapi/v1, enabled by default in Dify 1.20+): Accepts a Personal Access Token (dpat_..., managed viapat.*) or OAuth device token viaDIFY_OPENAPI_TOKEN,DIFY_TOKEN,--openapi-token, orauth.set_tokens. Covers resource calls/discovery (apps,:run,:stop,/events,/files, HITL forms,workspaces), not authoring or DSL import/export.
Golden Path: Spec → Published Workflow
- Locate or create app:
app.list/app.get/app.create(workflow|advanced-chat|chat|agent-chat|completion). - Fetch node schemas:
workflow.node_defaultsfor each node type you plan to wire. - Build graph:
{ nodes: [{ id, data: { type, ... } }], edges: [{ source, target, sourceHandle, targetHandle }] }with exactly onestartnode, template refs{{#nodeId.var#}}, selectors["nodeId", "var"], and upstream-only references (no cycles). - Validate offline:
workflow.validate— fix every error-level issue before touching the server. - Preview & sync:
workflow.sync_draftwithdry_run=true(--dry-run), review the diff, then sync withoutdry_run. On stale-hash (VALIDATION_FAILED), refetchworkflow.get_draftand retry. - Test-run:
workflow.run_draftwith inputs and inspect events (workflow.events/runs.node_executions). - Publish:
workflow.publishwithconfirm=true(--yes) once a model provider is configured (provider.list).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 37 lines · 72 tokens per session scan A d491be28361d
difywf is a skill published in the GitHub repository alexjiaguo/dify-mcp (32 stars, last pushed 2d ago), licensed Apache-2.0. It adds 72 tokens to every session and 907 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-25.
difywf compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| difywfalexjiaguo/dify-mcp | Skill | 32 | 2d ago | Apache-2.0 | A | 72 | Claude Code, Codex |
| molecular-ragsynthetic-sciences/openscience | Skill | 4.4k | yesterday | Apache-2.0 | A | 40 | Claude Code, Codex |
| llmwikiatomicstrata/llm-wiki-compiler | Skill | 2.3k | yesterday | MIT | A | 66 | Claude Code, Codex |
| building-agentsericrisco/rsc-harness | Skill | 669 | yesterday | MIT | A | 85 | Claude Code, Codex |
| bailian-climodelstudioai/cli | Skill | 374 | today | Apache-2.0 | A | 542 | Claude Code, Codex |
| bailian-kbmodelstudioai/cli | Skill | 374 | today | Apache-2.0 | A | 236 | Claude Code, Codex |
| genai-runtimemendixlabs/mxcli | Skill | 145 | today | Apache-2.0 | A | 101 | Claude Code |