Claude Skills · DevOps & Infrastructure

Command Guard

JKHeadley/instar

Set up a PreToolUse hook in .claude/settings.json that blocks dangerous commands — rm -rf, force push, database drops, and others — before they execute. Teaches the pattern of safety hooks for any Claude Code project. Trigger words: safety, guard, block dangerous, protect, prevent destructive, safe mode, dangerous commands, risky operations.

★ 77 MIT Synced 2 hours ago View SKILL.md

At a glance

DevOps & Infrastructure Manual install Node.js Actively maintained MIT

This skill is for DevOps & Infrastructure and helps you block dangerous shell commands, prevent accidental data loss, and set up safety hooks for code execution.

Install git clone --depth 1 https://github.com/JKHeadley/instar cp -r instar/skills/command-guard ~/.claude/skills/command-guard
Can use Not declared by the author

Setup, runtime and requirements describe JKHeadley/instar, the repo this skill ships in.

safetygitdatabasehooksRisk PreventionShell Commands

Also in JKHeadley/instar

View the repo
Agent Identity Productivity

Set up persistent agent identity files (AGENT.md, USER.md, MEMORY.md) and teach the agent to read them at every session start. Works in any...

Agent Memory Productivity

Teach cross-session memory patterns using MEMORY.md — what to save, how to organize it, how to maintain it over time, and how to structure t...

Agent Passport Support

View this agent's digital passport (identity + trust + allowed/forbidden actions) and verify a peer's passport against a proposed action (EX...

Agent Readiness Productivity

Score a task or workflow on its coordination-vs-judgment ratio to tell whether it's a good agent candidate (EXO 3.0 task-decomposition matri...

Credential Leak Detector DevOps & Infrastructure

PostToolUse hook that scans Bash tool output for leaked credentials — API keys, tokens, private keys, and secrets — before they reach the co...

Instar Dev Legal

Instar-specific development skill used by the instar-developing agent (Echo, or any agent assigned instar-dev responsibilities). Wraps /buil...

Instar Feedback Productivity

Submit structured feedback about instar bugs, feature requests, improvements, or innovations worth sharing. Use when something isn't working...

Instar Identity DevOps & Infrastructure

Establish and recover persistent agent identity that survives context compaction, session restarts, and autonomous operation. Use when an ag...

Instar Scheduler DevOps & Infrastructure

Schedule recurring agent tasks using cron expressions. Use when the user asks to run something on a schedule, check something periodically,...

Instar Session DevOps & Infrastructure

Spawn, monitor, and communicate with persistent Claude Code sessions running in the background. Use when a task needs to run without blockin...

Instar Telegram Productivity

Send and receive messages via Telegram for two-way agent communication. Use when the agent needs to notify the user, alert them about someth...

Iterative Converging Audit Code Review & Testing

Run any "find all instances of X" sweep — a security audit, a safety audit, a code review, a research question, a compliance check — as an i...

Other DevOps & Infrastructure skills

Wizard mattpocock/skills

Generate an interactive bash wizard that walks a human through a manual procedure — third-party setup, a one-off migration, an A→B state tra...

Git Guardrails Claude Code mattpocock/skills

Set up Claude Code hooks to block dangerous git commands (push, reset --hard, clean, branch -D, etc.) before they execute. Use when user wan...

Setup Matt Pocock Skills mattpocock/skills

Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before f...

Setup TS Deep Modules mattpocock/skills

Wire dependency-cruiser into a TypeScript repo so each package is a deep module — implementation hidden in subfolders, reachable only throug...

Setup Pre Commit mattpocock/skills

Set up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-comm...

Create a formal specification for an existing GitHub Actions CI/CD workflow, optimized for AI consumption and workflow maintenance.