- Replicate my complete setup for Claude Code, OpenCode, Amp, Kilo CLI, Codex, Devin CLI, Kimi Code, Gemini CLI, Antigravity CLI, Pi, Oh My Pi, GitHub Copilot CLI, Cursor Agent CLI, Factory Droid,...
Overview
- Replicate my complete setup for Claude Code, OpenCode, Amp, Kilo CLI, Codex, Devin CLI, Kimi Code, Gemini CLI, Antigravity CLI, Pi, Oh My Pi, GitHub Copilot CLI, Cursor Agent CLI, Factory Droid,...
README
Welcome to my-ai-tools 👋
Comprehensive configuration management for AI coding tools - Replicate my complete setup for Claude Code, OpenCode, Amp, Kilo CLI, Codex, Devin CLI, Kimi Code, Gemini CLI, Antigravity CLI, Pi, Oh My Pi, GitHub Copilot CLI, Cursor Agent CLI, Factory Droid, Cline, Grok CLI, MiMo-Code, Qoder CLI, Kiro CLI, Hunk, Codiff, ctx, Open Code Review, CCS, and Reasonix with custom configurations, MCP servers, skills, plugins, and commands.
📖 View Documentation Website - Interactive landing page with full documentation and search.
✨ Features
- 🚀 One-line installer - Get started in seconds
- 🔄 Bidirectional sync - Install configs or export your current setup
- 🤖 Multiple AI tools - Claude Code, OpenCode, Amp, CCS, Devin, Kimi Code, Gemini, Antigravity, Grok, MiMo-Code, Qoder CLI, Kiro CLI, Hunk, Codiff, ctx, Open Code Review, Reasonix, and more
- 🔌 MCP Server integration - Context7, Sequential-thinking, qmd, codebase-memory-mcp, agentmemory, sem, ctx
- 🎯 Custom agents & skills - Pre-configured for maximum productivity
- 🤝 Agent Teams - Coordinate specialized agents for complex workflows (code review, testing, docs)
- 📦 Plugin support - Official and community plugins
- 🛡️ Git Guard Hook - Prevents dangerous git commands (force push, hard reset, etc.)
🖥️ Devin CLI (Optional)
Cognition AI’s autonomous coding agent with deep cloud integration. Homepage | Docs
⭐ Top 5 Skills
The most-used skills across Claude Code, OpenCode, and other AI tools:
| Skill | What it does | When to use it |
|---|---|---|
| adr | Generate Architecture Decision Records from design discussions | Before implementing significant technical changes — captures the why, alternatives considered, and consequences |
| codemap | Parallel codebase analysis producing 7 structured documents | Onboarding to a new project, or before major refactoring — gives you the full picture fast |
| code-quality-review | Extremely strict maintainability and structural code quality review | Before merging PRs — catches issues that regular linters miss |
| babysit-pr | Continuously monitor open PRs, auto-fix CI failures, surface review feedback | After pushing a PR — hands-off monitoring until it’s ready to merge |
| improve | Frontier model plans, cheap model executes — audit and plan improvements | When you need senior-level analysis with actionable plans for cheaper models to run (from shadcn) |
| improve-codebase-architecture | Codebase architecture deepening — find structural improvement opportunities | When you want to improve modularity, patterns, and architecture of an existing codebase (from Matt Pocock) |
🧭 Fusion Orchestration
Inspired by opencode-fusion and complementary evidence-gating ideas from Gentle AI, the orchestrating-fusion skill separates senior planning and review from lower-cost mechanical implementation. The installer provides native fusion-lead and fusion-executor roles for active tools and shares the portable workflow with every assistant through ~/.agents/skills/.
| Tool | Start Fusion | Enforced boundary |
|---|---|---|
| OpenCode | Select the fusion-lead primary |
Lead has no edit or shell permission and delegates directly to fusion-executor |
| Amp | Select the fusion agent mode |
Lead’s tool surface omits mutation/shell and exposes fusion_executor |
| Codex | Ask the root session to run fusion-lead, then its sibling fusion-executor |
Lead uses a read-only sandbox; the writable root mediates sibling execution |
| Pi | Ask the root Agent tool for fusion-lead, then fusion-executor |
pi-subagents enforces role tool allowlists; the root mediates sibling execution and non-inspection verification |
| Others | Invoke the orchestrating-fusion skill |
Uses native delegation when available; otherwise the split is prompt-advisory |
The lead hands off exact skill paths plus OBJECTIVE / FILES / INTERFACES / CONSTRAINTS / VERIFICATION. The executor returns an evidence envelope covering changes, verification, skills loaded, risks, questions, and key learnings. The lead reads artifacts back, permits one targeted correction, and stops rather than entering an unbounded fix loop. Durable PRDs or plans remain opt-in when they materially reduce ambiguity.
🔌 MCP Servers & Plugins Overview
| Tool | MCP Servers | Plugins/Extensions |
|---|---|---|
| Claude Code | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | Official + Community (plannotator, claude-hud, worktrunk, codex) |
| OpenCode | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | @plannotator/opencode |
| Codex | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, node_repl, ctx | - |
| Kimi Code | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, logpilot, sem, ctx | Skills, MCP servers, and hooks via ~/.kimi-code/ |
| Pi | context7, sequential-thinking, qmd, codebase-memory-mcp, fff, react-grab-mcp, agentmemory, sem, ctx | Packages (pi-extension, pi-subagents, autoresearch, fff, mcp-adapter, simplify, rpiv-todo, btw, code-previews, codex-goal, commandcode-provider, pi-web-access, footer, tps-meter, pi-qwencloud-provider, pi-cursor-sdk) |
| Oh My Pi | Pi-compatible layout; MCP servers via ~/.omp/agent/mcp.json when present |
Pi fork (@oh-my-pi/pi-coding-agent); configs managed under configs/omp/ |
| Amp | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | Agent modes: fusion, glm-5.2, grok45, inkling, cursor-composer-2.5; plannotator; orca-agent-status |
| Gemini | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | Deprecated for Google One/unpaid tiers; migrate to Antigravity |
| Antigravity | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx (via plugin) | my-ai-tools-gemini-migration |
| Kilo | (uses OpenCode config) | (uses OpenCode plugins) |
| CommandCode | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | - |
| Copilot | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | - |
| Cursor | context7 (via bunx), sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | - |
| Conductor | Per-harness (Claude Code, Codex, Cursor MCP configs) | Orchestrates parallel agents in isolated workspaces |
| Factory | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | core, security-engineer, droid-evolved, autoresearch |
| Orca | - | Agent hooks (claude, gemini, codex, cursor, droid) |
| Cline | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | Global rules (AGENTS.md → ~/.cline/rules/, |
| Grok | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | Default model grok-4.5 (high reasoning); UI auto + rosepine-moon; Kanagawa theme staged |
| MiMo-Code | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | @plannotator/opencode, opencode-chrome-annotation |
| Qoder CLI | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | - |
| Kiro CLI | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | Steering files (AGENTS.md), slash commands, MCP servers, ACP |
| Reasonix | context7, sequential-thinking, qmd, codebase-memory-mcp, agentmemory, fff, react-grab-mcp, logpilot, sem, ctx | DeepSeek-native; prefix-cache loop; [[plugins]] MCP in config.toml; ACP (reasonix acp); REASONIX.md/AGENTS.md memory; Kanagawa theme staged |
| Codiff | — (desktop app — uses configured agent backend via settings) | — |
📋 MCP Server Details
| Server | Purpose | Package |
|---|---|---|
context7 |
Documentation lookup for any library | @upstash/context7-mcp |
sequential-thinking |
Multi-step reasoning for complex analysis | @modelcontextprotocol/server-sequential-thinking |
qmd |
Knowledge management with AI-powered search | qmd |
codebase-memory-mcp |
High-performance code intelligence and structural search | codebase-memory-mcp |
agentmemory |
“Persistent memory” per the tool; we use it session-only (qmd = durable; see MEMORY.md) |
@agentmemory/mcp |
fff |
Fast file search with frecency ranking | fff-mcp |
react-grab-mcp |
React component capture and inspection | @react-grab/mcp |
logpilot |
AI-powered log analysis and tmux monitoring | logpilot |
sem |
Semantic version control - entity-level diffs, blame, and impact analysis | sem-mcp (via Ataraxy-Labs/sem) |
ctx |
Local agent-history search across coding sessions | ctx mcp serve |
🎬 Demo
📋 Prerequisites
All Platforms
- Bash 3.0+ - Shell interpreter for
cli.shandgenerate.sh(the scripts use bash-only syntax — process substitution, arrays, pattern-parameter expansion — thatsh/dashcannot parse; the entry-point scriptssourcelib/require_bash.shwhich auto-relaunches under bash if invoked viash/dash— see Shell Interpreter below) - Bun or Node.js LTS - Runtime for tools and scripts
- Git - Version control
- Claude Code subscription or use CCS with affordable providers (GLM, MiniMax)
Windows-Specific
- Git for Windows - Required for Git Bash support
- Download: https://git-scm.com/download/win
- Make sure to select “Git from the command line and also from 3rd-party software” during installation
- PowerShell 5.1+ - For the PowerShell installer
- jq - Will be auto-installed via winget if available, or download from GitHub releases
🚀 Quick Start
One-Line Installer (Recommended)
Install directly without cloning the repository:
curl -fsSL https://ai-tools.itman.fyi/install.sh | bash
Security Note: Review the script before running:
curl -fsSL https://ai-tools.itman.fyi/install.sh -o install.sh cat install.sh # Review the script bash install.sh
Options:
# Preview changes without making them
curl -fsSL https://ai-tools.itman.fyi/install.sh | bash -s -- --dry-run
# Backup existing configs before installing
curl -fsSL https://ai-tools.itman.fyi/install.sh | bash -s -- --backup
# Skip backup prompt
curl -fsSL https://ai-tools.itman.fyi/install.sh | bash -s -- --no-backup
# Non-interactive mode (auto-approve, only processes your active tools)
curl -fsSL https://ai-tools.itman.fyi/install.sh | bash -s -- --yes
# One-step Gemini→Antigravity CLI migration
curl -fsSL https://ai-tools.itman.fyi/install.sh | bash -s -- --migrate-gemini
Manual Installation
Clone the repository and run the installer:
git clone https://github.com/jellydn/my-ai-tools.git
cd my-ai-tools
./cli.sh
Options:
--dry-run- Preview changes without making them--backup- Backup existing configs before installing--no-backup- Skip backup prompt-y/--yes- Non-interactive mode; only installs/configures your active tool set (amp, codex, ctx, cursor, kilo, opencode, open_code_review, pi, omp, antigravity, ai-switcher, claude, reasonix). Shared infra (plugins, skills, global tools) still installed. Auto-activated in CI/piped input.--migrate-gemini- One-step Gemini→Antigravity CLI migration
🔄 Bidirectional Config Sync
Forward: Install to Home (cli.sh)
Copy configurations from this repository to your home directory (~/.claude/, ~/.config/opencode/, etc.):
./cli.sh [--dry-run] [--backup] [--no-backup] [-y|--yes] [--migrate-gemini]
Reverse: Generate from Home (generate.sh)
Export your current configurations back to this repository for version control:
./generate.sh [--dry-run]
Tip: Use
generate.shafter customizing your local setup to save changes back to this repo.
🤖 Chat with the repo
The landing page includes a repository assistant that answers questions from the indexed README, docs, configs, and scripts.
To run it locally:
cp .env.example .env
# Add OPENAI_API_KEY, OPENAI_BASE_URL, OPENAI_MODEL, and OPENAI_EMBEDDING_MODEL to .env
npm install
npm run index # build data/index.json (server mode)
npm run index:browser # build public/index-browser.json (browser mode)
source .env # load OPENAI_BASE_URL for server mode
npm run dev # serve http://localhost:3000
The assistant only answers from the retrieved repository excerpts, cites the source file paths, and says “This is not documented in the repository.” when the context is insufficient.
The landing page also has a browser mode that runs the embedding and an instruction-tuned model (Qwen2.5-Coder-0.5B-Instruct) in the browser via WebGPU. Browser mode downloads the ~9 MB index and the ~300 MB model on the user’s device.
🐚 Shell Interpreter
cli.sh and generate.sh use bash-only syntax (process substitution, arrays, pattern-parameter expansion) and require bash. Both scripts source lib/require_bash.sh as their first non-shebang line; that shim is intentionally POSIX-compatible so sh/dash can source it and transparently re-launch the script under bash before lib/common.sh is reached. Prefer one of these invocations for clarity:
./cli.sh # Uses the #!/bin/bash shebang (recommended)
bash cli.sh # Explicit bash
bash generate.sh # Explicit bash for the reverse-sync script
If
bashis not onPATH, the guard falls back to a clear error:Error: cli.sh requires bash, but bash was not found in PATH. Seelib/require_bash.shfor the canonical guard implementation.
🪟 Windows Installation
The installer supports Windows via PowerShell or Git Bash.
Prerequisites for Windows
-
Git for Windows - Includes Git Bash (required for running shell scripts)
- Download from: https://git-scm.com/download/win
- During installation, choose “Use Git and optional Unix tools from the Command Prompt” to add Git Bash to PATH
-
jq (JSON processor) - Auto-installed via winget if available
- Manual install:
winget install -e --id jqlang.jq
- Manual install:
Option 1: PowerShell (Recommended for Windows)
# Run directly from the published URL
irm https://ai-tools.itman.fyi/install.ps1 | iex
# To pass options, download first, then run the local file:
irm https://ai-tools.itman.fyi/install.ps1 -OutFile install.ps1
.\install.ps1 -DryRun
Local execution:
# Clone and run locally
git clone https://github.com/jellydn/my-ai-tools.git
cd my-ai-tools
.\install.ps1
Option 2: Git Bash
# Open Git Bash (from right-click menu or Start menu)
git clone https://github.com/jellydn/my-ai-tools.git
cd my-ai-tools
bash ./cli.sh
Note: If
bashis not recognized in PowerShell, add Git to your PATH:[Environment]::SetEnvironmentVariable("Path", $env:Path + ";C:\Program Files\Git\bin", "User")
Primary AI coding assistant with extensive customization.
Installation
curl -fsSL https://claude.ai/install.sh | bash
MCP Servers Setup
Automatic Setup (Recommended)
Run the setup script to configure MCP servers:
./cli.sh
The script will prompt you to install each MCP server:
context7- Documentation lookup for any librarysequential-thinking- Multi-step reasoning for complex analysisqmd- Quick Markdown Search with AI-powered knowledge managementagentmemory- “Persistent memory” per the tool’s branding; we use it session-only (qmd is the durable KB; see~/.ai-tools/MEMORY.md)fff- Fast file search with built-in memory for AI agentsreact-grab-mcp- React component extraction and analysislogpilot- AI-powered log analysis and tmux session monitoring
Manual Setup
For Claude Code
Configuration in ~/.claude/mcp-servers.json:
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp@latest"]
},
"sequential-thinking": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
},
"qmd": {
"command": "qmd",
"args": ["mcp"]
},
"agentmemory": {
"command": "npx",
"args": ["-y", "@agentmemory/mcp"]
},
"fff": {
"type": "stdio",
"command": "fff-mcp",
"args": []
},
"react-grab-mcp": {
"command": "npx",
"args": ["-y", "@react-grab/mcp", "--stdio"]
},
"logpilot": {
"command": "logpilot",
"args": ["mcp-server"]
}
}
}
Or use the CLI (installed globally for all projects):
claude mcp add --scope user --transport stdio context7 -- npx -y @upstash/context7-mcp@latest
claude mcp add --scope user --transport stdio sequential-thinking -- npx -y @modelcontextprotocol/server-sequential-thinking
claude mcp add --scope user --transport stdio qmd -- qmd mcp
claude mcp add --scope user --transport stdio agentmemory -- npx -y @agentmemory/mcp
claude mcp add --scope user --transport stdio fff -- fff-mcp # Requires: curl -fsSL https://dmtrkovalenko.dev/install-fff-mcp.sh | bash
claude mcp add --scope user --transport stdio logpilot -- logpilot mcp-server # Requires: cargo install logpilot
claude mcp add --scope user --transport stdio sem -- sem-mcp # Requires: cargo install --git https://github.com/Ataraxy-Labs/sem sem-mcp
Auto-Install:
./cli.shautomatically installs Rust viarustupwhen these cargo-dependent MCP servers are selected, so you don’t need to install Rust manually beforehand (manualclaude mcp addstill requires a pre-installed Rust toolchain).
MCP Scopes:
--scope user(global): Available across all projects--scope local(default): Only in current project directory--scope project: Stored in.mcp.jsonfor team sharing
Managing MCP Servers
# List all configured servers
claude mcp list
# Remove an MCP server
claude mcp remove context7
# Get details for a specific server
claude mcp get qmd
Knowledge Management
Replace deprecated claude-mem with qmd-based knowledge system:
- Project-specific knowledge bases in
~/.ai-knowledges/ - AI-powered search via qmd MCP server
- No repository pollution
- See qmd Knowledge Management Guide
Plugins
Prerequisites
Before installing plugins, ensure:
- Claude Code subscription - Active subscription with plugin support
- Plugin marketplace access - Verify marketplace is enabled for your repository
- Network connectivity - Required for downloading marketplace plugins
To check marketplace availability:
# Verify Claude CLI supports plugins
claude plugin list
# If the above fails, check your Claude Code installation and subscription
Installation
The setup script (./cli.sh) automatically checks marketplace availability before installing plugins. If marketplace is unavailable, it will offer to install local plugins only.
Automated installation (recommended):
./cli.sh # Includes marketplace check and fallback to local plugins
Manual installation (requires marketplace access):
# First, add the official marketplace
claude plugin marketplace add anthropics/claude-plugins-official
# Official plugins
claude plugin install typescript-lsp@claude-plugins-official
claude plugin install pyright-lsp@claude-plugins-official
claude plugin install context7@claude-plugins-official
claude plugin install frontend-design@claude-plugins-official
claude plugin install learning-output-style@claude-plugins-official
claude plugin install swift-lsp@claude-plugins-official
claude plugin install lua-lsp@claude-plugins-official
claude plugin install code-simplifier@claude-plugins-official
claude plugin install rust-analyzer-lsp@claude-plugins-official
claude plugin install claude-md-management@claude-plugins-official
# Community plugins (add marketplace first)
# Plugin installation format: plugin-name@marketplace-name
# Example: The repository 'backnotprop/plannotator' registers as marketplace 'plannotator',
# then you install plugin 'plannotator' from that marketplace
claude plugin marketplace add backnotprop/plannotator
claude plugin install plannotator@plannotator
claude plugin marketplace add jarrodwatts/claude-hud
claude plugin install claude-hud@claude-hud
claude plugin marketplace add max-sixty/worktrunk
claude plugin install worktrunk@worktrunk
claude plugin marketplace add openai/codex-plugin-cc
claude plugin install codex@openai-codex
claude plugin marketplace add JuliusBrussee/caveman
claude plugin install caveman@caveman
# Install skills from this repository (jellydn/my-ai-tools)
# Recommended: Install all skills at once using npx skills add
npx skills add jellydn/my-ai-tools --yes --global --agent claude-code
# Or install interactively (select which skills to install)
npx skills add jellydn/my-ai-tools --global --agent claude-code
# Available skills: prd, ralph, qmd-knowledge, codemap, adr, handoffs, pickup, pr-review, slop, tdd, code-quality-review, commit-atomic, draft-pull-request, docs-update, llm-wiki, plannotator-setup-goal, portless-local, security-audit, tmux, blindspot-pass, implementation-logger, quiz-me, spec-interview, capability-experiments, code-review, context-discovery, doc-search, git-context, orchestrating-fusion
# Skills are installed to ~/.agents/skills/ with symlinks in ~/.claude/skills/
Troubleshooting
Skills installation issues?
If you encounter issues:
- Check npx availability: Ensure Node.js and npx are installed (
npx --version) - Use local skills: The setup script automatically falls back to local skills from
skills/folder - Manual installation: Copy skill folders directly to
~/.claude/skills/ - Interactive mode: Run without
--yesflag to select specific skills
Common issues:
- “npx not found” → Install Node.js to use remote skill installation, or use local skills via
./cli.sh - “Permission denied” → Try running without sudo, or use
--globalflag - “Skills already installed” → Remove existing skills first with
npx skills remove --global
Plugin List
| Plugin | Description | Source |
|---|---|---|
typescript-lsp |
TypeScript language server | Official |
pyright-lsp |
Python language server | Official |
context7 |
Documentation lookup | Official |
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 |
code-simplifier |
Code simplification | Official |
rust-analyzer-lsp |
Rust language support | Official |
claude-md-management |
Markdown management | Official |
plannotator |
Plan annotation tool | Community |
plannotator-setup-goal |
Turn ideas into goal packages | Local Marketplace |
prd |
Product Requirements Documents | Local Marketplace |
ralph |
PRD to JSON converter | Local Marketplace |
qmd-knowledge |
Project knowledge management | Local Marketplace |
codemap |
Parallel codebase analysis | Local Marketplace |
code-quality-review |
Extremely strict maintainability review | Local Marketplace |
claude-hud |
Status line with usage monitoring | Community |
worktrunk |
Work management | Community |
codex |
Codex code review & task delegation | Community |
caveman |
Concise, high-signal response mode | Community |
Key Marketplace Plugins
codemap - Orchestrates parallel codebase analysis producing 7 structured documents in .planning/codebase/:
STACK.md- Technologies, dependencies, configurationINTEGRATIONS.md- 3rd party APIs, databases, authARCHITECTURE.md- System patterns, layers, data flowSTRUCTURE.md- Directory layout, key locationsCONVENTIONS.md- Code style, patterns, error handlingTESTING.md- Framework, structure, mocking, coverageCONCERNS.md- Tech debt, bugs, security issues
prd - Generate Product Requirements Documents
ralph - Convert PRDs to JSON for autonomous agent execution
qmd-knowledge - Project-specific knowledge management (guide)
Hooks & Status Line
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; }"
},
{
"type": "command",
"command": "if [[ \"$( jq -r .tool_input.file_path )\" =~ \\.py$ ]]; then ruff format \"$( jq -r .tool_input.file_path )\"; fi"
},
{
"type": "command",
"command": "if [[ \"$( jq -r .tool_input.file_path )\" =~ \\.rs$ ]]; then rustfmt \"$( jq -r .tool_input.file_path )\"; fi"
},
{
"type": "command",
"command": "if [[ \"$( jq -r .tool_input.file_path )\" =~ \\.sh$ ]]; then shfmt -w \"$( jq -r .tool_input.file_path )\"; fi"
},
{
"type": "command",
"command": "if [[ \"$( jq -r .tool_input.file_path )\" =~ \\.lua$ ]]; then stylua \"$( jq -r .tool_input.file_path )\"; fi"
}
]
}
]
}
}
Supported Formatters:
- biome - TypeScript/JavaScript files (
.ts,.tsx,.js,.jsx) - includes linting - gofmt - Go files (
.go) - prettier - Markdown files (
.md,.mdx) - ruff - Python files (
.py) - modern, fast formatter - rustfmt - Rust files (
.rs) - shfmt - Shell scripts (
.sh) - stylua - Lua files (
.lua)
Installation: The setup script (./cli.sh) automatically checks and installs these tools with mise priority:
jq- JSON parsing (required)biome- JavaScript/TypeScript formattinggofmt- Go formatting (requires Go installation)prettier- Markdown formatting (used vianpx)ruff- Python formatting (installed via mise, pipx, or pip)rustfmt- Rust formatting (installed via mise or rustup)shfmt- Shell script formatting (installed via mise, brew, or go install)stylua- Lua formatting (installed via mise, brew, or cargo)
PreToolUse Hooks
Git Guard Hook
Prevents dangerous git commands from being executed:
{
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [
{
"type": "command",
"command": "bun ~/.claude/hooks/index.ts PreToolUse"
}
]
}
]
}
}
Blocked commands:
git push --force/-f(without lease protection)git reset --hard(destroys uncommitted changes)git clean -fd(removes untracked files)git branch -D(force delete branch)git rebase -i(interactive rebase)git checkout --force/-f(force checkout)git stash drop/clear(removes stashes)- And more…
The implementation can be found in configs/claude/hooks/index.ts and configs/claude/hooks/git-guard.ts.
WebSearch Transformer
Transform WebSearch queries:
{
"hooks": {
"PreToolUse": [
{
"matcher": "WebSearch",
"hooks": [
{
"type": "command",
"command": "node \"~/.ccs/hooks/websearch-transformer.cjs\"",
"timeout": 120
}
]
}
]
}
}
Status Line
Using claude-hud plugin:
{
"statusLine": {
"type": "command",
"command": "bash -c 'node \"$(ls -td ~/.claude/plugins/cache/claude-hud/claude-hud/*/ 2>/dev/null | head -1)dist/index.js\"'"
}
}
Tip: Auto-compact is disabled. Use
claude-hudto monitor context usage.
Custom Commands, Agents & Skills
Custom Commands
Located in configs/claude/commands/:
/ccs- CCS delegation and profile management/ultrathink- Deep thinking mode
Custom Agents
Located in configs/claude/agents/:
ai-slop-remover- Remove AI-generated boilerplate and improve code qualitycode-reviewer- Comprehensive code quality and security reviewtest-generator- Generate meaningful tests with edge case coveragedocumentation-writer- Create clear, helpful documentationfeature-team-coordinator- Coordinate specialized agents for complex workflows
📖 Agent Teams Guide - Learn how to use Agent Teams to coordinate multiple specialized agents for complex tasks like feature development, code review, and documentation.
Skills
Local Marketplace Plugins - Installed by cli.sh from skills/:
adr- Architecture Decision Recordscode-review- Two-axis diff review (Conventions + Intent) with parallel sub-agents — checks bash idioms, Tidy First practices, and whether the change does what it claimscodemap- Parallel codebase analysis producing structured documentationcommit-atomic- Atomic commits by logically grouping changes with commitizen convention (nogit add -A)draft-pull-request- Create draft pull requests using gh CLI with what/why/how templatehandoffs- Create handoff plans for continuing work (provides/handoffscommand)llm-wiki- Build and maintain a persistent, compounding knowledge wiki from raw sources (Karpathy’s LLM Wiki pattern)pickup- Resume work from previous handoff sessions (provides/pickupcommand)plannotator-setup-goal- Turn an idea into a structured goal package via Plannotator-gated discovery, fact sheet, and plandocs-update- Automated documentation synchronization with code changes (Mintlify, Docusaurus, GitBook, Fumadocs, etc.)portless-local- Named .localhost URLs for local development - replaces port numbers with stable URLspr-review- Pull request review workflowsprd- Generate Product Requirements Documentsqmd-knowledge- Project knowledge managementralph- Convert PRDs to JSON for autonomous agent executionsecurity-audit- Structured security audit workflow using OWASP Top 10, ASVS, and DevSecOps controlsslop- AI slop detection and removaltdd- Test-Driven Development workflowscode-quality-review- Extremely strict maintainability and structural code quality reviewstmux- Remote control tmux sessions for interactive CLIs (python, node, gdb, etc.)
Projects Built with AI
Real-world projects built using these AI tools:
| Project | Description | Tools Used |
|---|---|---|
| - Oak | Lightweight macOS focus companion for deep work with notch-first UI | Ralph + OpenCode + Codex GPT 5.2 |
| - Prosody | Mobile app for English speaking rhythm coaching with AI feedback | Ralph + OpenCode + GLM + Amp/Codex (review) |
| - Keybinder | macOS app for managing skhd keyboard shortcuts | Claude + spec-kit |
| - SealCode | VS Code extension for AI-powered code review | Amp + Ralph |
| - Ralph | Autonomous AI agent loop for PRD-driven development | TypeScript |
| - AI Launcher | Fast launcher for switching between AI coding assistants | TypeScript |
| - Tiny Coding Agent | Minimal coding agent focused on simplicity | TypeScript |
| - dotenv-tui | Terminal UI for managing .env files across projects |
Go + Bubble Tea |
| - tiny-cloak.nvim | Neovim plugin that masks sensitive data in .env files |
Lua + Neovim |
| - tiny-term.nvim | Minimal terminal plugin for Neovim 0.11+ | Lua + Neovim |
| - Sky Alert | Real-time flight monitoring Telegram bot | OpenCode + GLM 4.7 + Amp + Codex CLI |
| - Docklight | Minimal, self-hosted web UI for managing a single-node Dokku server | Ralph + OpenCode |
| - Little Writing | A handwriting tracing app for kids built with React, react-konva, and Capacitor | Claude + spec-kit + GLM 5 |
| - Zed Codemux | Open Zed terminals inside tmux or zellij — port of vscode-mux to the Zed editor | Ralph |
| - HermesHub | Web app for deploying and managing a self-hosted Hermes AI Agent on any VPS | GPT-5.5 + Grok CLI Composer 2.5 |
📖 Learning Stories - Detailed notes on development approaches, key takeaways, and tools I’ve tried.
Recommended Community Skills
Official and community-maintained skill collections for specific frameworks:
| Framework | Skills Repository | Description |
|---|---|---|
| UI/UX Design | Interface Design | Comprehensive guide to interface design patterns and best practices for anyone working with UI/UX development. |
| Expo | expo/skills | Official Expo skills for React Native development. Includes app creation, building, debugging, EAS updates, and config management workflows. |
| Next.js | vercel-labs/agent-skills | Vercel’s agent skills for Next.js and React development. Includes project creation, component generation, and deployment workflows. |
| React Patterns | factory-ai/factory-plugins | No-use-effect skill: 5 patterns to replace useEffect with better alternatives - derived state, data-fetching libraries, event handlers, useMountEffect, and key prop resets. |
| Andrej Karpathy | forrestchang/andrej-karpathy-skills | Community skills inspired by Andrej Karpathy’s coding principles and practices for AI-focused development workflows. |
| Humanizer | blader/humanizer | Removes signs of AI-generated writing from text. Based on Wikipedia’s AI writing detection guide, it detects 24 patterns to make text sound more natural and human. |
| Claude Skills | jezweb/claude-skills | 97 production-ready skills for Claude Code CLI including Cloudflare, React, AI integrations, and more. Includes context-mate for project analysis and workflow management. |
| OZ Skills | warpdotdev/oz-skills | 14 production-ready skills by Warp. Covers CI fix, PR creation, web testing, accessibility audits, and more. |
| Auto-Review | openclaw/agent-skills | Auto-review skill for structured and actionable pull request feedback workflows. |
| Hunk Review | modem-dev/hunk | Interactive terminal diff viewer for agent-authored changesets with live review sessions and inline comments. |
| Skills Discovery | vercel-labs/skills/find-skills | Skill discovery helper. Search and install skills from skills.sh when users ask about capabilities. Uses npx skills find [query]. |
| Matt Pocock | mattpocock/skills | Community skills by Matt Pocock. Includes grill-with-docs for docs-grounded plan stress-testing, improve-codebase-architecture for finding deepening opportunities, and more. |
| Mitsuhiko | mitsuhiko/agent-stuff | Skills and extensions by Armin Ronacher. Includes tmux session control, GitHub CLI, web browser automation, Sentry integration, mermaid diagrams, and more. |
| Git Stacked PRs | github/gh-stack | GitHub CLI extension for managing stacked branches and pull requests. Create, push, rebase, sync, and navigate stacks of dependent PRs for incremental code review workflows. |
| Facts | av/facts | Track project specs and facts in a .facts file. Lifecycle stages (@draft → @spec → @implemented) with shell-command verification. Ships four skills: facts, facts-discover, facts-refine, and facts-implement. |
| Modern Web Guidance | GoogleChrome/modern-web-guidance | Search tool for modern web development best practices (HTML, CSS, accessibility, and client-side JS APIs). |
| Plannotator Setup Goal | backnotprop/plannotator | Turn ideas into structured goal packages with fact sheets and execution plans, gated by Plannotator annotation |
| Codex PR Babysitter | openai/codex | Continuously monitor open PRs: poll review comments and CI runs, auto-fix branch-related failures, retry flaky checks, and surface fresh review feedback until merged or user help is required |
| Last 30 Days | mvanhorn/last30days-skill | Research what people actually say about any topic in the last 30 days. Pulls from Reddit, X, YouTube, TikTok, HN, Polymarket, GitHub, and the web. |
| Improve Code Architect | shadcn/improve | Frontier model plans, cheap model executes — audit any codebase and produce implementation plans for cheaper models to run. |
| Engram | Gentleman-Programming/engram | Persistent agent memory via single Go binary — SQLite + FTS5, 20 MCP tools, zero dependencies, TUI, and git-based cross-machine sync. |
| mac-OCR | privatenumber/mac-ocr | macOS CLI for OCR and searchable PDFs using Apple’s Vision framework |
Installation:
# Install skills using npx skills add
npx skills add expo/skills --global --agent claude-code
npx skills add vercel-labs/agent-skills --global --agent claude-code
npx skills add factory-ai/factory-plugins --skill no-use-effect --global --agent claude-code
npx skills add blader/humanizer --global --agent claude-code
npx skills add jezweb/claude-skills --global --agent claude-code
npx skills add mattpocock/skills --skill grill-with-docs --global --agent claude-code
npx skills add mattpocock/skills --skill improve-codebase-architecture --global --agent claude-code
npx skills add privatenumber/mac-ocr --skill mac-ocr --global --agent claude-code
npx skills add mitsuhiko/agent-stuff --global --agent claude-code
npx skills add github/gh-stack --global --agent claude-code
npx skills add openclaw/agent-skills --skill autoreview --global --agent claude-code
npx skills add modem-dev/hunk --skill hunk-review --global --agent claude-code
npx skills add av/facts --global --agent claude-code
npx skills add GoogleChrome/modern-web-guidance --skill modern-web-guidance --global --agent claude-code
npx skills add openai/codex --skill babysit-pr --global --agent claude-code
npx skills add mvanhorn/last30days-skill --global --agent claude-code
npx skills add shadcn/improve --global --agent claude-code
npx skills add Gentleman-Programming/engram --skill engram-memory --global --agent claude-code
npx skills add ctxrs/ctx --global --agent claude-code
Configuration Files
All configuration files are located in the configs/claude/ directory:
settings.json- Main Claude Code settingsmcp-servers.json- MCP server configurationsCLAUDE.md- Token-efficient global instructions with conditional, on-demand guidancecommands/- Custom slash commandsagents/- Custom agent definitions
Local marketplace plugins are in skills/.
Tips & Tricks
- OpusPlan Mode: Use opusplan mode to plan with Opus and implement with Sonnet, then use Plannotator to review plans
- Efficient Model Routing: The managed defaults use Sonnet at medium effort for daily work and an Opus advisor for difficult decisions. Run
/advisoror/effortto override them when a task needs a different trade-off. - Token-Efficient Context: The global
CLAUDE.mdkeeps supplemental guidance conditional instead of using eager@imports. Keep prompts narrowly scoped, inspect loaded context with/context, limit shell output, and use/clearbetween unrelated tasks. - Session Management: Monitor context usage with
claude-hud. Create a plan with/handoffsand resume with/pickupwhen approaching the context limit on big tasks. - Git Worktree: Use git worktree with
tryCLI. For tmux users, useclaude-squashto manage sessions efficiently. Use superset.sh to run multiple AI agents in parallel across worktrees - Neovim Integration: Check out tiny-nvim for a complete setup with sidekick.nvim or claudecode.nvim
- Cost Optimization: Use CCS to switch between affordable providers.
- OpenRouter Provider: To route Claude Code through OpenRouter instead of Anthropic directly, add these to
~/.claude/settings.jsonunder"env":
This repo’s{ "env": { "ANTHROPIC_BASE_URL": "https://openrouter.ai/api", "ANTHROPIC_API_KEY": "your-openrouter-api-key", "ANTHROPIC_DEFAULT_OPUS_MODEL": "openrouter/owl-alpha", "ANTHROPIC_DEFAULT_SONNET_MODEL": "openrouter/owl-alpha", "ANTHROPIC_DEFAULT_HAIKU_MODEL": "openrouter/owl-alpha" } }configs/claude/settings.jsonintentionally does not hardcode provider credentials, so you can choose your preferred provider via environment variables. See OpenRouter free models for no-cost options.
- OpenRouter Provider: To route Claude Code through OpenRouter instead of Anthropic directly, add these to
🎨 OpenCode (Optional)
OpenAI-powered AI coding assistant. Homepage
OpenCode 2 is available as a beta alongside OpenCode 1. It installs as the separate opencode2 command and reads the same global configuration directory, ~/.config/opencode/. Existing V1 configuration is translated in memory, but V1 plugins do not work with V2; keep OpenCode 1 available until any plugins you rely on have been ported. See the OpenCode 2 migration guide.
🚀 Command Code (Optional)
AI coding assistant that continuously learns your taste of writing code. Homepage
🎯 Amp (Optional)
AI coding assistant by Modular. Homepage
🔄 CCS - Claude Code Switch (Optional)
Universal AI profile manager for Claude Code. Homepage | Documentation
🤖 OpenAI Codex CLI (Optional)
OpenAI’s command-line coding assistant. Homepage
🔷 Google Gemini CLI (Deprecated for Google One / unpaid tiers)
⚠️ DEPRECATION NOTICE — June 18, 2026 Gemini CLI will stop serving requests to Google One and unpaid (free) tiers on June 18, 2026. API-key-based workflows are not affected.
👉 Migrate now: Antigravity CLI | Migration guide 👉 This repo’s Antigravity setup: see the Antigravity CLI section below.
Google’s AI agent that brings the power of Gemini directly into your terminal. Homepage
Archival note: This repository still keeps Gemini CLI configs for existing installations, API-key workflows, and migration/export compatibility. The section is maintained for reference but new users should use Antigravity CLI instead.
🛸 Antigravity CLI (Optional)
Google’s Antigravity CLI for terminal-first agent workflows. This repository installs Antigravity as a first-class tool and stages migrated Gemini CLI configuration under ~/.gemini/antigravity-cli/. Antigravity is the migration target for Google One and unpaid-tier Gemini CLI users.
🎯 Kilo CLI (Optional)
AI coding assistant built on top of OpenCode with powerful productivity features. Homepage
🌙 Kimi Code (Optional)
Moonshot AI’s terminal-native coding agent. Homepage
🥧 Pi (Optional)
AI coding agent built for agentic coding workflows. Homepage
🐙 GitHub Copilot CLI (Optional)
GitHub Copilot in the terminal — agentic coding assistant that brings AI capabilities directly to your command line. Best Practices | Docs
🖱️ Cursor Agent CLI (Optional)
Cursor’s background agent CLI — run AI-powered coding tasks directly from your terminal. Docs
⚡ Conductor (Optional)
Orchestrate parallel AI coding agents (Claude Code, Codex, Cursor, OpenCode) in isolated workspaces. Docs
🏭 Factory Droid (Optional)
Factory’s AI coding agent — end-to-end feature development from your terminal. Homepage | Docs
💻 Cline (Optional)
AI coding assistant that runs in your terminal — built for high-performance agentic coding with support for multiple providers. Homepage | Docs
🤖 Grok CLI (Optional)
xAI’s AI coding assistant for the terminal. Homepage | Docs
🏮 MiMo-Code (Optional)
Xiaomi’s open-source, terminal-native AI coding assistant with persistent memory, agentic orchestration, and self-improvement capabilities. Forked from OpenCode. Homepage | GitHub
🚀 herdr (Optional)
Terminal-native agent multiplexer — like tmux but agent-aware. Manage workspaces, tabs, and panes, each running its own shell, agent, server, or log stream, with automatic agent status tracking and a local socket API. Homepage | Docs | GitHub
🧠 Qoder CLI (Optional)
Qoder’s agentic coding CLI. Reads AGENTS.md for context, supports MCP servers via qodercli mcp add, and ships TUI slash commands like /init, /memory, /mcp, /status, /effort. Homepage | Docs
🥷 Kiro CLI (Optional)
Kiro Dev’s AI coding assistant with native MCP support, steering files (AGENTS.md), and ACP (Agent Client Protocol) integration. Ships with /model, /editor, /usage, and custom agents. Homepage | Docs | GitHub
🔍 Hunk (Optional)
Review-first terminal diff viewer for agent-authored changesets, with multi-file navigation, inline agent notes, watch mode, and Git, Jujutsu, and Sapling support. Homepage | Docs | GitHub
🎨 Codiff (Optional)
Beautiful, minimal local diff viewer with LLM-powered walkthroughs. Review Git changes, comment on PRs/MRs inline, and share walkthroughs. GitHub | Homepage
🔎 ctx (Optional)
Open-source local agent-history search CLI. Indexes your past coding-agent sessions into local SQLite and lets you search, inspect, and cite prior work from the terminal. Homepage | GitHub
🔍 Open Code Review (Optional)
AI-powered code review CLI from Alibaba. Reads Git diffs, sends changed files to a configurable LLM, and generates structured review comments with line-level precision. Homepage | GitHub
🔄 AI Launcher (Optional)
Fast launcher for switching between AI coding assistants. Homepage
🛠️ Companion Tools
📚 Best Practices
Setup includes the following shared configuration files installed by ./cli.sh:
Software Development Best Practices — configs/best-practices.md:
- Kent Beck’s “Tidy First?” principles
- Kent C. Dodds’ programming wisdom
- Testing Trophy approach
- Performance optimization patterns
Agent Memory Guidelines — configs/agent-memory-guidelines.md (→ ~/.ai-tools/agent-memory.md):
- Auto-capture learnings, debugging discoveries, and user preferences as you work
- Persist non-trivial bug fixes immediately for future sessions
- Keep memories concise and actionable — facts and patterns over narrative
Implementation Notes — configs/implementation-notes-guidelines.md (→ ~/.ai-tools/implementation-notes.md):
- Structured workflow for AI agents to capture implementation notes
- Templates and style rules for what to record after each task
- Decision rules for routing knowledge to the right store (qmd / agentmemory / handoffs)
Best practices and memory guidelines are automatically referenced by all 15+ AI tool AGENTS.md configurations installed by this repo; implementation notes are linked from the shared memory workflow.
📖 Resources
- Claude Code Documentation - Official docs
- OpenCode Documentation - Guide with agents and skills
- Antigravity CLI Docs - Official documentation (getting started, commands, features, migration)
- MCP Servers Directory - Model Context Protocol servers
- Context7 Documentation - Library documentation lookup
- CCS Documentation - Claude Code Switch
- Claude Code Showcase - Community examples
- Everything Claude Code - Production configs
- Claude Code Best Practice - Best practices and tips for Claude Code
- Why I switched to Claude Code 2.0
- Llama.cpp Setup with Claude/Codex CLI - Local model setup guide
- Modern Web Guidance - Chrome’s best practices for modern web development
- xAI CLI - Grok CLI official page
- Grok Build Docs - Getting started and configuration
- MiMo-Code - MiMo-Code repository and documentation
- 9Router - AI router with 60+ providers and 3-tier fallback
👤 Author
Dung Huynh
- Website: productsway.com
- YouTube: IT Man Channel
- GitHub: @jellydn
⭐ Show your support
Give a ⭐️ if this project helped you!
📝 Contributing
Contributions, issues and feature requests are welcome! See CONTRIBUTING.md.
Made with ❤️ by Dung Huynh
Install
npx -y @upstash/context7-mcp@latestConfiguration
{
"mcpServers": {
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp@latest"]
},
"sequential-thinking": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]
},
"qmd": {
"command": "qmd",
"args": ["mcp"]
},
"fff": {
"type": "stdio",
"command": "fff-mcp",
"args": []
},
"react-grab-mcp": {
"command": "npx",
"args": ["-y", "@react-grab/mcp", "--stdio"]
},
"logpilot": {
"command": "logpilot",
"args": ["mcp-server"]
},
"agentmemory": {
"command": "npx",
"args": ["-y", "@agentmemory/mcp"]
},
"sem": {
"command": "sem-mcp",
"args": []
},
"ctx": {
"command": "ctx",
"args": ["mcp", "serve"]
},
"codebase-memory-mcp": {
"command": "codebase-memory-mcp",
"args": []
}
}
}
