Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/danielvm-git/bigpowersnpx agentmods add rules/danielvm-git/bigpowers/build-epicWrote 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.
[](https://agentmods.dev/rules/danielvm-git/bigpowers/build-epic)<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/build-epic"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/build-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.
<a href="https://agentmods.dev/rules/danielvm-git/bigpowers/build-epic"><img src="https://agentmods.dev/badge/rules/danielvm-git/bigpowers/build-epic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00050 | $0.01902 |
| Opus 5.5 | $0.00020 | $0.00761 |
| Sonnet 5.5 | $0.00010 | $0.00380 |
| Haiku 4.5 | $0.00005 | $0.00190 |
Grade A, and why
build-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.
How it starts
The opening of the file, as written. The whole thing — 105 lines — stays where its author put it; the contents beside it link to each section on GitHub.
story: e20s05
Build Epic
Scope: one story. Called by orchestrate-project Phase 4. Not a replacement for orchestrate-project.
Orchestrates the build flow for a single epic: survey → plan tasks → kickoff → TDD → verify → audit → commit → release.
HARD GATE — Set
specs/state.yamlactive_flow: build_epicandactive_epic: eNNbefore starting.HARD GATE — Not on
main/masterbefore step 3 (kickoff-branch).
Nine steps (epic_cycle in state.yaml)
| Step | Skill / action |
|---|---|
| 0 | security-review — threat-model epic scope → specs/security/epics/<id>/THREAT_MODEL.md |
| 1 | survey-context — confirm epic + story |
| 2 | plan-work — flesh out story tasks[] in specs/epics/eNN-slug/epic.yaml |
| 3 | kickoff-branch — feature branch + clean baseline |
| 4 | develop-tdd — red-green per task |
| 5 | verify-work — UAT + mechanical gates |
| 6 | audit-code — non-optional gate (pass/fail; fail → loop back to step 4) |
| 7 | commit-message — Conventional Commits draft |
| 8 | release-branch — PR or solo land (supports --squash-state) |
Process
- Read
specs/state.yaml,specs/execution-status.yaml,specs/release-plan.yaml, activespecs/epics/eNN-slug/epic.yaml.- On story start (step 1): Write
started_atISO 8601 timestamp toexecution-status.yamlunder the story's key in thestories:section. Thebp-timing.shscript already tracks skill-level timings — this is story-level.
- On story start (step 1): Write
- Step 0 — Threat Model: Run
security-reviewagainst the epic's scope (read from the epic capsule). Outputspecs/security/epics/<epic-id>/THREAT_MODEL.mdwith surface area, vulnerability categories, risk level, and mitigation guidance. - Assess Impact (Step 2): Before writing tasks, run
assess-impact --lightweighton the proposed change. If the risk score exceeds 7, gate — require agrill-mesession. Write the impact report tospecs/IMPACT-<epic>-<story>.md. For net-new code with no existing dependents, skip. - BCP Tracking (Step 2): After
plan-workcompletes, read thebcps:count (Business Complexity Points story size) from the epic capsule and carry it intostate.yamlasepic_cycle.story_bcps = N. - BCP Plus (Step 2, optional): When the epic capsule carries a
bcp_plus_breakdown(13-dimension sizing), also carry it intostate.yamlasepic_cycle.bcp_plus. The breakdown maps each of the 13 dimensions to an integer count. NFR dimensions (11–13) that are N/A per the NFR Gate may be set to 0. - If
epic_cycle.stepmissing, set to1. - Run only the current step (resume mode) unless user asked for full auto-run.
- After step verify passes, increment
epic_cycle.stepinstate.yaml(orbash scripts/bp-yaml-set.shif available). - On story complete, set
execution-status.yamlstory key todone; runbash scripts/sync-status-from-epics.sh.- On story complete (step 8): Write
completed_atISO 8601 timestamp toexecution-status.yamlunder the same story key. Format:
- On story complete (step 8): Write
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.
- 1mo ago First seen · 105 lines · 50 tokens per session scan A 88a8f06e42fb
build-epic is a cursor rule published in the GitHub repository danielvm-git/bigpowers (267 stars, last pushed 27d ago), licensed MIT. It adds 50 tokens to every session and 1,902 once invoked, about $0.0002 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-03.
Other cursor rules, from other repositories
payload-cms
Payload CMS: collections, fields, hooks, access control, admin UI.
monorepo
Monorepo: workspace references, shared packages, boundaries.
pnpm
PNPM: workspace monorepos, efficient package management.
ai-dev-os-ticket
Generates a ticket (local file or GitHub Issue) with implementation summary and checklist candidates derived from AI Dev OS guidelines. Used to create structured implementation tasks.
agent-workflow-orchestration
Mandatory PM-orchestrated subagent workflow — main agent is manager, no separate PM subagent.
12-new-project
Workflow for starting a new app from this template - rebranding, identity, cleanup and first feature.