list-topics

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

A skill that lists the topics discussed in the current session. It reads the session history and shows each topic along with the current one.

In plain words
What is it for?
Use it when you want a list of session topics or need to identify the topic currently being worked on.
Why use it?
It helps you see what has already been discussed when a session contains several separate threads. This makes it easier to return to the right piece of work.

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 when you want a list of session topics or need to identify the topic currently being worked on.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hatawong/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 hatawong/claude-recap --skill list-topics
Clone the repo
git clone --depth 1 https://github.com/hatawong/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/hatawong/claude-recap/list-topics/github.svg)](https://agentmods.dev/skills/hatawong/claude-recap/list-topics)
Your own site
<a href="https://agentmods.dev/skills/hatawong/claude-recap/list-topics"><img src="https://agentmods.dev/badge/skills/hatawong/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/hatawong/claude-recap/list-topics"><img src="https://agentmods.dev/badge/skills/hatawong/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 original No closer match found 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 11d ago against content hash 37b331c6be2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, 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 11d 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

Copies of this mod

1 near-identical copy found in the catalogue:

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. 11d 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 hatawong/claude-recap (39 stars, last pushed 6mo 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

memory-write

Captures a durable fact to project memory through the kit's safe write path (PoisonGuard secret/injection screening + home-path sanitization + dedup + conflict detection) — preferring the cmk MCP tools (mkremember / mkforget / mktrust) when connected, falling back to the cmk CLI. Use when the user says "remember…

LH8PPL/core-memory-kit · 202 tokens

bootstrap

Scaffolds the core-memory-kit directory structure (context/, scripts/, cron/jobs/) into the current project. Idempotent — never overwrites existing files. Run once per project after installing the plugin. Use when the user says "bootstrap the memory system", "set up memory here", or "scaffold the memory kit".

LH8PPL/core-memory-kit · 66 tokens

troubleshooting

Diagnoses and repairs core-memory-kit itself when the memory system is broken — the per-failure-code repair book. Fire whenever a "⚠ [core-memory-kit]" whisper appears on the prompt (it names the failure and points here), or when the user reports a kit symptom however they phrase it: memory is not being saved, nothing…

LH8PPL/core-memory-kit · 159 tokens

memory-search

Searches the project's recorded memory (core-memory-kit) — decisions, conventions, architecture, the reasoning behind choices, and where things live — and returns a curated, cited summary. Fire whenever the answer might be something the project already established in past work, HOWEVER the question is phrased — any…

LH8PPL/core-memory-kit · 208 tokens

mem9

Persistent cloud memory for OpenClaw agents. Use when users say: "install mem9" "setup memory" "add memory plugin" "openclaw memory" "mem9 onboarding" "memory not working" "import memories" "upload sessions".

unvulcanised-watercress762/mem9 · 63 tokens

mem9

Persistent cloud memory for OpenClaw agents. Use when users say: "install mem9" "setup memory" "add memory plugin" "openclaw memory" "mem9 onboarding" "memory not working" "import memories" "upload sessions".

unvulcanised-watercress762/mem9 · 63 tokens