orgx trail · open source · runs on your machine
See the mistakes your coding agents keep repeating
Trail reads the Claude Code, Codex, Cursor, Copilot, Gemini CLI, OpenCode and Factory Droid history already on your machine. It groups the failures your agents hit again and again, shows how many sessions hit each one, and drafts the rule that stops it. You choose what goes into your agent instructions.
npx -y @useorgx/trailRules other people adopted
Each fix below is one rule for AGENTS.md or CLAUDE.md you can paste today. Before-and-after numbers appear once 5 people have measured it on their own machines; until then the row shows how many have.
How agents are allowed to work
- `gh api` and `gh issue` are denied0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
- Codex’s sandbox refuses writes outside the workspace0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
- Don’t-ask runs can’t read or write ~/.claude0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
- Loops and chained shell commands get denied0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
- MCP tools are denied0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
- Other tools denied in don’t-ask mode0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
- Web fetches are denied0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
The machine they run on
- A CLI or OAuth login expired0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
- A dependency is missing (broken node_modules)0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
- Dev server port already in use0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
- OrgX context could not be loaded0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
- The disk fills up mid-run0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
- Typecheck or build runs out of memory0 of 5 peopleGathering evidence. No numbers until enough people have adopted it.
How it’s measured: trail compares sessions in the same repository and the same permission mode before and after the rule was added. When the permission mode changed, the comparison is left out instead of claimed. Only counts leave a machine; never code, prompts or file names.