claudemods

All Claude Code modsdougcunha/claude-mods

topic-guard

A Claude Code mod in dougcunha/claude-mods

Before a prompt enters the session, a small model judges whether it belongs to the session's topic. When it starts a separate topic, the mod holds it in the prompt box: press Enter to keep it here, or New session to clear the session and send it there.

topic-guard reaches L3 (network) and passed claude plugin validate on Claude Code 2.1.304.

Install hint

/plugin install topic-guard --marketplace dougcunha/claude-mods

From the repository's own marketplace. Confirm the plugin name in the repository's README before installing. Mods need Claude Code 2.1.287 or later.

Access

L3 Uses the networkMCP servers, writes files, changes config, drives Claude, writes the prompt box, reads files, reads env vars, reads the transcript, reads the prompt box, reads mod state, draws

Validation

Passed on Claude Code 2.1.304

View the source on GitHub Back to the list

What the scan recorded

Observed events
every prompt
Hooks
session.start, prompt.submit, ui.render {component=AbovePrompt}
API calls
$.clock.now, $.clock.sleep, $.command.run, $.config.set, $.env.get, $.fs.read, $.fs.write, $.mcp.call, $.model.complete, $.prompt.fill, $.prompt.read, $.session.id, $.session.messages, $.session.usage, $.state.get, $.state.set, $.tool.check, $.tool.list, $.ui.invalidate, $.ui.resolve, $.ui.status, $.ui.toast
Validation on 2.1.304
Passed
Scanned revision
2e8ca057f75b
Marketplace passed
claude-mods

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from dougcunha/claude-mods

Badge for your README

Reach badge for topic-guard Validation badge for topic-guard

Authors can show the latest scan result in their README. Each badge links to this page.

[![reach](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/dougcunha--claude-mods--topic-guard-reach.svg)](https://mods.aidojo.si/mods/dougcunha--claude-mods--topic-guard/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/dougcunha--claude-mods--topic-guard-validates.svg)](https://mods.aidojo.si/mods/dougcunha--claude-mods--topic-guard/)