olddonkey-skills
AGENTS.md16 starsChanged 59 days agoMITView on GitHub
A collection of Agent Skills (Markdown SOPs + helper Bash scripts) published as both a Claude Code marketplace (.claude-plugin/marketplace.json) and a Cursor marketplace (.cursor-plugin/marketplace.json). It is not a deployable service. There are no repo-level dependency manifests (no package.json, lockfile, or Makefile at the root); the toolchain — bash, git, Node.js/npm, and python3 3.11+ (tomllib) — is expected to be preinstalled, so a startup update script has nothing to install. - skills/implementation-loop/ — the backend-neutral implementation loop skill. Uniform backend modules…
- Pipes a download into a shell
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 repository3 other files it gives its agents.
- engineering-modeSkill
- implementation-loopSkill
- web-slidesSkill
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 145
Don't scaffold from inside the repo checkout — it would drop an untracked deck into the repo.
≈ “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
What this repo is
A collection of Agent Skills (Markdown SOPs + helper Bash scripts) published
as both a Claude Code marketplace (.claude-plugin/marketplace.json) and a
Cursor marketplace (.cursor-plugin/marketplace.json). It is not a deployable
service. There are no repo-level dependency manifests (no package.json,
lockfile, or Makefile at the root); the toolchain — bash, git, Node.js/npm,
and python3 3.11+ (tomllib) — is expected to be preinstalled, so a startup
update script has nothing to install.
Components:
skills/implementation-loop/— the backend-neutral implementation loop skill. Uniform backend modules live underbackends/{claude,codex,grok,cursor}/, each withdispatch.sh,runtime.md,selftest.sh, andfixture-driver.sh; grok also hasverify-worktree.sh.backends/backends.tsvregisters their capabilities. Shared suites and the opt-in real-backend gate live undertests/; the frozen Codex matrix istests/codex-cases.tsv.scripts/run-gate.shremains the backend-neutral gate, while the other eightscripts/*.shexecutables are one-release forwarding shims removed in 0.5.0. The shared observable interface is recorded inreferences/dispatch-contract.mdand enforced by the contract suites.scripts/loop-coordinatoris the foreground, headless coordinator: it drafts specs through a judge, records engineer approval, and performs a diagnostic diff review. Its operator guide isreferences/coordinator.md;tests/coordinator-selftest.shuses temporary repositories and CLI stubs.skills/engineering-mode/— goal-first wrapper over the loop. Shared playbooks inreferences/playbooks/, plusscripts/tree-oid.shand its selftest.skills/web-slides/— a scaffolder (scripts/scaffold.sh) that generates a runnable Vite + React + TypeScript slide deck. The only runnable "app".cursor-implementation-loop/— the generated Cursor plugin port. It ships two skills (cursor-implementation-loop,cursor-engineering-mode) and two agents (agents/loop-implementer.md,agents/loop-independent-reviewer.md). Edit shared inputs underskills/or Cursor-authored inputs underhosts/cursor/, then runbash build.sh; do not hand-edit the generated tree. Manifest:.cursor-plugin/plugin.json.build.sh,hosts/cursor/,tests/build-{inventory.py,selftest.sh}— the deterministic Cursor-package generator, its host-only overlay, and its external-inventory/selftest tooling.bash build.sh --checkverifies the committed tree and its recorded version decision without rewriting it.install-cursor.sh/install-cursor-selftest.sh— root-level one-line installer for the Cursor plugin (curl … install-cursor.sh | bash), plus its own selftest.plans/,docs/— design plans and review records; prose only, no CI hooks.
Invariants CI will hold you to
.github/workflows/selftest.yml runs two jobs. Reproduce locally from the repo
root in this order — all suites are self-contained, need no network, and the
backend CLIs are not required (they are only needed to dispatch a live
run):
bash -nsyntax checks on every shipped shell script: the builder and its selftest, backend modules and fixture drivers, shared tests, the gate, all forwarding shims, the two generated Cursor gate scripts, and both installer scripts.- Generated Cursor package checks:
bash build.sh --check, two builds into separate temporary destinations with byte-identical external inventories, thenbash tests/build-selftest.sh(expectselftest: PASS (21 checks)). The inventory records path, type, mode, and SHA-256 independently of the embedded manifest. Editskills/orhosts/cursor/, runbash build.sh, and record the version decision inhosts/cursor/version-decision.tsv. - Playbooks must stay platform-neutral: no
read-only/investigatewords and nocodex-dispatchreferences anywhere under eitherreferences/playbooks/tree. bash skills/implementation-loop/backends/codex/selftest.sh— expectselftest: PASS (166 checks), thenbash skills/implementation-loop/tests/gate-selftest.sh— expectselftest: PASS (207 checks). Their split total is 373. The Codex cases use python3 for secure state, argv, and fixture validation; python3 3.11+ is part of the repo toolchain.bash skills/implementation-loop/backends/grok/selftest.sh— expectselftest: PASS (276 checks).bash skills/implementation-loop/backends/cursor/selftest.sh— expectselftest: PASS (142 checks).bash skills/implementation-loop/backends/claude/selftest.sh— expectselftest: PASS (303 checks).bash skills/implementation-loop/tests/journal-selftest.sh— expectselftest: PASS (251 checks);bash skills/implementation-loop/tests/index-selftest.sh— expectselftest: PASS (103 checks); andbash skills/implementation-loop/tests/console-selftest.sh— expectselftest: PASS (151 checks).bash skills/implementation-loop/tests/contract-core.sh,bash skills/implementation-loop/tests/contract-negative.sh, andbash skills/implementation-loop/tests/shim-selftest.sh— expect all green. The contract-core per-backend counts are claude 61, codex 63, cursor 67, and grok 63. Contract-negative expectscontract-negative: PASS (42 checks; 21 broken adapters rejected).bash skills/implementation-loop/tests/evidence-selftest.sh(thescripts/loop-evidencerecord card) — expectselftest: PASS (152 checks).bash skills/implementation-loop/tests/coordinator-selftest.sh— expectselftest: PASS (735 checks). It uses only local temporary repositories and backend CLI stubs, and never calls a real agent.COORD_SELFTEST_JOBSdefaults to 4; set it to 1 for declaration-order serial execution.bash cursor-implementation-loop/skills/cursor-implementation-loop/scripts/gate-selftest.sh— expectselftest: PASS (207 checks).bash install-cursor-selftest.sh— expectselftest: PASS (64 checks).- Packaging checks: both marketplace JSON manifests must parse; every
SKILL.md(underskills/andcursor-implementation-loop/skills/) must have non-emptyname:anddescription:frontmatter; engineering-mode and Codex-loop Markdown must have no dangling relative links. tree-oidjob (runs on ubuntu and macos):bash skills/engineering-mode/scripts/tree-oid-selftest.shand the Cursor copy — expectselftest: PASS (202 checks)each. Keep these scripts portable across GNU and BSD userlands.
Shell gotcha: locale prefixes in forked shells
Inside $(...), ( ... ), <( ... ), or a function called from one of them,
write env LC_ALL=C cmd, never a bare LC_ALL=C cmd (same for LANG and other
LC_*). After a bare prefix the forked shell restores its own locale; with
Homebrew bash 5.3 on macOS and no LANG/LC_* in the environment that restore
can segfault, so the substitution returns 139 and set -e ends the script.
A bare prefix in a script's own main shell is safe. env runs external
commands only, not shell functions or builtins.
Manual backend integration gate
skills/implementation-loop/tests/integration-test.sh is the manual,
opt-in pre-release gate for backend changes. It exercises the real claude, codex, grok,
and cursor-agent sandboxes, needs authenticated CLIs, and makes real API calls.
--backend claude|grok|cursor|codex|all is repeatable and deduplicated; --require
codex implies codex and fails unless every frozen non-managed Codex case runs
exactly once with no skip/failure and complete provenance. Unavailable or
logged-out backends otherwise remain skips. --require claude implies claude and
fails if any Claude case is skipped. CI only runs bash -n on this
script and never executes it.
Running the web-slides app (non-obvious gotchas)
Scaffold, then run the Vite dev server:
cd /tmp # a scratch parent dir, NOT the repo
bash <repo>/skills/web-slides/scripts/scaffold.sh ws-demo --theme=midnight-press
cd ws-demo && npm run dev # serves http://localhost:5174/- Pass a RELATIVE target dir and run from the intended parent. Current
npm create vite(create-vite v9+) resolves the project path against the cwd and mishandles a leading/, so an absolute target like/tmp/ws-demogets scaffolded into$PWD/tmp/ws-demoand the script's latercdfails. Don't scaffold from inside the repo checkout — it would drop an untracked deck into the repo. - The first
npm create viteinvocation may no-op while it downloadscreate-vite; if the target dir wasn't created, just re-run — the package is cached the second time. - The scaffolder runs
npm installandnpx tsc --noEmititself and aborts on type errors, so a successful scaffold already typechecks. - Dev server port is fixed to
5174intemplates/vite.config.ts. In the deck: click the stage /→/ space advances one step,Popens the presenter window,Ntoggles the notes overlay. List themes withscaffold.sh --list-themes; default ismidnight-press.
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.

