One objective in, a verified result out. The smallest correct change, checked against the real tests. Nothing extra to install. Clone the repo, symlink it into your skills directory, then run /supergoal . Landing page: cskwork.github.io/supergoal-skill.
> /plugin marketplace add cskwork/supergoal-skill> /plugin install supergoal@supergoal
Repo: cskwork/supergoal-skill
What's inside
English | 한국어
One objective in, a verified result out. The smallest correct change, checked against the real tests.
Nothing extra to install. Clone the repo, symlink it into your skills directory, then run
/supergoal <objective>.
Landing page: cskwork.github.io/supergoal-skill.
An agent skill for heavy coding objectives where a normal "just edit it" pass is too easy to fool. It takes one objective, chooses the right workflow route, uses fresh-context roles for code delivery, makes the smallest correct change, checks the request and project docs against the real behavior, then stops.
/supergoal does/supergoal is a routing and verification wrapper around an agent. The useful mental model:
Route the objective. The mode table classifies the real work kind, then routes as build,
debug, legacy change, spec, wayfinding, prototype, QA, review, architecture, teaching, domain
onboarding, harness eval, or skill mining.
Broad new-app builds stay GREENFIELD but first get a wayfinder/ Frontier Map so only one vertical slice enters delivery.
Load only the needed playbook. The root SKILL.md stays small; each route loads its own
reference/ and agents/ files only when needed.
Keep contexts fresh, keep dispatches few. Code delivery runs five gates: Frame, Plan approval,
Build, Exact Verify/QA, Finalize. Each iteration uses one fresh-context builder and one auditor.
Browser/CLI work adds one evidence-only tester before the auditor. Frame discovers full-spec and
edge-case coverage into the plan. The builder implements only the approved plan. The tester captures
execution evidence. The auditor reruns the real tests and owns the verdict, the GOAL.md ticks, and
R-LOOP.md. One optional extra dispatch exists: a trigger-gated pre-Build plan attack for risky or
under-specified work.
Workflow weight comes in three tiers. LIGHT handles narrow tasks with an explicit spec, running the
same five gates with state held in context and no vault or role fan-out. STANDARD runs the full loop.
DEEP adds the plan attack and an uncapped clarifying interview. Saying "quick" or "thorough"
overrides the detection, and upgrades only go one way. Non-trivial runs spec out the request first:
interview answers complete the GOAL.md spec, with Given/When/Then criteria, before PLAN.md
exists. User-facing reports follow reference/reporting.md. Outcome first, Simplified Technical
English, the project's own vocabulary.
Run Before/After Eval. Capture the before state, define the after target, write a completion promise, and keep a resumable run state plus command manifest so the final claim proves the delta instead of just saying "tests passed."
Prove against the real project. A green test run does not settle it. The run re-reads the whole
spec and verifies against the repo's real tests, browser checks, DB evidence when that carries
weight, and the prose spec. Hidden requirements the verifier finds become durable GOAL.md criteria,
and the builder covers them red-first.
Stop at the verified result. No open-ended refactor, no proxy checklist, no fake green.
A strong model reading the real spec is the bar. /supergoal adds the part a plain baseline skips
under pressure. A user-reviewed goal plan that already enumerates spec coverage and edge cases. A
builder that must exit green. An independent verifier that tries to disprove the result against the
project's own tests and docs, with the evidence recorded. Once invoked for code delivery, /supergoal
uses the role loop instead of downgrading to an inline shortcut.
Each role is a bundled file in agents/, so dispatch stays harness-agnostic across Claude Code, Codex,
agy, and other agent CLIs. Frame, Plan approval, Build, Exact Verify/QA, and Finalize are the mandatory
core. The conditional plan attack stays available when the requirements have not surfaced yet. The
conductor stays lean. Subagents load the heavy references for their own phase, and independent units
run in parallel.
.supergoal/rules/RULES.md, supergoal reads
it before every run and honors it across all modes as the highest-priority preferences. It never
weakens a safety gate. The file is created only when you ask, is gitignored, and is otherwise left
untouched (reference/rules.md)./supergoal detects the mode from your objective:
flowchart TD
A["/supergoal <one heavy objective>"] --> B["Frame the goal<br/>acceptance criteria<br/>hidden risks"]
B --> C{"Route by objective"}
C -->|"build / make / ship"| GREENFIELD["GREENFIELD<br/>new app or tool"]
C -->|"fix / broken / failing"| DEBUG["DEBUG<br/>reproduce, diagnose, fix"]
C -->|"add / integrate / refactor"| LEGACY["LEGACY<br/>map existing code first"]
C -->|"spec / requirements / roadmap"| WAYFINDER["WAYFINDER<br/>map -> ticket depth -> frontier"]
C -->|"prototype / spike"| PROTOTYPE["PROTOTYPE<br/>throwaway proof"]
C -->|"QA / verify only"| QAONLY["QA-ONLY<br/>Impact Matrix + evidence"]
C -->|"review / audit"| REVIEW["REVIEW-ONLY<br/>findings, no fixes"]
C -->|"architecture improvement"| ARCHITECTURE["ARCHITECTURE<br/>friction survey -> candidates"]
C -->|"explain / teach"| TEACH["TEACH<br/>stateful teaching workspace"]
C -->|"learn / onboard"| LEARN["LEARN-DOMAIN<br/>persist domain wiki"]
C -->|"harness effectiveness"| HARNESS["HARNESS-EVAL<br/>baseline vs harness"]
C -->|"make a reusable skill"| SKILLMINE["SKILL-MINE<br/>mine -> forge -> install"]
GREENFIELD --> LOOP["Default delivery loop<br/>Frame -> Plan approval -> Build<br/>-> Exact Verify/QA -> Finalize<br/>(plan attack opt-in)"]
DEBUG --> LOOP
LEGACY --> LOOP
WAYFINDER --> REPORT
PROTOTYPE --> REPORT
ARCHITECTURE --> PICK["Grill chosen candidate<br/>then route to LEGACY or WAYFINDER"]
QAONLY --> REPORT["No product code by default<br/>report evidence and risk"]
REVIEW --> REPORT
TEACH --> REPORT
LEARN --> REPORT
HARNESS --> REPORT
SKILLMINE --> REPORT
| Objective looks like | Mode | Approach |
|---|---|---|
| "build / ship a new app/tool" | GREENFIELD | default loop; broad/foggy app requests first use a wayfinder/ Frontier Map, then one selected vertical slice enters Build |
| "fix / broken / failing / why does" | DEBUG | default loop; reproduce with a failing test first |
| "add X to our existing/legacy code" | LEGACY | default loop; map the code first; refactoring an existing API: capture its exact behavior first, Verify diffs against that baseline |
| "spec this / break this into tickets / roadmap / what first?" | WAYFINDER | issue map under the run vault's wayfinder/ folder -> optional ticket-depth sections (glossary, user story, EARS checks, design notes, tasks) and cited research assets via reference/research.md when outside facts are needed -> vertical tickets -> blocker edges -> next frontier; route one ticket, stop, then ask for context clear + integration test before the next |
| "prototype / spike / try variants before building" | PROTOTYPE | throwaway proof answers one question; UI/interaction prototypes load SuperDesign for design and render gates; then delete/quarantine or route the decision into delivery |
| "explain / teach me X" (no code) | TEACH | Mission -> Source -> Bridge -> Teach (Archify when relationships matter) -> Check (explain-back) |
| "learn / map / onboard onto this codebase" | LEARN-DOMAIN | Survey -> Map -> Ground -> Persist a .domain-agent/ wiki |
| "QA only / verify / compare data - no code" | QA-ONLY | Detailed Impact Matrix (feature-impact QA map) + read-only DB -> evidence -> report.md |
| "review / audit this code/diff/PR - no fixes" | REVIEW-ONLY | Two independent reviewers -> verified findings -> report.md |
| "improve the architecture / find refactoring opportunities" or "draw / diagram / 그려" (arch, flow, sequence, state) | ARCHITECTURE | Draw-only ask: render a self-contained HTML diagram via archify and stop. Else friction survey -> candidates as a visual report.html -> grill the pick -> refactor routes to LEGACY/WAYFINDER |
| "test harness effectiveness / with vs without" | HARNESS-EVAL | Cases -> baseline run -> harness run -> machine checks -> quality score -> compare |
| "make a skill from history - no product code" | SKILL-MINE | Mine history -> rank -> you pick -> forge portable SKILL.md -> install |
Default loop (GREENFIELD / DEBUG / LEGACY):
GOAL.md first (the user's request verbatim + refined spec + falsifiable
Success Criteria checkboxes + browser QA cases for web apps), freeze a self-sufficient PLAN.md
(steps, tools & skills, verification strategy), start QA.md ## Before plus run-state.json.
The Success Criteria already enumerate full-spec coverage and edge-case/resilience checks, so the
user reviews them at the next gate. For broad GREENFIELD requests, Frame first writes an internal
wayfinder/map.md, creates vertical tickets under wayfinder/tickets/, selects the first unblocked
frontier, and copies only that ticket's acceptance checks into delivery. The route remains
GREENFIELD; WAYFINDER stays the explicit no-code planning mode.PLAN.md alone,
test-first, so a bug gets a failing test first. The builder covers every planned criterion in the
plan's ## Acceptance checklist, including the edge-case and resilience criteria discovered at
Frame, and exits only on a green suite.GOAL.md, ticks proven
criteria, and owns the final verdict. Non-browser work goes directly to the auditor. Unmet criteria
go to a timestamped R-LOOP.md section and the implementer relaunches. That loop-back is the only
fix channel.GOAL.md box is checked and the Z-<date>.md completion marker
(run branch plus timestamp) is written with the command output recorded. Then pass the commit gate
and merge after user acceptance. The Build to Verify loop caps at 3 iterations by default, forces aFAQ
supergoal is a Claude Code plugin with 2 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes supergoal, archify. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it