LLM Lens — Security skill for Claude Code
Audit your Claude CLI history.
How to install LLM Lens
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open jajanet/llm-lens and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What LLM Lens does
Audit your Claude CLI history. Visualize, browse, edit -- all with one command, all local, no auth
Alternatives in Security
- Claude Bootstrap — Opinionated project initialization with security-first guardrails, spec-driven atomic todos, LLM testing patte 536 ★
- Memory Self Review — Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMOR 297 ★
- Security Audit Stride — Chạy checklist bảo mật OWASP Top 10 + STRIDE trước bước review cuối của Tech Lead trong WF-REVIEW-CRIT (luôn c 90 ★
README
llm-lens-web
 
A local, offline web UI for auditing, pruning, and cleaning the conversation history your LLM CLI has written to disk. Currently supports [Claude Code](https://claude.ai/code); the architecture accommodates other providers (Codex, Gemini) but only Claude is implemented today.
**Local only.** No API key. No auth. No outbound network. Never invokes `claude`. Reads and rewrites `~/.claude/projects/*.jsonl` on your machine, nothing else.
**Status: alpha.** Active development, fast-moving surface. APIs, JSONL marker formats, sidecar layouts, and word-list semantics all change without notice between commits. Pin a version if you depend on any of it. Bug reports and pull requests welcome; expect churn.
Why you'd use it
1. Know what you're spending
Token counts and USD costs come from the actual `message.usage` fields Anthropic returned for each turn — not estimates. Per-model breakdowns, per-project rollups, per-day/week/month buckets. The overview chart shows where your money went and which sessions were expensive. Pricing table in `utils.js` (captured from `claude.com/pricing` on 2026-04-14; update when rates change).
2. Make future `/resume` cheaper
This is the lever that's easy to miss. Anything you remove from a conversation shrinks what Claude Code sends as context the next time you `/resume` it. Less context sent → fewer input tokens billed per turn going forward. The editing tools aren't just cleanup; they're direct downstream cost reduction:
- Edit — rewrite a prose message's text in place;
usage, UUIDs, and the resume chain stay intact. For fine-tuned customization. Prose-only: tool/thinking blocks are locked. - Redact — redact a message's text to
.. Originalusageis preserved (historical accuracy), but on resume the redacted content is what gets sent. - **Nor
Related Skills
Locallensedreview
Multi-angle code audit of local changes. Fans out parallel read-only lens agents (correctness, tests, standard
Elementor Headless
Safely audit and edit WordPress + Elementor sites - AI-agent skill for Claude Code, Cursor, Codex CLI, Gemini
Jgs Magic Sysmlv1 MCP
Bring Claude Code and any MCP agent to your live SysML v1 models in CATIA Magic: 130+ tools to query, audit, a
Flake Audit
Detect intermittently-failing tests from recent CI history (or repeated local runs); dedupe against tracked fl
Xclaude Gateway
Durable local audit trail for Claude Code and MCP tool activity. Records, classifies and keeps the history on
Secure LLM Gateway
Security-focused gateway in front of an LLM API — auth, prompt-injection defense, output filtering, audit logg
Related Agents
Pi Implementer
Implementation lane driven by the pi CLI (a local multi-provider coding agent, distinct from omp). Model-agnos
Audit Security
Use this agent to conduct a security audit (CISO perspective) of a codebase: auth bypasses, CSRF, prompt injec
Factory Reviewer Grok
Opt-in cross-family seat for interrogate, architect, arena and eval judging, trail review, and the reflect div