Borrowing it
Nothing to install: this file belongs to robzilla1738/supergoal. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/robzilla1738/supergoal/main/AGENTS.mdgit clone --depth 1 https://github.com/robzilla1738/supergoalWrote 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/instructions/robzilla1738/supergoal/agents-md)<a href="https://agentmods.dev/instructions/robzilla1738/supergoal/agents-md"><img src="https://agentmods.dev/badge/instructions/robzilla1738/supergoal/agents-md/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/instructions/robzilla1738/supergoal/agents-md"><img src="https://agentmods.dev/badge/instructions/robzilla1738/supergoal/agents-md.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.04178 | $0.04178 |
| Opus 5.5 | $0.01671 | $0.01671 |
| Sonnet 5.5 | $0.00836 | $0.00836 |
| Haiku 4.5 | $0.00418 | $0.00418 |
Grade C, and why
supergoal AGENTS.md scanned grade C with 1 finding 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 2mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
6. **Re-sync to Codex**: `rm -rf ~/.codex/skills/supergoal && cp -R skills/supergoal ~/.codex/skills/supergoal`, then verify byte-identical with `diff -r skills/supergoal ~/.codex/skills/supergoal`. How it starts
The opening of the file, as written. The whole thing — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Authoritative project doc. Any agent (Claude, Codex, or other) opening this repo should be able to read this file alone and understand the project, where to make changes, and what conventions to follow.
What this repo is
Supergoal is a Claude Code / Codex skill that turns a vague build request into a deeply-planned, autonomously-executed /goal run with built-in retry, fix-spec recovery, per-phase memory writeback, and a final audit pass that re-validates the work against the original plan.
- Slash command:
/supergoal <task> - Central mechanism: produces one ready-to-paste
/goalcommand. The user pastes it once; the rest is autonomous. - Works on: Claude Code (via plugin marketplace) and Codex CLI (via manual skill copy).
- Public install: see
README.md.
Repo layout
supergoal/
├── .claude-plugin/
│ ├── marketplace.json Catalog Claude Code reads when added as a marketplace
│ └── plugin.json Plugin manifest (name, version, description, skills path)
├── .gitattributes Forces `*.sh` to LF (CRLF shebangs fail on a fresh Windows checkout).
├── .gitignore Editor/OS junk + .supergoal/ artifact dirs
├── AGENTS.md This file. Authoritative project doc.
├── CLAUDE.md Claude Code-specific tips. Points at this file.
├── CHANGELOG.md Per-version release notes. Keep-a-Changelog format, SemVer.
├── LICENSE MIT.
├── README.md Public-facing: what it is, install, use, Mermaid flow charts.
├── skills/supergoal/
│ ├── SKILL.md The skill itself. ~565 lines (grew with v0.7's Stage 0 namespace-claim section; the phase-loop section duplicates PROTOCOL.md and is a candidate for slimming next release).
│ ├── references/ Progressive-disclosure docs the agent reads when needed.
│ │ ├── planning-depth.md What makes a plan deserve "super".
│ │ ├── phase-design.md How to slice phases (adaptive count, no cap).
│ │ ├── goal-format.md /goal mechanics on both hosts; required transcript blocks.
│ │ └── repo-state-comparison.md The one comparison strategy (complete working tree vs baseline).
│ ├── scripts/ Bash scripts the planner/executor run during stages.
│ │ ├── detect-env.sh Greenfield env recon.
│ │ ├── detect-stack.sh Brownfield stack/framework detection.
│ │ ├── summarize-repo.sh Compressed repo map.
│ │ ├── claim-run.sh Atomically claims a unique per-run dir under .supergoal/ (concurrent-run isolation). Tested by tests/claim-run.test.sh.
│ │ ├── repo-state.sh Complete working-tree-vs-baseline comparison (audit + cleanliness). Copied into the run's .supergoal/<run-id>/ dir at Stage 7.
│ │ └── validate-phase.sh Sanity-checks a phase spec has required markers.
│ └── templates/ Files the planner copies into a run's `.supergoal/<run-id>/` dir.
│ ├── ROADMAP.md Phase plan with dependencies.
│ ├── STATE.md Live progress file.
│ ├── phase-goal.txt Phase spec skeleton (work, criteria, evidence, commands).
│ └── PROTOCOL.md Execution loop + failure recovery + final audit protocol.
└── tests/ Repo-only (not shipped in the plugin payload).
├── claim-run.test.sh Fixture tests for claim-run.sh (incl. the concurrent-claim race).
└── repo-state.test.sh Fixture tests for repo-state.sh over throwaway git repos.
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.
- 2mo ago First seen · 190 lines · 4,178 tokens per session scan C a681abb345a8
supergoal AGENTS.md is an instructions file published in the GitHub repository robzilla1738/supergoal (684 stars, last pushed 2mo ago), licensed MIT. It adds 4,178 tokens to every session, about $0.0167 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
supergoal AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| supergoal AGENTS.mdrobzilla1738/supergoal | Instructions file | 684 | 2mo ago | MIT | C | 4,178 | Claude Code, Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |