claudemods

All Claude Code modsAneeqMalik/claude-code-mods

trim-startup-context

A Claude Code mod in AneeqMalik/claude-code-mods

Finds MCP servers whose tool schemas bloat startup context but are never used, and denies them automatically per project; /trim-context undo reverts.

trim-startup-context reaches L2 (writes or runs) and passed claude plugin validate with warnings.

Install hint

/plugin install trim-startup-context --marketplace AneeqMalik/claude-code-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

L2 Writes or runswrites files, reads files, reads env vars, persists state, draws

Validation

Passed with warnings

View the source on GitHub Back to the list

What the scan recorded

Observed events
Only what it hooks
Hooks
session.start, turn.start, command.run {command=trim-context}
API calls
$.command.register, $.env.get, $.fs.exists, $.fs.list, $.fs.read, $.fs.write, $.session.cwd, $.session.usage, $.store.delete, $.store.get, $.store.set, $.ui.toast
Validation
Passed with warnings
Scanned revision
36f0d02e98a1
Marketplace warnings
claude-code-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 AneeqMalik/claude-code-mods

Badge for your README

Reach badge for trim-startup-context Validation badge for trim-startup-context

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/AneeqMalik--claude-code-mods--trim-startup-context-reach.svg)](https://mods.aidojo.si/mods/AneeqMalik--claude-code-mods--trim-startup-context/)
[![validates](https://raw.githubusercontent.com/karanb192/awesome-claude-code-mods/main/badges/AneeqMalik--claude-code-mods--trim-startup-context-validates.svg)](https://mods.aidojo.si/mods/AneeqMalik--claude-code-mods--trim-startup-context/)