list-topics

list-topics is a skill for Claude Code from usernameisthebestofthebest/claude-recap. It costs 32 tokens per session (328 once invoked), scanned A, a copy of list-topics, MIT.

A session-topic listing tool that finds the topic labels recorded in the current conversation history.

In plain words
What is it for?
Use it to show all recorded topics and identify the current topic. If no topics are found, it reports that none exist yet.
Why use it?
It removes the need to search the session log manually when you want to see what has been discussed.

Skill for Claude Code

Written for Claude Code: SessionStart hook event.

Part of the claude-recap plugin — 4 skills, 2 hooks shipped together

Good fit Use it to show all recorded topics and identify the current topic. If no topics are found, it reports that none exist yet.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/usernameisthebestofthebest/claude-recap/list-topics
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add usernameisthebestofthebest/claude-recap --skill list-topics
Clone the repo
git clone --depth 1 https://github.com/usernameisthebestofthebest/claude-recap

Made for: Claude Code.

Or install claude-recap, the plugin that ships this one along with the rest of its 4 skills, 2 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for list-topics

README.md
[![agentmods](https://agentmods.dev/badge/skills/usernameisthebestofthebest/claude-recap/list-topics/github.svg)](https://agentmods.dev/skills/usernameisthebestofthebest/claude-recap/list-topics)
Your own site
<a href="https://agentmods.dev/skills/usernameisthebestofthebest/claude-recap/list-topics"><img src="https://agentmods.dev/badge/skills/usernameisthebestofthebest/claude-recap/list-topics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for list-topics

Your own site · 80×15
<a href="https://agentmods.dev/skills/usernameisthebestofthebest/claude-recap/list-topics"><img src="https://agentmods.dev/badge/skills/usernameisthebestofthebest/claude-recap/list-topics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 328 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00328
Opus 5 $0.00016 $0.00164
Sonnet 5 $0.00006 $0.00066
Haiku 4.5 $0.00003 $0.00033

Measured 12d ago against content hash 37b331c6be2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

list-topics scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to list-topics — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/list-topics/SKILL.md · 45 lines

What it actually says

list-topics

Overview

Lists all topic slugs found in the current session's JSONL history.

Instructions

  1. Get the session ID from the SessionStart injection in your context: [SessionStart] session=SESSION_ID source=...

  2. Get the plugin scripts path from the SessionStart injection: Plugin scripts path: /path/to/scripts

  3. Get the project ID from the SessionStart injection: Your persistent memory is stored at: $HOME/.memory/projects/PROJECT_ID/ Extract the PROJECT_ID segment (e.g. -Users-alex-my-app).

  4. Run extract-topic.js with __all__ mode:

node "<plugin_scripts_path>/extract-topic.js" "$HOME/.claude/projects/<project_id>/<session_id>.jsonl" __all__
  1. Filter out __untagged__ from the output, then present using this exact format:
Session Topics:
1. **topic-slug-a**
2. **topic-slug-b**
3. **topic-slug-c**

Current: **topic-slug-c**

Rules

  • If JSONL file doesn't exist or no topics found after filtering, tell the user no topics exist yet.
  • Current topic is from your topic tag (the › \slug`` you've been outputting).
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 45 lines · 32 tokens per session scan A 37b331c6be2f

Subscribe to this mod's changes

list-topics is a skill published in the GitHub repository usernameisthebestofthebest/claude-recap (2 stars, last pushed 2d ago), licensed MIT. It adds 32 tokens to every session and 328 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to list-topics, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

save-topic

Use when the user wants to save or checkpoint topic progress, persist current discussion state, or save all topics before ending a session.

hatawong/claude-recap · 29 tokens

ignore-topic

Use when the user wants to ignore, skip, or exclude specific topics from being archived. Triggers on "ignore topic", "don't archive", "skip topic", "stop remembering", "list ignored topics", "remove ignore rule".

hatawong/claude-recap · 50 tokens

remember

Use when the user wants to persistently remember something across sessions (e.g., "always use bun", "never auto-commit", "my name is Alex"). Also use when you detect a clear user preference or constraint worth persisting.

hatawong/claude-recap · 50 tokens

list-topics

Use when the user asks about topics discussed in the current session, wants to see a topic list, or asks what has been talked about.

hatawong/claude-recap · 32 tokens

weekly-digests

Generate a serial week-by-week narrative digest of a project's full claude-mem timeline. Splits the timeline into per-ISO-week files, then runs one consecutive subagent per week — each receiving the prior week's carry-forward block — to produce one chapter per ISO week of data. Use when asked for "weekly digests"…

thedotmack/claude-mem · 93 tokens

cloud-sync

Set up or check claude-mem cloud sync with cmem.ai Pro. Use when the user says "set up cloud sync", "sync my memories", "cmem pro", "cloud backup", "sync status", or wants their memory database backed up or synced to their cmem.ai account.

thedotmack/claude-mem · 64 tokens