A mod whose module does not validate.

Mods are Claude Code plugins that run code in your session: they can run programs, read the conversation and change what the model sees. Thousands of them are published across GitHub, with no store to search them and no quick way to tell what one does before it runs. modmgr adds /mods, a dialog that searches them, says what each one can reach before you install it, and installs, switches off, updates or removes them without leaving the session.
/plugin install modmgr --marketplace ayagmar/claude-mods
Type that at the Claude Code prompt, then /mods. Search the same index in a browser.
Discover, with a community mod's detail beside the list:
<a href="docs/images/discover.png"><img src="docs/images/discover.png" width="640" alt="The Discover tab: 5,840 mods sorted by popularity, ruview-live selected, its detail saying it can run programs or change files on your machine"></a>
Your installed mods, and the review shown before an install:
<a href="docs/images/installed.png"><img src="docs/images/installed.png" width="49%" alt="The Installed tab: five mods, redactor selected, its detail listing what it can reach, such as reading the conversation and sending data out"></a> <a href="docs/images/review.png"><img src="docs/images/review.png" width="49%" alt="The review before installing ruview-live: what installing lets it do, where it comes from, and the exact claude plugin install command it runs"></a>
o; keep only your own marketplaces with u.claude plugin validate, which reads the source and runs none of it.z undoes your last batch of toggles, installs or removals; an update can't be undone.--plugin-dir, CLAUDE_CODE_PLUGIN_DIRS, your skills folder or a folder marketplace: validate them, run their tests, reload, and copy the line someone else needs to install yours.claude CLI on your path at 2.1.292 or newer. modmgr runs the CLI to install, update and switch mods./plugin marketplace add ayagmar/claude-mods, then /plugin install modmgr@ayagmar.For scripts and claude -p:
/mods list | info <mod> | doctor [--json] | export
/mods install <id> [--scope user|project|local] [--accept-command <sha256>] --yes
/mods remove <mod> [--wipe-data] --yes
/mods update [<mod>] --yes
/mods enable <mod> --yes | disable <mod> --yes
/mods apply <file> --yes
<id> is name@marketplace, as /mods list prints it. <mod> is an installed mod's id, or its name alone when no other installed mod shares it.
Without --yes, a write prints what it would run and exits 1. Writes never reload: run /reload-plugins after. Exit codes: 0 done, 1 refused, failed or not confirmed, 2 usage. Under -p, Claude Code prefixes the answer with modmgr: .
Set them with claude plugin configure modmgr:
| Option | Default | |
|---|---|---|
updateCheckHours | 6 | Hours between update checks; 0 turns them off. |
detectRemote | on | Read the daily indexes, and catalogue entries' hooks.json, from raw.githubusercontent.com to find mods. |
notifyUpdates | off | Send a notification through your terminal when an update check finds a new mod version, once per version, unless the dialog has your keys. Needs Claude Code 2.1.296 or newer. |
debugTimings | off | Write how long each step took to the debug log (--debug). |
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC turns off everything modmgr fetches. modmgr sends no telemetry.
modmgr shows you what a mod can do; it does not sandbox it. Once a mod runs, it runs with your session's power, and the way to stop it is to disable or remove it and reload. Capabilities come from static analysis of the version you install, and an update is read again. docs/SECURITY.md has the threat model and lists everything modmgr reads, fetches and stores.
/mods isn't a command. Run /reload-plugins, or start a new session. In the desktop app, check the version note under Requirements.claude CLI on your path (claude update) to 2.1.292 or newer.detectRemote is off, or CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC is set. r tries again.claude --debug; Health then lists hook errors from that session's debug log.claude plugin uninstall modmgr@ayagmar
Its preferences and cache are in plugins/store/modmgr_ayagmar-*.json under your Claude Code config directory (~/.claude unless CLAUDE_CONFIG_DIR says otherwise). Delete that file to remove them too.
See CONTRIBUTING.md and docs/PERF.md. The landing page is in site/ (pnpm site).
The community index finds mods the way awesome-claude-code-mods (browse it at mods.aidojo.si) does, and reads its list of candidate repositories (CC0) so a mod GitHub's search hasn't indexed yet is still found.
MIT
hooks/register.ts 2 lines1export const register = on => { on("session.start", ($, e, next) => { const p = $.process; return next(e) }) }
2