Dani 7cb214e083 feat: Add command usage tracking system to Neon Database
This update adds comprehensive tracking of CLI command executions
to understand community usage patterns of the npm package.

**What's New:**
- Command usage logging in Neon Database with PostgreSQL
- Tracks: --chats, --analytics, --health-check, --plugins, --sandbox, and more
- API endpoint: /api/track-command-usage with validation
- Comprehensive test suite (18/18 tests passing)
- Fire-and-forget tracking (non-blocking, respects privacy)
- Auto-aggregated statistics with PostgreSQL triggers
- Useful views: daily usage, platform distribution, popular commands

**Technical Details:**
- Database: Neon PostgreSQL (separate from Supabase component downloads)
- Endpoint: https://www.aitmpl.com/api/track-command-usage
- Privacy: Respects CCT_NO_TRACKING environment variable
- Metadata: Includes tunnel usage, platform, Node version, etc.

**Files Changed:**
- api/track-command-usage.js - New endpoint for command tracking
- database/migrations/002_create_command_usage_logs.sql - Database schema
- cli-tool/src/tracking-service.js - Added trackCommandExecution()
- cli-tool/src/index.js - Integrated tracking for 10+ commands
- api/__tests__/endpoints.test.js - Added comprehensive tests

🤖 Generated with Claude Code (https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-01 15:21:28 -04:00
2025-10-10 13:01:39 -04:00
2025-10-26 12:14:07 -04:00
2025-09-13 10:13:51 -04:00
2025-09-07 17:39:35 -04:00
2025-09-13 10:13:51 -04:00
2025-10-30 14:35:59 -04:00
2025-08-04 18:49:19 -04:00

npm version npm downloads License: MIT PRs Welcome GitHub stars

davila7%2Fclaude-code-templates | Trendshift

Claude Code Templates (aitmpl.com)

Ready-to-use configurations for Anthropic's Claude Code. A comprehensive collection of AI agents, custom commands, settings, hooks, external integrations (MCPs), and project templates to enhance your development workflow.

Browse & Install Components and Templates

Browse All Templates - Interactive web interface to explore and install 100+ agents, commands, settings, hooks, and MCPs.

Screenshot 2025-08-19 at 08 09 24

🚀 Quick Installation

# Install a complete development stack
npx claude-code-templates@latest --agent development-team/frontend-developer --command testing/generate-tests --mcp development/github-integration --yes

# Browse and install interactively
npx claude-code-templates@latest

# Install specific components
npx claude-code-templates@latest --agent development-tools/code-reviewer --yes
npx claude-code-templates@latest --command performance/optimize-bundle --yes
npx claude-code-templates@latest --setting performance/mcp-timeouts --yes
npx claude-code-templates@latest --hook git/pre-commit-validation --yes
npx claude-code-templates@latest --mcp database/postgresql-integration --yes

What You Get

Component Description Examples
🤖 Agents AI specialists for specific domains Security auditor, React performance optimizer, database architect
⚡ Commands Custom slash commands /generate-tests, /optimize-bundle, /check-security
🔌 MCPs External service integrations GitHub, PostgreSQL, Stripe, AWS, OpenAI
⚙️ Settings Claude Code configurations Timeouts, memory settings, output styles
🪝 Hooks Automation triggers Pre-commit validation, post-completion actions
🎨 Skills Reusable capabilities with progressive disclosure PDF processing, Excel automation, custom workflows

🛠️ Additional Tools

Beyond the template catalog, Claude Code Templates includes powerful development tools:

📊 Claude Code Analytics

Monitor your AI-powered development sessions in real-time with live state detection and performance metrics.

npx claude-code-templates@latest --analytics

💬 Conversation Monitor

Mobile-optimized interface to view Claude responses in real-time with secure remote access.

# Local access
npx claude-code-templates@latest --chats

# Secure remote access via Cloudflare Tunnel
npx claude-code-templates@latest --chats --tunnel

🔍 Health Check

Comprehensive diagnostics to ensure your Claude Code installation is optimized.

npx claude-code-templates@latest --health-check

🔌 Plugin Dashboard

View marketplaces, installed plugins, and manage permissions from a unified interface.

npx claude-code-templates@latest --plugins

📖 Documentation

📚 docs.aitmpl.com - Complete guides, examples, and API reference for all components and tools.

Contributing

We welcome contributions! Browse existing templates to see what's available, then check our contributing guidelines to add your own agents, commands, MCPs, settings, or hooks.

Please read our Code of Conduct before contributing.

Attribution

This collection includes components from multiple sources:

Agents Collection:

  • wshobson/agents Collection by wshobson - Licensed under MIT License (48 agents)

Commands Collection:

  • awesome-claude-code Commands by hesreallyhim - Licensed under CC0 1.0 Universal (21 commands)

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

Stargazers over time

Stargazers over time


⭐ Found this useful? Give us a star to support the project!

Buy Me A Coffee

S
Description
senior-data-scientist: World-class data science skill for statistical modeling, experimentation, causal inference, and advanced analytics. Expertise in Python (NumPy, Pandas,…; senior-backend: Comprehensive backend development skill for building scalable backend systems using NodeJS, Express, Go, Python, Postgres, GraphQL, REST APIs. Includes API…; excel-analysis: Analyze Excel spreadsheets, create pivot tables, generate charts, and perform data analysis. Use when analyzing Excel files, spreads…
Readme MIT 256 MiB
Languages
Python 44.1%
HTML 13.7%
JavaScript 12.6%
TypeScript 9.5%
TeX 7.7%
Other 12%