What is prompt-toc?
prompt-toc is a Claude Code mod by weskao that markdown-style TOC pane of your prompts and reply headings; press one to scroll there. Prompts-only chip, time per prompt, follow-viewport underline, settings (Open pane on start, Show. It is listed under Context & memory and has no public popularity data yet.
| Type | Claude code mod |
|---|---|
| Author | weskao |
| Repository | weskao/weskao-agent-plugins |
| Popularity | no public popularity data yet |
| Category | Context & memory |
| Security | Review before installing (64/100) |
| Rank | #9,120 of 9,397 Claude Code mods; #814 in Context & memory |
| License | MIT |
| Last commit | 2026-11-09 |
| Hooks | 13 events |
| Sees | mcp__prompt-toc__pane calls |
| Draws on | UserMessage|AssistantMessage, Pane |
Is prompt-toc safe to install?
prompt-toc scores 64/100 on the MCPMods security check: Review before installing. Things to review: sends data over the network; starts processes outside the sandbox; writes files or config. It passed 5 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 processes outside the sandbox | Review |
| Writes files or config | Review |
| Doesn't read environment variables | Pass |
| Only sees the events it hooks | Pass |
| Doesn't drive Claude | Pass |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.agent.list | |
$.clock.after | |
$.clock.now | |
$.command.register | |
$.config.set | changes config |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.fs.write | writes files |
$.http.fetch | network requests |
$.process.run | runs processes |
$.session.id | |
$.session.messages | reads the transcript |
$.session.turns | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.tool.register | drives Claude |
$.ui.close | draws interface |
$.ui.focus | draws interface |
$.ui.open | draws interface |
$.ui.panes | draws interface |
$.ui.resolve | draws interface |
$.ui.scroll | draws interface |
$.ui.status | draws interface |
$.ui.toast | draws interface |
How do I install prompt-toc?
- 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/weskao/weskao-agent-plugins claude plugin validate ./weskao-agent-plugins/plugins/prompt-toc
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add weskao/weskao-agent-plugins && claude plugin install prompt-toc@weskao-agent-plugins
Or ask Claude to set it up
Paste this into Claude Code and it installs prompt-toc for you:
Install the "prompt-toc" Claude Code mod from https://github.com/weskao/weskao-agent-plugins/tree/main/plugins/prompt-toc. Run claude plugin validate on it first and show me what it can access before you enable it.
More from weskao/weskao-agent-plugins
This repository has 4 Claude Code mods on MCPMods.
- cache-sentinel: Warns above the prompt and in a toast before a /model, /effort or /fast switch or an idle gap re-writes the prompt cache (High risk)
- message-clock: Grok-style right-aligned clock on each sent prompt and each reply message (Review before installing)
- skill-step-progress: Live pane showing the current step and overall progress of this session's flows, one box per run: /commit (and any flow (High risk)