Cache Miss Theater — Development skill for Claude Code
Paste a C loop nest and watch its exact address trace run through a cache you configure, with every miss labelled compulsory, capacity or conflict.
How to install Cache Miss Theater
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open pisan-labs/cache-miss-theater and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cache Miss Theater does
Paste a C loop nest and watch its exact address trace run through a cache you configure, with every miss labelled compulsory, capacity or conflict. Built with Claude Code.
Alternatives in Development
- Sprint Plan — Plan sprints with capacity, story selection, and risk mapping 7.8k ★
- Plan Sprint — Plan the upcoming sprint — epic breakdown, user story decomposition, RICE prioritization, dependency check, an 73 ★
- Alpha Decay — Analyze signal half-life, alpha decay curves, and strategy capacity 13 ★
README
Cache Miss Theater
Students in architecture and systems courses are told that loop order and blocking matter, but rarely see why. Write a small C loop nest and Cache Miss Theater generates its exact address trace, runs it through the cache you configure, and classifies every miss as compulsory, capacity or conflict. Step or play through the trace and watch lines arrive in their sets and get evicted, while a memory map shows which array elements are cached. Compare two kernels side by side, sweep a block size or a cache parameter, and generate exam questions whose answers come straight from the simulator.
Live: [cache-miss-theater.hintwise.org](https://cache-miss-theater.hintwise.org/)

Built from idea 2026-10-10 n2 in [`pisanuw/daily-project-ideas`](https://github.com/pisanuw/daily-project-ideas).
![Matrix multiply in ijk order, 187 accesses in: B[14][2] just evicted B[6] from set 8 in a conflict miss](desktop.png)
What it does
- Kernel language. A hand-written lexer and recursive-descent parser for
the C you find in loop-nest exercises: array declarations of
char,short,int,float,long,doubleand theintN_ttypes with any number of dimensions,#defineconstants, scalars,for,while,if, blocks, C's operators, casts, andmin/max/abs. Avoid kernel(void) { … }wrapper and#includelines are accepted, so textbook snippets paste in unchanged. - Exact trace. Arrays are laid out row-major from
0x10000, each at the next 64-byte boundary after the previous one (or whereverdouble A[64] @ 0x8000;puts it). Scalars live in registers. Forx = ethe reads inehappen left to right, then the write; forx += eandx++the read ofxcome
Related Skills
Sw Publish
Prepares one accepted Jira story change with identity checks, a dry-run and conflict stops, and executes it on
Fresh Session
User wants to continue this work in a fresh session — compose a ready-to-paste initial prompt: exact intent, s
Catalyst Stats
Show a compact read-only report of the current session — approximate token usage (exact when transcript usage
Add Caching
Implement comprehensive caching strategy across the application. Configure CDN caching headers in staticwebapp
Map
Map a route's component tree -- trace imports, detect boundaries, cache the result
Flowmeter Public
Local, privacy-first token, cost, cache, and trace analysis for Cursor, Claude Code, and Codex. Optional Flow-
Related Agents
Deeplink Clipboard Auditor
Audits deep link / Universal Link / App Link handling for parameter trust and hijack risk, and clipboard usage
Location Resolver
Validates and enriches the event's "where" via web search — confirms it's a real, findable place and attaches
Clawlint Rule Expert
Use this agent to answer deep questions about clawlint rules — what a rule actually checks, how its thresholds