pm-epic

pm-epic is a command for Claude Code from evb87-tech/corpus. It costs 50 tokens per session (637 once invoked), scanned A, original, MIT.

A command that turns a product requirements document (PRD) into one parent work item, called an epic, and smaller child tasks in Beads, a task-tracking system.

In plain words
What is it for?
Use it when you have a PRD or feature specification in the configured vault and want P0 and P1 requirements converted into linked implementation tasks.
Why use it?
It removes the manual work of turning a feature description into actionable tickets and linking those tickets together.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the corpus-pm plugin — 5 skills, 17 commands, 3 agents shipped together

Good fit Use it when you have a PRD or feature specification in the configured vault and want P0 and P1 requirements converted into linked implementation tasks.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/evb87-tech/corpus/pm-epic
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.

Clone the repo
git clone --depth 1 https://github.com/evb87-tech/corpus

Made for: Claude Code.

Or install corpus-pm, the plugin that ships this one along with the rest of its 5 skills, 17 commands, 3 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 pm-epic

README.md
[![agentmods](https://agentmods.dev/badge/commands/evb87-tech/corpus/pm-epic/github.svg)](https://agentmods.dev/commands/evb87-tech/corpus/pm-epic)
Your own site
<a href="https://agentmods.dev/commands/evb87-tech/corpus/pm-epic"><img src="https://agentmods.dev/badge/commands/evb87-tech/corpus/pm-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 pm-epic

Your own site · 80×15
<a href="https://agentmods.dev/commands/evb87-tech/corpus/pm-epic"><img src="https://agentmods.dev/badge/commands/evb87-tech/corpus/pm-epic.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 637 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.00050 $0.00637
Opus 5.5 $0.00020 $0.00255
Sonnet 5.5 $0.00010 $0.00127
Haiku 4.5 $0.00005 $0.00064

Measured 3mo ago against content hash 0ad109f97caf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pm-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 3mo 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.

corpus-pm/commands/pm-epic.md · 49 lines

What it actually says

Pré-vol :

CORPUS_VAULT="${CORPUS_VAULT:-$CLAUDE_PLUGIN_OPTION_VAULT_PATH}"
if [ -z "$CORPUS_VAULT" ]; then
  echo "Vault non configuré. Définir CORPUS_VAULT (dev local) ou configurer l'option userConfig vaultPath dans le plugin installé (exposée comme CLAUDE_PLUGIN_OPTION_VAULT_PATH). Ni l'un ni l'autre n'est défini. Lancer /init-vault <path> pour créer un vault, puis exporter le chemin." >&2
  exit 1
fi

Vérifier que $CORPUS_VAULT/.corpus-vault existe. Sinon, refuser et demander à l'utilisateur de lancer /init-vault <path>.

Validation de l'argument :

$ARGUMENTS doit être fourni. Si absent, afficher :

Usage : /pm-epic <chemin-vers-prd>
Le chemin peut être absolu ou relatif à $CORPUS_VAULT/output/.
Exemple : /pm-epic output/2024-01-15-feature-search.md

et s'arrêter.

Résoudre le chemin du PRD :

  • Si $ARGUMENTS est un chemin absolu, l'utiliser tel quel.
  • Sinon, le résoudre sous $CORPUS_VAULT/output/ : $CORPUS_VAULT/output/$ARGUMENTS (supprimer le préfixe output/ s'il est déjà présent).

Vérifier que le fichier résolu existe et se trouve bien sous $CORPUS_VAULT/output/. Si le fichier n'existe pas ou est en dehors de output/, refuser avec un message explicite.

Délégation :

Déléguer au sous-agent pm-decomposer (voir corpus-pm/agents/pm-decomposer.md) en lui passant le chemin absolu résolu du PRD.

Le sous-agent s'occupe de :

  1. Lire et parser le PRD.
  2. Créer l'epic dans beads via bd create.
  3. Créer une issue enfant par exigence P0/P1 via bd create.
  4. Lier chaque enfant à l'epic via bd dep add.
  5. Afficher le récapitulatif final (epic ID, IDs enfants, chemin PRD).

Contrainte anti-lissage : le sous-agent doit refuser de créer une issue si les critères d'acceptation sont absents pour une exigence P0. Ne jamais inventer des critères.

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. 3mo ago First seen · 49 lines · 50 tokens per session scan A 0ad109f97caf

Subscribe to this mod's changes

pm-epic is a command published in the GitHub repository evb87-tech/corpus (1 stars, last pushed 7mo ago), licensed MIT. It adds 50 tokens to every session and 637 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-08-31.

Related

pm-epic compared with commands from other repositories

pm-epic next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pm-epicevb87-tech/corpusCommand17mo agoMITA50Claude Code
savelinxule/memex-pluginCommand7yesterdayMITA13Claude Code
statuslinxule/memex-pluginCommand7yesterdayMITA15Claude Code
openlinxule/memex-pluginCommand7yesterdayMITA11Claude Code
solAiAi-Mastermind/aiai-mastermind-tools-and-skillsCommand21mo agoMITA26Claude Code
codex-usageAiAi-Mastermind/aiai-mastermind-tools-and-skillsCommand21mo agoMITA18Claude Code
fabsolAiAi-Mastermind/aiai-mastermind-tools-and-skillsCommand21mo agoMITA17Claude Code