Hooklens — Development skill for Claude Code
See what your coding agents do: tool calls, commands, files, and tokens from Claude Code, Codex, and Cursor.
How to install Hooklens
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Kunal-5402/hooklens and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Hooklens does
See what your coding agents do: tool calls, commands, files, and tokens from Claude Code, Codex, and Cursor. Local-first.
Alternatives in Development
- Ccusage — CLI for analyzing Claude Code/Codex usage from local JSONL files 11.8k ★
- Code Review Graph — Local knowledge graph for Claude Code 3.7k ★
- Opik Openclaw — 🦞 Official plugin for OpenClaw that exports agent traces to Opik 725 ★
README
hooklens
**See what your coding agent actually did.**
Every tool call, shell command, file change, MCP call, and token, from Claude Code, Codex, and Cursor. On a timeline and a graph, on your machine.
[](https://github.com/Kunal-5402/hooklens/actions/workflows/ci.yml) [](https://pypi.org/project/hooklens/) [](pyproject.toml) [](LICENSE)

Why hooklens
Coding agents run commands, edit files, and call tools faster than you can read the transcript. hooklens records what happened through the agents' own hooks, so you can answer questions like:
- Which files did the agent change, and which did it only read?
- What shell commands ran, and which ones failed?
- Which MCP servers and tools did it use?
- Where did the time go, and how many tokens did the session cost?
It is a single Python package with **no dependencies**. Data stays in a local SQLite file, and the UI is a local web page. **Nothing leaves your machine.**
Features
- Timeline of every tool call, with duration and status. Long idle gaps are compressed.
- Graph of the session: tools, programs, files, MCP servers, and how often each was used.
- Event log with the input and a response excerpt of every call.
- Summary of files changed, files read, commands, and MCP servers.
- Tokens and model from the agent's transcript.
- Live view that updates while the agent works.
- One view for three agents. Claude Code, Codex, and Cursor events are normalized to one schema.
Supported agents
| Agent | Tool calls | Prompts and turns | Tokens | Hooks file |
|---|
Related Skills
Argus Code
See what Claude Code actually did. Local-first observability for every session: which tools ran, what each sub
FlowBoard
Local-first project management and persistent context for OpenClaw, Claude Code, Codex, Cursor, and multi-agen
TaskWraith
Local-first desktop control room for coding agents. Run Codex, Claude Code, Cursor, Grok, Mistral, Pi, and loc
Codex Lang Coach
A local-first coding agent(Codex, Claude code, Cursor) plugin that turns everyday prompts into private, reusab
Optimaizr
Spend fewer tokens on the same work. A local CLI that finds wasted tokens in Claude Code, Codex and your own A
Codecast
See, steer, and remember every coding agent session — Claude Code, Codex, Cursor, Gemini. Team memory, live st
Related Agents
10x Tool Calls
Cursor and Windsurf meter usage by requests and tool calls rather than tokens, which means a finished or stall
Kimi Worker
Forward a coding, diagnosis, or review task to Kimi K3 (Moonshot) through the local kimi-worker.sh runtime. Us
Async Code
Use Claude Code or CodeX CLI to perform multiple tasks in parallel with a Codex-style UI, functioning as a per