superpowers-v AGENTS.md

Project instructions for Compound V, an experimental companion to the Superpowers workflow for coding agents. It adds a preliminary research step before brainstorming and describes how the workflow maps to Codex and other agent tools.

In plain words
What is it for?
Use it in projects that follow Superpowers phases to run or skip a bounded research pass, save reconnaissance notes, and connect those phases to Codex-compatible commands.
Why use it?
It helps an agent gather background information before proposing solutions, reducing the risk that brainstorming starts from incomplete assumptions.

Instructions file for CodexOpenCode

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 instructions/procoders/superpowers-v/agents-md
Clone the repo
git clone --depth 1 https://github.com/procoders/superpowers-v

Made for: Codex, OpenCode.

Per session 2,842 This file is loaded in full into every session.
When invoked 2,842 The same file — it is already loaded in full.
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.02842 $0.02842
Opus 5 $0.01421 $0.01421
Sonnet 5 $0.00568 $0.00568
Haiku 4.5 $0.00284 $0.00284

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

Security

Grade A, and why

superpowers-v AGENTS.md 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 2d 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.

AGENTS.md · 111 lines

How it starts

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

Compound V — Codex / Universal Agent Shim (🧪 experimental, untested)

This file documents how the plugin's content would be consumed by tools that read AGENTS.md from a project root (Codex CLI and similar). It has not been tested on a real Codex install — tool-name mappings and dispatch syntax are based on documentation and may need adaptation per your harness version.

What this plugin does

Compound V is a sidekick to Superpowers. It intercepts the four Superpowers phase transitions (pre-brainstorm recon → brainstorming → writing-plans → execution) and adds:

  1. Gated pre-brainstorm recon (Trigger 0) 🧪 description-driven, with a reminder-only hook backstop (v2.8: hooks/brainstorm-trigger0-nudge.sh nudges when the Skill tool invokes superpowers:brainstorming — a reminder, not enforcement; nothing can force the recon to run): before a brainstorm begins on an unfamiliar topic, a gated, bounded research pass (bundled deep-research if present, 3–6 parallel WebSearch otherwise, skip-with-notice if neither) writes an anti-anchoring recon doc to docs/superpowers/recon/ that the brainstorm — and later pre-flights 1B/1C — read first. Gate order: plumbing-skip → V-memory KB hit → brainstorm.deep_research config (ask default / auto / off hard kill-switch). Recon is evidence, never a routing input. Also 🧪 description-driven: batched elicitation — ≥3 independent clarifying questions may batch into ONE screen via the surface ladder — Visual Companion form if accepted this session, else the harness's structured-question tool, else sequential (companion acceptance gates only the top surface); dependent chains stay sequential; when unsure → sequential; see skills/compound-v/brainstorm-elicitation.md.
  2. Three parallel pre-flights after brainstorming:
    • Code archaeology (existing-code reality)
    • Domain-expert advisor with three-layer audience search (product/regulatory reality)
    • Library/doc validator via Context7 MCP (dependency currency)
  3. Disjoint File Partition Map enforcement inside writing-plans, which materializes a manifest.yaml — the machine-readable contract that drives dispatch
  4. Manifest-driven multi-backend dispatch (4-6 concurrent) on Opus by default, Sonnet only for strict junior-level mechanical tasks, or a headless Codex worker for large isolated builds
  5. A git diff scope gate after every job — a worker that writes outside its write_allowed list is BLOCKED and never merges; enforcement fields are git-derived, never model-self-reported
  6. Crash-resume via a state.json run directory

Read the full file on GitHub · 111 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. 2d ago First seen · 111 lines · 2,842 tokens per session scan A be0c59844091

Subscribe to this mod's changes

superpowers-v AGENTS.md is an instructions file published in the GitHub repository procoders/superpowers-v (35 stars, last pushed 2d ago), licensed MIT. It adds 2,842 tokens to every session, about $0.0142 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-30.