agentleFS
Jason-hub-starJason-hub-star/model-orchestrator/skills/goal-contract/SKILL.md

goal-contract

Skill0 starsChanged 2 months agoMITView on GitHub

Convert multi-turn work into a runtime-neutral goal brief whose completion is decided by evidence. Use for “write a goal”, “goal brief”, “골”, performance work, flaky-test investigations, migrations, or any task requiring repeated verified passes—not simple one-turn requests.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Create one brief that Codex, Claude Code, or another agent can execute without changing the finish line.

    line 8
  2. Distinctive:

    Write a compact one-line goal plus a Markdown brief containing the six fields and an execution log.

    line 23
  3. Very specific:

    Use phase-loop when the goal becomes three or more ordered implementation phases.

    line 27

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Goal Contract

Create one brief that Codex, Claude Code, or another agent can execute without changing the finish line.

Required contract

  1. Outcome — measurable state that must become true.
  2. Verification — runnable commands or inspectable artifacts that prove it.
  3. Constraints — behavior or quality that must not regress.
  4. Boundaries — allowed and forbidden files, systems, data, and actions.
  5. Iteration policy — how failed passes choose the next smallest change.
  6. Blocked stop — when the agent must stop and report instead of guessing.

Human taste or approval belongs between goals, not inside an automated completion check.

Output

Write a compact one-line goal plus a Markdown brief containing the six fields and an execution log. Use shell-runnable verification when possible; do not make an internal agent tool the only proof of success.

Next

Use phase-loop when the goal becomes three or more ordered implementation phases. If verification cannot be written, return to converge-plan.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.