Agentic Usage Analysis — Security skill for Claude Code
Skill + toolkit: audit how AI coding agents (Codex, Claude Code, OpenCode, OMP, ZCode.
How to install Agentic Usage Analysis
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open luckystrker/agentic-usage-analysis and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agentic Usage Analysis does
Skill + toolkit: audit how AI coding agents (Codex, Claude Code, OpenCode, OMP, ZCode, ...) worked on a repo — from their local session logs. Stats, digests, escaped-defects cross-check, report.md + report.html dashboard.
Alternatives in Security
- ThinkWatch — Self-hosted AI API and MCP gateway for organizations: SSO and RBAC, per-user identity for MCP tool calls, PII 817 ★
- OpenTag — Open-source, channel-native agent gateway for Slack 499 ★
- Memory Self Review — Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMOR 297 ★
README
agentic-usage-analysis
[](https://www.npmjs.com/package/agentic-usage-analysis) [](LICENSE) [](https://nodejs.org) [](https://www.python.org) [](#quick-start)
A skill (and standalone toolkit) that reconstructs **how AI coding agents actually worked on a repository** — from their local session logs. Built and battle-tested on a real month-long, four-tool game project.
npx agentic-usage-analysis
_Installs the skill into your agent's skills dir (ZCode, Claude Code, OpenCode, Codex, Cursor — auto-detected). Works standalone too._
What it does
Reconstructs per-tool session history and turns it into an evidence-backed audit:
- 8 tools supported: Codex CLI, Claude Code, OpenCode, OMP, ZCode have dedicated extractors; Qoder, Antigravity, Pi and other unknown layouts go through a best-effort generic extractor + storage inspection helpers.
- Quantitative: sessions per tool per day, tool-call profiles, error counts, retry loops (≥2 identical commands), token/cost totals, user-request classification (RU+EN defaults, per-project overrides).
- Qualitative: per-session digests for reading, subagent prompts for deep analysis, an escaped-defects cross-check against the repo's own validation history and git log.
- Two final reports:
report.md(full analysis) andreport.html— a standalone dashboard (KPIs, era timeline, charts) built byscripts/make_report_page.py, no JS dependencies. - Correctness care that matters: codex resumed threads are merged by real
session_id(not filenames), n
Related Skills
Headless Harness Bench
Benchmark of 6 coding-agent harnesses (omp/pi/fx/opencode/dsh/crush) as headless agent loops driven by a contr
Cost Audit
Per-project Claude Code cost from local transcripts (token usage x API list prices). Read-only; cross-platform
Node9 Proxy
The Execution Security Layer for the Agentic Era. Providing deterministic "Sudo" governance and audit logs for
Fenceline
Audit coding-agent session logs for boundary violations after the fact — forbidden commands, escapes outside a
Auditrail
The audit trail your coding agents already wrote, priced at list, ranked by what to fix, and scanned for leake
Reviewgate
Fail-closed independent review loop for Claude Code and Codex. Native hooks, six reviewer paths (Codex, Gemini
Related Agents
Token Tracker
Logs token usage estimates for each agent run to .claude/token-stats.json. Call this after any agent completes
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and
Developer Overview
code-container (container) creates isolated Docker environments for AI coding harnesses (Claude Code, OpenCode