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 ssamuels8v0.6.0MITIn 1 marketplace
Sets a cheaper auto-compact point for each of your projects from your own session history, recalculated daily. Hooks run on every prompt and tool call; the author claims it stays local, with no network calls or telemetry.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
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.
Your Claude Code limit, stretched. Automatically.
Vigil studies how you actually work, calculates the cheapest way to run each of your projects, and sets it for you. One install. Zero settings. Recalculated every day.
npx github:ssamuels8/vigil-mcp
Start a new Claude Code session. You are done.
Every time Claude answers, it re-reads the whole conversation so far. In a long session, most of what you spend is re-reading, not new work.
Claude Code can shrink a long conversation into a summary. But it waits until about 400k tokens, and it uses that same number for everyone, in every project. By then the expensive part has already happened.
"Compact earlier" is advice. Vigil does the maths, on your own history.
| When | What happens |
|---|---|
| On install | A safe starting value is set. One line tells you what changed. |
| Every day | Your sessions are re-read in the background and the values are updated. |
| While you work | Sessions shrink at the right moment for that project. Nothing to remember. |
No commands. No dashboard. No account.
| How we know | Result | What it means |
|---|---|---|
| Measured | 21 to 73% less | Cost of the rest of a task after shrinking at about 100k. Three live runs, tests passed. |
| Measured | 7 to 36% less | The same three runs, counted over the whole task. |
| Measured | 27% less loaded every turn | One setup, after removing agents that were never used. |
| Estimated | 21% less use | Modelled on the author's 138 sessions, against Claude Code's default. |
Three runs, one project, one person. Your results will differ, and the effect on a real subscription limit has not been measured yet. Every number here is tagged, on purpose. Full results.
autoCompactWindow: once in your Claude Code settings, and for a
project with its own value, in that project's personal settings file, which git ignores.Put every setting back exactly as it was:
/vigil:auto off
Remove Vigil completely:
claude plugin uninstall vigil@vigil-mcp
| Command | What it does |
|---|---|
/vigil:auto | Shows the values in use and why they were chosen. |
/vigil:audit | Lists agents and skills you load on every turn but never use. |
/vigil:kept | A weekly report of your use. |
Curious what it decided? /vigil:auto shows its working. This is the author's real output:
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 ssamuels8/vigil-mcp --plugin vigil