Agent harness

Omarchy

Agents that prove what they say. These are the skills, commands and rules I run every day on Claude Code and opencode: they make an agent say what it verified and what it only inferred, review a change on three separate axes, and show it with the same script run before and after.

What it produces

This is what the proof kit writes at the end: one verdict per promise, each with the evidence behind it.

Example reportreport.html

Refuse items without a name

PromiseVerdictWhy
An empty name is refusedProven422 with “name is required” instead of 201
A valid item is created as beforeProvenIdentical on both sides
Nothing else in the response changesContradictedExpected the same, and it changed
The field shows the error on blurObservedSeen by hand, not scripted
What the proof kit writes: one verdict per promise, each with the evidence behind it.

Four rules behind everything

  1. Verified or inferred

    Every claim says which one it is. “It works” means the real pieces ran together, never two halves that are each green alone.

    work-verify-claims
  2. One script, both sides

    A change is shown by running the same script on the base and on the change. Clicking through each side by hand proves nothing about both.

    proof
  3. Three axes, kept apart

    Standards, Spec and Failures are reviewed separately. Idiomatic code that does what was asked can still lose data when a write fails halfway.

    review-changes
  4. Tokens only when something happens

    Waiting is done by a plain script. The model wakes up when a commit lands or CI finishes, not on a timer.

    git-watch-commits

The eight skills

Each one is a folder with instructions the agent loads when the task matches. Some carry references read on demand and a helper script.

Evidence

work-verify-claims

Evidence standards before saying something works, is done or is a bug: run the real stack end to end, read the installed library source, report what was not tested.

Say does it all work?

Evidence

proof

Shows a change to someone who has only the task’s title and description: promises, a menu of methods per surface, one script on both sides, a verdict per promise.

Say /proof

Review

review-changes

A read-only review of a pull request, local changes or a plan. Every finding has a location, a scenario and whether it was confirmed or is only plausible.

Say /review-pr <url>

Review

git-watch-commits

Reviews or fixes each new commit on a branch against one checklist. The watcher is a script, so nothing is spent while no commit lands.

Say watch this branch against the handoff

Shipping

git-pr

Pushes, watches CI without burning tokens, confirms CI ran the new tests on the current commit, and keeps the pull request description true.

Say push and check CI

Code

code-simplify

Refactors in small verified steps: one simplification per commit, and a bug found on the way becomes its own fix commit.

Say simplify this branch

Code

code-spike-library

Evaluates a library before adopting it: compatibility, reading its source for what it relies on, and a throwaway pass or fail spike per capability.

Say use library X or something like it

Decisions

research

Runs a study that supports one decision: intake, a charter with premises, independent seats, a separate judge, spikes and an evidence audit.

Say /research <decision>

How a proof goes

The reader of a proof has the task’s title and description and nothing else. The skill decides what to prove; a small kit does the part that must be the same every time.

  1. Promises

    Taken from the task’s title and description, in the words of whoever uses the change. Not from the chat.

  2. Methods

    A menu per surface: contract diff, request pairs, dependency graph, smoke and e2e, screenshots or video, benchmark.

  3. Approval

    The plan is locked before anything runs. Changing a promise later needs a reason, and the report shows it.

  4. Both sides

    The kit runs one command string on a worktree of the base and on the change, then compares what came out.

  5. Verdict

    Proven, contradicted, not proven, observed by hand, or blocked with the reason. Never “looks fine”.

One promise, declared and run
$ proof claim refuse-empty --text "An empty name is refused" \    --method "request pair" --expect changed --as json \    --assert "422 with 'name is required' instead of 201" \    --match '"status": 422'declared refuse-empty: changed; "422 with 'name is required' instead of 201"; match /"status": 422/ $ proof pair refuse-empty --self --ignore-key id -- sh post.shrefuse-empty base: exit 0 in 7 msrefuse-empty self: exit 0 in 6 msrefuse-empty change: exit 0 in 6 msrefuse-empty: PROVEN - it changed as asserted  ok   match /"status": 422/: in change: true, in base: false (wanted true, false)

What keeps it honest

  • A promise that something changed needs a check that only the change can pass, so a moving timestamp cannot count as the change.
  • The base runs twice. Output that differs from itself is not proven until what moves is normalised.
  • Evidence made by hand is “observed”, never “proven”.
  • The plan and the state live on disk, so a long proof survives a lost context.

The commands

/proofProve a change, with a verdict per promise.
/review-prReview a pull request on GitHub.
/review-localReview local changes not merged yet.
/review-planReview an implementation plan.
/researchRun a study that supports one decision.
/git-prShip the branch to green CI, or bring the description or the roadmap issue up to date.
/git-watch-commitsReview or fix each new commit against a checklist.
/code-simplifySimplify in small verified commits, with the behaviour unchanged.
/code-spike-libraryEvaluate a library with a pass or fail test per capability.

The commands are for opencode. Claude Code calls the skills by name.

The two agents

For opencode. Each owns the skills and tools of its kind of work, which the main session does not see: it delegates.

reviewerReads and never writes: it cannot edit a file, commit, push or check out. It is the only agent that sees review-changes, and the three review commands run in it.
frontendThe only agent with the Figma, Chrome DevTools and Playwright tools, for building a screen from a design and checking it in a real browser. It asks before a commit or a push.

The global instructions

One file loaded in every session, in six parts.

LanguageTalk to me in the language I write in. Write code, commits and docs in the repository’s language.
GitCommit or push only when asked, on a branch. Conventional commits with a body, and no co-author line. Never rewrite pushed history without my OK.
Scripts and toolingTypeScript on Bun for scripts and tooling. Tools are called by name, and a missing one is named with how to install it.
Delegating to specialistsWork that reads a lot and ends in a short result goes to a subagent, briefed from zero. A change that is not trivial gets an offer of a reviewer pass.
EvidenceBefore saying something works, follow work-verify-claims. To show a change to someone else, follow proof.
StateA tool that keeps state between sessions writes it under ~/.local/state/takashi, never inside a repository.

Skills from other authors

Installed beside mine, each pinned to a commit of its source, so an update is a change I make and read.

mattpocock/skillsdomain-modeling, grill-me, grill-with-docs, grilling, handoff, improve-codebase-architecture and writing-for-agents.
vercel-labs/skillsfind-skills.
nutlope/hallmarkhallmark.

What goes where

~/.claude/skillsThe skills, copied for Claude Code.
~/.agents/skillsThe same skills, copied for opencode.
~/.config/opencode/commandsOne slash command per workflow, linked to the repository.
~/.config/opencode/agentsTwo agents, reviewer and frontend, linked.
~/.config/opencode/AGENTS.mdThe global instructions, linked.

Copies and links

Skills are copies: after editing one in the repository, run the script again. Commands, agents and instructions are links, so they follow the repository on their own.

A real file already in the place of a link is never replaced, and neither is a link that points somewhere else. Skills from other authors are pinned to a commit of their source in skills-lock.json.

Only the skills

To take only the skills, without the machine: this copies the eight of them into your agent’s skills folder, and nothing else on the machine changes.

npx skills add https://github.com/gtkatakura/takashi/tree/main/shared/defaults/agents/skills -g -s '*'

For the agents the skills CLI finds on your machine. Needs Node; two of the skills run a helper with Bun.

Files