一键导入
stats-tracker
Track Claude Code usage statistics and skill effectiveness for CircleTel. Monitor productivity, model usage, streaks, and skill performance metrics.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Track Claude Code usage statistics and skill effectiveness for CircleTel. Monitor productivity, model usage, streaks, and skill performance metrics.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate and edit images using OpenAI's gpt-image models (gpt-image-1 / gpt-image-2). Use as an alternative to the Gemini (Nano Banana) image path when the user asks for OpenAI image generation, or when comparing providers for a hero/product/social asset. Covers text-to-image, image editing, transparent backgrounds, and CircleTel brand context.
Generate images cost-effectively via OpenRouter (Seedream 4.5, FLUX.2, Recraft V4, etc.) as a cheaper alternative to OpenAI gpt-image. Use when the user wants low-cost image generation, a specific OpenRouter image model, or quality comparable to gpt-image-2 at a fraction of the price. Requires OPENROUTER_API_KEY in .env.local.
Agentic product management system for CircleTel - browse suppliers, analyze market fit, generate documentation, and track lifecycle
Capture insights and corrections to make future work easier. Implements RSI (Recursive Self-Improvement) through automated correction detection and pattern extraction.
Generate Nano Banana Pro (Gemini image gen) prompts for CircleTel campaign-specific visuals — launch banners, campaign hero images, event graphics, and B2B outreach assets. Use for any named campaign (TrUSC, coverage push, product launch, seasonal promo).
Generate Nano Banana Pro (Gemini image gen) prompts for CircleTel package comparison infographics and Bento grid visuals — pricing pages, package feature cards, service tier comparisons. Use when building pricing sections, product comparison pages, or any structured feature-list visual.
| name | stats-tracker |
| description | Track Claude Code usage statistics and skill effectiveness for CircleTel. Monitor productivity, model usage, streaks, and skill performance metrics. |
| version | 2.0.0 |
| dependencies | error-registry, compound-learnings |
Skill for tracking Claude Code usage statistics AND skill effectiveness (RSI metrics).
This skill activates when you:
Keywords: stats, usage, analytics, productivity, streak, model usage, tokens, sessions, cost, skill effectiveness, skill metrics
| Command | Description |
|---|---|
/stats | View usage stats, streak, favorite model |
/stats skills | View skill effectiveness dashboard |
/stats skills [name] | Deep-dive on specific skill |
/stats verification | NEW: View pass@k metrics by verification type |
/stats verification log | NEW: Log a verification session result |
/usage | View token usage and limits |
/context | View current context usage |
/cost | View session cost breakdown |
/stats
📊 Your Claude Code Stats
────────────────────────────
🏆 Favorite Model: Sonnet 4 (78% of sessions)
🔥 Current Streak: 12 days
📈 This Week: 847K tokens across 23 sessions
📉 Usage Graph: [▁▃▅▇█▆▄▂] (last 7 days)
| Metric | Description |
|---|---|
| Favorite Model | Most frequently used model |
| Current Streak | Consecutive days using Claude Code |
| This Week | Total tokens and sessions |
| Usage Graph | Visual of daily usage pattern |
/usage
📊 Usage This Period
────────────────────────────
Sonnet: ████████░░ 78%
Opus: ██░░░░░░░░ 15%
Haiku: █░░░░░░░░░ 7%
Resets: Monday 00:00 UTC
Choose the right model for the task:
| Task Type | Model | Why |
|---|---|---|
| General coding | Sonnet | Best balance of speed/quality |
| Complex architecture | Opus | Deep reasoning, long context |
| Quick fixes | Haiku | Fast, efficient |
| Code exploration | Haiku (Explore) | Optimized for search |
| Documentation | Sonnet | Good writing quality |
| Bug investigation | Sonnet/Opus | Depends on complexity |
| Model | Relative Cost | Best For |
|---|---|---|
| Haiku | $ | Quick tasks, exploration |
| Sonnet | $$ | Most development work |
| Opus | $$$ | Complex problems |
1. /stats # Check streak, plan day
2. /usage # Check remaining budget
3. /rename feature-x # Name today's session
4. Start coding # Use appropriate model
# After complex task
/context # Check context usage
# When switching tasks
/stats # Quick progress check
/stats # Review productivity
/usage # Check usage remaining
/cost # See session cost
# Good: Specific query
"Fix the null check on line 45 of auth.ts"
# Bad: Vague query (uses more context/tokens)
"Help me with the auth system"
Use named sessions to track usage per feature:
# Start feature work
/rename billing-feature
# Work on feature...
# Check stats
/stats # See usage for this session
# Compare features
"How many tokens did billing vs auth use?"
Every Friday:
1. /stats # Review week's usage
2. /usage # Check budget status
3. Note completions # What features finished?
4. Plan next week # Allocate model usage
Week Goals:
- [ ] Maintain 5-day streak
- [ ] Complete 3 features
- [ ] Use Opus only for architecture decisions
- [ ] Try Explore agent for research tasks
- [ ] Stay under 80% usage
# Track stats per named session
/rename billing-feature
[work on feature]
/stats
# See usage specific to this session
# Monitor both context and usage
/context # Current context budget
/stats # Overall usage patterns
# Background tasks don't inflate usage
"Run build in background"
# Build output doesn't use tokens
Challenge: Complete task with Haiku
1. Try Haiku first for any task
2. Escalate to Sonnet only if needed
3. Use Opus sparingly for max impact
# Install
npm install -g ccusage
# View usage
ccusage
# Daily breakdown
ccusage --daily
# Monthly view
ccusage --monthly
Real-time terminal monitoring with:
Start: /rename feature-customer-billing
/stats # Baseline
Middle: [coding work]
/context # Check context
End: /stats # Compare to baseline
/cost # Session cost
/rename BUG-1234-fix
/stats # Note starting point
[investigation and fix]
/stats # See investigation cost
# Typically: Sonnet for analysis, quick fixes
/rename architecture-review
# Use Opus for deep thinking
"Think about the best approach for..."
/stats # Higher usage expected
/cost # Worth it for good architecture
NEW in v2.0: Track which skills perform best and feed insights back for improvement.
/stats skills/stats skills
═══════════════════════════════════════════════════════════════
SKILL EFFECTIVENESS DASHBOARD - February 2026
═══════════════════════════════════════════════════════════════
MOST EFFECTIVE (by success rate) │ NEEDS IMPROVEMENT
──────────────────────────────────────┼────────────────────────────
1. database-migration 95% ✓ │ 1. coverage-check 70% ⚠
2. bug-fixing 89% ✓ │ 2. refactor 75% ⚠
3. compound-learnings 87% ✓ │
│
MOST USED (activations) │ UNDERUTILIZED
──────────────────────────────────────┼────────────────────────────
1. bug-fixing 47 times │ 1. mobile-testing 2 times
2. context-manager 35 times │ 2. deployment-check 3 times
3. stats-tracker 28 times │
INSIGHT: bug-fixing success rate improved 12% after adding
error-registry integration last week.
RECOMMENDATION: Consider promoting mobile-testing skill
(high success rate, low activation).
═══════════════════════════════════════════════════════════════
| Metric | Description | How Measured |
|---|---|---|
| Activation Count | Times skill triggered | Keyword detection |
| Success Rate | Completed without correction | No follow-up corrections |
| Resolution Time | From activation to completion | Session timestamps |
| Correction Rate | How often skill was corrected | Links to compound-learnings |
| Pattern Contribution | New patterns generated | Links to learnings/ |
/stats skills [name]/stats skills bug-fixing
═══════════════════════════════════════════════════════════════
SKILL DEEP-DIVE: bug-fixing
═══════════════════════════════════════════════════════════════
Version: 1.1.0
Dependencies: error-registry
METRICS (February 2026)
────────────────────────────────────────────────────────────────
Activations: 47
Success Rate: 89%
Avg Resolution: 23 min
Corrections: 7 (15%)
Patterns Created: 3
PHASE BREAKDOWN
────────────────────────────────────────────────────────────────
Phase 0 (Registry): Avg 2min │ Skip rate: 20%
Phase 1 (Understand): Avg 5min │ Skip rate: 10%
Phase 2 (Investigate): Avg 10min │ Skip rate: 5%
Phase 3 (Fix): Avg 5min │ Success: 95%
Phase 4 (Validate): Avg 3min │ Skip rate: 30%
TREND
────────────────────────────────────────────────────────────────
Success rate: ↑ 12% since error-registry integration
Registry hits: 40% of bugs found in known patterns
RECENT CORRECTIONS (to improve)
────────────────────────────────────────────────────────────────
- 2026-02-10: Missed RLS policy check
- 2026-02-08: Used wrong column name
═══════════════════════════════════════════════════════════════
Skill metrics are stored in:
.claude/skills/stats-tracker/
├── metrics.json # Current period metrics
├── verification-metrics.json # Pass@k verification metrics
└── reports/
└── weekly-YYYY-WW.md # Weekly reports
Track how many verification attempts are needed before success.
/stats verification/stats verification
═══════════════════════════════════════════════════════════════
VERIFICATION METRICS - March 2026
═══════════════════════════════════════════════════════════════
FIRST-ATTEMPT SUCCESS (pass@1)
────────────────────────────────────────────────────────────────
Type-check: ████████░░ 84% (target: 90%)
Build: ███████░░░ 78% (target: 85%)
Unit tests: ██████░░░░ 72% (target: 75%) ✓
E2E: █████░░░░░ 58% (target: 60%)
Lint: █████████░ 96% (target: 95%) ✓
TREND (pass@1 rate, last 4 weeks)
────────────────────────────────────────────────────────────────
Week 10: ▃ 78%
Week 11: ▅ 82%
Week 12: ▇ 85% ↑
COMMON FIX CATEGORIES
────────────────────────────────────────────────────────────────
1. Code changes: 62%
2. Config tweaks: 18%
3. Missing imports: 12%
4. Test adjustments: 8%
INSIGHT: Type-check pass@1 improved 7% after adding
type-guards-optionals.md rule.
═══════════════════════════════════════════════════════════════
| Metric | Meaning | Target |
|---|---|---|
| pass@1 | Passed on first attempt | > 80% |
| pass@3 | Passed within 3 attempts | > 95% |
| pass@5 | Passed within 5 attempts | 100% |
| fail@5+ | Needed 5+ attempts | < 2% |
| Verification Type | pass@1 Target | Rationale |
|---|---|---|
| type-check | 90% | Type errors are predictable |
| build | 85% | Env/import issues common |
| unit-test | 75% | Logic bugs take iteration |
| e2e | 60% | Integration complexity |
| lint | 95% | Mostly auto-fixable |
| manual | 80% | Subjective criteria |
After completing verification, log the result:
/stats verification log type-check 2 code
# Logs: type-check verification, passed on attempt 2, fix was code-related
Format: /stats verification log <type> <attempts> <fix_category>
| Category | Examples |
|---|---|
code | Wrong type, missing property, logic error |
config | tsconfig, package.json, env vars |
dependency | Missing import, version mismatch |
test | Test assertion wrong, fixture issue |
Low pass@1 rates trigger investigation:
pass@1 < target
│
▼
Analyze fix_categories
│
▼
Common pattern? ───► Create compound-learning
│
▼
Extract rule ────────► Add to .claude/rules/
│
▼
pass@1 rate improves
Add to your Friday review:
/stats verification — Check pass@1 ratesEvery Monday, generate a skill effectiveness report:
# Skill Effectiveness Report - Week 7, 2026
## Summary
- Total skill activations: 142
- Average success rate: 85%
- Most improved: bug-fixing (+12%)
- Needs attention: coverage-check (70%)
## RSI Loop Impact
- Error registry hits: 40% (saving ~10min per known bug)
- Corrections captured: 5
- Rules extracted: 2
- Patterns created: 3
## Recommendations
1. Add more MTN API patterns to error-registry
2. Update coverage-check with fallback providers
3. Promote mobile-testing (underutilized, high success)
┌─────────────────────────────────────────────────────────────────┐
│ RSI METRICS FLOW │
├─────────────────────────────────────────────────────────────────┤
│ │
│ SKILL ACTIVATION ──► TRACK METRICS ──► WEEKLY ANALYSIS │
│ │ │ │
│ │ ▼ │
│ │ GENERATE INSIGHTS │
│ │ │ │
│ │ ┌───────────────────────┴───────┐ │
│ │ │ │ │
│ ▼ ▼ ▼ │
│ CORRECTION? ──► compound-learnings SKILL UPDATE │
│ │ │ │
│ ▼ │ │
│ error-registry ◄───────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────┘
/stats/stats skills weekly for improvement opportunities# Check current session specifically
/cost
# Check usage for period
/usage
/stats countsVersion: 2.0.0 Last Updated: 2026-02-12 For: Claude Code v2.0.64+ RSI Integration: error-registry, compound-learnings