Skip to content

/setup-git-guardrails

Install a Claude Code PreToolUse hook that blocks irreversible git operations before they execute: force pushes, hard resets, forced branch deletion, and working-tree discards. Use when a repository needs a tool-time safety net. Plain `git push` stays allowed.

shell
$ npx -y skills add OutlineDriven/odin-claude-plugin --skill setup-git-guardrails --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/setup-git-guardrails
How auto-invocation works

Context preview

The summary Claude sees to decide when to auto-load this skill.

Install a Claude Code PreToolUse hook that blocks irreversible git operations before they execute: force pushes, hard resets, forced branch deletion, and working-tree discards. Use when a repository needs a tool-time safety net. Plain `git push` stays allowed.
Ships withodin

Formerly known as the ODIN Claude Plugin. The repo URL stays the same; the brand has matured.

Get the whole plugin, auto-invoked
Stats
34
Stars
0
Views
0
Forks
Active
Maintenance
Python
Language
Apache-2.0
License
3h ago
Last commit
8mo ago
Created

Repo: OutlineDriven/odin-claude-plugin