Personal configuration repository for Claude Code settings, commands, agents, and integrations.
This repository contains my Claude Code customizations to maintain consistency across machines and preserve configurations:
- Memory Files (
CLAUDE.md) - Personal preferences and communication style - Slash Commands (
.claude/commands/) - Reusable prompt templates - Skills - Workflows Claude automatically invokes based on context
- Agents (
.claude/agents/) - Specialised AI assistants for specific tasks - Hooks (
settings.json) - Automated workflows and validations - MCP Server Configurations - Integrations with external tools and services
.
├── README.md
├── {user}/ # User-level configs (~/.claude/)
│ ├── CLAUDE.md # Personal memory/preferences
│ ├── commands/ # Personal slash commands
│ │ ├── review.md
│ │ └── optimize.md
│ ├── agents/ # Personal agents
│ │ ├── code-reviewer.md
│ │ └── debugger.md
│ └── settings.json # User-level settings & hooks
├── project-templates/ # Templates for project-specific configs
│ └── example/
│ ├── CLAUDE.md # Project memory template
│ └── .claude/
│ ├── commands/ # Project slash commands
│ └── settings.json # Project-level settings
└── mcp/ # MCP server configurations
└── mcp-servers.json # Backup of MCP configurations
Follow the official installation guide.
git clone git@github.com:antonsamper/claude-code-config.git
cd claude-code-config# Copy user memory
cp {user}/CLAUDE.md ~/.claude/
# Copy user commands
mkdir -p ~/.claude/commands
cp -r {user}/commands/* ~/.claude/commands/
# Copy user agents
mkdir -p ~/.claude/agents
cp -r {user}/agents/* ~/.claude/agents/
# Copy user settings (hooks, etc.)
cp {user}/settings.json ~/.claude/settings.json# Review and add MCP servers from mcp/mcp-servers.json
# Add each server using: claude mcp add ...Persistent knowledge Claude always sees:
- Communication preferences (conciseness, tone)
- Coding standards and conventions
- Personal workflow preferences
Quick prompts invoked with /command-name:
/review- Code review checklist/optimize- Performance analysis- Custom workflows you use frequently
Workflows that Claude automatically invokes based on task context:
- Claude reads skill descriptions at startup and decides when to use them
- Use for repeatable workflows you want Claude to trigger without explicit commands
- Differ from slash commands: Skills are model-invoked; commands require manual
/command-name - Can also be invoked manually with
/skill-nameif needed - Skills documentation
Specialized AI assistants with dedicated context:
code-reviewer- Security and quality focused reviewsdebugger- Root cause analysis and fixesdata-scientist- SQL queries and data analysis
Automated actions triggered by events:
- Validation before tool use
- Formatting after file edits
- Notifications and logging
Integrations with external tools:
- GitHub (pull requests, issues)
- Databases (PostgreSQL, etc.)
- Monitoring tools (Sentry)
- Communication (Slack)
Regularly backup your configurations:
# From your home directory
cd ~/path/to/claude-code-config
# Update user configs
cp ~/.claude/CLAUDE.md {user}/
cp -r ~/.claude/commands/* {user}/commands/
cp -r ~/.claude/agents/* {user}/agents/
cp ~/.claude/settings.json {user}/
# Export MCP server list
claude mcp list > mcp/mcp-servers.txt
# Commit and push
git add .
git commit -m "Update configurations"
git push- Keep sensitive data out: Use
.gitignorefor API keys and secrets - CLAUDE.local.md: For machine-specific preferences (not in repo)
- Test before committing: Ensure configs work before pushing
- Document custom commands: Add comments in slash command files
Note: This repo stores personal Claude Code configurations. Review and customize to match your own preferences and workflow.