Skip to content
Back to skills

Claude Config Management

ASecurity

Use when configuring, maintaining, troubleshooting, or optimizing Claude Code extensions including skills, commands, hooks, MCP servers, or agents. Provides best practices and prevents common mistakes.

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
toolsbashperformance

Works with

  • claude code
  • mcp

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill claude-config-management --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Claude Config Management?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Claude Config Management
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-claude-config-management/badge)](https://www.skillsdirectory.com/skills/majiayu000-claude-config-management)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: claude-config-management
description: Use when configuring, maintaining, troubleshooting, or optimizing Claude Code extensions including skills, commands, hooks, MCP servers, or agents. Provides best practices and prevents common mistakes.
---

# Claude Code Configuration Management

## Critical Constraints

**Context Budget**: MCP servers consume tokens before you work. A single server with 20 tools can use 14,000+ tokens. Keep active servers under 10.

**Precedence Rule**: Deny rules always win over allow rules at any level. More specific settings override broader ones.

**Performance Threshold**: If startup exceeds 30 seconds, clean ~/.claude.json of old project metadata.

## Quick Decision Framework

| I need to...                    | Use        | Not                    |
| ------------------------------- | ---------- | ---------------------- |
| Enforce rules deterministically | Hook       | Skill (probabilistic)  |
| Provide domain expertise        | Skill      | Command (user-invoked) |
| Create user-triggered action    | Command    | Skill (auto-triggered) |
| Connect external service        | MCP Server | Hook                   |
| Orchestrate multi-step tasks    | Agent      | Single command         |

## File Locations

| Content            | Location                       |
| ------------------ | ------------------------------ |
| Project overview   | CLAUDE.md (root)               |
| Team settings      | .claude/settings.json          |
| Personal overrides | .claude/settings.local.json    |
| MCP servers (team) | .mcp.json                      |
| Skills             | .claude/skills/[name]/SKILL.md |
| Commands           | .claude/commands/[name].md     |
| Reference docs     | .claude/docs/                  |

## Anti-Patterns to Avoid

**Skills**: Vague descriptions → Claude can't determine when to activate. Fix: Include trigger conditions.

**Commands**: Complex multi-step workflows → Belongs in skill. Fix: Keep commands simple (3-5 max).

**Hooks**: Complex inline commands → Hard to debug. Fix: Use script files.

**MCP**: Too many servers → Context exhaustion. Fix: Use McPick for selective enabling.

**CLAUDE.md**: Code style rules → Expensive enforcement. Fix: Use linters instead.

## Verification Commands

```bash
/mcp              # MCP server status
/doctor           # Full diagnostics
/context          # Context usage breakdown
claude mcp list   # List configured servers
```

## Maintenance Schedule

- **Weekly**: Review `/context`, clear accumulated sessions
- **Monthly**: Audit CLAUDE.md, check extension updates, clean ~/.claude.json
- **Quarterly**: Full audit, remove unused extensions, update team docs

## Detailed Reference

For complete procedures, checklists, and troubleshooting:
→ Read `.claude/docs/config-management-reference.md`

For finding and evaluating new extensions:
→ Read `.claude/docs/resource-discovery-reference.md` or use `/discover`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.