agentleFS
rajasdevelrajasdevel/outcomebound/skills/adopt-outcomebound/SKILL.md

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.

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
  1. Very specific:

    Use outcomebound on PATH: installed from a release, or scripts/outcomebound in an OutcomeBound checkout.

    line 8
  2. Distinctive:

    Run that command. It writes three blocks into AGENTS.md: the contract.

    line 18
  3. Very specific:

    Ask the person only what the target cannot show, such as a fragment detection was unsure about, as one brief (outcomebound brief --help).

    line 34

≈ “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.

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

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

  1. outcomebound adopt <target> --detect prints the install command, with the fragments, harnesses and --done commands it detected; with no harness file it proposes generic. Change the proposal only where the target shows it is wrong; the --done commands are the ones that settle done here, in the order they run.
  2. 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, the local fragment 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's slice-tickets (under .outcomebound/skills/ for generic), the @AGENTS.md import a harness needs to load it, and .outcomebound/manifest.json last. It refuses a harness that would not load the contract. It also refuses to overwrite an owned file someone edited, unless --force is given. Running it again from a newer release or checkout is the upgrade.
  3. 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 ones adapters/harnesses.json lists 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 --help gives its steps. Its tools install only through its provision step, one of the commands here that reach the network: it pip-installs ruff and mypy into the python3 on PATH, where the floor finds its tools, and prints gitleaks' and shellcheck's install commands.
  • Research: add research to --fragments, so the project's agents read the research repository through outcomebound research. Its clone is one per machine, in a folder outside any project: outcomebound research clone <destination> previews it, and with --accept runs git clone and links ~/.outcomebound/research to it; outcomebound research pull --accept updates 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-code and codex only: outcomebound adopt <target> --finish-check adds 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, and outcomebound on 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, or uv run pytest where uv is on the harness process's PATH), not a tool only an activated environment holds; adopt measures Done without the virtual environment's bin and 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-check takes it out. Only with --finish-check named 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-timeout where 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 the codex entry (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.

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.