guard
Activate safety guard mode — restrict edit scope, confirm destructive ops
Skill by Hbin77
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/hbin77-guard
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/guard
What's inside
- Skill name
guard- Description
- Activate safety guard mode — restrict edit scope, confirm destructive ops
- License
- MIT
- Instructions
- 53 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
Activate safety guard mode. Restricts editing scope and adds extra confirmation for destructive operations. Scope: the task/scope the user described when invoking this skill (if none given, ask or infer from context) ## Modes ### Mode 1: Freeze (edit scope restriction) When the task/scope the user described when invoking this skill (if none given, ask or infer from context) contains a path or file pattern: - ONLY files matching the specified scope may be edited; all others are READ-ONLY this session. - Before every edit, verify the target is within scope. If out of scope: warn and ask for explicit confirmation. - Example: `$guard src/auth/` → only files under `src/auth/` may be modified. ### Mode 2: Careful (destructive operation warnings) When the task/scope the user described when invoking this skill (if none given, ask or infer from context) is empty or contains "careful": - Before any destructive shell command, print a warning and ask for confirmation: - `rm`, `git reset`, `git checkout .`, `git clean` - `DROP`, `TRUNCATE`, `DELETE FROM` - `docker rm`, `docker system prune` - Any command modifying files outside the project directory - Before large-scale edits (5+ files), show a summary first. - Before any git push, show what will be pushed. ### Mode 3: Full Guard (freeze + careful) When the task/scope the user described when invoking this skill (if none given, ask or infer from context) contains both a path and "careful", apply both. ## Activation Print: ``` Guard Mode Activated - Scope: [restricted path or "all files"] - Mode: [freeze / careful / full] - To deactivate: tell me "guard off" ``` ## During Session Before every edit or shell command, check: 1. **Freeze check**: is the target within the allowed scope? 2. **Careful check**: is this destructive or large-scale? 3. If either fails → warn + ask confirmation before proceeding. ## Deactivation When the user says "guard off" or "가드 해제": ``` Guard Mode Deactivated - All restrictions removed ``` ## Rules - Guard mode is advisory — the user can always override with explicit confirmation. - Don't be annoying — only warn on genuinely risky operations, not every edit. - Always show what you're about to do when asking for confirmation. - Track which files were modified during guard mode for the deactivation summary.
From Hbin77/codex-kit, MIT.
More from Hbin77/codex-kit
- 0.518score
plan
Hbin77
Analyze the project and produce a detailed implementation plan
SkillBFreshness: BClaude Code +9 - 0.518score
qa
Hbin77
Browser QA — automation, accessibility audit, user flow verification
SkillBFreshness: BClaude Code +9 - 0.518score
refactor
Hbin77
Safe, systematic refactoring workflow — same behavior, better structure
SkillBFreshness: BClaude Code +9 - 0.518score
retro
Hbin77
Run a sprint/session retrospective to capture what worked, what didn't, and what to improve.
SkillBFreshness: BClaude Code +9 - 0.518score
code-smells
Hbin77
Analyze code for smells, anti-patterns, and refactoring opportunities.
SkillBFreshness: BClaude Code +9 - 0.518score
design-audit
Hbin77
Audit UI code against ui-ux-pro-max UX guidelines; report by severity
SkillBFreshness: BClaude Code +9 - 0.518score
design-system
Hbin77
Generate a MASTER design system using the ui-ux-pro-max skill
SkillBFreshness: BClaude Code +9 - 0.518score
dev
Hbin77
Full sequential dev pipeline — understand, plan, implement, verify, review
SkillBFreshness: BClaude Code +9 - 0.518score
explore
Hbin77
Explore and explain the project's architecture and structure
SkillBFreshness: BClaude Code +9 - 0.518score
extract-errors
Hbin77
Parse and analyze error logs, stack traces, and build output to identify and fix issues.
SkillBFreshness: BClaude Code +9 - 0.518score
investigate
Hbin77
Systematically diagnose a bug via structured root cause analysis
SkillBFreshness: BClaude Code +9 - 0.515score
browse
Hbin77
Open a URL in a headless browser, screenshot, and report
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 7, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/Hbin77/codex-kit
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Hbin77
- 0.518score
explore
Hbin77
Explore and explain the project's architecture and structure
SkillBFreshness: BClaude Code +9 - 0.518score
extract-errors
Hbin77
Parse and analyze error logs, stack traces, and build output to identify and fix issues.
SkillBFreshness: BClaude Code +9 - 0.518score
design-system
Hbin77
Generate a MASTER design system using the ui-ux-pro-max skill
SkillBFreshness: BClaude Code +9 - 0.518score
dev
Hbin77
Full sequential dev pipeline — understand, plan, implement, verify, review
SkillBFreshness: BClaude Code +9 - 0.518score
code-smells
Hbin77
Analyze code for smells, anti-patterns, and refactoring opportunities.
SkillBFreshness: BClaude Code +9 - 0.518score
investigate
Hbin77
Systematically diagnose a bug via structured root cause analysis
SkillBFreshness: BClaude Code +9
Cite this page
guard skill. Agent Mart. https://agentmart.dev/skills/hbin77-guard (last updated 2026-10-24)