run-epic

run-epic is a skill for Claude Code from Zate/cc-plugins. It costs 25 tokens per session (1,180 once invoked), scanned A, original, MIT.

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 Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents; names the AskUserQuestion tool.

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 devloop plugin — 19 skills, 6 agents shipped together

Good fit Use it to load an epic plan, execute its current phase, run validation, commit completed work, inspect status, or promote the next phase.

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 Zate/cc-plugins
Claude Code
/plugin install devloop

Made for: Claude Code.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/zate/cc-plugins/run-epic/github.svg)](https://agentmods.dev/skills/zate/cc-plugins/run-epic)
Your own site
<a href="https://agentmods.dev/skills/zate/cc-plugins/run-epic"><img src="https://agentmods.dev/badge/skills/zate/cc-plugins/run-epic/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 run-epic

Your own site · 80×15
<a href="https://agentmods.dev/skills/zate/cc-plugins/run-epic"><img src="https://agentmods.dev/badge/skills/zate/cc-plugins/run-epic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. 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.00025 $0.01180
Opus 5.5 $0.00010 $0.00472
Sonnet 5.5 $0.00005 $0.00236
Haiku 4.5 $0.00003 $0.00118

Measured 1mo ago against content hash 02a2f9122997, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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. 1mo 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 2mo ago), licensed MIT. It adds 25 tokens to every session and 1,180 once invoked, about $0.0001 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-08-31.