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.
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, 54 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-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.
Recursive AGENTS.md generator with integrated Oracle critique, CLAUDE.md harmonization, incremental updates, diff previews, and smart monorepo scoping. Cross-AI compatible.
Token efficiency benchmarking, session analytics, and API-equivalent cost analysis for agent workflows
Tracks Claude Code session usage (tokens, costs, skills, MCP, subagents) and sends data to a self-hosted dashboard.
OTel + Hooks analytics for Claude Code. Run /init-claudalytics to configure telemetry and hooks capture for this project.
Meta-Cognition tool for Claude Code: session history analysis, workflow optimization, and 21 MCP tools for deep session insights.
Query your Claude Code history with SQL. Analyze conversations, commits, and productivity patterns.
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 plugin for engineering teams - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, MCP conventions, and operator workflows for Claude Code plus adjacent agent harnesses