dify-workflow

dify-workflow is a skill for Claude Code, Codex from oyi77/1ai-skills. It costs 37 tokens per session (1,402 once invoked), scanned B, original, MIT.

A visual platform for building applications powered by large language models, including chatbots, agents, text generators, and workflows. It can connect document knowledge bases, tools, conditions, and APIs without requiring all of the workflow to be coded by hand.

In plain words
What is it for?
Use it to prototype or deploy AI applications, create document-based knowledge systems, design conditional workflows, and manage prompts and conversation memory.
Why use it?
It gives developers a visual way to assemble AI workflows and connect them to documents or external services. It also provides ways to expose the resulting applications through an API, embedded app, or shareable link.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the 1ai-skills plugin — 187 skills, 4 commands shipped together

Good fit Use it to prototype or deploy AI applications, create document-based knowledge systems, design conditional workflows, and manage prompts and conversation memory.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/oyi77/1ai-skills/dify-workflow
Install

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.

Any agent
npx skills add oyi77/1ai-skills --skill dify-workflow
Clone the repo
git clone --depth 1 https://github.com/oyi77/1ai-skills

Made for: Claude Code, Codex.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 187 skills, 4 commands.

Wrote 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.

agentmods badge for dify-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/oyi77/1ai-skills/dify-workflow/github.svg)](https://agentmods.dev/skills/oyi77/1ai-skills/dify-workflow)
Your own site
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/dify-workflow"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/dify-workflow/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.

agentmods 80×15 button for dify-workflow

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/dify-workflow"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/dify-workflow.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,402 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01402
Opus 5 $0.00018 $0.00701
Sonnet 5 $0.00007 $0.00280
Haiku 4.5 $0.00004 $0.00140

Measured 5d ago against content hash 46a3bed2c95e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

dify-workflow scanned grade B with 2 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 5d ago.

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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

response = requests.post( 'https://api.dify.ai/v1/datasets/{dataset_id}/documents',

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST 'https://api.dify.ai/v1/chat-messages' \
core/dify-workflow/SKILL.md · 234 lines

How it starts

The opening of the file, as written. The whole thing — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Overview

Dify is an open-source platform for building LLM applications with a visual workflow builder. It supports chatbots, agents, text generators, and complex workflows with knowledge bases, tools, and conditional logic.

Capabilities

  • Build LLM apps visually (chatbot, agent, text generator, workflow)
  • Create and manage knowledge bases with document upload
  • Design workflows with nodes: LLM, knowledge retrieval, code, HTTP, conditional
  • Deploy apps via API, embed, or shareable link
  • Manage prompts, variables, and conversation memory
  • Integrate with OpenAI, Azure, local models via Ollama

When to Use

Trigger phrases:

  • "dify workflow"

  • "Dify AI workflow platform — LLM apps, knowledge bases, agents, workflow orchestr"

  • Building LLM applications without coding

  • Needing visual workflow design for AI pipelines

  • Wanting knowledge base RAG without infrastructure setup

  • Prototyping AI features quickly

  • Deploying AI apps as APIs

When NOT to Use

  • Task is outside your authorization scope
  • You need to implement controls (use implementing-* skills)
  • Task is about analysis, not action (use analyzing-* skills)
  • You don't have access to target systems
  • Task requires compliance expertise (consult professionals)
  • Task is about defense, not offense (use defensive skills)

Pseudo Code

# Example workflow for this skill
def execute(input_data):
    # Step 1: Validate input
    if not input_data:
        raise ValueError("Input data is required")

    # Step 2: Process core logic
    result = process(input_data)

    # Step 3: Validate output
    validate_output(result)

    return result

App Types

Type Use Case
Chatbot Multi-turn conversation with memory
Agent Tool-using autonomous assistant
Text Generator Single input → output transformation
Workflow Complex multi-step pipeline

Workflow Node Design

Start → Knowledge Retrieval → LLM → Conditional → HTTP Request → End
                                    ↓
                              Code Processing → End

Read the full file on GitHub · 234 lines

Changes

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.

  1. 5d ago First seen · 234 lines · 37 tokens per session scan B 46a3bed2c95e

Subscribe to this mod's changes

dify-workflow is a skill published in the GitHub repository oyi77/1ai-skills (12 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 1,402 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories