Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add stark-ai-de/agent-skills --skill lens-debuggit clone --depth 1 https://github.com/stark-ai-de/agent-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/stark-ai-de/agent-skills/lens-debug)<a href="https://agentmods.dev/skills/stark-ai-de/agent-skills/lens-debug"><img src="https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/lens-debug/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/stark-ai-de/agent-skills/lens-debug"><img src="https://agentmods.dev/badge/skills/stark-ai-de/agent-skills/lens-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00044 | $0.01441 |
| Opus 5.5 | $0.00018 | $0.00576 |
| Sonnet 5.5 | $0.00009 | $0.00288 |
| Haiku 4.5 | $0.00004 | $0.00144 |
Grade A, and why
lens-debug scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 139 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lens Debug
Goal
Read evidence. Explain the smallest supported fix. Do not change the agent.
This is an opt-in incubator skill. It neither installs telemetry nor starts paid investigations. Invoke the bundled reader with Python 3.11+ on Linux, WSL, or macOS; native Windows credential ACL handling is not qualified.
When to use
Use on explicit requests to explain agent failures, unexpected calls, latency, token usage or cost from Lens evidence, or to compare specified recorded runs.
When not to use
Do not use to install tracing, build an application, mutate configuration, run paid investigations, or read unrelated customer sessions. Do not run implicitly.
Inputs to inspect
Use the user's approved gateway base, private scoped read-key path, selected trace ID plus trace_ref or a bounded time window, and the question to answer. For comparisons, inspect commit/runtime/model/setup labels and acceptance tests.
Workflow
Choose a route
| Request | Route |
|---|---|
| Explain one failure or slow session | Read the selected trace and its steps. |
| Compare calls, cost, or performance | Read bounded runs; use schema-backed SQL only when necessary. |
| Check whether evidence is available | Verify endpoint/credential type and a bounded listing; report gaps. |
For a clear request, announce the selected route and proceed within its scope. For a bare skill invocation or request for options, show all three routes; do not infer permission to read unrelated traces or change configuration.
Safety rules
Use the user's approved HTTPS LiteLLM gateway base, not the Lens ingestion
URL. Use an existing user-owned LiteLLM virtual key authorized for these traces.
TRACE_READ is not a key type; LENS_READ_KEY_FILE only selects its private file.
A separate read key is optional. A tracing key cannot authorize gateway content
reads; never request a master/admin key. Verify ownership and team sharing before
reusing an inference key. Missing access is not permission to broaden it.
What ships with it
4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago Changed · +9 lines d834a1bc6118
- 13d ago First seen · 130 lines · 44 tokens per session scan A 2c6bd28a2792
lens-debug is a skill published in the GitHub repository stark-ai-de/agent-skills (8 stars, last pushed 2d ago), licensed Apache-2.0. It adds 44 tokens to every session and 1,441 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-17.
lens-debug compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| lens-debugstark-ai-de/agent-skills | Skill | 8 | 2d ago | Apache-2.0 | A | 44 | Codex |
| team-diagnosetikalk/adlc-team-skills | Skill | 147 | today | MIT | A | 51 | Claude Code, Codex |
| diagnosing-recordingfelipesauer/mnema | Skill | 4 | 25d ago | Apache-2.0 | A | 35 | Claude Code |
| claim-checkingfelipesauer/mnema | Skill | 4 | 25d ago | Apache-2.0 | A | 34 | Claude Code, Codex |
| senmu-build-assuranceSenMuShare/senmu-buildos | Skill | 2 | 19d ago | Apache-2.0 | A | 43 | Claude Code, Codex |
| bug-triagesananthanarayan/skilldrop | Skill | 2 | yesterday | none | A | 99 | Claude Code |
| postmortem-generatorsananthanarayan/skilldrop | Skill | 2 | yesterday | none | A | 139 | Claude Code |