By mistakeknot
Tool usage analytics for Claude Code. Tracks tool patterns via hooks, detects inefficiencies, and offers community comparison with anonymized data.
Tool usage analytics for Claude Code, Codex CLI, and OpenClaw.
Hooks capture every tool call in your Claude Code sessions. Transcript parsers extract tool usage from Codex CLI and OpenClaw sessions. A Python script aggregates 7 days of stats. An AI agent reads those stats, spots patterns (high error rates, edit-without-read, Bash overuse), checks your CLAUDE.md for gaps, and proposes concrete fixes.
Optionally, share anonymized stats to a community dashboard at tool-time.org and compare your patterns against other users.
First, add the interagency marketplace (one-time setup):
/plugin marketplace add mistakeknot/interagency-marketplace
Then install the plugin:
/plugin install tool-time
/tool-time
The agent regenerates your stats, analyzes tool usage patterns for the current project, flags issues, reads your CLAUDE.md/AGENTS.md, and proposes specific edits. It also recommends relevant skills from playbooks.com based on your project language.
hooks (PreToolUse, PostToolUse, SessionStart, SessionEnd)
│
▼
~/.claude/tool-time/events.jsonl ← one JSONL line per event
│
▼
summarize.py ← pure data aggregation (7-day window, per-project)
│
▼
~/.claude/tool-time/stats.json ← calls, errors, rejections per tool
│
├──▶ skill (agent analysis) ← reads stats + CLAUDE.md, proposes fixes
│
└──▶ upload.py (opt-in) ← anonymized submission to community API
│
▼
Cloudflare Worker + D1 ← community dashboard
summarize.py is pure data preparation: no opinions, no thresholds. The agent does the analysis. This split keeps the data pipeline honest and the recommendations adaptable.
Enable in ~/.claude/tool-time/config.json:
{ "community_sharing": true }
What's shared (strict allow-list): submission token (random hex, not your identity), timestamp (truncated to hour), per-tool call/error/rejection counts, model name, skill usage, MCP server usage, installed plugins.
What's NOT shared: file paths, project names, error messages, skill arguments.
GDPR deletion: /tool-time delete my data: looks up your token, confirms, deletes all server-side data, offers to disable future uploads.
Codex CLI doesn't support hooks, so backfill.py parses historical session transcripts from ~/.codex/sessions/. OpenClaw transcripts are parsed from ~/.openclaw/agents/, ~/.moltbot/agents/, and ~/.clawdbot/agents/ (the app was rebranded multiple times; sessions are deduplicated across directories).
uv run --with pytest pytest test_summarize.py test_upload.py -v
python3 summarize.py # Refresh stats manually
python3 backfill.py # Parse historical transcripts
cd community && npm run dev # Worker dev server
cd community && npm run deploy # Deploy worker
Dashboard live at tool-time.org. API at tool-time-api.mistakeknot.workers.dev.
MIT
Matches all tools
Hooks run on every tool call, not just specific ones
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub mistakeknot/interagency-marketplace --plugin tool-time[DEPRECATED — use intervoice] Analyze your writing style and adapt Claude's output to sound like you. Replaced by intervoice, which reads one global multi-register profile instead of per-project glob-routed files.
Recursive AGENTS.md generator with integrated Oracle critique, CLAUDE.md harmonization, incremental updates, diff previews, and smart monorepo scoping. Cross-AI compatible.
Token-efficient code reconnaissance for LLMs. Autonomous skills save 48-85% tokens via diff-context, semantic search, structural patterns, and symbol analysis. Includes MCP server for direct tool integration.
Self-improving agent rig: codifies product and engineering discipline into composable workflows from brainstorm to ship. Compounds knowledge, generates domain agents, monitors its own docs, and surfaces conservative update drift. Orchestrates Claude, Codex, and Oracle through 6 agents, 52 commands, 19 skills, 0 MCP servers. Factory substrate: CXDB turn DAG, scenario bank with satisfaction scoring, evidence pipeline, agent capability policies. Companions: interspect, interphase, interline, interflux, interpath, interwatch, interslack, interform, intercraft, interdev, interpeer, intertest.
Token efficiency benchmarking, session analytics, and API-equivalent cost analysis for agent workflows
A growing collection of Claude-compatible academic workflow bundles. Covers scientific figures, manuscript writing and polishing, reviewer assessment, citation retrieval, data availability, paper reading, literature search, response letters, paper-to-PPTX conversion, and evidence-grounded Chinese invention patent drafting. Rules are organized as reusable skill folders with explicit workflows and quality checks.
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Comprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
Comprehensive feature development workflow with specialized agents for codebase exploration, architecture design, and quality review
Real-time statusline HUD for Claude Code - context health, tool activity, agent tracking, and todo progress