What is ranko?
ranko is a Claude Code mod by milkycode that your session's figures above the Claude Code prompt: how full the context is and how far off auto-compaction is, the prompt cache, your plan's limits and when they run full, the task list,. It is listed under Cost & usage and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | milkycode |
| Repository | milkycode/ranko |
| Popularity | no public popularity data yet |
| Category | Cost & usage |
| Security | High risk (56/100) |
| Rank | #7,341 of 9,397 Claude Code mods; #1,418 in Cost & usage |
| Last commit | 2026-10-26 |
| Hooks | 16 events |
| Sees | classic hooks, compaction, every prompt, every tool call, subagent spawns |
| Draws on | AbovePrompt |
Is ranko safe to install?
ranko scores 56/100 on the MCPMods security check: High risk. Things to review: sends data over the network; writes files or config; watches every prompt or event. It passed 3 of 8 checks.
Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.
| Check | Result |
|---|---|
| Sends data over the network | Review |
| Starts no processes | Pass |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Watches every prompt or event | Review |
| Doesn't drive Claude | Pass |
| Validator reported problems | Note |
| No license detected | Note |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.audio.play | plays audio |
$.clock.every | |
$.clock.now | |
$.command.register | |
$.config.list | |
$.config.set | changes config |
$.fs.read | reads files |
$.http.fetch | network requests |
$.session.authorize | reads the transcript |
$.session.compact | drives Claude |
$.session.messages | reads the transcript |
$.session.usage | |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.blit | draws interface |
$.ui.invalidate | draws interface |
$.ui.log | draws interface |
$.ui.resolve | draws interface |
$.ui.toast | draws interface |
How do I install ranko?
- Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
claude --version
- Read its footprint. This lists every event it hooks and every API call it makes, without running it.
git clone https://github.com/milkycode/ranko claude plugin validate ./ranko/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add milkycode/ranko && claude plugin install ranko@ranko
Or ask Claude to set it up
Paste this into Claude Code and it installs ranko for you:
Install the "ranko" Claude Code mod from https://github.com/milkycode/ranko. Run claude plugin validate on it first and show me what it can access before you enable it.