compose-workflow

compose-workflow is a cursor rule for Cursor from danielvm-git/bigpowers. It costs 38 tokens per session (797 once invoked), scanned A, original, MIT.

Chain multiple bigpowers skills into a custom workflow recipe saved in specs/. Use when a project repeats a non-standard skill sequence, or user wants a documented playbook beyond orchestrate-project modes.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/danielvm-git/bigpowers/compose-workflow
Clone the repo
git clone --depth 1 https://github.com/danielvm-git/bigpowers

Made for: Cursor.

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/danielvm-git/bigpowers/compose-workflow.svg)](https://agentmods.dev/rules/danielvm-git/bigpowers/compose-workflow)
Your own site
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/compose-workflow"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/compose-workflow.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 797 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00038 $0.00797
Opus 5 $0.00019 $0.00398
Sonnet 5 $0.00008 $0.00159
Haiku 4.5 $0.00004 $0.00080

Measured today against content hash 7d26f50d1a8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

compose-workflow 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 today.

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.

.cursor/rules/compose-workflow.mdc · 82 lines

How it starts

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

story: e09s01

story: e45s27

story: e21s04

Compose Workflow

HARD GATEHARD GATE — Workflows are orchestration, not automation. Do NOT create workflows for tasks that should be single skills. Workflow complexity must be justified.

Process

  1. Interview: goal, phases, which skills, gates between steps.
  2. Write specs/workflows/<name>.yaml:
    • name, command, description, skills[], verify
    • Optional: args for skill-specific arguments
  3. Register in state.yaml Active Decisions.
  4. Optional: reference from orchestrate-project Ad-Hoc mode.

Prefer the YAML recipe format over the legacy specs/WORKFLOW-<name>.md markdown format. YAML recipes are command-mappable, machine-readable, and listed in the Standard Recipe Library.

Terminal-state taxonomy (e45s27)

Every workflow step and /loop tick MUST exit with exactly one terminal state:

State Meaning Next action
success Step verify passed; artifacts written Advance to next skill in recipe
no-op Nothing to do (already green / already applied) Skip step; advance
blocked External gate (approval, red CI, missing dep) diagnose-stall or escalate to user
exhausted Max iterations/cycles reached (review cap, dispatch cycles) Stop; human decision required

Record terminal state in specs/state.yaml handoff.last_terminal_state when a recipe step completes. /loop ticks that produce no progress for two consecutive wakes → invoke diagnose-stall.

Standard Recipe Library

Pre-built recipes in specs/workflows/ map agentic stack commands to skill chains. Reference them in AGENTS.md so /command directly invokes the matching recipe.

Command Workflow Skill chain
/check-stack check-stack survey-context → assess-impact → setup-environment
/ship ship audit-code → commit-message → release-branch
/tdd tdd develop-tdd → enforce-first
/code-review code-review audit-code → request-review → respond-review
/security security audit-code → request-review
/plan plan survey-context → research-first → plan-work
/build-fix build-fix investigate-bug → diagnose-root → develop-tdd → validate-fix
/e2e e2e smoke-test → verify-work

Read the full file on GitHub · 82 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. today First seen · 82 lines · 38 tokens per session scan A 7d26f50d1a8d

Subscribe to this mod's changes

compose-workflow is a cursor rule published in the GitHub repository danielvm-git/bigpowers (162 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 797 once invoked, about $0.0002 per session on Opus 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-03.