Home / Claude Code mods / Security / tool-guards

tool-guards

tool-guards is a Claude Code mod by Akash001uts that stops Claude editing files through the shell (so /rewind works), keeps its attribution out of your commits and PRs, and asks before a read that would eat a quarter of your remaining context.

Updated 2026-11-19

What is tool-guards?

tool-guards is a Claude Code mod by Akash001uts that stops Claude editing files through the shell (so /rewind works), keeps its attribution out of your commits and PRs, and asks before a read that would eat a quarter of your remaining context. It is listed under Security and has 2 GitHub stars.

TypeClaude code mod
AuthorAkash001uts
RepositoryAkash001uts/claude-mods
Popularity2 GitHub stars
CategorySecurity
SecurityLow risk (100/100)
Rank#2,217 of 9,397 Claude Code mods; #271 in Security
LicenseMIT
Last commit2026-11-19
Stars this week+1
Hooks7 events
Seesclassic hooks, every tool call
Draws onnothing

Is tool-guards safe to install?

tool-guards scores 100/100 on the MCPMods security check: Low risk. No checks raised a concern. It passed 8 of 8 checks.

Mod footprints come from claude plugin validate, which lists every event a mod hooks and every API call it makes without running it.

CheckResult
No network accessPass
Starts no processesPass
Writes no files or configPass
Doesn't read environment variablesPass
Only sees the events it hooksPass
Doesn't drive ClaudePass
Passes claude plugin validatePass
Has an open-source licensePass

API calls in its code

CallWhat it means
$.command.register
$.fs.readreads files
$.fs.statreads files
$.session.usage
$.store.getkeeps its own state
$.store.setkeeps its own state
$.tool.check
$.ui.askdraws interface
$.ui.logdraws interface
$.ui.toastdraws interface

How do I install tool-guards?

  1. Check your Claude Code version. Mods need Claude Code 2.1.287 or later and are on by default.
    claude --version
  2. Read its footprint. This lists every event it hooks and every API call it makes, without running it.
    git clone https://github.com/Akash001uts/claude-mods
    claude plugin validate ./claude-mods/plugins/tool-guards
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    claude plugin marketplace add Akash001uts/claude-mods && claude plugin install tool-guards@akash-mods

Or ask Claude to set it up

Paste this into Claude Code and it installs tool-guards for you:

Install the "tool-guards" Claude Code mod from https://github.com/Akash001uts/claude-mods/tree/main/plugins/tool-guards. Run claude plugin validate on it first and show me what it can access before you enable it.

More from Akash001uts/claude-mods

This repository has at least 9 Claude Code mods on MCPMods.

  • application-assistant: Job and internship applications: a daily role scan, eligibility checks against your own profile, application packs, form (Low risk)
  • assessment-marker: Marks your uni assessments against the real rubric with High Distinction as the bar: a strict nine-section review, re-ma (Low risk)
  • auto-handoff: Hands a long session off cleanly: at a context threshold Claude updates the docs and writes a handoff, the session compa (Low risk)
  • context-bar: Stacked bar of the context window above or below the prompt, coloured by /context category, with rate limits, room befor (Low risk)
  • course-correct: Adds a note for Claude when it goes round in circles on the same error, says it's done without checking, or slips into w (Low risk)
  • needs-you: Messages you on Slack when Claude has been waiting on you for a while (a finished turn, a permission prompt, a question) (Review before installing)
  • pinned-notes: Pin notes to a session: /pin keeps them on show above the prompt and in Claude's system prompt, so they hold through com (Review before installing)
  • session-archive: Keeps a copy of every Claude Code session before the 30-day cleanup, titles each one, searches them by meaning and shows (Review before installing)