Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By broisneesv1.3.0MITIn 1 marketplace
Steers Claude toward minimal code, fewer round-trips and leaner context to cut token spend. Hooks deny reads of lockfiles and build output and Grep calls with no head limit before matching tool calls.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Skills and hooks for Claude Code that cut down on wasted tokens. Skills steer the model, hooks enforce it. Nothing runs in the request path.

git clone https://github.com/broisnischal/phobos.git ~/src/phobos
bash ~/src/phobos/install.sh
On Windows, run this from Git Bash. Restart Claude Code after.
Check the install any time:
bash ~/.claude/skills/phobos/hooks/doctor.sh
Flags: --skills-only, --settings-only, --no-guard, --no-cmd-guard, --no-statusline, --quiet.
phobos is also a Claude Code plugin marketplace. Inside Claude Code:
/plugin marketplace add broisnischal/phobos
/plugin install phobos@phobos
This installs all three skills (phobos, phobos-code, phobos-plan) and wires every hook automatically — no settings.json edits, updated with /plugin marketplace update.
One difference from install.sh: a plugin can't set the main status line — Claude Code only lets plugins define agent/subagentStatusLine, and the plugin's cache path is versioned and ephemeral. To get the effort/context gauge shown above, run install.sh (which wires it for you), or point your own settings.json statusLine at a stable clone: bash "$HOME/.claude/skills/phobos/hooks/statusline.sh".
/phobos-update commandDenies reads of:
node_modules/, vendor/, .venv/, __pycache__/, .cache/dist/, build/, .next/, .nuxt/, .output/, coverage/package-lock.json, yarn.lock, pnpm-lock.yaml, Cargo.lock, poetry.lock, uv.lock, go.sum*.min.js, *.map, *.pyc, *.so, fonts, other binaries.git/ internalsImages and PDFs always pass.
Unbounded reads are also capped by line count (default 2000), not just size — a file can be small in bytes but thousands of lines long.
echo 'node_modules/my-patched-pkg' >> .claude/phobos-guard-allow # per-repo allowlist
PHOBOS_GUARD=off claude # off for one session
bash ~/src/phobos/install.sh --no-guard # never install it
A second PreToolUse guard, on Bash and Grep — same idea, stop the waste before it lands in context:
content mode with no head_limit — denied; add a limit, or locate with files_with_matches first.ls, recursive grep, unbounded git log — denied unless piped or redirected; the reason gives the bounded form.PHOBOS_CMD_GUARD=off claude # off for one session
bash ~/src/phobos/install.sh --no-cmd-guard # never install it
# phobos state
_generated 2026-07-09T09:20Z · git a1b2c3d (main), 3 uncommitted — a snapshot, re-verify before acting._
## Working set (uncommitted)
- src/api.ts
- src/api.test.ts
Written to .claude/phobos-state.md on edit turns and before every compaction, and injected at session start — so a new session (or a post-/compact//clear turn) re-orients from a small stamped snapshot instead of the transcript. The git stamp is the staleness flag: trust it as of that SHA, then verify.
While Claude is working, the terminal tab/window title animates with a braille spinner (⠋ myrepo · working…) and resets to the plain project name when the turn ends — so a backgrounded tab shows activity at a glance. Pure bash + OSC title escapes written to the controlling terminal; a silent no-op where there's no tty. Turn it off with PHOBOS_SPINNER=off.
edited: api.ts, api.test.ts · 1.4k out
— context compacted (auto) —
edited: README.md · 0.6k out
Written to .claude/phobos-activity.log, tailed into every new session.
bash ~/.claude/skills/phobos/hooks/benchmark.sh # real measured tokens and estimated cost
bash ~/.claude/skills/phobos/hooks/savings.sh # an estimate of tokens/cost saved
7-day copy clicks
Plugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub broisnees/phobos --plugin phobos