agentic-harnesses
CLAUDE.md1 starsChanged 6 months agoMITView on GitHub
A visualizer + reference for how coding-agent harnesses run their loops. The site/ SPA renders loop / sequence / hooks / wire diagrams from JSON specs; docs/ and sources/ back them with prose and pinned source clones. For the manual native-sidenav browser regression, build and start a preview, then follow the recipe in site/scripts/check-native-sidenav.cjs (run from site/). It needs Playwright supplied through NODE_PATH; CHROME_CHANNEL optionally selects installed Chrome. KNOWN_BAD=1 injects the committed old-shim fixture and must fail font inheritance, independent…
In this repository2 other files it gives its agents.
- add-viewSkill
- onboard-harnessSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 24
Add a harness by dropping a JSON here.
- Very specific: line 41
A view renders a JSON spec — never hardcode harness data: Use the add-view skill.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md 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
agentic-harnesses
A visualizer + reference for how coding-agent harnesses run their loops. The site/
SPA renders loop / sequence / hooks / wire diagrams from JSON specs; docs/ and
sources/ back them with prose and pinned source clones.
Commands (run from site/)
npm run dev— Vite dev servernpm run build— validate-loops + tsc + vite (the full gate; run before claiming done)npm test— vitest runnpm run validate— validate loop JSON specs against the schema
For the manual native-sidenav browser regression, build and start a preview,
then follow the recipe in site/scripts/check-native-sidenav.cjs (run from
site/). It needs Playwright supplied through NODE_PATH; CHROME_CHANNEL
optionally selects installed Chrome. KNOWN_BAD=1 injects the committed old-shim
fixture and must fail font inheritance, independent of the current main branch.
Layout
site/— Vite + React 18 + TS SPA; source insite/src/.site/src/data/loops/*.json— harness loop specs, auto-discovered bydata.ts. Add a harness by dropping a JSON here; no nav edits needed.site/public/artificer/— Artificer design system (CSS +<script>helpers), generated from the pinned npm package@cameronsjo/artificerbyscripts/vendor-artificer.mjs(runs onpredev/prebuild). The*.{css,js,json}are gitignored; onlyassets/(fonts, favicon) is committed. Bump the version insite/package.json, not the files. Itsassets/og-image.svgis the design system's own marketing card — not this site's. Pointing the meta tags at it once shipped a social preview advertising Artificer; this site's card issite/public/og-image.{svg,png}.site/public/og-image.{svg,png}— this site's social preview. The SVG is the source; the committed PNG is generated from it (rsvg-convert -w 1200 -h 630) because X and LinkedIn reject SVG. Re-render the PNG whenever the SVG changes — the command is in a comment beside the meta tags insite/index.html.sources/<harness>/— pinned source clones the diagrams cite (file:line).docs/— methodology, comparison, per-harness writeups.
Conventions & gotchas
- A view renders a JSON spec — never hardcode harness data. Use the
add-viewskill. - Consuming Artificer here: its vendored scripts bind once on
DOMContentLoadedand miss React-mounted nodes — seedocs/artificer-spa-consumer-brief.md. Footer/disclaimer pattern:docs/disclaimer-footer-pattern.md. - Artificer friction → file upstream (
cameronsjo/artificer-design-system, labelfeedback, fire-and-forget) and log indocs/artificer-adaptations.md. - Diagrams theme via Artificer tokens only (
--dia-*,--s-*,--accent); dark-first.surface-tool. - Mobile/responsive: shell grid tracks are
minmax(0, 1fr)— never bare1fr(itsautominimum blocks shrinking; the page blows out sideways). Mobile overrides go after the desktop rules they override (media queries add no specificity). Verify at 390px withagent-browserby measuring (scrollWidthvsinnerWidth), not by reading CSS.
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.

