run-epic

A workflow for carrying out a large development plan in phases. An epic is a larger piece of work divided into smaller tasks and phases.

In plain words
What is it for?
Use it to load an epic plan, execute its current phase, run validation, commit completed work, inspect status, or promote the next phase.
Why use it?
It keeps phase progress, task execution, testing, commits, and promotion to the next phase in one controlled process.

Skill for Claude CodeCodex

Part of the devloop plugin — 19 skills, 6 agents shipped together

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 skills/zate/cc-plugins/run-epic
Any agent
npx skills add Zate/cc-plugins --skill run-epic
Clone the repo
git clone --depth 1 https://github.com/Zate/cc-plugins

Made for: Claude Code, Codex.

Or install devloop, the plugin that ships this one along with the rest of its 19 skills, 6 agents.

Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,180 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00025 $0.01180
Opus 5 $0.00013 $0.00590
Sonnet 5 $0.00005 $0.00236
Haiku 4.5 $0.00003 $0.00118

Measured 3d ago against content hash 02a2f9122997, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

run-epic 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 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.

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.

plugins/devloop/skills/run-epic/SKILL.md · 104 lines

How it starts

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

Devloop Run Epic

Execute an epic phase-by-phase. Tasks run inline by default; subagents are spawned per task [model:X] annotation (same pattern as /devloop:run). You are the orchestrator -- execute the phase, validate tests, commit, promote the next phase.

Step 1: Load State

Read .devloop/epic.json.

  • No file: "No epic found. Use /devloop:epic <topic> to create one." STOP.
  • --status: Display phase tracker and STOP.
  • status: "complete": "Epic already complete." STOP.
  • --phase N: Override current phase and re-promote.

Step 2: Validate Plan

Read .devloop/plan.md. Verify **Phase**: matches epic.json.current_phase.

  • Mismatch or missing: run ${CLAUDE_PLUGIN_ROOT}/scripts/promote-phase.sh --force.
  • All tasks [x]: skip to Step 5 (already completed).

Step 3: Execute Phase

Read epic.json for context (user_stories, invariants, negative_cases, test_command). Keep this context in working memory while executing the phase.

Execute plan.md tasks inline, following the same model-annotation pattern as /devloop:run:

  • [model:haiku] tasks: spawn devloop:haiku-worker.
  • [model:sonnet] tasks: spawn devloop:swarm-worker (sonnet).
  • No annotation: execute inline (no subagent). This is the default — most tasks should be inline.
  • Respect [depends:N.M] constraints and [parallel:X] groupings.
  • Do NOT commit or modify epic.json/epic.md during execution (that's Step 5).

Use the epic context to guide your work:

  • User stories anchor WHY the tasks exist.
  • Invariants / negative cases are testable constraints that must hold.
  • Run test_command after implementation tasks.

Fallback (opt-in only): If the phase is very large (>15 tasks) and session context is already heavy, you MAY delegate the whole phase to a single sonnet subagent in a fresh context. This is a last-resort fresh-context reset, not the default path.

Step 4: Validate Completion

  1. Run ${CLAUDE_PLUGIN_ROOT}/scripts/check-plan-complete.sh .devloop/plan.md.
    • Incomplete: AskUserQuestion: "Retry" or "Skip remaining".

Read the full file on GitHub · 104 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 · 104 lines · 25 tokens per session scan A 02a2f9122997

Subscribe to this mod's changes

run-epic is a skill published in the GitHub repository Zate/cc-plugins (10 stars, last pushed 1mo ago), licensed MIT. It adds 25 tokens to every session and 1,180 once invoked, about $0.0001 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-08-31.

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

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 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