Safety Guard — AI skill for Claude Code
Enforces Law 3 (One Thing at a Time) of the 7 Laws of AI Agent Discipline by scoping edits to a directory and blocking destructive shell commands.
How to install Safety Guard
Installs to ~/.claude/skills/naimkatiman-continuous-improvement-safety-guard/SKILL.md
mkdir -p ~/.claude/skills/naimkatiman-continuous-improvement-safety-guard && curl -fsSL https://raw.githubusercontent.com/naimkatiman/continuous-improvement/HEAD/skills/safety-guard.md -o ~/.claude/skills/naimkatiman-continuous-improvement-safety-guard/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Safety Guard does
name: safety-guard tier: "2" description: Enforces Law 3 (One Thing at a Time) of the 7 Laws of AI Agent Discipline by scoping edits to a directory and blocking destructive shell commands. Use this skill to prevent destructive operations when working on production systems or running agents autonomously. origin: continuous-improvement disable-model-invocation: true
Safety Guard — Prevent Destructive Operations
When to Use
- When working on production systems
- When agents are runn
Alternatives in AI
- Flow Define — Multi-AI requirements scoping using Codex and Gemini CLIs (Double Diamond Define phase) 2.8k ★
- Paritok 4b V1 — Non-destructive compression gateway for AI coding agents 1.4k ★
- Real-World Pain Points — Project: https://github.com/Narwhal-Lab/MagicSkills For many teams building multi-agent systems, the first thi 277 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Goal Monitor
Enforces Law 2 (Plan Is Sacred) of the 7 Laws of AI Agent Discipline. Detects when a session has drifted away
Recovery Classification
Enforces Law 4 (Verify Before Reporting) of the 7 Laws of AI Agent Discipline. After any failure in the verifi
AI Lawbook
Put your AI agent under the law. 12 role-based AI Laws (KO/EN) with penalties, verdicts, and a Confession Ledg
Instruction Health Skills
Agent skills to keep AI instruction files (AGENTS.md, CLAUDE.md, MEMORY.md) lean. Guardian runs before edits t
Verify Before Blocking
A portable discipline that stops AI agents from turning unverified assumptions into stop-work instructions. Si
GordenPPTSkill
AI-friendly PPT builder skill: 17 hand-polished Chinese PPTX templates + non-destructive text-only editing too
Related Agents
Protocol
Use when enforcing system laws, checking standards, validating rule integrity, or performing boot validation (
Evanflow Coder
Implementation subagent for one decomposed unit of work in the evanflow-coder-overseer pattern. Uses vertical-
Team Goal Auditor
Acceptance contract owner + goal-fidelity guard. Three enumerated phases: define (author definition-of-done.md