What is session-toc?
session-toc is a Claude Code mod by ewxgwy1987 that a clickable table of contents of the whole current session: topics grouped by category, with timestamps, in a pane. It is listed under Interface and has 1 GitHub stars.
| Type | Claude code mod |
|---|---|
| Author | ewxgwy1987 |
| Repository | ewxgwy1987/claude-code-session-toc |
| Popularity | 1 GitHub stars |
| Category | Interface |
| Security | Review before installing (72/100) |
| Rank | #1,780 of 5,272 Claude Code mods; #718 in Interface |
| License | MIT |
| Last commit | 2026-10-11 |
| Hooks | 6 events |
| Sees | every prompt |
| Draws on | UserMessage, AssistantMessage, Pane |
Is session-toc safe to install?
session-toc scores 72/100 on the MCPMods security check: Review before installing. Things to review: reads environment variables; watches every prompt or event. 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 |
|---|---|
| No network access | Pass |
| Starts no processes | Pass |
| Writes no files or config | Pass |
| Reads environment variables | Review |
| Watches every prompt or event | Review |
| Drives Claude (model calls, prompts) | Note |
| Passes claude plugin validate | Pass |
| Has an open-source license | Pass |
API calls in its code
| Call | What it means |
|---|---|
$.clock.now | |
$.clock.sleep | |
$.command.register | |
$.env.get | reads env vars |
$.fs.exists | reads files |
$.fs.list | reads files |
$.fs.read | reads files |
$.fs.stat | reads files |
$.model.complete | drives Claude |
$.process.spawn | |
$.session.id | |
$.state.get | |
$.state.set | |
$.store.delete | keeps its own state |
$.store.get | keeps its own state |
$.store.set | keeps its own state |
$.ui.copy | draws interface |
$.ui.open | draws interface |
$.ui.resolve | draws interface |
$.ui.scroll | draws interface |
$.ui.toast | draws interface |
How do I install session-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/ewxgwy1987/claude-code-session-toc claude plugin validate ./claude-code-session-toc/.
- Install it. Run this in your terminal, then /reload-plugins in an open session.
claude plugin marketplace add ewxgwy1987/claude-code-session-toc && claude plugin install session-toc@claude-code-session-toc
Or ask Claude to set it up
Paste this into Claude Code and it installs session-toc for you:
Install the "session-toc" Claude Code mod from https://github.com/ewxgwy1987/claude-code-session-toc. Run claude plugin validate on it first and show me what it can access before you enable it.