Install Components
The CLI supports installing six types of components: agents, commands, MCP servers, hooks, settings, and skills. Each component type serves a specific purpose in enhancing your Claude Code workflow.Component Installation Syntax
Basic Installation
Install a single component:Batch Installation
Install multiple components of the same type (comma-separated):Component Naming Formats
Components support two naming formats:Direct Name
Category/Name Format
Agents
What are Agents?
Agents are specialized AI assistants with custom system prompts and behaviors. They provide expert guidance for specific tasks like frontend development, security auditing, or documentation writing.Installation Location
Agents install to:Examples
Popular Agents
Frontend Developer
Expert in React, Vue, Angular, and modern web frameworks
Backend Developer
API design, database optimization, and server-side logic
Security Auditor
Code security review, vulnerability detection, best practices
DevOps Engineer
CI/CD, infrastructure, deployment automation
Usage After Installation
Invoke agents in Claude Code:Commands
What are Commands?
Slash commands provide quick access to common workflows and operations. They accept arguments and can include complex instructions.Installation Location
Commands install to:Examples
Command Structure
Commands use the$ARGUMENTS placeholder for user input:
Usage After Installation
MCP Servers
What are MCP Servers?
MCP (Model Context Protocol) servers provide Claude Code with access to external services, databases, APIs, and tools.Installation Location
MCP configurations merge into:Examples
Configuration Merging
When installing MCPs:- Existing
.mcp.jsonis preserved - New servers are added to
mcpServersobject - Conflicting server names are overwritten
- Description fields are automatically removed
MCP Configuration Example
After installingweb-fetch:
Hooks
What are Hooks?
Hooks are automation triggers that execute commands at specific Claude Code lifecycle events.Installation Location
Hooks merge into:Hook Types
- PreToolUse - Execute before tool usage
- PostToolUse - Execute after tool usage
- Stop - Execute when session stops
- Notification - Execute for notifications
Examples
Hook Configuration Example
Settings
What are Settings?
Settings are pre-configured Claude Code settings for permissions, models, telemetry, and behavior.Installation Location
Settings merge into:Categories
Permissions
Model Selection
Telemetry
Retention
Security
Statuslines
Statusline Settings
Statusline settings include Python scripts that are automatically downloaded:.claude/settings.json(statusline configuration).claude/scripts/context-monitor.py(Python script)
Settings Configuration Example
Skills
What are Skills?
Skills are specialized workflows and capabilities that extend Claude Code functionality.Examples
Installation Options
Target Directory
Install to a specific directory:Dry Run
Preview what would be installed without making changes:Silent Mode
Suppress installation output (used in batch operations):With Prompt Execution
Install components and execute a prompt:Component Discovery
Browse Components
Explore all available components:- Website: https://aitmpl.com/
- Components by category
- Search and filter functionality
- Installation copy-paste commands
Not Found Handling
If a component isnβt found, the CLI shows available options:Workflow Installation
Install from Workflow Hash
Install a pre-defined workflow:Install with YAML Workflow
Provide a base64-encoded YAML workflow:Troubleshooting
Component Not Found
- Verify component name spelling
- Check component exists at https://aitmpl.com/
- Try category/name format:
development-team/frontend-developer
Installation Failed
- Check network connectivity
- Verify target directory permissions
- Try with
--verboseflag for detailed output
Merge Conflicts
- MCPs: New servers added, conflicts overwrite existing
- Settings: Deep merge, new keys added, conflicts overwrite
- Hooks: Arrays merged, duplicates may occur
Permission Issues
Advanced Usage
Batch Installation Script
Create a setup script:Team Configuration
Share component configurations:Next Steps
- Create Global Agents - Build globally accessible agents
- List and Manage Agents - Manage installed agents
- CLI Flags Reference - Complete flags documentation
- Configuration Files - Settings and config files