
topic-filter-mod
Code with Claude without your past life tagging along. Chosen topics become neutral placeholders before Claude reads them; nothing on disk changes.
Your machine carries everything you have ever worked on: a career in
chemistry, a thesis, old side projects, a client's name. None of it has
anything to do with the bug you are fixing today, but Claude reads it anyway,
in file names, notes, memory and command output, and unrelated material pulls
a session sideways. You should be free to work on the code in front of you
without explaining your history first.
topic-filter is a Claude Mod
(a Claude Code plugin built on function hooks) that keeps chosen topics out of
the way. Before the model reads tool output, prompts, CLAUDE.md and skills,
each listed term becomes a stable
placeholder (Teotihuacan becomes Teacup7), or the lines that mention it
disappear. Your repos, notes and memory stay as they are.

Claude answers in codenames; the sidebar, shown to you only, maps each one back
and counts where it was hidden. The dim topic-filter: 50 hidden sits in the
prompt footer.
Install
1. Install the plugin. It needs Claude Code 2.1.287 or newer, where
mods load by default. This repository is its own marketplace:
claude plugin marketplace add lperezmo/topic-filter-mod
claude plugin install topic-filter@topic-filter-mod
Or from inside Claude Code: /plugin marketplace add lperezmo/topic-filter-mod,
then /plugin install topic-filter@topic-filter-mod.
2. Choose what to hide. Run /config and type topic-filter to find the
plugin's rows. Enter or Space flips a switch or edits a field:

| Setting | Default | What it does |
|---|
| Hide anthropology, biology, chemistry, genetics | off | One switch per built-in pack |
| Other packs | empty | Names of your own packs, comma-separated |
| Start paused | off | Every session starts paused; /topic-filter on turns it on for that session |
| Sidebar | off | Opens the sidebar at every start |
| Sidebar: counts only | off | The sidebar shows counts by list, never a word or file name |
| Extra words to hide | empty | Comma-separated words or names; kept in secure storage, not in settings.json |
| Topics file (advanced) | empty | Where the topics file lives, if you want one |
Extra words to hide is kept secret, so /config does not list it: set it
in /plugin: Installed, then topic-filter, then configure it. That screen
shows every setting as a text box; there, a switch takes the word true or
false (a y is saved as false).
What you type in either place goes to the plugin, never into the
conversation. A change applies right away, no restart needed. To hide a repo,
see Hiding repositories.
3. Restart Claude Code once after installing: sessions that were already
running do not load the plugin. The prompt footer then shows a dim
topic-filter: M hidden beside the other modes, /topic-filter shows what is set to be hidden and
where each part comes from, and /topic-filter log shows what was actually
hidden and where (both shown to you only).
The topics file is optional. Use it for what the settings
cannot express: drop-line or restore modes for your own words, several lists,
exclude. Edit it in an editor: it lists the very terms you want kept out of
the session. Its lists add to the settings'.