Tried a version of this but a lot less nuclear. Also for a cheaper and potentially more useful version ask your agent to analyse all session logs on your project
here's a prompt you can try
Audit all unstructured agent-facing text in this repo (AGENTS.md, skills, cursor rules, architecture/spec markdown docs) and replace as much of it as possible with executable code, types, lints, and tests. Then prove empirically what text actually earns its context window.
1. Inventory: list every doc, rule, and skill file, its byte size, and classify each claim into:
- Restates code or types (delete)
- Mechanically enforceable (convert into a linter, compiler check, typed API, or test, then delete the prose)
- Irreducible judgment call (candidate to keep, only if concise)
2. Prune and enforce: move enforceable rules into CI/lints/tests first, delete the dead prose, and shrink root instructions to only what automated checks cannot catch.
3. Run a blinded ablation eval before keeping any remaining instructions/skills:
- Pick 1 to 2 representative real tasks from this repo with an objective rubric and stress tests.
- Pre-register a prune rule before running (for example: drop the larger text set unless its median beats the smaller set by at least 2 points).
- Run 3 fresh isolated replicates per condition on clean commits that differ ONLY in the text under test:
- A: full current instructions/skills
- B: domain-only instructions
- C: minimal root instructions only (0 skills/extra docs)
- Audit transcripts for leaks (verify which files were actually opened vs just sitting in the system prompt).
- Grade blinded diffs + built artifacts only (strip branch names, SHAs, and notes) using a separate judge model + automated probe tests.
4. Report the scorecard, which docs/skills were never opened, where extra text hurt or helped, and delete everything that fails the pre-registered prune rule. Turn any recurring failure modes into tests or lints, not new prose.
@beyang also please add spaces to webhooks ive been using spaces as a lead orchestrator for features and i want to be able to dynamically create a new lead/space via my software factory when a new epic is created
turns out that specs docs are useful for keeping track of decisions when my agents forget to make the code do what i wanted it to. i think ive just gone full circle all the way back to agile but with a team of 50 agents
I've not found a way to turn this into a self-driving software factory yet. But I think the best setup I've found right now for agentic workflows is:
1. Ask Opus 5.5 High to plan, add detailed code to plan and write to Markdown
2. Have GPT-6.1 Sol Low or Grok 4.6 Medium implement the code, based on difficulty
3. Have GPT-6.1 Sol High do a `/ponytail` pass for simplification
4. Have @coderabbitai and Unblocked review
5. Have GPT-6.1 High review the code comments, asses validity, and address if relevant
This has been producing the most production-ready code I've seen out of agents so far. Complicated, but worth it.