agent-arsenal / omniroute
CLAUDE.md4 starsChanged 7 days agoMITView on GitHub
All project rules live in AGENTS.md — the single source of truth for every AI assistant (architecture, conventions, testing, quality gates, git workflow, the 23 Hard Rules, PII learnings). Read it in full; do not re-add project rules here. Everything below applies ONLY to Claude Code — operational refinements of rules already defined in AGENTS.md. The full mandatory worktree protocol (base-branch confirmation, .claude/worktrees/ canonical path, cp -al node_modules, teardown rules) is in docs/ops/WORKTREE_ISOLATION.md (summarized in AGENTS.md → Git Workflow →…
In this repository54 other files it gives its agents.
- skills/academic/academic-research-agent/AGENTS.mdAGENTS.md
- skills/academic/academic-research-skills/AGENTS.mdAGENTS.md
- skills/automation/cleanyourtv/AGENTS.mdAGENTS.md
- skills/browser-automation/apify/AGENTS.mdAGENTS.md
- skills/browser-automation/playwright-cli/AGENTS.mdAGENTS.md
- skills/coding/agent-skills/AGENTS.mdAGENTS.md
- skills/coding/caveman/AGENTS.mdAGENTS.md
- skills/coding/ponytail/AGENTS.mdAGENTS.md
- skills/coding/vercel-suite/AGENTS.mdAGENTS.md
- skills/design/awesome-design/AGENTS.mdAGENTS.md
- skills/design/framer-motion/AGENTS.mdAGENTS.md
- skills/design/image-to-code-skill/AGENTS.mdAGENTS.md
- skills/design/img2threejs/AGENTS.mdAGENTS.md
- skills/design/screenshot-to-code/AGENTS.mdAGENTS.md
- skills/design/taste-skill/AGENTS.mdAGENTS.md
- skills/design/ui-ux-pro-max/AGENTS.mdAGENTS.md
- skills/design/uiverse/AGENTS.mdAGENTS.md
- skills/design/unslop/AGENTS.mdAGENTS.md
- skills/design/web-design-guidelines/AGENTS.mdAGENTS.md
- skills/gateways/freellmapi/AGENTS.mdAGENTS.md
- skills/gateways/omniroute/AGENTS.mdAGENTS.md
- skills/memory/mem0/AGENTS.mdAGENTS.md
- skills/video-media/hyperframes/AGENTS.mdAGENTS.md
- skills/video-media/voicestudio/AGENTS.mdAGENTS.md
- skills/video-media/watch/AGENTS.mdAGENTS.md
- skills/academic/academic-research-agent/CLAUDE.mdCLAUDE.md
- skills/automation/cleanyourtv/CLAUDE.mdCLAUDE.md
- skills/coding/agent-skills/CLAUDE.mdCLAUDE.md
- skills/coding/caveman/CLAUDE.mdCLAUDE.md
- skills/design/img2threejs/CLAUDE.mdCLAUDE.md
- skills/design/ui-ux-pro-max/CLAUDE.mdCLAUDE.md
- skills/video-media/hyperframes/CLAUDE.mdCLAUDE.md
- skills/video-media/watch/CLAUDE.mdCLAUDE.md
- research-agentSkill
- cleanyourtvSkill
- apifySkill
- playwright-mcpSkill
- ponytailSkill
- 21st-devSkill
- awesome-designSkill
- framer-motionSkill
- image-to-code-skillSkill
- img2threejsSkill
- screenshot-to-codeSkill
- design-taste-frontendSkill
- uiverseSkill
- unslopSkill
- web-design-guidelinesSkill
- freellmapiSkill
- omnirouteSkill
- mem0Skill
- bragSkill
- voicestudioSkill
- watchSkill
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 19
Prefer the native EnterWorktree tool — it already creates worktrees under .claude/worktrees/ (the canonical path).
- Very specific: line 31
Before merging or pushing to any PR you did not create _this session_, run git worktree list and re-check gh pr view <N> --json …
- Very specific: line 49
Commit those artifacts inside the _tasks/ repo (git -C _tasks …), never in the main repo.
- Very specific: line 62
Do not confuse this with _tasks/ (Hard Rule #23, its own private git repo for durable plans/specs/research/hand-offs) — _artifacts/ is for …
- Very specific: line 68
Before cutting a branch or opening a PR, run the base-green check (AGENTS.md → Git Workflow → "Base-green check".
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.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
CLAUDE.md
@AGENTS.md
All project rules live in AGENTS.md — the single source of truth for every AI
assistant (architecture, conventions, testing, quality gates, git workflow, the 23 Hard Rules,
PII learnings). Read it in full; do not re-add project rules here. Everything below applies ONLY
to Claude Code — operational refinements of rules already defined in AGENTS.md.
Worktree isolation — Claude Code specifics
The full mandatory worktree protocol (base-branch confirmation, .claude/worktrees/ canonical
path, cp -al node_modules, teardown rules) is in
docs/ops/WORKTREE_ISOLATION.md (summarized in AGENTS.md →
Git Workflow → "Worktree isolation"). Claude-Code-specific points:
- Confirm the base branch with the operator via
AskUserQuestion(Hard Rule #19) unless they already told you. - Prefer the native
EnterWorktreetool — it already creates worktrees under.claude/worktrees/(the canonical path). Create the worktree with the documentedgit worktree addcommand, then callEnterWorktreewith itspath.
Cross-session safety — Claude Code specifics
Hard Rules #19/#21/#22 (in AGENTS.md) govern parallel sessions. Operational reminders for this
harness:
- Replicate the
git stashban verbatim in the prompt of every subagent that touches git (Agent tool / Workflow scripts) — subagents do not inherit this file, and the recorded recurrence of the stash incident came through a subagent. - Before merging or pushing to any PR you did not create this session, run
git worktree listand re-checkgh pr view <N> --json state,headRefOid(Hard Rule #22b). - End every session with the main checkout on the branch it started on.
Superpowers / planning artifacts — path overrides
The _tasks/ convention is defined in AGENTS.md → "Planning & Research Artifacts". The
superpowers skills ship with defaults that point at docs/… — those defaults are overridden
here. When a superpowers skill announces a path like "saved to docs/superpowers/plans/…",
rewrite it to the _tasks/… equivalent before writing:
| Artifact (skill) | Default (do NOT use) | Save here instead |
Plans (writing-plans) | docs/superpowers/plans/ | _tasks/superpowers/plans/YYYY-MM-DD-<feature>.md |
Specs / design (brainstorming) | docs/superpowers/specs/ | _tasks/superpowers/specs/YYYY-MM-DD-<topic>-design.md |
Research (deep-research, ad-hoc) | docs/research/ | _tasks/research/… |
Hand-offs (/handoff) | — | _tasks/hands-off/<YYYY-MM-DD>_<branch>_v<versão>_sess-<id>/ |
Commit those artifacts inside the _tasks/ repo (git -C _tasks …), never in the main repo.
Scratch / temporary files — use _artifacts/, not /tmp
This project overrides the harness's default session scratchpad (/tmp/claude-*/…). Write
temporary/working files — exports, generated zips, one-off intermediate outputs, anything you'd
otherwise put in /tmp — to /home/diegosouzapw/dev/proxys/OmniRoute/_artifacts/ instead.
_artifacts/is a root_*path: already gitignored (AGENTS.md→ "Root_*paths"), lives on disk only, never tracked.- Reason: keeping scratch output inside the project (vs
/tmp) makes it trivial for the operator to find and delete everything temporary in one place, instead of hunting across ephemeral session-specific/tmpdirectories that vanish or accumulate untracked. - Do not confuse this with
_tasks/(Hard Rule #23, its own private git repo for durable plans/specs/research/hand-offs) —_artifacts/is for disposable working files only, nothing here needs to survive or be versioned.
Base-green before opening PRs
Before cutting a branch or opening a PR, run the base-green check (AGENTS.md → Git Workflow →
"Base-green check"; project skills reference it as .agents/skills/_shared/base-green.md). A PR
opened while the base tip is red must carry ⚠️ base-red inherited: #<issue> in its body. To
drain an accumulated red state (base tip + red PRs), use the /sweep-reds skill.
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.

