From team-shinchan
Analyzes work tracker events for agent metrics, session stats, and delegation patterns. Generates reports on call counts, durations, success rates, and event distributions.
How this skill is triggered — by the user, by Claude, or both
Slash command
/team-shinchan:analyticsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Analyze work tracker events for observability insights.**
Analyze work tracker events for observability insights.
/team-shinchan:analytics # Current session summary
/team-shinchan:analytics --report full # Full analytics report
/team-shinchan:analytics --agent bo # Single agent detail
/team-shinchan:analytics --trace trace-xxx # Trace timeline
/team-shinchan:analytics --period 7d # Last 7 days only
| Arg | Default | Description |
|---|---|---|
--report full | (session) | Generate full analytics report |
--agent {name} | (all) | Detail for a single agent |
--trace {id} | (none) | Timeline for a specific trace ID |
--period {N}d | (all) | Filter events to the last N days |
--format table | json | Output as text table instead of JSON |
Use .shinchan-docs/work-tracker.jsonl as the data source.
If file does not exist:
No work tracker log found.
Events will be recorded automatically during Claude Code sessions.
Execute the analytics script via Bash:
node "${CLAUDE_PLUGIN_ROOT}/src/analytics.js" .shinchan-docs/work-tracker.jsonl [options]
Map user arguments to script flags:
--report full → no extra flags (full report is default)--agent <name> → --agent <name>--trace <id> → --trace <id>--period <N>d → --period <N>d--format table--format table or default: display the text table output directlyAfter displaying raw output, provide a brief interpretation:
| Metric | Description |
|---|---|
| Agent call count | How many times each agent was invoked |
| Avg duration | Average time from agent_start to agent_done |
| Success rate | Ratio of agent_done to agent_start |
| Session stats | Events, file changes, delegations per session |
| Event distribution | Percentage breakdown of event types |
| Delegation graph | Which agent delegated to which, with counts |
src/analytics.js (Node.js, built-in modules only).shinchan-docs/work-tracker.jsonltrace-init hookGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub seokan-jeong/team-shinchan --plugin team-shinchan