frontier-infra/proctor/goal-contract
Claude Code and agent skill by frontier-infra/proctor
- community
Checking that the SKILL.md file is still in the repository.
Spec a rough task into a locked work contract BEFORE starting — Goal, Acceptance, Non-goals, plus the Budget and Tripwire that cap effort. Use before beginning a coding phase, or when the operator says "spec this goal", "pre-goal", "lock a contract", "new phase", "write goals/acceptance/non-goals", or wants to prevent objective-drift and overcorrection (a 1-hour task ballooning into a day). Produces a paste-ready LOCKED CONTRACT block.
Install
npx vskill@latest install frontier-infra/proctor/goal-contractSKILL.md
Goal Contract
Turn a rough task into a locked contract before any code is written. Adds the missing third leg — cost — to the usual goal/acceptance/non-goals, so work can neither drift off-objective nor balloon past its worth.
Why — the three legs
Every unit of work needs all three. Most setups have the first two and miss the third:
- Context — the situation (claude-mem, vault, ops already provide this).
- Direction — Goal + Acceptance + Non-goals.
- Cost — Budget + Tripwire. This is the leg usually missing. An agent has no
intrinsic price on its own effort, so without a cost leg it both wanders (drift) and over-builds (a 1-hour job becomes a day). Same hole, two symptoms.
Workflow
- Take the rough statement of the next task/phase. Ask at most ONE clarifying
question, and only if the goal is genuinely ambiguous. Do not interrogate.
- Draft the contract using the template below. Acceptance must be observable;
non-goals concrete; budget real (not "as needed").
- Offer a distilled version — same contract, tighter. Let the user pick full or distilled.
- Emit the paste-ready LOCKED CONTRACT block. The user pastes it back to start work.
Contract template
- GOAL — one sentence, an outcome (not a method).
- ACCEPTANCE — 2–4 bullets, each observable/testable ("endpoint returns 200", "test passes", "phase < 200ms").
- NON-GOALS — concrete things NOT to touch this round (named files, refactors, features, "nice-to-haves").
- BUDGET — an effort ceiling. Pick what fits: ~time (e.g. ~1h), ≤N files, or "smallest change that meets acceptance".
- TRIPWIRE — if budget is hit, OR scope wants to expand, OR a refactor outside the goal tempts → STOP and report; don't grind.
Paste-ready output
For the agent executing a locked contract
- Restate GOAL + NON-GOALS in one line before the first action.
- The smallest change that meets ACCEPTANCE wins. Extra tests, abstractions, or
cleanup not named in ACCEPTANCE are non-goals — adding them is overcorrection.
- Pre-existing brokenness is the one carve-out from "smallest change." If you walk
into a failing test, type debt, dead code, or a stale doc — in a file you're touching, or otherwise cheap — fix it; don't note-and-leave. If the honest fix would blow the budget/scope, that's a tripwire: STOP, surface it with the measured cost, and let the user choose (expand now vs. explicitly defer). This is distinct from gold-plating above: adding things nobody asked for is still overcorrection; leaving existing brokenness noted-but-unowned is not allowed. "The linter will catch it" is banned. Owned means you are taking the problem into this contract to fix it before done — not that you appended a Follow-Up and walked away. If something truly cannot be fixed inside this contract, call it deferred/operator-blocked, with owner + next action + proof, and state whether the goal is blocked.
- Hit the budget, or tempted past scope? Stop and report — never unilaterally decide to go bigger.
Example
Rough input: "make the app faster, the startup is slow"
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/goal-contract/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/frontier-infra/proctor/goal-contract)