English edition updated

How a Skill turns a methodology into a workflow

  • #Agent Skills
  • #Workflow
  • #AI Coding
  • #Methodology

There are several different perceptions of Skill in the market. A few days ago, an article was published on the Tencent Developer Forum, which said that Skill is a "script with documentation".

But in my experience, this definition is too narrow.

Earlier this year, there was an issue #15895 on Gemini CLI's GitHub that provided an excellent definition of a skill: A skill is a methodology, not just scripts and documentation. This statement perfectly summarizes my previous experience.

I've developed workflows on both Dify and Buttons, and I've also used various skills extensively. From a practical standpoint, there are many significant differences in their usability:

DimensionWorkflowSkill
natureprocessMethodology
AI perspectiveBlack box (only a single node is visible)White box (full view visible)
flexibilitySolidified, inescapableCuttable and Interventional
maintainDifficulty when there are many nodesLoad on demand, lightweight
AI RoleSemantic tools (local invocation)Global Layout

Workflow: Directed Acyclic Black Box

A workflow is a directed acyclic graph (DAG) with explicit process constraints, which means that you cannot jump directly from one node to another without a path or connecting line; you must follow a pre-defined process.

For most users, a workflow is a black box. You can't tell whether it has 10 nodes, 20 nodes, or hundreds of nodes—only developers need to care about these things. Users just use it, but it's difficult to understand what processes are involved, what abnormal branches exist, and where manual intervention is required.

The advantage is that the process is fixed. Users will not escape from the process, can reach a deterministic conclusion, and will not have completely abnormal or uncontrollable results.

The drawbacks are also obvious.

  • When a workflow has more than dozens or even hundreds of nodes, maintenance becomes extremely difficult.
  • Workflows naturally require scripts as a glue to connect the inputs and outputs of nodes—the output of the previous node becomes the input of the next node, with a lot of glue code in between.
  • The role of AI in workflow is limited to a few key nodes that require intelligent judgment. It does not undertake the planning of the entire process or have an overall view; it is merely invoked as a semantic tool.

Skill: White Box Methodology

Skills are loaded into the AI's prompts. The AI ​​first reads the skill, then executes the corresponding steps according to the skill. It knows the entire process and steps of the skill from start to finish, where user confirmation is required, where user choices are allowed, and even how to allow the user to exit and how to hand over the steps to the next skill.

For AI, workflow is a black box; it can only see one node. But Skill is a completely white box.

Because AI sees the complete methodology, rather than a single node, it can flexibly choose how to execute it.

  1. Complete execution: Follow steps 1→2→3→4.
  2. Partial extraction: Only one or two steps are extracted, skipping unnecessary steps.
  3. User-defined trimming: Modify a step according to user instructions, adjust, and then continue.

This flexibility is the essence of the methodology: it is a set of empirical guiding principles that you learn and can use selectively.

When to choose which

When you are a developer or professional user and need to write a skill or process, you should first determine: Is this a methodology or a process?

The core distinction in this issue is who has control:

  • For scenarios requiring determinism and top-down control (company approval processes, data processing pipelines, and fixed business processes), workflows are more suitable. The value of a fixed process lies in the fact that users do not need to make choices, and no one can escape the process.
  • For scenarios aimed at improving individual or team efficiency, Skills is more suitable. This is because we often can't force others to follow a methodology; the value of a methodology lies in enabling professional users to understand it and follow it voluntarily, rather than being bound by a rigid process.

For professional users: Use first, then modify.

Users of skills are typically, or rather, "need to be," professional users. This is fundamentally different from users of workflows—workflows don't require you to understand them, you just need to follow them; but users of skills need to understand the methodology in order to use them well and improve them.

If you receive a skill written by someone else, you can certainly use it to complete the task. But more importantly:

  1. You can choose to ignore or modify certain steps in the Skill, intervening to make it execute as you intend.
  2. You can tailor a skill, modifying it to your desired version. Most skills on the market represent the author's personal insights and experience. If you want it to perfectly fit your personalized workflow, you need to modify the original skill and invent your own. This is the ultimate methodology—not copying, but internalizing and reinventing.

There's another implicit factor: you need the skill to teach you this methodology in return. The user of a skill needs to understand how to use it in order to truly master it.

A noteworthy trend: Involving AI in the entire process.

I previously talked about the Compound Engineering plugin, which did something very radical: it completely changed the invocation of sub-agents to pure Skill markdown.

One important reason is that when calling sub-agents, certain context, tool call results, or harness results cannot be passed to the sub-agents, and the implementation methods of agents vary across platforms. Sub-agents essentially lock AI into black boxes, preventing them from seeing each other's context.

Instead of struggling to solve the problem of information transfer between agents, it is better to make all agents into Skill mode—this allows for the direct reuse of complete context and harness results, and the model will perform better throughout the process.

This is essentially the advantage of white-box architecture: the more complete the information the AI ​​sees, the better it performs. The sub-agent invocation model is equivalent to re-splitting the process into black-box nodes, while the Skill model exposes the entire methodology and context to the AI, allowing it to make judgments and schedules based on complete visibility. In this process, Skill acts as an experiential manual, which can be useful initially, but in longer-term tasks, letting it make its own judgments is more important than experience.