mirror of
https://github.com/davila7/claude-code-templates.git
synced 2026-09-19 01:30:23 +08:00
a176679fad
🌍 Major new feature: Global AI Agents powered by Claude Code SDK ## New Features - **Global Agent Creation**: `--create-agent <agent-name>` - **Agent Management**: `--list-agents`, `--update-agent`, `--remove-agent` - **Zero Configuration**: Agents install to /usr/local/bin (immediately available) - **Auto Context Detection**: Smart project type detection and file context - **Universal Access**: Works from any directory, in scripts, CI/CD, npm tasks ## Technical Implementation - New global-agent-manager.js module with complete agent lifecycle - Automatic PATH management across shell environments - Executable script generation with Claude Code SDK integration - Real-time loading indicators during AI processing - Robust error handling and fallback mechanisms ## Frontend Integration - Enhanced agent modals with Global Agent installation options - New CSS styles for global agent sections - Copy-to-clipboard functionality for all commands - Usage examples and feature highlights ## User Experience Before: Traditional project-based agent installation After: `cct --create-agent security-auditor` → `security-auditor "prompt"` (anywhere) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
5.6 KiB
5.6 KiB
Claude Code Templates
CLI tool for configuring and monitoring Claude Code - Quick setup for any project with framework-specific commands and real-time monitoring dashboard.
🚀 Quick Start
# Interactive setup (recommended)
npx claude-code-templates@latest
# Real-time analytics dashboard
npx claude-code-templates@latest --analytics
# System health check
npx claude-code-templates@latest --health-check
✨ Core Features
- 📋 Smart Project Setup - Auto-detect and configure any project with framework-specific commands
- 📊 Real-time Analytics - Monitor Claude Code sessions with live state detection and performance metrics
- 🔍 Health Check - Comprehensive system validation with actionable recommendations
- 🧩 Individual Components - Install specialized agents, commands, and MCPs individually
- 🌍 Global Agents - Create AI agents accessible from anywhere using Claude Code SDK
🎯 What You Get
| Component | Description | Example |
|---|---|---|
| CLAUDE.md | Project-specific Claude Code configuration | Framework best practices, coding standards |
| Commands | Custom slash commands for development tasks | /generate-tests, /check-file, /optimize-bundle |
| Agents | AI specialists for specific domains | API security audit, React performance, database optimization |
| MCPs | External service integrations | GitHub, databases, development tools |
| Analytics | Real-time monitoring dashboard | Live session tracking, usage statistics, exports |
🛠️ Supported Technologies
| Language | Frameworks | Status |
|---|---|---|
| JavaScript/TypeScript | React, Vue, Angular, Node.js | ✅ Ready |
| Python | Django, Flask, FastAPI | ✅ Ready |
| Common | Universal configurations | ✅ Ready |
| Go | Gin, Echo, Fiber | 🚧 Coming Soon |
| Rust | Axum, Warp, Actix | 🚧 Coming Soon |
🌍 Global Agents (Claude Code SDK Integration)
Create AI agents that can be executed from anywhere using the Claude Code SDK:
# Create a global agent (one-time setup)
npx claude-code-templates@latest --create-agent customer-support
# Use the agent from anywhere
customer-support "Help me with ticket #12345"
sre-logs "Analyze error patterns in app.log"
code-reviewer "Review this PR for security issues"
Available Global Agents
| Agent | Usage | Description |
|---|---|---|
customer-support |
customer-support "query" |
AI customer support specialist |
api-security-audit |
api-security-audit "analyze endpoints" |
Security auditing for APIs |
react-performance-optimization |
react-performance-optimization "optimize components" |
React performance expert |
database-optimization |
database-optimization "improve queries" |
Database performance tuning |
Global Agent Management
# List installed global agents
npx claude-code-templates@latest --list-agents
# Update an agent to latest version
npx claude-code-templates@latest --update-agent customer-support
# Remove an agent
npx claude-code-templates@latest --remove-agent customer-support
How It Works
- Download Agent: Fetches the latest agent from GitHub
- Generate Executable: Creates a Node.js script that calls Claude Code SDK
- Add to PATH: Makes the agent available globally in your shell
- Ready to Use: Execute
agent-name "your prompt"from any directory
The agents use the Claude Code SDK internally to provide specialized AI assistance with domain-specific knowledge and best practices.
📖 Documentation
📚 Complete Documentation - Comprehensive guides, examples, and API reference
Quick links:
- Getting Started - Installation and first steps
- Project Setup - Configure your projects
- Analytics Dashboard - Real-time monitoring
- Individual Components - Agents, Commands, MCPs
- CLI Options - All available commands
🤝 Contributing
We welcome contributions! Browse available templates and components at aitmpl.com, then check our contributing guidelines.
📄 License
MIT License - see the LICENSE file for details.
🔗 Links
- 🌐 Browse Components: aitmpl.com
- 📚 Documentation: docs.aitmpl.com
- 🐛 Issues: GitHub Issues
- 💬 Discussions: GitHub Discussions
⭐ Found this useful? Give us a star to support the project!