Skip to main content

CLI Tool Overview

The Claude Code Templates CLI is a powerful tool for managing Claude Code configurations, components, and development workflows. Install and configure agents, commands, MCP servers, hooks, and settings for your projects.

Installation

Install globally via npm:
Or use directly with npx (no installation required):

Command Aliases

The CLI supports multiple command aliases for convenience:
All aliases provide identical functionality.

Quick Start

Interactive Setup

Launch the interactive menu to explore all features:
The menu provides access to:
  • Analytics Dashboard - Monitor Claude Code usage and sessions
  • Chats Mobile - AI-first mobile interface for conversations
  • Agents Dashboard - View and analyze Claude conversations
  • Project Setup - Configure Claude Code for your project
  • Health Check - Verify your Claude Code setup

Project Configuration

Setup Claude Code for your project with automatic detection:
Or run interactive prompts:

Component Installation

Install specific components:

Batch Installation

Install multiple components at once:

Core Features

Analytics & Monitoring

Real-time analytics dashboard for Claude Code usage:

Global Agents

Create globally accessible AI agents:
Once created, use global agents from anywhere:

Health Check

Verify your Claude Code setup:
Checks:
  • System requirements (Node.js, OS, memory)
  • Claude Code installation and authentication
  • Project configuration files
  • Agents, commands, and MCP servers
  • Hook configurations

Statistics & Analysis

Analyze your Claude Code usage:

Sandbox Execution

Run Claude Code in isolated sandbox environments:

Session Management

Clone and share Claude Code sessions:

Component Types

The CLI manages six types of components:

Agents (400+)

AI specialists for specific development tasks:
  • Frontend developers (React, Vue, Angular)
  • Backend developers (Node.js, Python, Go)
  • Security auditors
  • DevOps engineers
  • Documentation writers

Commands (225+)

Custom slash commands for workflows:
  • Code review commands
  • Testing setup
  • Deployment automation
  • Documentation generation

MCP Servers (65+)

External service integrations:
  • Web fetch
  • Database connections (MySQL, PostgreSQL)
  • GitHub integration
  • Memory management
  • File system access

Settings (60+)

Claude Code configuration presets:
  • Permissions management
  • Model selection (Sonnet, Haiku)
  • Telemetry controls
  • Retention policies
  • Statuslines

Hooks (39+)

Automation triggers:
  • Pre-tool use hooks
  • Post-tool use hooks
  • Notification hooks
  • Git automation
  • Testing automation

Skills

Specialized workflows and capabilities:
  • Web development tools
  • Document processing
  • Creative design
  • Data analysis

Configuration Files

The CLI creates and manages these files:

Environment Variables

Optional environment variables for enhanced functionality:

Templates

Pre-configured templates for popular frameworks:
  • Common - Universal configuration for any project
  • JavaScript/TypeScript - Node.js, React, Vue, Next.js
  • Python - Django, Flask, FastAPI
  • Ruby - Rails, Sinatra
  • Go - Standard library, Gin, Echo
  • Rust - Cargo projects

Dashboards

The CLI includes multiple web-based dashboards:

Analytics Dashboard

Features:
  • Real-time conversation tracking
  • Token usage monitoring
  • Session analysis
  • Agent performance metrics
  • Activity heatmaps

Chats Mobile

Mobile-optimized interface for:
  • Conversation browsing
  • Quick access to recent chats
  • Search and filtering

Plugin Dashboard

Manage:
  • Marketplace browsing
  • Installed plugins
  • Permission management

Skills Dashboard

Explore and manage Claude Code Skills.

Teams Dashboard

Review multi-agent collaboration sessions.

Remote Access

Enable remote access to dashboards via Cloudflare Tunnel:
Generates a public URL for accessing dashboards from any device.

Workflow Examples

New Project Setup

Security-Focused Setup

Full-Stack Development

Documentation Project

Tips & Best Practices

  1. Start with Health Check: Run cct --health before setup
  2. Use Dry Run: Test configurations with --dry-run
  3. Leverage Analytics: Monitor usage with cct --analytics
  4. Create Global Agents: Build reusable agents with --create-agent
  5. Batch Install: Install multiple components in one command
  6. Version Consistency: Use @latest with npx for latest features

Getting Help

View help for any command:
Explore components at:

Next Steps