Claude Code plugin
Claude Rolling Context
Rolling context compression for Claude Code — never hit the context wall. Auto-compresses old messages while keeping recent context verbatim. Zero config, zero latency. Works as a Claude Code plugin.
Install
/plugin marketplace add https://github.com/NodeNestor/nestor-pluginsFound in the project README. Check it for setup steps after installing.
git clone https://github.com/NodeNestor/claude-rolling-context.gitFrom the README
Rolling Context for Claude Code A transparent proxy that gives Claude Code rolling context compression — old messages get automatically summarized while recent messages stay fully verbatim. You never hit the context wall, and you never lose important details. Zero config. Uses your existing Claude Code auth. No API key needed. Just install and forget. Claude Code's built-in /compact replaces your entire conversation with a lossy summary. After a few compactions, you're summarizing a summary of a summary. This plugin only compresses old messages — recent context stays untouched. It's also a cost story: every token you carry in context gets re-billed on every turn (at cache-read rates), so an unmanaged session's input cost grows with the *square* of its length. Capping the prefix makes it linear — the math works in relative units and holds for every model, and it matters more the bigger the context window, not less. /compact vs Rolling Context The economics: why capping the prefix matters No price cards needed — the argument works in relative units that hold for every Claude model. Take the model's fresh-input-token rate as 1×. The API bills: Claude Code re-sends the entire conversation on every turn. Even with caching working perfectly, each turn costs prefix size × 0.1. So a session's total input cost is the sum of the prefix over all turns: - Unmanaged context (big window, auto-compact only near the limit): the prefix grows every turn, so total cost grows with the *square* of session length. A 1M window doesn't fix this — it just lets the prefix run to 900K+ before anything stops it, and every one of those tokens costs 0.1× again on every single turn. - Rolling context: the prefix is capped between TARGET and TRIGGER, so total cost grows *linearly*. The…
How plugins work
- A plugin bundles slash commands, subagents, skills, hooks, MCP servers and status lines so they install together.
- Add the marketplace inside Claude Code with /plugin marketplace add NodeNestor/claude-rolling-context, then run /plugin to pick what to install.
- You can turn a plugin off again from /plugin without deleting anything.
Details
- Repository
- NodeNestor/claude-rolling-context
- Language
- Python
- License
- MIT
- Last updated
- 4 September 2026
- Topics
- ai-agentai-codinganthropicclaudeclaude-codeclaude-code-extensionclaude-code-plugincontext-compressioncontext-managementcontext-windowllm-contextprompt-compression
FAQ
What is Claude Rolling Context?
Rolling context compression for Claude Code — never hit the context wall. Auto-compresses old messages while keeping recent context verbatim. Zero config, zero latency. Works as a Claude Code plugin. It is a plugin for Claude Code, from NodeNestor/claude-rolling-context on GitHub.
How do I install Claude Rolling Context?
Run /plugin marketplace add https://github.com/NodeNestor/nestor-plugins inside Claude Code, then follow the setup in the README.
Is Claude Rolling Context popular?
NodeNestor/claude-rolling-context has 33 GitHub stars and 10 forks. It was last updated on 4 September 2026.
More plugins & marketplaces
Demo Claude Marketplace
34mrlm-xyz/demo-claude-marketplace
Dummy and naive demonstration template of custom Claude Code plugins marketplace structure.
Logic Lens
25hyhmrright/logic-lens
Logic-first AI code review via semi-formal execution tracing (Premises → Trace → Divergence → Trigger → Remedy). Catches behavioral bugs, type-contract breaches & async hazards that linters miss. Six skills · Claude Code · Codex CLI · Gemini CLI.
Kling AI Prompt Generator
35maciejdzierzek/kling-ai-prompt-generator
Claude plugin for Kling AI video prompts. Works with Claude.ai, Claude Desktop & Claude Code. I2V, T2V, Motion Control, Storyboards. Try live: maciejdzierzek.com
Writing With Agents
37Jeffallan/writing-with-agents
Claude Code skill plugin implementing Betty Flowers' Madman-Architect-Carpenter-Judge writing framework with collaborative AI-human oscillation, SEO optimization, and multi-article content strategy.
Claude Ruby Marketplace
37hoblin/claude-ruby-marketplace
Claude Code plugin marketplace for Ruby and Rails development
Jarvis
20Ramsbaby/jarvis
Frozen reference snapshot (Oct 2026) of a self-hosted AI operations stack — Discord bot + RAG + automation scripts on a Claude subscription. No longer developed; the author's setup moved to OpenClaw.
Browse the most popular Claude Code mods, all plugins & marketplaces, or the skills and MCP server directories.