dynamic-workflows

dynamic-workflows is a skill for Claude Code from ccbud/CCBuddy. It costs 92 tokens per session (21,721 once invoked), scanned A, original, Apache-2.0.

A guide for creating dynamic workflows that divide a coding task among multiple agents and combine their results. It covers agent roles, shared context, review loops, and checks before saving a workflow.

In plain words
What is it for?
Use it to design workflows that inspect files or Git history, run repeated checks, assign planning and review roles, and return durable results.
Why use it?
It helps prevent multi-agent jobs from becoming disconnected drafts or losing important results when a run ends. It also defines how workflows should be tested before use.

Skill for Claude Code

Written for Claude Code: when-to-use in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

Good fit Use it to design workflows that inspect files or Git history, run repeated checks, assign planning and review roles, and return durable results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ccbud/ccbuddy/dynamic-workflows
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 ccbud/CCBuddy --skill dynamic-workflows
Clone the repo
git clone --depth 1 https://github.com/ccbud/CCBuddy

Made for: Claude Code.

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 dynamic-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/ccbud/ccbuddy/dynamic-workflows/github.svg)](https://agentmods.dev/skills/ccbud/ccbuddy/dynamic-workflows)
Your own site
<a href="https://agentmods.dev/skills/ccbud/ccbuddy/dynamic-workflows"><img src="https://agentmods.dev/badge/skills/ccbud/ccbuddy/dynamic-workflows/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 dynamic-workflows

Your own site · 80×15
<a href="https://agentmods.dev/skills/ccbud/ccbuddy/dynamic-workflows"><img src="https://agentmods.dev/badge/skills/ccbud/ccbuddy/dynamic-workflows.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 21,721 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00092 $0.21721
Opus 5.5 $0.00037 $0.08688
Sonnet 5 $0.00018 $0.04344
Haiku 4.5 $0.00009 $0.02172

Measured yesterday against content hash 2664156a460a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-26, from the pricing page.

Security

Grade A, and why

dynamic-workflows 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.

apps/ccbuddy-cli/packages/bundled-skills/skills/dynamic-workflows/SKILL.md · 1,521 lines

How it starts

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

Writing dynamic workflows

This skill is the whole authoring contract for CreateWorkflow. The tool descriptions are short on purpose; the facade the compiler checks against, the rules a script must satisfy and the fields each tool takes are in §16, and CreateWorkflow, AmendWorkflow, SaveWorkflow and EvalWorkflowSnippet refuse to run until this skill has been loaded in the session. The rest is the judgment layer: how many subagents a request deserves, which of them should share a context, what each one should hand back, and how to keep the run's work from dying with the run.

Two names collide in this codebase. CreateWorkflow is the dynamic-workflow tool and the only one this skill is about. The legacy Workflow tool and /expert are a different, older feature that happens to share the word.

The bar: first-class, expert-level work

A workflow exists to produce first-class, expert-level work — the deliverable a senior practitioner would hand over after doing the job properly, not a faster draft of what one reply could have said. A user who asks for a workflow is paying for that depth, and every choice in this skill serves it: enough subagents to actually cover the ground, fresh eyes on every plan and every draft (§3), an independent confirmation of every finding, deterministic checks wherever a command can decide, and a report that says what was verified, what was not, and what it all means. Depth is measured by what is at stake, not by how many subagents re-read the same work: verification is spent where a wrong claim would cost the user something, and each piece of work gets the one check that decides it, not every check this skill knows. When a shortcut and the expert's way disagree, take the expert's way. Trim the work only when the task is genuinely small, never because thoroughness is inconvenient; trim the checking when a wrong claim costs little or a command has already decided it.

1. Is this the right tool, and how big should it be?

The request The tool
One thing delegated to one agent Agent
A few independent lookups, nobody reading anybody's answer Agent, in parallel
Anything else the user did not name a workflow for — however many steps or subagents it needs Agent, or do it yourself
The user said "use a workflow" / "使用 workflow" / "用工作流" — any phrasing naming workflow as the means CreateWorkflow, mandatory, even if Agent would have done or one reply could answer

Read the full file on GitHub · 1,521 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 1,521 lines · 92 tokens per session scan A 2664156a460a

Subscribe to this mod's changes

dynamic-workflows is a skill published in the GitHub repository ccbud/CCBuddy (8 stars, last pushed yesterday), licensed Apache-2.0. It adds 92 tokens to every session and 21,721 once invoked, about $0.0004 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-09-25.

Related

Other skills, from other repositories