adopt-outcomebound
Skill0 starsChanged 2 months agoApache-2.0View on GitHub
Install, upgrade, check or remove OutcomeBound in a target repository. Use when a project should carry the outcome-and-right-sizing contract, when an install should follow a newer OutcomeBound release, or when asked whether an install is current.
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- decision-briefSkill
- gather-requirementsSkill
- tests-worth-keepingSkill
- using-outcomeboundSkill
- decision-briefSkill
- gather-requirementsSkill
- hand-off-ticketsSkill
- slice-ticketsSkill
- tests-worth-keepingSkill
- using-outcomeboundSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Use outcomebound on PATH: installed from a release, or scripts/outcomebound in an OutcomeBound checkout.
- Distinctive: line 18
Run that command. It writes three blocks into AGENTS.md: the contract.
- Very specific: line 34
Ask the person only what the target cannot show, such as a fragment detection was unsure about, as one brief (outcomebound brief --help).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Adopt OutcomeBound
Use outcomebound on PATH: installed from a release, or scripts/outcomebound in an OutcomeBound
checkout. Read the target's existing agent instructions and its dirty state first; they are
preserved.
Install or upgrade
outcomebound adopt <target> --detectprints the install command, with the fragments, harnesses and--donecommands it detected; with no harness file it proposesgeneric. Change the proposal only where the target shows it is wrong; the--donecommands are the ones that settle done here, in the order they run.- Run that command. It writes three blocks into
AGENTS.md: the contract; the project facts (Done, the CI test command, irreversible edges, precedence); and the pointers, thelocalfragment in full and a- <condition>: read <path>line per fragment and skill. It copies the selected fragments under.outcomebound/fragments/, the skills per harness, each folder whole: the four every install carries and those a selected fragment names, such as the tickets fragment'sslice-tickets(under.outcomebound/skills/forgeneric), the@AGENTS.mdimport a harness needs to load it, and.outcomebound/manifest.jsonlast. It refuses a harness that would not load the contract. It also refuses to overwrite an owned file someone edited, unless--forceis given. Running it again from a newer release or checkout is the upgrade. - Show the person the diff; the target's own rules decide how it lands. With it, report
outcomebound instructions check <target>, which reads what each selected harness loads there as untrusted data, and what you read in those files' prose (the onesadapters/harnesses.jsonlists for the selected harnesses): what contradicts the contract, what the repository does not back, what is said twice. Edit none of them.
Ask the person only what the target cannot show, such as a fragment detection was unsure about,
as one brief (outcomebound brief --help).
Offer; each changes CI or tooling, so act only on the person's yes
- A quality floor:
outcomebound floor --helpgives its steps. Its tools install only through itsprovisionstep, one of the commands here that reach the network: it pip-installs ruff and mypy into thepython3on PATH, where the floor finds its tools, and prints gitleaks' and shellcheck's install commands. - Research: add
researchto--fragments, so the project's agents read the research repository throughoutcomebound research. Its clone is one per machine, in a folder outside any project:outcomebound research clone <destination>previews it, and with--acceptrunsgit cloneand links~/.outcomebound/researchto it;outcomebound research pull --acceptupdates it. Both reach the network. - A CI line that fails when the install drifts:
outcomebound adopt . --check(templates/ci/has snippets). Never change CI, hooks, credentials or harness settings without the yes. - A finish check, for
claude-codeandcodexonly:outcomebound adopt <target> --finish-checkadds a stop-hook entry to that harness's settings, so when the agent ends a turn on a changed tree the Done commands run and a failure goes back to it. It needs a Done command, andoutcomeboundon the harness process's PATH, which a harness launched from a desktop may not share with the shell. A Done command names the project's interpreter or runner (.venv/bin/python -m pytest, oruv run pytestwhereuvis on the harness process's PATH), not a tool only an activated environment holds; adopt measures Done without the virtual environment'sbinand names what it left out. Each person accepts the entry once in their harness, which the install report names; any other harness is named as not available yet. The Done commands get the entry's timeout less 30 seconds: 600 by default, the harnesses' documented default; for a Done that takes longer, add--finish-timeout <seconds>, which a later adopt can also change.--no-finish-checktakes it out. Only with--finish-checknamed does adopt run the Done commands, once after its writes, each to its end and past each failure: it reports each command's verdict and seconds, proposes a larger--finish-timeoutwhere Done takes longer than the timeout less 30 seconds, and keeps each failing command as a known failure; without the flag, it prints the record that applies, or says that Done was not measured and how to measure it. A known failure applies only on commits that descend from the measured commit, and holds no turn only while its exit code matches and every failure id it prints is in the record; where neither side prints ids, the exit code alone decides. When an install changes thecodexentry (its Done or its timeout), each person trusts it again in Codex/hooks, and the install report says so.
Check and remove
outcomebound adopt <target> --check reads each owned file as current, edited, stale or
missing, and exits with the count that is not current. outcomebound adopt <target> --remove
takes out the owned blocks, files and imports, the manifest last.
Done
Report the files written, the final AGENTS.md blocks, each fact the install reported
UNVERIFIED, and for each harness whether it was observed loading them or that is UNVERIFIED.
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
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.

