orchestkit
AGENTS.md286 starsChanged 4 months agoMITView on GitHub
Instructions for AI coding agents working in the OrchestKit repository. This is the vendor-neutral companion to CLAUDE.md; where both exist, they say the same thing. OrchestKit is a plugin for Claude Code (Anthropic's agentic CLI). It packages reusable skills, specialist agents, and lifecycle hooks. It is source-built: you edit src/ and a build step assembles the installable plugins/ tree. It is not a hosted service and has no runtime backend. Edit src/ and manifests/. Never edit plugins/ by hand —…
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,773 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 repositoryOne other file it gives its agents.
- CLAUDE.mdCLAUDE.md
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 24
After any src/ change, run npm run build, then stage the resulting plugins/ diff
- Very specific: line 40
Before opening a PR: npm test and npm run test:security must pass, and git diff should show real changes (not no-ops left over from a …
- Very specific: line 62
Never bypass hooks with --no-verify.
- Distinctive: line 65
Do not close issues by hand.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
AGENTS.md
Instructions for AI coding agents working in the OrchestKit repository. This is the
vendor-neutral companion to CLAUDE.md; where both exist, they say the same thing.
OrchestKit is a plugin for Claude Code (Anthropic's agentic CLI). It packages reusable
skills, specialist agents, and lifecycle hooks. It is source-built: you edit src/ and a
build step assembles the installable plugins/ tree. It is not a hosted service and has no
runtime backend.
The one rule that prevents most broken PRs
Edit src/ and manifests/. Never edit plugins/ by hand — it is generated.
src/ ← EDIT HERE
skills/<name>/SKILL.md # skills (YAML frontmatter + Markdown body, <500 lines)
agents/<name>.md # agents (frontmatter: name, description, model, tools, skills)
hooks/src/<category>/*.ts # TypeScript lifecycle hooks
manifests/ ← EDIT HERE (plugin definitions)
plugins/ ← GENERATED by `npm run build` — do not hand-editAfter any src/ change, run npm run build, then stage the resulting plugins/ diff
together with your src/ change in the same commit. A plugins/ diff after a build is
expected, not noise. If plugins/ comes out empty, the build was interrupted — run it again.
Build and verify
npm run build # assemble plugins/ from src/ — required after editing src/
npm test # full suite (lint + unit + security + integration + e2e)
npm test --quick # skip integration/e2e/performance
npm run test:skills # skill structure validation
npm run test:agents # agent frontmatter validation
npm run test:security # security tests — MUST pass, gates push
npm run typecheck # TypeScript check (run if hooks changed)Before opening a PR: npm test and npm run test:security must pass, and git diff should
show real changes (not no-ops left over from a previous session).
Adding a component
- Skill — create
src/skills/<name>/SKILL.mdwith frontmatter (name,description,tags,user-invocable,complexity); body stays under 500 lines. Add it tomanifests/ork.json, thennpm run build. Seesrc/skills/CONTRIBUTING-SKILLS.md. - Agent — create
src/agents/<name>.mdwith the required frontmatter, add to the manifest, rebuild. - Hook — create
src/hooks/src/<category>/<name>.tsand register it in bothsrc/hooks/hooks.jsonand the entries mapsrc/hooks/src/entries/<event>.ts. One without the other is a silently-dead hook. Rebuild withcd src/hooks && npm run build.
Component counts live in three places (manifests/ork.json, the CLAUDE.md version section,
and the hooks.json description for hooks). Keep them in sync — npm run test:manifests
catches drift.
Working conventions
- Branch off
mainwith a typed prefix (feat/,fix/,docs/,chore/). Never commit directly tomain. - Never bypass hooks with
--no-verify. Never commit secrets or generated-only diffs. - Conventional Commits for messages and PR titles; keep them plain (no emoji).
- Close issues by putting
Closes #Nin the PR body — a PR merge to main closes them via CI. Do not close issues by hand.
Where to learn more
README.md— product overview and quick start.CLAUDE.md— the same rules with Claude-Code-specific detail.src/skills/CONTRIBUTING-SKILLS.md— full skill-authoring standard.src/hooks/README.md— hook architecture and the hook registry.- Docs site: https://orchestkit.yonyon.ai · Repo: https://github.com/yonatangross/orchestkit
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.

