harness-lab / harness-cli
AGENTS.md0 starsChanged 8 months agoMITView on GitHub
Participant-facing CLI that installs the workshop skill and wraps privileged facilitator operations (auth, workshop lifecycle). The boundary rule: the CLI holds the credentials, the skill never does. Before editing under harness-cli/:
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,736 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository5 other files it gives its agents.
- AGENTS.mdAGENTS.md
- dashboard/AGENTS.mdAGENTS.md
- workshop-content/AGENTS.mdAGENTS.md
- workshop-skill/AGENTS.mdAGENTS.md
- workshopSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 1 is common, 0 are distinctive, and 2 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈0
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 9
Before editing under harness-cli/:
- Very specific: line 32
If bundle sources changed, npm run verify:workshop-bundle confirms the packaged mirror matches.
- Common: line 33
No raw credentials leaked into skill state or the packaged bundle.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.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
harness-cli/
Mission
Participant-facing CLI that installs the workshop skill and wraps privileged facilitator operations (auth, workshop lifecycle). The boundary rule: the CLI holds the credentials, the skill never does.
Read First
Before editing under harness-cli/:
../docs/harness-cli-foundation.md— auth model, session storage, CLI↔skill boundary.../docs/resource-packaging-model.md— portable bundle shape, sync script contract.CHANGELOG.mdfor recent behavior changes.- The current plan in
../docs/plans/if the task is in flight.
Task Routing
- New privileged operation → add a CLI command that wraps it; never hand the skill raw credentials or session material.
- Bundle contents change → edit sources under
workshop-skill/,content/,workshop-blueprint/, thennode harness-cli/scripts/sync-workshop-bundle.mjsto resync. The bundle underassets/workshop-bundle/is a generated mirror — do not hand-edit. - Auth flow change → coordinate with
docs/harness-cli-foundation.mdand the two load-bearing auth ADRs:docs/adr/2026-04-19-name-first-identify-with-neon-auth.md(canonical — participant identify: event code → name pick → password, dashboard-side control-plane) anddocs/adr/2026-04-06-neon-auth-for-facilitator-identity.md(facilitator identity via Neon Auth, still load-bearing). - Installer behavior change → update
src/skill-install.jsand mirror the change insrc/run-cli.jshandleSkillInstall; add a regression test undertest/.
Verification Boundary
cd harness-cli && npm testrunsverify:workshop-bundle+node --testovertest/*.test.js. Both must pass.- Bundle drift between authored sources and
assets/workshop-bundle/is a hard fail, not a warning. Resync in the same slice as any source edit. - Privileged-op tests live in
test/run-cli.test.jsand must assert credential-boundary behavior, not just happy-path exit codes.
Done Criteria
npm testpasses.- If bundle sources changed,
npm run verify:workshop-bundleconfirms the packaged mirror matches. - No raw credentials leaked into skill state or the packaged bundle.
- CHANGELOG.md updated if the change affects published
@harness-lab/clibehavior.
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.

