Skills for Real Engineers. Straight from my .agents directory.
productivity-score
Agent skill fromhoangsonww/Claude-Code-Agent-Monitor
Calculate a productivity score using actual Agent Monitor metrics — session completion rates, cache efficiency (cache_read vs input), compaction pressure (baseline tokens), turn velocity (turn_count / total_turn_duration_ms), tool success ratio (PreToolUse vs PostToolUse), and the workflow intelligence API's complexity and effectiveness scores.
How to install productivity-score
npx skills add hoangsonww/Claude-Code-Agent-Monitor# or add only this skill to Claude Code: copy the folder
plugins/ccam-analytics/skills/productivity-score/
# into
~/.claude/skills/productivity-score/ (all projects)
.claude/skills/productivity-score/ (one project)
1# Productivity Score23Calculate a productivity scorecard from the Agent Monitor's real data.45## Input67The user provides: **$ARGUMENTS**89Options: "today", "this week", "last 30 days", a session ID, or "compare" for period comparison.1011## Data Sources1213| Endpoint | Returns |14|----------|---------|15| `GET /api/analytics` | Token totals (`total_input`, `total_output`, `total_cache_read`, `total_cache_write` — baselines pre-summed), tool_usage top 20, daily_events/sessions, event_types, sessions_by_status, agents_by_status, avg_events_per_session, total_subagents |16| `GET /api/sessions?limit=100` | Sessions with metadata JSON: `thinking_blocks`, `turn_count`, `total_turn_duration_ms`, `usage_extras` (service_tier, speed, inference_geo) |17| `GET /api/pricing/cost` | Total cost with per-model breakdown |18| `GET /api/workflows/{sessionId}` | 11 workflow datasets: stats, orchestration, toolFlow, effectiveness, patterns, modelDelegation, errorPropagation, concurrency, complexity, compaction, cooccurrence |1920## Score Components (each 0–100)2122### 1. Completion Rate (20% weight)23From `sessions_by_status`:24- `completed / (completed + error + abandoned) × 100`25- Bonus for high completed-to-active ratio26- Penalty for abandoned sessions (wasted work)2728### 2. Token Efficiency (20% weight)29From analytics `tokens` (baselines are pre-summed into totals):30- **Cache hit rate**: `total_cache_read / (total_cache_read + total_input) × 100`31 - Above 60% = excellent, below 30% = poor32…
Excerpt shown under the repository's MIT license.
More skills in Claude-Code-Agent-Monitor
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
