Agent skills from Modem.
Rules for writing code that coding agents (and humans) can find through plain-text search: distinctive names, precise types, comments where search lands, and concept-named modules.
Distilled from Modem’s How coding agents read your code post and the experiments behind it. This is skill v4 from those runs.
Copy a skill directory into your agent’s skills folder:
# Cursor (project)
cp -R write-discoverable-code .cursor/skills/
# Claude Code (project)
cp -R write-discoverable-code .claude/skills/Or clone this repo and point your harness at the skill path you want.
Methodology, generated codebases, and run results live in the private code-writing-data repo.