setup
Skill2 starsChanged 9 months agoMITView on GitHub
Audit Claude Code configuration and suggest project-tailored improvements
- Reads credentials
- Deletes or force-pushes
191 other projects use a version of this.
Adopted by
Most recently taken up by
- hydra-db/hydradb-claude-codetheir own version, first seen Nov 8, 2026
- WALKERKILLER/Look-Tongji-Notestheir own version, first seen Nov 8, 2026
- steerlabs/opensteertheir own version, first seen Nov 8, 2026
- ansvisor/ansvisortheir own version, first seen Nov 8, 2026
- dsifry/metaswarmtheir own version, first seen Nov 8, 2026
- anombyte93/prd-taskmastertheir own version, first seen Nov 8, 2026
Used with
Projects with it also use add-voice-transcription, add-discord and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
juancruzmunozalbeloSkilladd-voice-transcription
Add voice message transcription to NanoClaw using OpenAI's Whisper API. Automatically transcribes WhatsApp voice notes so the agent can read and respond to them.
Also in 5 projects that use this
MicrosoftSkilladd-discord
Add Discord bot channel integration via Chat SDK.
Also in 11 projects that use this
MicrosoftSkilladd-slack
Add Slack channel integration via Chat SDK.
Also in 11 projects that use this
juancruzmunozalbeloSkilladd-telegram-swarm
Add Agent Swarm (Teams) support to Telegram. Each subagent gets its own bot identity in the group. Requires Telegram channel to be set up first (use /add-telegram). Triggers on "agent swarm", "agent teams telegram", "telegram swarm", "bot pool".
Also in 7 projects that use this
- +8 more from microsoft
Other versions191 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 191
- anthropics/knowledge-work-plugins★ 35ksame name
- garrytan/gbrain★ 32ksame name
- gavrielc/nanoclaw★ 31ksame name
- nanocoai/nanoclaw★ 31ksame name
- qwibitai/nanoclaw★ 31ksame name
- Q00/ouroboros★ 6.3ksame name
- pytorch/executorch★ 5.2ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- aws/agent-toolkit-for-aws★ 3.4ksame name
- spotify/portal-ai-plugins★ 2.8ksame name
181 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository12 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-core-guideSkill
- add-project-guideSkill
- bootstrapSkill
- evolveSkill
- refactor-docsSkill
- releaseSkill
- researchSkill
- sync-skillsSkill
- update-readmeSkill
- verify-docsSkill
- setupSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
20 rules. 0 are common, 7 are distinctive, and 13 are very specific to this project.
0
Common
Most of the 171 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
13
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Project stack: Read package.json, pyproject.toml, Cargo.toml, go.mod, pom.xml, Gemfile, composer.json (whichever exists).
- Very specific: line 31
Tools: Check for formatters (.prettierrc*, [tool.black], .rustfmt.toml, biome.json/biome.jsonc), linters (.eslintrc*, eslint.config.*, …
- Very specific: line 33
Existing Claude config: Check for .claude/ directory, CLAUDE.md, .claude/settings.json, .claude/settings.local.json, .claude/skills/, …
- Very specific: line 35
Git: Check for .git/, remote origin URL (git config --get remote.origin.url), contributor count (git shortlog -sn --no-merges | wc -l).
- Very specific: line 57
Check for teammateMode setting if project uses agent teams
- Distinctive: line 61
Stop hook for completion notification?
- Very specific: line 63
Check for TeammateIdle and TaskCompleted hook usage for team workflows
- Distinctive: line 74
Check if any agents have team-oriented configurations (delegate mode, shared skills)
- Very specific: line 78
All secrets use ${VAR} syntax, never hardcoded?
- Distinctive: line 79
Only needed servers configured (each adds context overhead)?
- Distinctive: line 108
Use these exact formats when generating suggestions.
- Very specific: line 172
Before generating any output, read OUTPUT-FORMAT.md from this skill's directory.
- Distinctive: line 176
When the user asks for details, show the full config snippet for that suggestion.
- Very specific: line 178
When the user wants to apply changes, tell them to run /bootstrap — this skill is read-only and cannot write files.
- Very specific: line 182
After the interactive prompt, emit the handoff block defined in OUTPUT-FORMAT.md.
- Distinctive: line 186
Use detected stack to generate project-specific suggestions:
- Very specific: line 189
Skills: Always fix-issue + code-review.
- Distinctive: line 190
Agents: Always code-reviewer (sonnet) + test-writer (sonnet).
- Very specific: line 202
TDD Loop: Test framework → /test-first skill + test-writer agent + test-on-save hook
- Very specific: line 218
Existing config: When showing details, ALWAYS display the full snippet.
“Common” is measured: kept by at least 6 in 10 of the 171 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Claude Code Setup Advisor
You are auditing the current project's Claude Code configuration. Follow these phases in order.
1. Routing
Parse $ARGUMENTS to determine scope:
- Empty or unrecognized → full audit (all 11 categories)
quick→ full audit but only show IMPROVE and MISSING items, skip GOOD- Category name → audit only that category:
claude-md,settings,hooks,skills,agents,mcp,rules,plugins,sandbox,model,styles
2. Detection
Silently scan the project. Do NOT dump raw file contents to the user.
Project stack: Read package.json, pyproject.toml, Cargo.toml, go.mod, pom.xml, Gemfile, composer.json (whichever exists). Note: language, framework, package manager.
Tools: Check for formatters (.prettierrc*, [tool.black], .rustfmt.toml, biome.json/biome.jsonc), linters (.eslintrc*, eslint.config.*, [tool.ruff], .golangci.yml, biome.json/biome.jsonc), test runners (test script in package.json, [tool.pytest], *_test.go), lockfiles.
Existing Claude config: Check for .claude/ directory, CLAUDE.md, .claude/settings.json, .claude/settings.local.json, .claude/skills/, .claude/agents/, .claude/rules/, .claude/output-styles/, .mcp.json. Check settings for enabledPlugins, sandbox, model, effortLevel, outputStyle.
Git: Check for .git/, remote origin URL (git config --get remote.origin.url), contributor count (git shortlog -sn --no-merges | wc -l).
Workflow triggers: CI/CD (.github/workflows/, .gitlab-ci.yml, Jenkinsfile), deploy (Dockerfile, docker-compose.yml, fly.toml, vercel.json, netlify.toml), monorepo (turbo.json, nx.json, pnpm-workspace.yaml, lerna.json), API (route/endpoint patterns, openapi.yaml, swagger.json), data (*.ipynb, dbt_project.yml, airflow DAGs), docs (docs/ + mkdocs.yml/docusaurus.config.js/conf.py), production indicators (auth/session deps, .env.production, Docker).
Present a brief project profile (language, framework, tools) before the scorecard.
3. Audit Checklist
Score each category: GOOD, IMPROVE, MISSING.
CLAUDE.md
- Exists at
./CLAUDE.mdor./.claude/CLAUDE.md? - Under 500 lines? Uses
@importsfor detailed docs? - Has key sections: Commands (test/lint/build), Architecture, Code Style?
- CLAUDE.md mentions context management practices? (
/compact,/clear,@importsfor large docs)
Note: Claude Code's built-in
/initgenerates a basic CLAUDE.md./setupgoes beyond/initby auditing all 11 configuration categories and/bootstrapgenerates production-grade config including hooks, skills, agents, and rules.
Settings
.claude/settings.jsonexists withpermissions.allowfor detected safe commands?permissions.denyconfigured for dangerous operations?.claude/settings.local.jsonexists and is in.gitignore?- Check for
teammateModesetting if project uses agent teams
Hooks
- PostToolUse hook for auto-formatting on Write/Edit using detected formatter?
- Stop hook for completion notification?
- PreToolUse hook blocking dangerous Bash commands?
- Check for
TeammateIdleandTaskCompletedhook usage for team workflows
Skills
.claude/skills/directory exists with at least one skill?- Skills use proper SKILL.md format with frontmatter?
- CLAUDE.md contains skill lifecycle instruction (evaluate creating/updating skills after major tasks)?
Agents
.claude/agents/directory exists with custom agents?- Agents have tool restrictions (not inheriting all tools)?
- Model set appropriately (sonnet for fast tasks, opus for complex)?
- Check if any agents have team-oriented configurations (delegate mode, shared skills)
MCP
.mcp.jsonexists with configured servers?- All secrets use
${VAR}syntax, never hardcoded? - Only needed servers configured (each adds context overhead)?
Rules
.claude/rules/directory exists with modular rule files?- Rules split by topic rather than one large file?
- Rule files focused and under 40 lines each?
Plugins
- Any plugins installed (
enabledPluginsin settings)? - For typed languages (TS, Rust, Go, Java): code intelligence plugin installed?
- Plugin marketplace configured for team sharing?
Sandboxing
- Sandbox enabled (
sandboxin settings or/sandboxused)? - Auto-allow mode configured for reduced permission prompts?
- Allowed domains configured for network access?
Model Config
modelexplicitly set in settings (not relying on default)?- Using
opusplanfor plan+execute workflow or appropriate alias? effortLevelconfigured for cost/quality balance?
Output Styles
.claude/output-styles/directory exists?- Custom styles defined for team consistency?
outputStyleset in settings if using non-default style?
4. Config Reference
Use these exact formats when generating suggestions.
File Locations
- Settings:
.claude/settings.json(project),.claude/settings.local.json(personal),~/.claude/settings.json(user) - Managed:
/Library/Application Support/ClaudeCode/managed-settings.json(macOS),/etc/claude-code/managed-settings.json(Linux) - Skills:
.claude/skills/<name>/SKILL.md - Agents:
.claude/agents/<name>.md - Rules:
.claude/rules/*.md(auto-imported, supportspathsfrontmatter) - MCP:
.mcp.json(project),~/.claude.json(user) - CLAUDE.md:
./CLAUDE.mdor./.claude/CLAUDE.md(project),~/.claude/CLAUDE.md(user),./CLAUDE.local.md(personal) - Output Styles:
.claude/output-styles/(project),~/.claude/output-styles/(user) - Plugins:
.claude-plugin/plugin.jsonmanifest,commands/,agents/,skills/,hooks/hooks.json,.mcp.json,.lsp.json
Settings Schema
permissions.allow/deny/ask: ["Tool", "Tool(specifier)", "Tool(glob *)", "mcp__server__tool", "Task(AgentName)"]
permissions.defaultMode: default | acceptEdits | bypassPermissions | plan | delegate | dontAsk
Evaluation order: deny > ask > allow (first match wins)
Read/Edit rules: //abs, ~/home, /relative-to-settings, ./relative-to-cwd (gitignore patterns, * single dir, ** recursive)
model: default | sonnet | opus | haiku | opusplan | sonnet[1m] (or full model name)
effortLevel: low | medium | high
fastMode: true | false
outputStyle: style-name
sandbox: { mode, network: { allowedDomains, httpProxyPort }, excludedCommands, allowUnsandboxedCommands }
Other keys: env, hooks, enabledPlugins, additionalDirectories, teammateMode, respectGitignore, languageHook Events (all 14)
SessionStart, UserPromptSubmit, PreToolUse, PermissionRequest, PostToolUse, PostToolUseFailure, Notification, SubagentStart, SubagentStop, Stop, TeammateIdle, TaskCompleted, PreCompact, SessionEnd
Hook Config Structure
{ "EventName": [{ "matcher": "ToolName", "hooks": [{ "type": "command|prompt|agent", "command": "..." }] }] }- Exit codes: 0=pass, 2=block (stderr fed to Claude), other=non-blocking
- Env vars:
CLAUDE_TOOL_NAME,CLAUDE_TOOL_INPUT,CLAUDE_TOOL_INPUT_PATH,CLAUDE_TOOL_OUTPUT,CLAUDE_SESSION_ID,CLAUDE_PROJECT_DIR
Frontmatter Quick Reference
- SKILL.md: name, description, argument-hint, allowed-tools, model, context (fork), agent, hooks, disable-model-invocation, user-invocable
- Agent: name (req), description (req), tools, disallowedTools, model, permissionMode, maxTurns, skills, mcpServers, hooks, memory (user/project/local)
- Output Style: name, description, keep-coding-instructions (default false)
MCP Config
{ "mcpServers": { "name": { "type": "stdio|sse|http", "command": "...", "args": [...], "env": { "KEY": "${VAR}" } } } }Common servers: GitHub (npx -y @modelcontextprotocol/server-github), Filesystem, PostgreSQL, Slack.
5. Report — Progressive Disclosure
Scoring System
Calculate a weighted 0–10 grade. Weights (total=10): CLAUDE.md/Settings/Hooks: 1.5 each (HIGH), Skills/Rules: 1.0 each (MEDIUM), Agents/MCP/Plugins/Sandboxing/Model/Styles: 0.5 each (LOW). Per category: GOOD=100%, IMPROVE=50%, MISSING=0% of weight. Grade labels:
- 9–10: "Excellent — power-user setup"
- 7–8: "Good — solid foundation, room to optimize"
- 5–6: "Fair — core pieces in place, key gaps remain"
- 3–4: "Basic — significant gaps affecting productivity"
- 0–2: "Fresh start — high-impact improvements available"
Example: 2 GOOD HIGH (1.5×2=3.0) + 1 IMPROVE HIGH (1.5×0.5=0.75) + 2 GOOD MEDIUM (1.0×2=2.0) + 6 MISSING LOW (0.5×0=0) = 5.75 → "Fair" Calculate the exact score BEFORE writing the banner. Never revise mid-output.
Output Template
Before generating any output, read OUTPUT-FORMAT.md from this skill's directory. It contains the exact template for health banner, scorecard, suggestions, and interactive prompt. Reproduce that format exactly — all 11 scorecard rows, emoji status indicators, box-drawing borders, impact-sorted suggestions with "Why" lines.
Layer 3: Details (on request only)
When the user asks for details, show the full config snippet for that suggestion.
When the user wants to apply changes, tell them to run /bootstrap — this skill is read-only and cannot write files. /bootstrap has full write access and will generate the configuration this audit recommends.
Layer 4: Handoff Block (always include)
After the interactive prompt, emit the handoff block defined in OUTPUT-FORMAT.md. This compact summary lets /bootstrap focus on the gaps this audit identified. Always include it — it costs nothing and enables the setup → bootstrap flow.
6. Tailored Suggestion Examples
Use detected stack to generate project-specific suggestions:
- Hooks: Detected Prettier →
prettier --write "$CLAUDE_TOOL_INPUT_PATH". Detected Black →black "$CLAUDE_TOOL_INPUT_PATH" 2>/dev/null || true. Always suggest Stop notification and PreToolUse dangerous command blocker. - Skills: Always fix-issue + code-review. React/Vue → create-component. Django/Rails/Prisma → migrate. Always suggest skill lifecycle instruction in CLAUDE.md if missing.
- Agents: Always code-reviewer (sonnet) + test-writer (sonnet). Production app → security-auditor (opus).
- MCP: GitHub remote → GitHub server. PostgreSQL/MySQL in deps → database server.
- Settings: Detected test/lint/build → permissions.allow. Standard deny rules for rm -rf, DROP, --force.
- Plugins: Typed language → code intelligence plugin. Team project → suggest creating a plugin marketplace.
- Sandbox: Any project → suggest enabling for reduced prompts. CI/CD → suggest auto-allow mode.
- Model: Complex project → suggest opusplan. Cost-sensitive → suggest effortLevel: medium.
7. Workflow Suggestions
Match detected project characteristics to workflows. Present 1-3 most relevant, numbered after individual suggestions:
- GitHub Issue → PR: GitHub remote +
gh→/fix-issueskill + GitHub MCP + auto-format hook - TDD Loop: Test framework →
/test-firstskill + test-writer agent + test-on-save hook - Database Migration: Django/Rails/Prisma →
/migrateskill + DB MCP + safety deny rules - Component Factory: React/Vue/Svelte →
/create-componentskill - Code Review: Multiple contributors →
/code-reviewskill + reviewer agent (sonnet) - CI/CD:
.github/workflows/→ headless mode tips +--allowedToolspatterns - Deploy: Dockerfile/fly.toml/vercel.json →
/deployskill + pre-deploy test hook - Security-First: Auth deps + Docker → security-auditor agent (opus) + deny rules for secrets
- Agent Team Workflow: Multiple agents + teammateMode → teammateMode setting + team-oriented agents + delegate mode
Output in Layer 2: 6. [Workflow · MEDIUM] GitHub Issue → PR: end-to-end issue fixing. Details on request (Layer 3).
8. Edge Cases
- Fresh project (no .claude/): Grade 0–2. Banner: "Fresh start". Focus on CLAUDE.md, auto-format hook, permissions.
- Everything GOOD: "Your setup looks solid!" Suggest power-user tweaks (agent teams, sandbox, opusplan).
- Monorepo: Scope detection to current working directory.
- Existing config: When showing details, ALWAYS display the full snippet. Direct users to
/bootstrapto apply. - Minimize context: Analyze internally. Only present scorecard + suggestions, not raw detection output.
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.

