guards

guards is a Claude Code mod by void2610 that dotfiles のガード群 (git 操作のスキル強制・ブランチロック・コメント規約・文脈注入)。機能ごとに hooks/ 配下の 1 ファイル.

Updated 2026-10-17

What is guards?

guards is a Claude Code mod by void2610 that dotfiles のガード群 (git 操作のスキル強制・ブランチロック・コメント規約・文脈注入)。機能ごとに hooks/ 配下の 1 ファイル. It is listed under Security and has 1 GitHub stars.

TypeClaude code mod
Authorvoid2610
Repositoryvoid2610/dotfiles
Popularity1 GitHub stars
CategorySecurity
SecurityReview before installing (60/100)
Rank#2,380 of 5,272 Claude Code mods; #283 in Security
Last commit2026-10-17
Hooks2 events
SeesBash calls, Edit calls, Write calls, every prompt
Draws onnothing

Is guards safe to install?

guards scores 60/100 on the MCPMods security check: Review before installing. Things to review: starts processes outside the sandbox; reads environment variables; watches every prompt or event. It passed 4 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 processes outside the sandboxReview
Writes no files or configPass
Reads environment variablesReview
Watches every prompt or eventReview
Doesn't drive ClaudePass
Passes claude plugin validatePass
No license detectedNote

API calls in its code

CallWhat it means
$.env.getreads env vars
$.fs.readreads files
$.process.runruns processes

How do I install 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/void2610/dotfiles
    claude plugin validate ./dotfiles/.claude/mods/guards
  3. Install it. Run this in your terminal, then /reload-plugins in an open session.
    git clone https://github.com/void2610/dotfiles && claude --plugin-dir ./dotfiles/.claude/mods/guards

Or ask Claude to set it up

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

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

More from void2610/dotfiles

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

  • artifact-archive: 一時ディレクトリ (tmp/scratchpad) からの Artifact publish を拒否し ~/Documents/claude-artifacts への保存へ誘導する (Low risk)
  • git-context: 会話の最初のメッセージに現在ブランチ・git status・main からの差分コミットを注入する (Low risk)
  • ntfy-notify: メインループのターン完了を notify.sh 経由で ntfy.sh へプッシュ通知する (Review before installing)
  • nvim-title-state: nvim の内蔵ターミナルで動く Claude の状態を親 nvim のタブタイトルへ通知する (Review before installing)
  • pr-watch: 現在ブランチの OPEN PR を常駐監視し、CI fail / Copilot レビュー到着でセッションを起こす (pr-create の background スクリプト置き換え) (Review before installing)
  • scratchpad-open: 現セッションの scratchpad を Finder で開くボタンと /scratchpad コマンド (Review before installing)
  • ship-hud: ship フローの状態機械をペインで可視化する。/ship-hud でトグル、進行中フローがあれば自動で開く。モデル向けに status ツールも提供 (Review before installing)
  • turn-timer: 各ターンの所要時間とトークン消費をトーストで表示する (Low risk)