workflow-chaining

workflow-chaining is a skill for Claude Code from Viindoo/odoo-mcp-client. It costs 130 tokens per session (2,996 once invoked), scanned C, original, MIT.

A workflow runner that reads a YAML file and carries out a declared sequence of specialist steps. YAML is a plain-text format often used for configuration, and the workflow can pause for approval between phases.

In plain words
What is it for?
Running pipelines, fan-out and fan-in tasks, review flows, supervisor workflows, and other staged processes defined in YAML.
Why use it?
It coordinates multi-step work while recording progress and enforcing checkpoints. This makes longer agent workflows easier to control and resume.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: model in frontmatter; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the odoo-ai-agents plugin — 51 skills, 8 commands, 26 agents, 8 hooks, 1 MCP server shipped together

Good fit Running pipelines, fan-out and fan-in tasks, review flows, supervisor workflows, and other…

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Viindoo/odoo-mcp-client
Claude Code
/plugin install odoo-ai-agents

Made for: Claude Code.

Or install odoo-ai-agents, the plugin that ships this one along with the rest of its 51 skills, 8 commands, 26 agents, 8 hooks, 1 MCP server.

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 workflow-chaining

README.md
[![agentmods](https://agentmods.dev/badge/skills/viindoo/odoo-mcp-client/workflow-chaining.svg)](https://agentmods.dev/skills/viindoo/odoo-mcp-client/workflow-chaining)
Your own site
<a href="https://agentmods.dev/skills/viindoo/odoo-mcp-client/workflow-chaining"><img src="https://agentmods.dev/badge/skills/viindoo/odoo-mcp-client/workflow-chaining.svg" alt="Measured on agentmods" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,996 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00130 $0.02996
Opus 5 $0.00065 $0.01498
Sonnet 5 $0.00026 $0.00599
Haiku 4.5 $0.00013 $0.00300

Measured 3d ago against content hash c8853ef89015, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade C, and why

workflow-chaining scanned grade C with 1 finding 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 3d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

ISOLATE output_dir>/ -mindepth 1 -maxdepth 1 -type d -mmin +43200 -exec rm -rf {} +` (any
plugins/odoo-ai-agents/skills/workflow-chaining/SKILL.md · 235 lines

How it starts

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

workflow-chaining - Generic Declarative Workflow Runner

Role

Neutral orchestration engine: reads the YAML, announces each phase, gates on user approval, dispatches specialists via the Skill tool (NL description-match as fallback), writes checkpoints. No domain knowledge - that lives in the .workflow.yaml and the specialist skills. Invoked by odoo-intake after a user approves a multi-step workflow plan at the soft-plan-gate.

Hard rules

  1. Prefer the Skill tool for phase dispatch. NL description-match is the fallback when no matching skill name is known at plan time.
  2. NEVER spawn a sub-agent directly (no direct agent launch, no context: fork - fan-out is the only exception, ≤3 concurrent workers with the mandatory worker-brief preamble).
  3. No recursion. Fork workers are leaf agents and carry: "Do NOT invoke spawner skills via the Skill tool. Do NOT spawn sub-agents. You MAY use the Skill tool for read-only leaf skills (e.g. odoo-feature-check, odoo-override-finding). Only Read/Grep/Glob/Write/Bash."
  4. No execution before gate. Emit a gate before each phase; wait for approval.
  5. Resume from checkpoint. If resume: true and <output_dir>/<slug>-state.json exists (output_dir is the full .odoo-ai/... path from the YAML - see Phase 0 step 2 for how it resolves to a real location), load it and skip done phases.
  6. SSOT for schemaworkflows/_schema.md. This body describes behavior, not schema.
  7. on_complete EMITs, never dispatches. Matched transitions go to Continuation Contract next[] for the run-harness - this skill never fires a spawner itself.

Phase 0 - Load and validate

  1. Read the referenced workflows/<name>.workflow.yaml file.
  2. Resolve the run's state root once, via the resolve-capture-substitute protocol in ${CLAUDE_PLUGIN_ROOT}/snippets/state-root-resolution.md: output_dir: from the YAML is a relative .odoo-ai/<name> literal that this skill resolves against the Tier-2 ISOLATE dir (scripts/lib/resolve_project_dir.sh isolate) at RUNTIME - the YAML literal itself and the generator's output_dir must-start-with-.odoo-ai/ assertion are intentionally UNCHANGED; only the runtime resolution moved off a bare project-relative path. Resolve series + profile per ${CLAUDE_PLUGIN_ROOT}/snippets/project-facts-resolution.md.
  3. Orphan sweep (do this every invocation, before the resume check below). Run find <resolved ISOLATE output_dir>/ -mindepth 1 -maxdepth 1 -type d -mmin +43200 -exec rm -rf {} + (any sibling <slug>-*/ or <slug>-state.json untouched for over 30 days is presumed consumed; a still-active run keeps writing its own state file/phase artifacts, so its mtime never ages past the threshold). It sweeps whatever output_dir THIS workflow declares, so no per-workflow sweep instruction exists. Full rule + bound: ${CLAUDE_PLUGIN_ROOT}/snippets/visual-evidence-lifecycle-contract.md Clause 3. Enforcer: whoever invokes this runner next, unconditionally, every run - not a separate cleanup agent or cron.
  4. If resume: true, check for <output_dir>/<slug>-state.json under the resolved ISOLATE dir (the captured absolute path substitutes for the output_dir prefix from the YAML); if found, load it and determine the last completed phase.
  5. Collect any missing inputs[] from the user (one question per missing input).
  6. Emit the soft-plan-gate header before any phase runs:

Read the full file on GitHub · 235 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. 3d ago First seen · 235 lines · 130 tokens per session scan C c8853ef89015

Subscribe to this mod's changes

workflow-chaining is a skill published in the GitHub repository Viindoo/odoo-mcp-client (7 stars, last pushed 4d ago), licensed MIT. It adds 130 tokens to every session and 2,996 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). 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

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens