Goal contract writer
Contract-first skill package for Goal Contracts in Codex and Claude Code.
npx -y skills add MAX0MAX/goal-driven --skill goal-contract-writerAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 5 stars5 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use when the user asks to define a goal, create a Goal Contract, or clarify a concrete task's goal, scope, success criteria, evidence, or guardrails before planning or execution.
SKILL.md
3.7 KB, as published. Nobody here has run it
Goal Contract Writer
Overview
goal-contract-writer turns ambiguous work into a standard Goal Contract.
Clarify only what is required to define the work. Then return the canonical contract. Conversation is not the product.
This skill does not implement, run, or manage a Goal-Driven agent loop. It defines the upstream contract that a loop, workflow engine, host goal system, or human operator can execute and verify.
goal-contract-writer is the only normal user-facing entrypoint. The paired goal-contract-verifier skill exists for runtimes or operators that need fresh-subagent verification of execution state, but verifier behavior is not part of this skill's required output.
When to Use
Use this skill when:
- the request has a concrete outcome but starts ambiguous
- the next agent, system, or person needs a stable goal artifact
- success must be judged by observable evidence
Do not use it for open-ended ideation or as a replacement for execution workflows.
Core Output
Produce exactly one canonical artifact:
Goal Contract
Goal Contract must contain exactly these fields:
goalscopesuccess_criteriaevidenceguardrails
Do not add runtime verdicts, adapter metadata, or workflow prose to the contract body.
Use references/canonical-goal-contract.md for the canonical contract schema.
Contract Generation Flow
- Clarify until
goalandscopecan be written without guesswork. - Write
success_criteriathat fully cover thegoaland can be checked without subjective judgment. - Write matching
evidencethat proves or disproves each criterion without adding hidden acceptance rules. - Record
guardrailsthat prevent scope drift, unsafe assumptions, or missing approvals. - Return the canonical Goal Contract and stop.
Use references/contract-elicitation-protocol.md for clarification rules and examples/ for concrete model contracts.
Hard Rules
- Do not replace the contract with free-form advice or host-specific prose.
- Do not use subjective completion language.
- Do not add verifier workflow, execution routing, owners, priorities, or next steps to the canonical contract.
- Do not let
evidencesmuggle in acceptance rules that are missing fromsuccess_criteria. - Do not let any adapter redefine the canonical contract fields.
- Do not continue into planning or execution unless the user explicitly starts a separate task.
- Keep the contract execution-neutral.
Downstream Consumption
Downstream systems consume the contract after this skill defines it.
- A host-native goal system may use it as durable input.
- A workflow system may use it for planning, execution, verification, or review.
- A specification system may use it for persistent spec or task assets.
- A human operator may execute directly from it.
- Adapter-specific routing, ownership, runtime state, or verifier artifacts belong outside the canonical contract.
- Runtimes or operators may invoke the paired
goal-contract-verifierto verify execution state, but that verification flow does not change whatgoal-contract-writerreturns.
Use references/downstream-adapters.md for adapter rules and examples.
References
references/canonical-goal-contract.mdreferences/contract-elicitation-protocol.mdreferences/evidence-patterns.mdreferences/downstream-adapters.mdexamples/README.md
Resource Use
- Keep the canonical schema and pattern references in
references/. - Keep complete before-and-after examples in
examples/. - Keep interface metadata in
agents/.