A Python CLI and MCP server that lets coding agents and chats pull the right code context via reusable, rule-based file selection.
nateherkai/claude-code-mods
A set of plugins for Claude Code that optimizes large chats, conserves costs, enhances security, and manages complex coding session workflows.
- Stars
- 120
- Forks
- 13
- Open issues
- 3
- Last commit
- last month
What is it?
This repository hosts four plugins—Cache Keeper, Recording Mode, Goal Meter, and Collision Guard—designed to integrate directly into the Claude Code terminal and Desktop app.
The mods address common workflow challenges in complex AI development sessions. Cache Keeper manages prompt cache lifecycle to optimize costs for large context chats, while Recording Mode masks sensitive PII and technical data during screen recording.
Furthermore, the Goal Meter provides real-time progress tracking based on Claude's internal plan, and the Collision Guard prevents concurrent chats from making conflicting edits to the same file.
Key features
- 01,It reports if a chat's prompt cache is warm or cold and estimates cold restart costs.
- 02Recording Mode masks API keys, PII, and financial figures displayed on screen.
- 03It tracks project progress by building a progress bar and ETA from Claude's task plan.
- 04Collision Guard checks if another open chat edited a file within the last 30 minutes before allowing an edit.
- 05Cache Keeper allows users to manually keep a chat's cache warm or hand it off to a fresh session.
- 06Recording Mode can be configured to close access to specific private file paths and business tools.
Use cases
- ,Managing large codebases where prompt cache expiration can lead to expensive API calls.
- Conducting sensitive demos or security audits where private data must be hidden during recording.
- Overseeing complex, multi-step refactoring projects by monitoring overall task completion against the goal.
- Simultaneously working on a single large repository across multiple different Claude Code chats without risking file conflicts.
Quick start
- 1
Check that Claude Code is version 2.1.287 or later
claude --version - 2
Add the mods repo as a plugin marketplace
claude plugin marketplace add nateherkai/claude-code-mods - 3
Install the mod you want, for example Cache Keeper
claude plugin install cache-keeper@nateherk-mods - 4
Open a new chat, since mods load only when a chat starts
Things to know
- Requires Claude Code 2.1.287 or later.
- Anthropic is enabling mods gradually, so they may not work on your account yet.
- Recording Mode masks only what it can match, so footage still needs review before publishing.
In collections
Topics
FAQ
- What is claude-code-mods?
- A set of plugins for Claude Code that optimizes large chats, conserves costs, enhances security, and manages complex coding session workflows. This repository hosts four plugins—Cache Keeper, Recording Mode, Goal Meter, and Collision Guard—designed to integrate directly into the Claude Code terminal and Desktop app.
- Is claude-code-mods free to use? What license does it have?
- claude-code-mods is open source under the MIT license. Check the license terms before using it in commercial products.
- Is claude-code-mods still maintained?
- Updated within 6 months. The last commit to claude-code-mods was on Oct 2, 2026.
- What can I use claude-code-mods for?
- ,Managing large codebases where prompt cache expiration can lead to expensive API calls. Conducting sensitive demos or security audits where private data must be hidden during recording. Overseeing complex, multi-step refactoring projects by monitoring overall task completion against the goal. Simultaneously working on a single large repository across multiple different Claude Code chats without risking file conflicts.
- How do I install claude-code-mods?
- Check that Claude Code is version 2.1.287 or later: claude --version Add the mods repo as a plugin marketplace: claude plugin marketplace add nateherkai/claude-code-mods Install the mod you want, for example Cache Keeper: claude plugin install cache-keeper@nateherk-mods Open a new chat, since mods load only when a chat starts
- Where can I get claude-code-mods?
- The source code and installation instructions are on GitHub: https://github.com/nateherkai/claude-code-mods
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
An AI harness built on Claude Code that captures your goals and context so AI can help you move from your current state to your ideal state.
A TypeScript coding agent CLI where a single 'ulw' or 'mass ulw' keyword in your prompt makes it plan, delegate to multiple models, and verify the work.
A Rust CLI that packs a codebase into a single prompt for LLMs, with a source tree, Handlebars templates, and token estimates.
A stateful agent harness for building AI agents with persistent memory, identity, and skills that learn over time, usable from a CLI, browser, or chat apps.
A CLI that scans your codebase and generates compact AI context files (CLAUDE.md, .cursorrules, AGENTS.md) so coding assistants spend fewer tokens exploring the project.