oh-my-claude
CLAUDE.md174 starsChanged 10 months agoMITView on GitHub
Claude Code plugin providing ultrawork mode, context protection, and specialized agent workflows. Plugin-root CLAUDE.md is not loaded as runtime context by current Claude Code. Ship runtime behavior through hooks, skills, agents, commands, MCP, and plugin settings instead. Claude Code caches plugins. Any change requires bumping version in BOTH: 1. .claude-plugin/marketplace.json - metadata.version AND plugins[0].version 2. plugins/oh-my-claude/.claude-plugin/plugin.json Then: /plugin update oh-my-claude and start new session. Run hook unit tests: GitHub Actions validates: JSON syntax, version sync across files, no ../ paths,…
The file
We split this CLAUDE.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 43
Run hook unit tests:
- Very specific: line 61
NEVER use ../ paths - files outside source do not exist in cache
- Very specific: line 63
Use ${CLAUDE_PLUGIN_ROOT} for hook script paths
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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
oh-my-claude Development
Claude Code plugin providing ultrawork mode, context protection, and specialized agent workflows.
Structure
├── .claude-plugin/marketplace.json # Marketplace registry (version x2)
├── .github/workflows/validate-plugin.yml
├── PLUGIN-STRUCTURE.md # Detailed architecture guide
├── tests/oh-my-claude/hooks/ # Hook unit tests
│ └── CLAUDE.md # Testing conventions
└── plugins/oh-my-claude/ # The actual plugin
├── .claude-plugin/plugin.json # Plugin metadata (version x1)
├── agents/ # 7 specialized agents
├── docs/ # Authoring guides and compatibility notes
├── hooks/ # Python hooks (PEP 723)
│ └── CLAUDE.md # Hook development patterns
├── commands/ # /prime (auto-discovered)
├── skills/ # Skills (in plugin.json)
│ └── oh-my-claude-runtime/ # Runtime workflow guidance skill
└── .mcp.json # Plugin MCP serversPlugin-root CLAUDE.md is not loaded as runtime context by current Claude Code. Ship runtime behavior through hooks, skills, agents, commands, MCP, and plugin settings instead.
Development Workflow
Prerequisites
jq- JSON validation- Python 3.11+ - Hooks auto-install deps via
uv
Version Bumping (CRITICAL)
Claude Code caches plugins. Any change requires bumping version in BOTH:
.claude-plugin/marketplace.json-metadata.versionANDplugins[0].versionplugins/oh-my-claude/.claude-plugin/plugin.json
Then: /plugin update oh-my-claude and start new session.
Testing
Run hook unit tests:
cd tests/oh-my-claude/hooks
uv run --with pytest pytest . -vCI/CD
GitHub Actions validates: JSON syntax, version sync across files, no ../ paths, shellcheck, ruff linting, pytest, and skill directories. Pytest covers structured hook args and hook script existence.
Hook Development
See plugins/oh-my-claude/hooks/CLAUDE.md for patterns and templates.
Key: PEP 723 inline deps, JSON stdin/stdout, @hook_main decorator.
Rules
- Plugins MUST be in
plugins/your-plugin/subdirectory - NEVER use
../paths - files outside source do not exist in cache hooks/hooks.jsonauto-discovered - do NOT reference in plugin.json- Use
${CLAUDE_PLUGIN_ROOT}for hook script paths - Skills must be explicitly listed in plugin.json
See /PLUGIN-STRUCTURE.md for complete guide.
Site Sync
The site/ landing page hardcodes plugin component names and counts. When you change any of these, update the site too:
| Change | Update |
| Add/remove agent | site/src/components/AgentGrid.astro |
| Add/remove skill | site/src/content/copy.ts stats |
| Add/remove hook | site/src/content/copy.ts stats |
| Change agent descriptions | AgentGrid.astro + relevant components |
| Change workflow/features | Relevant component in site/src/components/ |
Claude Code Update Sources
Official sources for researching Claude Code features and release notes.
Primary (Most Stable)
| Source | URL |
| GitHub Releases | https://github.com/anthropics/claude-code/releases |
| CHANGELOG.md | https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md |
Documentation
| Doc | URL |
| Claude Code Docs | https://code.claude.com/docs/en/overview |
| Hooks Reference | https://code.claude.com/docs/en/hooks |
| Plugins Reference | https://code.claude.com/docs/en/plugins-reference |
| Agent Teams | https://code.claude.com/docs/en/agent-teams |
Announcements
| Source | URL |
| Anthropic News | https://www.anthropic.com/news |
| Engineering Blog | https://www.anthropic.com/engineering |
| Discord | https://discord.gg/anthropic |
| @AnthropicAI | https://x.com/AnthropicAI |
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.

