Comprehensive guide to replicate my AI coding tools setup with custom configurations, MCP servers, plugins, and commands.
sh cli.sh
Options:
--dry-run - Preview changes without making them--backup - Backup existing configs before installing--no-backup - Skip backup promptPrimary AI coding assistant with extensive customization.
npm install -g @anthropic-ai/claude-code
Add to ~/.claude/mcp-servers.json:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp@latest"]
},
"sequential-thinking": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
}
}
}
Available MCP Servers:
context7 - Documentation lookup for any librarysequential-thinking - Multi-step reasoning for complex analysisEnable in Claude Code settings:
| Plugin | Description | Link |
|---|---|---|
claude-mem |
Context memory across sessions | GitHub |
typescript-lsp |
TypeScript language server | Official |
pyright-lsp |
Python language server | Official |
context7 |
Documentation lookup | GitHub |
frontend-design |
UI/UX design assistance | Official |
learning-output-style |
Interactive learning mode | Official |
swift-lsp |
Swift language support | Official |
lua-lsp |
Lua language support | Official |
beads |
Issue tracking & project management | GitHub |
plannotator |
Plan annotation tool | GitHub |
claude-hud |
Status line with usage monitoring | GitHub |
Configure in ~/.claude/settings.json:
PostToolUse Hooks - Auto-format after file edits:
{
"hooks": {
"PostToolUse": [
{
"matcher": "Write|Edit|MultiEdit",
"hooks": [
{
"type": "command",
"command": "jq -r '.tool_input.file_path' | { read file_path; if echo \"$file_path\" | grep -q '\\.(ts|tsx|js|jsx)$'; then biome check --write \"$file_path\"; fi; }"
},
{
"type": "command",
"command": "if [[ \"$( jq -r .tool_input.file_path )\" =~ \\.go$ ]]; then gofmt -w \"$( jq -r .tool_input.file_path )\"; fi"
},
{
"type": "command",
"command": "jq -r '.tool_input.file_path' | { read file_path; if echo \"$file_path\" | grep -q '\\.(md|mdx)$'; then npx prettier --write \"$file_path\"; fi; }"
}
]
}
]
}
}
PreToolUse Hooks - Transform WebSearch queries:
{
"hooks": {
"PreToolUse": [
{
"matcher": "WebSearch",
"hooks": [
{
"type": "command",
"command": "node \"/Users/YOUR_USERNAME/.ccs/hooks/websearch-transformer.cjs\"",
"timeout": 120
}
]
}
]
}
}
/handoffs - Create handoff plans for continuing work in new sessions/pickup - Resume work from previous handoff sessionsPlus all commands from installed plugins.
Ctrl+C β to quit, or /clear to reset between coding sessions. Use /handoffs to create a plan and /pickup to resume when approaching 90% context limit on big tasks.try CLI. For tmux users, use claude-squash to manage sessions efficientlyCopy from configs/claude/ directory:
settings.json - Main settings with hooks and permissionsmcp-servers.json - MCP server definitionsCLAUDE.md - Global instructionscommands/ - Custom command definitionsThis repository supports two-way synchronization:
cli.sh)Copy configs from this repository to your home directory:
./cli.sh [--dry-run] [--backup] [--no-backup]
Options:
--dry-run - Preview changes without applying--backup - Create backup before overwriting--no-backup - Skip backup promptgenerate.sh)Copy your current configs FROM home TO this repository:
./generate.sh [--dry-run]
This is useful for:
Note: Sensitive files (like *.settings.json containing API keys) are automatically excluded from CCS config sync.
Alternative AI coding assistant with custom agents and skills.
# Terminal (recommended)
curl -fsSL https://opencode.ai/install | bash
# Or via npm
npm install -g opencode-ai
# Or via bun
bun add -g opencode-ai
# Or via Homebrew
brew install opencode
Copy configs/opencode/opencode.json to ~/.config/opencode/:
{
"$schema": "https://opencode.ai/config.json",
"instructions": ["./configs/best-practices.md"],
"theme": "kanagawa",
"default_agent": "plan",
"mcp": {
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp"
}
},
"agent": {
"build": {
"permission": {
"bash": {
"git push": "ask"
}
}
}
},
"plugin": ["@plannotator/opencode@latest"]
}
| Agent | Description | Mode |
|---|---|---|
ai-slop-remover |
Cleans AI-generated code patterns | subagent |
docs-writer |
Technical documentation writer | subagent |
review |
Code review for quality & best practices | subagent |
security-audit |
Security vulnerability identification | subagent |
/slop [branch] - Remove AI code patterns from a branchgit-release - Create consistent releases and changelogsLightweight AI assistant with browser and backlog integration.
# Recommended: via install script (supports auto-updating)
curl -fsSL https://ampcode.com/install.sh | bash
# Or via npm (if necessary)
npm install -g @sourcegraph/amp@latest
Copy configs/amp/settings.json to ~/.config/amp/:
{
"amp.dangerouslyAllowAll": true,
"amp.mcpServers": {
"context7": {
"url": "https://mcp.context7.com/mcp"
},
"chrome-devtools": {
"command": "npx",
"args": ["chrome-devtools-mcp@latest"]
},
"backlog": {
"command": "backlog",
"args": ["mcp", "start"]
}
}
}
context7 - Documentation lookup for any librarychrome-devtools-mcp - Control and inspect live Chrome browser instances. Debug, analyze network requests, take screenshots, profile performance, and automate browser testing. (npm)backlog - Task management and backlog trackingCCS (Claude Code Switch) - Seamlessly switch between multiple Claude accounts and API providers.
npm install -g @kaitranntt/ccs
Copy all files from configs/ccs/ to ~/.ccs/:
config.yaml - Main configurationconfig.json - Claude Code integration*.settings.json - API provider settings (glm, kimi, mm, etc.)cliproxy/ - OAuth provider configurationshooks/ - Web search hooksversion: 7
profiles:
glm:
type: api
settings: ~/.ccs/glm.settings.json
kimi:
type: api
settings: ~/.ccs/kimi.settings.json
mm:
type: api
settings: ~/.ccs/mm.settings.json
cliproxy:
providers:
- gemini
- codex
- agy
- qwen
- iflow
websearch:
enabled: true
providers:
gemini:
enabled: true
model: gemini-2.5-flash
# Switch to a profile
ccs kimi
# Create new account profile
ccs auth create work
# List available profiles
ccs auth list
Plannotator - Annotate plans outside the terminal for better collaboration. (GitHub)
Claude-Mem - Stop explaining context repeatedly. Build faster with persistent memory. (GitHub)
Note: Auto-compact is disabled in this setup to preserve full session history.
Claude HUD - Status line monitoring plugin for tracking context usage, active tools, running agents, and todo progress.
# Inside Claude Code, run:
/claude-hud:setup
The HUD appears immediately β no restart needed.
Try - Fresh directories for every vibe. Instantly navigate through experiment directories with fuzzy search, smart sorting, and auto-dating. (Interactive Demo)
Claude Squad - Terminal app to manage multiple AI agents (Claude Code, Aider, Codex, Gemini, etc.) in separate workspaces. Work on multiple tasks simultaneously with isolated git worktrees.
Spec Kit - Toolkit for Spec-Driven Development. Create specifications, implementation plans, and task lists for new features and greenfield projects with AI-native workflow. (GitHub)
Backlog.md - Markdown-native task manager and Kanban visualizer. Manage project backlogs entirely in Git with CLI, web interface, and AI integration. (npm)
Setup includes best-practices.md with comprehensive software development guidelines based on:
Copy configs/best-practices.md to your preferred location and reference it in your AI tools.
Dung Huynh
Give a βοΈ if this project helped you!
Contributions, issues and feature requests are welcome! See CONTRIBUTING.md.
Made with β€οΈ by Dung Huynh