claude-code
CLAUDE.md284 starsChanged 12 months agoMITView on GitHub
NEVER use pkill or broad process-killing commands (like pkill -f "claudeup" or pkill -f "claude"). This kills all Claude CLI sessions running on the machine. Instead, ask the user to restart applications manually or close specific windows. Repository: MAG Claude Plugins Purpose: Professional plugin marketplace for Claude Code Owner: Jack Rudenko (i@madappgang.com) @ MadAppGang License: MIT Claudish CLI: npm install -g claudish - Run Claude with OpenRouter models (separate repo) Shareable (committed to git): - Project IDs, URLs, configuration -…
- Reads credentials
- Installs packages
- Commits and pushes
In this repository3 other files it gives its agents.
- claudish-integrationSkill
- openrouter-trending-modelsSkill
- releaseSkill
The file
We split this CLAUDE.md into the rules it gives an agent
5 rules. About 0 are common, 4 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 203
Validation First: - Check before ask, validate before save
- Distinctive: line 205
Security First: - No secrets in git, personal tokens, clear docs
- Very specific: line 245
Use correct tag format when releasing: plugins/{plugin-name}/vX.Y.Z
- Distinctive: line 248
When releasing a plugin, you MUST update ALL THREE of these:
- Distinctive: line 275
do not use hardcoded path in code, docs, comments or any other files
≈ “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
Project Context for Claude Code
CRITICAL RULES
NEVER use pkill or broad process-killing commands (like pkill -f "claudeup" or pkill -f "claude"). This kills all Claude CLI sessions running on the machine. Instead, ask the user to restart applications manually or close specific windows.
Project Overview
Repository: MAG Claude Plugins Purpose: Professional plugin marketplace for Claude Code Owner: Jack Rudenko (i@madappgang.com) @ MadAppGang License: MIT
Plugins
| Plugin | Version | Purpose |
| Frontend | v3.15.1 | React/TypeScript dev with 11 agents, multi-model review |
| Code Analysis | v3.2.2 | Codebase investigation with claudemem, enrichment mode (non-blocking) |
| Bun Backend | v1.6.1 | TypeScript backend with Bun, Apidog integration |
| Orchestration | v0.8.2 | Multi-agent coordination patterns (6 skills) |
| Agent Development | v1.5.2 | Create Claude Code agents and plugins |
| SEO | v1.6.2 | SEO analysis and optimization with AUTO GATEs |
| Video Editing | v1.0.1 | FFmpeg, Whisper, Final Cut Pro integration |
| Nanobanana | v2.2.3 | AI image generation with Gemini 3 Pro Image |
| Dev | v1.31.2 | Universal dev assistant with real validation loops, 46 skills |
Claudish CLI: npm install -g claudish - Run Claude with OpenRouter models (separate repo)
Key Architecture Decisions
1. Team-First Configuration
Shareable (committed to git):
- Project IDs, URLs, configuration
.claude/settings.jsonwith project config- No secrets
Private (environment variables):
- API tokens, credentials
- Each developer's
.envfile - Never committed
2. Smart Validation
Configuration commands check existing setup before asking questions, validate credentials before saving.
3. Project-Specific Installation
Plugins can be installed:
- Globally (all projects)
- Per-project (
.claude/settings.json) - Teams use project-specific for consistency
Directory Structure
claude-code/
├── README.md # Main documentation
├── CLAUDE.md # This file
├── .env.example # Environment template
├── LICENSE # MIT
├── .gitignore # Excludes secrets
├── RELEASE_PROCESS.md # Plugin release process guide
├── docs/ # User documentation
│ ├── frontend-development.md
│ └── local-development.md
├── ai-docs/ # Technical documentation
│ ├── TEAM_CONFIG_ARCHITECTURE.md
│ ├── DYNAMIC_MCP_GUIDE.md
│ ├── IMPROVEMENTS_SUMMARY.md
│ ├── COMPLETE_PLUGIN_SUMMARY.md
│ └── FINAL_SUMMARY.md
├── skills/ # Project-level skills
│ └── release/ # Plugin release process skill
│ └── SKILL.md
├── .claude-plugin/
│ └── marketplace.json
└── plugins/
├── multimodel/ # Multi-model collaboration and orchestration
│ ├── plugin.json
│ ├── commands/ (team command)
│ └── skills/ (14 skills)
├── frontend/ # Full-featured frontend plugin
│ ├── plugin.json
│ ├── DEPENDENCIES.md
│ ├── README.md
│ ├── agents/ (11 agents)
│ ├── commands/ (7 commands)
│ ├── skills/ (11 skills)
│ └── mcp-servers/
├── code-analysis/ # Code analysis plugin
│ ├── plugin.json
│ ├── agents/ (1 agent)
│ ├── commands/ (1 command)
│ └── skills/ (2 skills)
└── bun/ # Backend plugin
├── plugin.json
├── README.md
├── agents/ (3 agents)
├── commands/ (3 commands)
├── skills/ (1 skill)
└── mcp-servers/Important Files
For Users
README.md- Start here for installation and usage.env.example- Template for required environment variablesai-docs/TEAM_CONFIG_ARCHITECTURE.md- Setup guideskills/release/SKILL.md- Plugin release process (for maintainers)
For Maintainers
.claude-plugin/marketplace.json- Marketplace configuration ⚠️ Update when releasing!plugins/frontend/plugin.json- Plugin manifestRELEASE_PROCESS.md- Complete release process documentationskills/release/SKILL.md- Quick reference release skillai-docs/DYNAMIC_MCP_GUIDE.md- MCP configuration patterns
For Contributors
ai-docs/COMPLETE_PLUGIN_SUMMARY.md- Complete referenceplugins/frontend/DEPENDENCIES.md- Dependencies
Environment Variables
Required (Per Developer)
APIDOG_API_TOKEN=your-personal-token
FIGMA_ACCESS_TOKEN=your-personal-tokenOptional
GITHUB_PERSONAL_ACCESS_TOKEN=your-token
CHROME_EXECUTABLE_PATH=/path/to/chrome
CODEX_API_KEY=your-codex-keyClaude Code Plugin Requirements
Plugin System Format:
- Plugin manifest:
.claude-plugin/plugin.json(must be in this location) - Settings format:
enabledPluginsmust be object with boolean values - Component directories:
agents/,commands/,skills/,mcp-servers/at plugin root - Environment variables: Use
${CLAUDE_PLUGIN_ROOT}for plugin-relative paths
Example Settings:
{
"enabledPlugins": {
"plugin-name@marketplace-name": true
}
}Dependencies
System:
- Node.js v18+ (with npm/npx)
- Chrome browser
- Git
Optional:
- Codex CLI (for codex-powered code review)
Quick Reference
Setup: /plugin marketplace add MadAppGang/claude-code
Enable in .claude/settings.json:
{
"enabledPlugins": {
"frontend@mag-claude-plugins": true,
"code-analysis@mag-claude-plugins": true
}
}Local dev: /plugin marketplace add /path/to/claude-code
Task Routing - Agent Delegation
IMPORTANT: For complex tasks, prefer delegating to specialized agents via the Task tool rather than handling inline. Delegated agents run in dedicated context windows with sustained focus, producing higher quality results.
| Task Pattern | Delegate To | Trigger |
| Research: web search, tech comparison, multi-source reports | dev:researcher | 3+ sources or comparison needed |
| Implementation: creating code, new modules, features, building with tests | dev:developer | Writing new code, adding features, creating modules - even if they relate to existing codebase |
| Investigation: READ-ONLY codebase analysis, tracing, understanding | code-analysis:detective | Only when task is to UNDERSTAND code, not to WRITE new code |
| Debugging: error analysis, root cause investigation | dev:debugger | Non-obvious bugs or multi-file root cause |
| Architecture: system design, trade-off analysis | dev:architect | New systems or major refactors |
| Agent/plugin quality review | agentdev:reviewer | Agent description or plugin assessment |
Key distinction: If the task asks to IMPLEMENT/CREATE/BUILD → dev:developer. If the task asks to UNDERSTAND/ANALYZE/TRACE → code-analysis:detective.
Design Principles
- Shareable Config, Private Secrets - Configuration in git, credentials in environment
- Validation First - Check before ask, validate before save
- Team Ready - Auto-install, consistent setup, no drift
- Security First - No secrets in git, personal tokens, clear docs
- Developer Experience - Smart defaults, clear errors, fast for returning users
Release Documentation
Version History: See CHANGELOG.md for all versions
Detailed Release Notes: See RELEASES.md for comprehensive release documentation
Current Versions:
- Multimodel Plugin: v2.4.1 (2026-02-12)
- Frontend Plugin: v3.15.1 (2026-02-12)
- Code Analysis Plugin: v3.2.2 (2026-02-12)
- Bun Backend Plugin: v1.6.1 (2026-02-12)
- Agent Development Plugin: v1.5.2 (2026-02-12)
- SEO Plugin: v1.6.2 (2026-02-12)
- Video Editing Plugin: v1.0.1 (2026-01-06)
- Nanobanana Plugin: v2.2.3 (2026-01-08)
- Conductor Plugin: v2.0.1 (2026-01-06)
- Dev Plugin: v1.31.2 (2026-02-12)
- Claudish CLI: See https://github.com/MadAppGang/claudish (separate repository)
Latest Changes (Code Analysis v2.15.0):
- ✅ Hybrid 2+3 Hook Approach: Results-first format with "Task complete" language
- ✅ 71% Retry Reduction: Agents treat denials as completions instead of retrying
- ✅ "Completed via claudemem": Success-like language in denial reasons
- ✅ Minimal Context: 10 lines vs 32 lines (69% reduction in noise)
- ✅ Preserved Fallbacks: Native tools still work when claudemem not indexed
Git Tags:
- Multimodel:
plugins/multimodel/v2.4.1 - Frontend:
plugins/frontend/v3.15.1 - Bun:
plugins/bun/v1.6.1 - Code Analysis:
plugins/code-analysis/v3.2.2 - Agent Development:
plugins/agentdev/v1.5.2 - SEO:
plugins/seo/v1.6.2 - Video Editing:
plugins/video-editing/v1.0.1 - Nanobanana:
plugins/nanobanana/v2.2.3 - Conductor:
plugins/conductor/v2.0.1 - Dev:
plugins/dev/v1.31.2 - Use correct tag format when releasing:
plugins/{plugin-name}/vX.Y.Z
⚠️ RELEASE CHECKLIST (ALL 3 REQUIRED): When releasing a plugin, you MUST update ALL THREE of these:
- Plugin version -
plugins/{name}/plugin.json→"version": "X.Y.Z" - Marketplace version -
.claude-plugin/marketplace.json→ plugin entry"version": "X.Y.Z" - Git tag -
git tag -a plugins/{name}/vX.Y.Z -m "Release message"→ push with--tags
Missing any of these will cause claudeup to not see the update!
⚠️ CLAUDEUP RELEASE PROCESS: Claudeup (the TUI tool) has its own release process:
- Update version -
tools/claudeup/package.json→"version": "X.Y.Z" - Commit changes -
git commit -m "feat(claudeup): vX.Y.Z - Description" - Create tag -
git tag -a tools/claudeup/vX.Y.Z -m "Release message" - Push -
git push origin main --tags
The workflow .github/workflows/claudeup-release.yml triggers on tools/claudeup/v* tags and:
- Builds with pnpm
- Publishes to npm via OIDC (no tokens needed - Trusted Publisher configured)
- Creates GitHub release
Current claudeup version: v1.3.0
Install: bun install -g claudeup@latest
Maintained by: Jack Rudenko @ MadAppGang Last Updated: February 10, 2026 Version: 10 plugins (Multimodel v2.4.1, Frontend v3.15.1, Code Analysis v3.2.2, Bun Backend v1.6.1, Agent Development v1.5.2, SEO v1.6.2, Video Editing v1.0.1, Nanobanana v2.2.3, Conductor v2.0.1, Dev v1.31.2)
- do not use hardcoded path in code, docs, comments or any other files
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.

