A CLI tool to set up and configure Claude Code command templates and settings.
- 🎨 Beautiful Interactive Interface - Enhanced UI with colors, tables, and branded elements
- 📝 Template Management - Add, update, and manage command templates for common tasks
- ⚙️ Settings Management - Configure permissions, themes, and environment variables
- 🔄 Unified Commands - Consistent interface for both templates and settings
- 🎯 Interactive Mode - Guided setup with smart prompts and selections
- 🌙 Themes - Choose from different themes (default, dark)
- 🔒 Permissions - Fine-grained control over Claude Code capabilities
- 🚀 Modern CLI Experience - Progressive disclosure and beautiful formatting
You can run this tool directly without installing it using package manager executors:
# Using npx (npm)
npx @schuettc/claude-code-setup <command>
# Using pnpm
pnpm dlx @schuettc/claude-code-setup <command>
# Using yarn
yarn dlx @schuettc/claude-code-setup <command>
# Using bun
bunx @schuettc/claude-code-setup <command>
For brevity, the examples below use npx
, but you can substitute with your preferred package manager.
# See both templates and settings in one beautiful view
npx @schuettc/claude-code-setup list
# Interactive mode - let the tool guide you
npx @schuettc/claude-code-setup add
# Choose what to add:
# 📝 Templates - Add command templates
# 🔒 Permission - Add a new permission
# 🎨 Theme - Set a theme
# 🌱 Environment Variable - Add an env var
# Initialize Claude Code (first time)
npx @schuettc/claude-code-setup init
# Add specific items directly
npx @schuettc/claude-code-setup add template python-optimization
npx @schuettc/claude-code-setup add permission "Bash(npm:*)"
npx @schuettc/claude-code-setup add theme dark
npx @schuettc/claude-code-setup add env NODE_ENV production
# Show both templates and settings with beautiful formatting
npx @schuettc/claude-code-setup list
# Show only templates
npx @schuettc/claude-code-setup list templates
# Show only settings
npx @schuettc/claude-code-setup list settings
# Interactive mode - choose what to add
npx @schuettc/claude-code-setup add
# Add templates
npx @schuettc/claude-code-setup add template <template-name>
npx @schuettc/claude-code-setup add template python-optimization
# Add settings
npx @schuettc/claude-code-setup add permission "Bash(docker:*)"
npx @schuettc/claude-code-setup add theme dark
npx @schuettc/claude-code-setup add env HTTP_PROXY "http://proxy.com:8080"
# Interactive mode - choose what to update
npx @schuettc/claude-code-setup update
# Update all templates
npx @schuettc/claude-code-setup update templates
# Update all settings to latest defaults
npx @schuettc/claude-code-setup update settings
# Update specific template
npx @schuettc/claude-code-setup update python-optimization
# Interactive mode - choose what to remove
npx @schuettc/claude-code-setup remove
# Remove specific items
npx @schuettc/claude-code-setup remove template <template-name>
npx @schuettc/claude-code-setup remove permission "Bash(rm:*)"
npx @schuettc/claude-code-setup remove env HTTP_PROXY
# Basic initialization in current directory
npx @schuettc/claude-code-setup init
# Initialize with specific permission sets
npx @schuettc/claude-code-setup init -p python,git
# Initialize with dark theme
npx @schuettc/claude-code-setup init --theme dark
# Initialize globally (in ~/.claude)
npx @schuettc/claude-code-setup init -g
# Force overwrite existing settings
npx @schuettc/claude-code-setup init -f
All commands support these options:
-
-t, --test-dir <dir>
- Use a test directory instead of current directory -
-g, --global
- Use global ~/.claude directory instead of local -
-f, --force
- Force overwrite existing items (add/update commands)
# Use test directory for all operations
npx @schuettc/claude-code-setup list --test-dir ./my-test
npx @schuettc/claude-code-setup add template python-optimization --test-dir ./my-test
# Work with global settings
npx @schuettc/claude-code-setup add permission "Bash(git:*)" -g
npx @schuettc/claude-code-setup list settings -g
# Force overwrite
npx @schuettc/claude-code-setup add template create-tasks -f
-
python-optimization
: Optimize Python code for performance
-
node-optimization
: Optimize JavaScript/TypeScript code for performance
-
create-tasks
: Create a TASKS.md file to track project progress -
update-tasks
: Update task status in TASKS.md file
-
code-review
: Comprehensive code review with specialized subagents -
fix-issue
: Analyze and fix GitHub issues using parallel subagents
The tool manages configuration in these locations:
-
Global:
~/.claude/settings.json
and~/.claude/commands/
-
Project:
./.claude/settings.json
and./.claude/commands/
{
"theme": "default",
"permissions": {
"allow": [
"Bash(git:*)",
"Bash(npm:*)",
"Bash(python:*)"
],
"deny": []
},
"env": {
"NODE_ENV": "development"
},
"ignorePatterns": [
"node_modules",
".git"
]
}
-
default
- Light, clean interface -
dark
- Dark mode for night coding
-
python
- Python development tools -
node
- JavaScript/TypeScript tools -
git
- Version control commands -
shell
- System shell commands -
package-managers
- npm, yarn, pnpm access
MIT