Skip to main content

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):
Install different component types together:

Component Naming Formats

Components support two naming formats:

Direct Name

Category/Name Format

Both formats install to the same flat directory structure.

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

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:
  1. Existing .mcp.json is preserved
  2. New servers are added to mcpServers object
  3. Conflicting server names are overwritten
  4. Description fields are automatically removed

MCP Configuration Example

After installing web-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:
This installs:
  • .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

  1. Verify component name spelling
  2. Check component exists at https://aitmpl.com/
  3. Try category/name format: development-team/frontend-developer

Installation Failed

  1. Check network connectivity
  2. Verify target directory permissions
  3. Try with --verbose flag 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