knap
AGENTS.md1 starsChanged 4 months agoMITView on GitHub
This repo is the knap Claude Code plugin, and its own marketplace (stony). It holds Nick's agent toolkit: the mockup UI-iteration skill and the agentify repo-setup skill, invoked as /knap:mockup and /knap:agentify (plugin skills are namespaced by plugin name). There is no application code — the product is the skills' processes (skills/*/SKILL.md), the agentify templates, the mockup references and scaffold, and the resources/ library. This file is the canonical agent entry point — CLAUDE.md is a symlink to it. The…
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.
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 69
If a change alters the artifact set or install flow, update this file and README.md in the same change.
- Distinctive: line 71
Keep this file lean (≤150 lines).
- Distinctive: line 75
When a change is finished, commit and push to main — the GitHub remote is the backup and the distribution channel.
≈ “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
knap — agent guide
This repo is the knap Claude Code plugin, and its own marketplace
(stony). It holds Nick's agent toolkit: the mockup UI-iteration skill and
the agentify repo-setup skill, invoked as /knap:mockup and
/knap:agentify (plugin skills are namespaced by plugin name). There is no
application code — the product is the skills' processes
(skills/*/SKILL.md), the agentify templates, the mockup references and
scaffold, and the resources/ library. This file is the canonical agent
entry point — CLAUDE.md is a symlink to it. The why lives in
docs/decisions.md.
State (2026-08-25): v0.5.0 — mockup now forms reference-grounded
creative directions and runs a stateful iteration loop: lockable axes,
Current baseline, checkpoints/comparison, decision memory, and versioned
feedback packets (D9). The curated design/tool resources are seeded. Not yet
submitted to the community marketplace.
Commands
| Command | What it does | Time |
scripts/verify.sh | Validates both manifests parse, the CLAUDE.md symlink, template/resource presence, and every skill's SKILL.md frontmatter. Run before declaring any change done. | ~1 s |
What can be verified where
- Manifests, symlink, file presence:
scripts/verify.sh. - Skill behavior (does
/knap:agentifyproduce a good setup; does/knap:mockupproduce a useful options page): only by running it against a real repo from a Claude Code session with the plugin installed. After meaningful SKILL.md changes, test on a scratch repo before tagging a release. - The options-page scaffold's machinery (presets, remix controls, locks,
checkpoints, comparison, feedback packet): open
skills/mockup/templates/options-page.template.htmlin a browser and click through it — it runs standalone.
Hard constraints (settled — see docs/decisions.md)
- Everything an agent consumes here is plain markdown/shell — no build step,
no Claude-only formats, so non-Claude agents can use any skill by reading
its
skills/<name>/SKILL.mddirectly (D2). - One repo = marketplace + plugin (D1). Don't split them.
AGENTS.mdis canonical everywhere this process touches;CLAUDE.mdis always a symlink, never a copy.
Architecture in one breath
.claude-plugin/marketplace.json (marketplace stony) lists this repo
itself (source: "./") as the single plugin knap, defined by
.claude-plugin/plugin.json; Claude Code discovers each skills/*/SKILL.md
(process + trigger description) and namespaces it as /knap:<skill>.
agentify references its sibling templates/ (skeletons for AGENTS.md,
decisions, lessons, architecture, design, verify.sh) and the repo-root
resources/ library (design-inspiration.md, tools.md) via
${CLAUDE_PLUGIN_ROOT}; mockup carries its own
references/design-language.md (craft floor) and
references/creative-direction.md (reference lock + visual grammar), plus
templates/options-page.template.html (the runnable options-page scaffold).
Rule: process changes → the skill's SKILL.md; artifact-shape changes →
that skill's templates/; durable design knowledge → its references/;
personal reference material → repo-root resources/.
Maintenance contract — how this repo stays agent-friendly
- A change isn't done until
scripts/verify.shpasses. - Made a non-obvious call about the process or packaging? Append a dated
3–6 line entry to
docs/decisions.mdin the same change; revisions go in the supersession map. - If a change alters the artifact set or install flow, update this file and README.md in the same change. A doc that lies is a bug — fix it like one.
- Keep this file lean (≤150 lines).
- Bump
versionin.claude-plugin/plugin.jsonwith any change to the skill or templates (patch for wording, minor for new artifacts/steps) so installed copies know to update. - When a change is finished, commit and push to
main— the GitHub remote is the backup and the distribution channel.
Scope discipline
This repo encodes a process, not a framework — resist adding machinery (generators, config, per-language variants) until a real project has needed it twice. Improvements should come from lessons learned in actual projects; when one lands, fold it into SKILL.md or a template and log why.
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.

