Installing Individual Components
Claude Code Templates provides over 600 individual components that you can install one at a time. Each component type serves a specific purpose in your development workflow.Component Types
Before installing, understand what each component type does:- Agents (162+) - AI specialists for specific tasks (e.g.,
security-auditor,frontend-developer) - Commands (210+) - Custom slash commands for workflows (e.g.,
/setup-testing,/docker-setup) - MCPs (65+) - Model Context Protocol integrations for external services
- Settings (60+) - Configuration files for Claude Code behavior
- Hooks (45+) - Automation triggers for events (e.g., before bash, after file edit)
- Skills - Specialized knowledge domains for Claude to reference
Installation Syntax
All components follow the same installation pattern:Installing Agents
Agents are AI specialists stored in.claude/agents/.
Visit aitmpl.com and filter by “Agents” to explore 162+ available agents organized by category:
# Both work
npx claude-code-templates@latest --agent frontend-developer
npx claude-code-templates@latest --agent development-team/frontend-developer
Agent Discovery: Can’t find an agent? Use the search on aitmpl.com to search by description, category, or use case.
Installing Commands
Commands are custom slash commands stored in.claude/commands/.
Browse commands by category at aitmpl.com/commands:
Installing MCPs
MCPs (Model Context Protocols) enable external service integrations. They merge into.mcp.json.
Automatic Merging: MCP configurations are automatically merged with your existing
.mcp.json. The CLI will prompt if conflicts are detected.{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files"]
}
}
}
Installing Settings
Settings configure Claude Code behavior. You can install them at multiple levels.~/.claude/settings.json) - Applies to all projects.claude/settings.json) - Shared with team via git.claude/settings.local.json) - Personal, gitignoredUnderstanding Settings Hierarchy
Settings are loaded in this order (later overrides earlier):
- Enterprise managed settings
- User settings (
~/.claude/settings.json) - Project settings (
.claude/settings.json) - Local settings (
.claude/settings.local.json)
Installing Hooks
Hooks enable event-driven automation. They’re stored in settings files.? Where would you like to install this hook?
◯ User settings - Applies to all projects
◯ Project settings - Shared with team
◉ Local settings - Personal only
{
"hooks": {
"SessionStart": [
{
"matcher": "startup",
"hooks": [
{
"type": "command",
"command": "echo 'Session started!'"
}
]
}
]
}
}
Installing Skills
Skills provide specialized knowledge domains for Claude to reference.Component Naming Conventions
All components follow kebab-case naming: ✅ Correct:Common Installation Flags
Directory Target
Install to a specific directory:Skip Prompts
Use defaults without confirmation:Dry Run
Preview what would be installed without making changes:Verbose Logging
Enable detailed installation logs:Viewing Component Details
Before installing, you can view component details on the web:Go to aitmpl.com
Troubleshooting
Component Not Found
If you get a 404 error:- Check spelling - component names are exact
- Search on aitmpl.com for the correct name
- Verify the component exists in the catalog
Permission Errors
If installation fails with permission errors:Merge Conflicts
If settings/hooks conflict with existing config:y- Replace existing value with new valueN- Keep existing value, skip installation
File Locations Reference
| Component Type | Installation Path | Format |
|---|---|---|
| Agents | .claude/agents/{name}.md | Markdown |
| Commands | .claude/commands/{name}.md | Markdown |
| MCPs | .mcp.json (merged) | JSON |
| Settings | .claude/settings*.json | JSON |
| Hooks | .claude/settings*.json | JSON |
| Skills | .claude/skills/{name}/ | Directory |
Next Steps
Batch Installation
Install multiple components at once
Interactive Mode
Use the visual component selector
Workflows
Create reusable installation workflows
Global Agents
Create agents you can run from anywhere