Open sourceClaude CodeSide project

skills-view: seeing what my agents actually know

My Claude Code setup grew to over a hundred skills, and I had no idea which ones the agent used, what they cost in context, or which traps it walked into. So I built a map of the whole thing.

Nils · ilmal.se · December 2026 · 6 min read
skills-view.ilmal.se/demoOpen full screen ↗

This is the real app, running on an imaginary shop's skills library. Drag the map, click a node, replay a trace.

MapTracesContextInventory

Why I built it

I run Claude Code against a few repos every day, and over a year I kept writing things down for it: how our servers are laid out, what a known bug looks like in the database, which lint rules will fail a build, what never to touch in production. Each note became a "skill" in ~/.claude/skills.

After a while I couldn't answer simple questions about that folder. Which of these does the agent actually open? How much of every session goes to just listing them? When it fixes a ticket, does it find the right note, or does it wander? I was writing knowledge for a reader I couldn't watch.

skills-view is my answer: a static page that reads a snapshot of the folder and shows it as something you can explore, plus a log of how agents really moved through it.

Most of my "skills" aren't skills

The first thing the map made obvious: only a handful of entries are tasks I ask Claude to run, like a PR review or an incident write-up. Everything else is knowledge. It is there so the agent knows how a system works, how I like a kind of work done, or which trap not to step in. Treating both the same was confusing for me and, I suspect, for the model.

Skills 5A task you ask for. Claude runs the procedure.release-review · incident-autopsy
Runbooks 6Step-by-step diagnosis for a known kind of ticket.checkout-timeout · login-redirect-loop
Gotchas 4Project traps to know before touching code or data.migration-gotchas · cache-traps
Guides 2Cross-project practice: how to do a kind of work well.code-review-practice · writing-runbooks
System maps 6How a system, machine or repo is wired.infra-map · queue-topology
References 2A domain knowledge base: pricing, APIs, services.carrier-apis · pricing-and-plans
Each entry declares its kind in its SKILL.md frontmatter. Skills are squares on the map, knowledge is circles. Counts and examples come from the demo library.

The view never guesses. An entry without a kind: field shows up as unclassified, which turned out to be a useful to-do list.

See the map in the demo

The context bill nobody shows you

Claude Code loads the name and description of every always-on skill into every session, before you have typed anything. That listing has a budget of about 1% of the context window. Go over it and the descriptions of the least-used skills are silently dropped.

budget 2,000
1,133 tok from 22 always-on descriptions0.6× the budget
The demo library fits comfortably. Mine did not: it was several times over, and I only found out by drawing this bar.

Not everything has to be always-on. Entries in the library tier cost nothing until a step reads them, so reference material can live there. The Context view ranks every always-on description by cost, marks the ones that would be dropped first, and flags long descriptions and bodies past the 500-line rule.

See the context view in the demo

Watching the agent walk the tree

The part I was most curious about. Every Claude Code session leaves a transcript, so I rebuild each one into a trace: every Skill tool call and every read of a file in the skills folder, in order, subagents included. Nothing is guessed. If the transcript doesn't prove it, it isn't in the trace.

trace.json
// one session rebuilt from its transcript, dt = seconds since start
{ "id": "b71d04aa", "host": "laptop", "task": "review this release before I ship it",
  "events": [
    { "dt": 5,  "type": "invoke", "node": "release-review" },
    { "dt": 12, "type": "read",   "node": "release-review",    "file": "SKILL.md" },
    { "dt": 31, "type": "ref",    "node": "release-review",    "file": "checklist.md" },
    { "dt": 58, "type": "read",   "node": "migration-gotchas", "file": "SKILL.md" }
  ] }

skills-view replays each session on the tree, step by step, next to the real size of the context at every model call, measured at the gateway. You can watch the context grow as each skill is read, and see which reads were worth it. Across sessions it adds up the patterns: where agents land first, what they read most, and which knowledge nobody ever reaches.

Replay the demo sessions

What it changed for me

The folder is a knowledge base for a reader I can't see. skills-view is how I watch that reader.

Run it on your own folder

  1. Point it at your folder. A small server reads ~/.claude/skills: every SKILL.md, its references, links and listing cost, and serves them to the page.
  2. Tag each entry with a kind: in its frontmatter: skill, runbook, gotcha, guide, map or reference.
  3. Add transcripts and the traces fill in. A showcase filter (press B) hides private entries when you want to show it to someone.

The code is open source. Find it at the repository.