# claude-code-templates

> Catalog and installer for Claude Code agents, commands, hooks, MCPs and settings

- Repository: https://github.com/davila7/claude-code-templates
- Category: Agent skills & plugins
- Stars: 32,841 · Forks: 3,778 · Language: Python · License: MIT
- Experience: Beginner friendly
- Page: https://ir.adyog.com/repos/davila7/claude-code-templates/

Claude Code can be extended with agents, slash commands, hooks, MCP servers and skills, but you have to find or write each one yourself. This project gathers a large collection in one place. You install pieces by name from the command line, or browse them at aitmpl.com.

You run npx claude-code-templates with flags such as --agent, --command, --hook, --mcp, --setting or --skill, and it adds the chosen component to your Claude Code setup. With no flags it opens an interactive browser. Many components come from other open-source collections, which the README credits and says keep their original licenses.

Beyond the catalog there are helper tools: an analytics view of your sessions, a mobile-friendly chat monitor with optional Cloudflare Tunnel access, a health check for your installation, and a plugin dashboard.

## What it does

- **One-command installs**: Pick agents, commands, hooks, MCPs, settings or skills by name and install them together with one npx command. The --yes flag skips prompts.
- **Browsable catalog**: The aitmpl.com site lets you explore and install 100+ components in a web interface. Running the CLI with no flags gives an interactive picker.
- **Session analytics**: The --analytics flag shows your Claude Code sessions in real time, with state detection and performance metrics.
- **Conversation monitor**: The --chats flag serves a mobile-friendly view of Claude's responses. Adding --tunnel gives remote access through a Cloudflare Tunnel.
- **Health check and plugin dashboard**: --health-check runs diagnostics on your Claude Code installation. --plugins shows marketplaces, installed plugins and permissions in one place.

## What you could build

- Install a code-reviewer agent and a test-generation command into a project in one step.
- Add a GitHub or PostgreSQL MCP integration to Claude Code without writing the config by hand.
- Set up a pre-commit validation hook that runs as part of your Claude Code workflow.
- Watch a running Claude Code session from your phone with the chat monitor.
- Check whether your Claude Code installation is set up properly with the health check.

## Who it's for

Suits people who already use Claude Code and want ready-made add-ons; you need Node.js for npx and a basic idea of what agents, hooks and MCPs are.

## Get started

Run the installer with no flags to browse interactively, or name the components you want with flags like --agent or --command. Browse the full list at aitmpl.com first if you want to see what exists.

```
npx claude-code-templates@latest
```
```
npx claude-code-templates@latest --agent development-tools/code-reviewer --yes
```
```
npx claude-code-templates@latest --analytics
```

Tags: claude-code, agents, mcp, hooks, cli
