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.
npx agentmods add commands/evb87-tech/corpus/pm-autoplangit clone --depth 1 https://github.com/evb87-tech/corpusWrote 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/commands/evb87-tech/corpus/pm-autoplan)<a href="https://agentmods.dev/commands/evb87-tech/corpus/pm-autoplan"><img src="https://agentmods.dev/badge/commands/evb87-tech/corpus/pm-autoplan.svg" alt="Measured on agentmods" 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 | $0.00033 | $0.01180 |
| Opus 5 | $0.00016 | $0.00590 |
| Sonnet 5 | $0.00007 | $0.00236 |
| Haiku 4.5 | $0.00003 | $0.00118 |
Grade A, and why
pm-autoplan 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.
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 utilisateur vaultPath dans le plugin installé (exposée sous CLAUDE_PLUGIN_OPTION_VAULT_PATH). Ni l'un ni l'autre n'est défini. Lancer /init-vault <chemin> pour initialiser un vault, puis exporter le chemin." >&2
exit 1
fi
Vérifier que $CORPUS_VAULT/.corpus-vault existe. Sinon, refuser et demander au propriétaire de lancer /init-vault <chemin>. Voir corpus-core/rules/08-vault-structure.md.
Validation de l'argument :
$ARGUMENTS doit être fourni. Si absent, afficher :
Usage : /pm-autoplan <chemin-vers-brouillon>
Le chemin peut être absolu ou relatif à $CORPUS_VAULT/output/.
Exemple : /pm-autoplan output/2026-04-28-feature-notifications-prd.md
et s'arrêter.
Résoudre le chemin du brouillon :
- Si
$ARGUMENTSest un chemin absolu, l'utiliser tel quel. - Sinon, le résoudre sous
$CORPUS_VAULT/output/:$CORPUS_VAULT/output/$ARGUMENTS(supprimer le préfixeoutput/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ériver le slug du brouillon :
DRAFT_BASENAME=$(basename "$DRAFT_PATH" .md)
DRAFT_SLUG=$(echo "$DRAFT_BASENAME" | sed 's/^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}-//')
TODAY=$(date +%Y-%m-%d)
Orchestration des trois angles :
Lancer les trois revues en parallèle (ou dans le même tour de contexte si le parallélisme n'est pas disponible) en déléguant à chaque commande existante :
/pm-review-strategy <chemin-absolu-du-brouillon>— délègue à l'agentpm-strategist/pm-review-user <chemin-absolu-du-brouillon>— délègue à l'agentpm-user-advocate/pm-review-feasibility <chemin-absolu-du-brouillon>— délègue à la skillcorpus-pm:review-feasibility
Chaque revue dépose sa page de stress-test dans $CORPUS_VAULT/wiki/ selon les conventions :
- Stratégie :
wiki/stress-test-<draft-slug>-strategy-<YYYY-MM-DD>.md - Utilisateur :
wiki/stress-test-<draft-slug>-user-<YYYY-MM-DD>.md - Faisabilité :
wiki/stress-test-<draft-slug>-feasibility-<YYYY-MM-DD>.md
Vérification des pages produites :
Avant de passer à la synthèse, vérifier que les trois pages de stress-test existent :
STRATEGY_PAGE="$CORPUS_VAULT/wiki/stress-test-${DRAFT_SLUG}-strategy-${TODAY}.md"
USER_PAGE="$CORPUS_VAULT/wiki/stress-test-${DRAFT_SLUG}-user-${TODAY}.md"
FEASIBILITY_PAGE="$CORPUS_VAULT/wiki/stress-test-${DRAFT_SLUG}-feasibility-${TODAY}.md"
Si l'une ou plusieurs pages sont absentes, refuser de procéder à la synthèse et afficher :
ARRÊT : Les pages de stress-test suivantes sont manquantes :
- [liste des pages absentes]
La synthèse /pm-autoplan ne peut pas être produite avec des revues partielles.
Corrigez les erreurs signalées par les revues manquantes, puis relancez /pm-autoplan.
Délégation de la synthèse :
Une fois les trois pages confirmées, invoquer la skill corpus-pm:pm-autoplan-synthesis en lui passant :
- Le chemin absolu du brouillon
- Les chemins absolus des trois pages de stress-test
- Le slug du brouillon
- La date du jour
La skill produit output/YYYY-MM-DD-autoplan-<draft-slug>.md selon les règles anti-lissage (règle 5 en particulier) et les contraintes de synthèse détaillées dans la skill.
Quand terminé, rapporter :
- Chemin du brouillon analysé
- Pages de stress-test produites (liste avec angle)
- Chemin de la synthèse produite
- Nombre de conflits inter-angles détectés
- Lacunes signalées dans la synthèse
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.
- 3d ago First seen · 95 lines · 33 tokens per session scan A 5870f5d95ea2
pm-autoplan is a command published in the GitHub repository evb87-tech/corpus (1 stars, last pushed 4mo ago), licensed MIT. It adds 33 tokens to every session and 1,180 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-08-31.
Other commands, from other repositories
discover
Generate a substantive project note for the current (or specified) repo. Forces a fresh discovery — if a project note already exists, appends a new ## SuperBrain discovery (date) section without clobbering existing content. Use when SuperBrain didn't auto-discover (e.g., the project's slug collided with a note…
inject
Inject freeform text into the SuperBrain vault. SuperBrain splits multi-topic input, places each item in the right scope (project / decision / capture / etc.), links related notes, and updates today's daily note. Short single-blob input is preserved verbatim; longer or multi-paragraph input is split via the inject…
adopt
Adopt an existing directory as the SuperBrain vault (marks it, indexes existing notes).
migrate
Import an existing Obsidian vault into SuperBrain's structure — non-destructive (source is read-only; SuperBrain's vault gets copies). Optional path argument; otherwise Claude finds the vault.
save
Manually save current context as a memo to the memex vault.
status
Show memex statistics and status including projects, memos, and pending items.