skill-forge
AGENTS.md2 starsChanged 6 months agoMITView on GitHub
This is a self-improving skill collection. The meta-agent (root SKILL.md) discovers, devours, and creates new skills autonomously. After every action, the agent runs a mandatory self-check (see root SKILL.md Phase 5). This is not optional.
- Commits and pushes
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 repository20 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- skill-forgeSkill
- ai-debt-detectorSkill
- arch-from-codeSkill
- context-builderSkill
- db-schemaSkill
- design-modeSkill
- diagnoseSkill
- dynamic-workflowSkill
- error-resilienceSkill
- git-workflowSkill
- grillSkill
- handoffSkill
- mcp-conductorSkill
- prove-itSkill
- self-reviewSkill
- session-guardSkill
- setupSkill
- web-perfSkill
- zoom-outSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 2 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Read CONTEXT.md first — it defines the project vocabulary
- Very specific: line 12
Run /setup on first use to configure user preferences
- Very specific: line 52
After every action, the agent runs a mandatory self-check (see root SKILL.md Phase 5).
- Distinctive: line 56
No lazy implementation — throw compute at quality, never cut corners
- Distinctive: line 57
Use installed skills as a pipeline (route → grill → create → prove-it → self-review)
- Very specific: line 65
All skills must validate with 0 warnings: node scripts/validate-skill.js skills/<name>
≈ “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 — skill-forge
Instructions
This is a self-improving skill collection. The meta-agent (root SKILL.md) discovers, devours, and creates new skills autonomously.
For AI Agents Using This Repo
- Read
CONTEXT.mdfirst — it defines the project vocabulary - Skills live in
skills/— each has a SKILL.md with YAML frontmatter - The meta-agent's memory lives in
memory/— state files that persist between sessions - Run
/setupon first use to configure user preferences - Quality bar: every skill must pass
node scripts/validate-skill.js
Available Skills
| Skill | Slash Command | Solves |
| setup | /setup | First-time configuration |
| ai-debt-detector | /ai-debt-detector | "AI code has hidden bugs nobody catches" |
| grill | /grill | "Building the wrong thing" |
| prove-it | /prove-it | "Agent says 'done' but it's NOT" |
| diagnose | /diagnose | "Something broken, don't know why" |
| self-review | /self-review | "Agent shows buggy first drafts" |
| zoom-out | /zoom-out | "Lost in unfamiliar code" |
| handoff | /handoff | "Need to continue later" |
| session-guard | /session-guard | "Long sessions degrade" |
| context-builder | /context-builder | "Agent doesn't speak my language" |
| dynamic-workflow | /dynamic-workflow | "Complex task needs parallel work" |
| mcp-conductor | /mcp-conductor | "Agent uses one tool when it should chain five" |
| git-workflow | /git-workflow | "Drowning in git complexity" |
| web-perf | /web-perf | "Site is slow, don't know why" |
| error-resilience | /error-resilience | "Code breaks in production" |
| arch-from-code | /arch-from-code | "Nobody knows how codebase works" |
| db-schema | /db-schema | "Database breaks at scale" |
Automation Scripts
| Script | Purpose |
scripts/route-task.js | TF-IDF semantic routing with compound skill matching |
scripts/index-memory.js | Build indexed learnings (category + keyword + apply_to) |
scripts/skillopt.js | SkillOpt self-improvement loop (record → analyze → propose → apply) |
scripts/orchestrate.js | End-to-end project orchestration (7-phase guided plan) |
scripts/discover.js | Multi-strategy skill discovery |
scripts/self-improve.js | Monitor repos + weakness detection |
scripts/rl-update.js | Reinforcement learning signal processing |
scripts/validate-skill.js | Quality validation for skills |
Self-Check Protocol
After every action, the agent runs a mandatory self-check (see root SKILL.md Phase 5). This is not optional.
Learned User Preferences
- No lazy implementation — throw compute at quality, never cut corners
- Use installed skills as a pipeline (route → grill → create → prove-it → self-review)
- README frames skills as PROBLEMS not features
Learned Workspace Facts
- Git push requires HTTP/1.1:
git -c http.version=HTTP/1.1 push(HTTP/2 fails intermittently) - Permanent Cursor install uses directory junction:
~/.cursor/skills/skill-forge→ this repo - Tests must pass (104 tests):
node tests/run-tests.js - All skills must validate with 0 warnings:
node scripts/validate-skill.js skills/<name> - Marketplace install:
/plugin marketplace add Adit-Jain-srm/skill-forge - Memory index must be rebuilt after changing learnings:
node scripts/index-memory.js - SkillOpt records outcomes:
node scripts/skillopt.js --record --skill <name> --task "..." --outcome <good|poor|mixed> - Fresh installs: run
skill-forge initor scripts auto-initialize frommemory/defaults/ - Repo ships 70 files to users;
.agents/,.claude/, runtime state are gitignored - Publishing target: GitHub under
Adit-Jain-srmorg - Context compaction survival: hooks are ineffective post-compaction; behavioral self-enforcement (recite rules at checkpoints, re-read key files) is the only reliable countermeasure
- Personal Cursor rules at
~/.cursor/rules/: max-effort.mdc, skill-orchestration.mdc, prompt-amplifier.mdc (allalwaysApply: true, not in repo — machine-level config)
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.

