Directory / Claude community plugins (Anthropic) / guard
guard
PreToolUse hooks for Claude Code that deny dangerous shell, git, and credential commands before they run: `rm -rf /` shapes, `git push --force`, `python -c` / `node -e` eval, pipe-to-shell, live credentials (`gh auth token`, `aws sts get-session-token`, `op read`), `git -c core.hooksPath=…` injection, silent commit reuse (`git commit -C HEAD~1`, `--reuse-message`). Each deny names the rule and prints a one-line override (`guard allowlist allow-command …`); decisions stream to a JSONL log the optional CLI reads (`pipx install tracine-guard`, then `guard noisy --since 24h` or `guard trace <session>`). Apache-2.0, no third-party deps. Defense in depth alongside Claude Code's own permissions — especially valuable for autonomous agent windows where no human is present to answer an ASK, so denies act as a hard floor. Not a sandbox or exfiltration boundary; see SECURITY.md.Description from the marketplace entry / plugin manifest.
Information source
Copied from the Claude community plugins (Anthropic) catalog (anthropics/claude-plugins-community), maintained by Anthropic (community submissions).
- Marketplace entry:
.claude-plugin/marketplace.json
Links are pinned to commit 06ec7b6 (2026-10-13), the version we synced. Not reviewed by us.
Install
Add the marketplace (once, in Claude Code)
/plugin marketplace add anthropics/claude-plugins-communityIn a Claude Code session
/plugin install guard@claude-communityFrom your shell
claude plugin install guard@claude-communityCommands follow each host's documentation (Claude Code, Claude Cowork docs). gh skill needs GitHub CLI 2.90 or later and is in public preview.
Listed from Anthropic (community submissions)'s catalog, not reviewed by us. Read the source before installing.
- Catalog
- Claude community plugins (Anthropic) (
claude-community) - Information source
- marketplace.json in anthropics/claude-plugins-community
- Author
- Not stated in the source
- Source code
- TracineHQ/guard
- Homepage
- github.com/TracineHQ/guard
- License
- Apache-2.0 (repository license)
- Repository stars
- 0 for TracineHQ/guard
- Added to catalog
- 2026-05-28
- Last change
- 2026-10-24 (last push to the repo)
What it contains
Hosted in an external repository, so contents are not counted here. See the source link.
Similar in Software development
- superpowers (Claude community plugin)
- mattpocock-skills (Claude community plugin)
- ponytail (Claude community plugin)
- caveman (Claude community plugin)
- claude-mem (Claude community plugin)
- understand-anything (Claude community plugin)