Deadbolt — Development skill for Claude Code
Deadbolt for Claude Code: deterministic guardrails that stop your coding agent deleting the wrong thing.
How to install Deadbolt
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open Nagendhra-web/deadbolt and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Deadbolt does
Deadbolt for Claude Code: deterministic guardrails that stop your coding agent deleting the wrong thing. 117 rules, zero dependencies, Windows, macOS, Linux.
Alternatives in Development
- Claude Code Zh Cn — Claude Code CLI 简体中文本地化 / 汉化插件;支持 macOS、Linux、WSL、Windows 与新版 native,一行安装,更新后自动修复 721 ★
- SSH Skill — 面向 Codex 和 Claude Code 的跨平台 SSH 工作流 Skill,支持 Windows、macOS、Linux 488 ★
- Quosparr — 🐦 Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 ★
README
Deadbolt for Claude Code
Stop your coding agent deleting the wrong thing. Before it runs.
[](tests) [](https://nodejs.org) [](LICENSE) [](src/deadbolt.js) [](README.md)
**Deadbolt is a deterministic guardrails hook pack for Claude Code. It blocks destructive commands before they run, in plain language, with a safe alternative every time.**
Your agent is fast, and it runs the commands it writes. When it gets a path, a variable, or a database wrong, the result is not a typo. It is lost work.
Agent: rm -rf /
Deadbolt: Blocked. This would delete the root of the filesystem.
Safe alternative: Delete one named folder inside the project,
for example rm -rf ./tmp, and check the path first with ls.
Agent: rm -rf node_modules
Deadbolt: Allowed.
Why this exists
Coding agents delete things. In September to November 2026, reported agent deletions included an `rm -rf` that deleted about 600GB, an `rm -rf` that included `.git` and lost about 12 months of history, a `prisma migrate reset` run against production, and a `git reset --hard` that lost uncommitted work. Deadbolt blocks all of those patterns.
No model call. No prompt. No server. No API key. No network. Just 117 tested rules, running locally before every tool call.
What it blocks
117 rules in 12 groups:
- Recursive delete of protected paths:
/,~, home,.,.git,src, project root,*,.. - Empty variable delete:
rm -rf $VAR,rm -rf ${VAR},rm -rf "$VAR" - Command substitution delete:
rm -rf $(...),rm -rf `...` - Git destructive:
git push --forceto main, master, or prod,git reset --hard, `gi
Related Skills
Ccinfobar
A customizable status line for Claude Code with a drag-and-drop web editor, a terminal editor, 118 widgets, 30
Claude Code Reset
Backup-first CLI to inspect and reset Claude Code local state (credentials, account/billing cache, telemetry,
Claude Skills Manager
See and manage your Claude Code skills - turn them on, off, or slash-only without hand-editing settings.json.
Claude Stop Agents
Stop all running Claude Code background agents with one command (Windows, macOS, Linux)
Claude 3D Frog Office
Claude Code 세션을 개구리·카피바라 직원으로 보여 주는 3D 사무실 · A view-only 3D office that shows each Claude Code session as a fr
Rpe Harness
Local-first, zero-daemon verifiable execution kernel for coding agents (v1.19.0) — Linux/macOS/Windows, C2 Sou
Related Agents
Byok Token Security Expert
BYOK (Bring-Your-Own-Key) and OAuth token security expert. Deep on cross-platform OS keychain integration (mac
Desktop Dev
Builds the desktop app (Windows, macOS, Linux, as project.toml says) from product-designer's design and the AP
Slim Wrapper
tfx-route.sh 경유 전용 래퍼 에이전트. 코드를 직접 읽거나 수정하지 않고 Bash(tfx-route.sh)를 통해 Codex/Antigravity에 위임하는 thin wrapper. OS