Skip to content
Security
Command

/hs

Hardstop - Pre-execution safety layer for shell commands. Shows status and help.

From plugin
hs
326 skills6 commands1 hook
> /plugin marketplace add frmoretto/hardstop
> /plugin install hs@hardstop

Command definition

hs.md
description: Hardstop - Pre-execution safety layer for shell commands. Shows status and help.
argument-hint: [on|off|skip|status|log|help]
allowed-tools: ["Bash"]

Hardstop Command

Hardstop is a pre-execution safety layer that blocks dangerous shell commands using pattern matching + LLM analysis.

Context

  • State directory: `~/.hardstop/`
  • State file: `~/.hardstop/state.json`
  • Skip flag: `~/.hardstop/skip_next`
  • Audit log: `~/.hardstop/audit.log`

Your Task

Based on the argument provided (`$ARGUMENTS`), perform the appropriate action:

If no argument or "help" or "status":

Run this command to show current status:

python "${CLAUDE_PLUGIN_ROOT}/commands/hs_cmd.py" status

If argument is "on" or "enable":

Use `/on` command instead, or run:

python "${CLAUDE_PLUGIN_ROOT}/commands/hs_cmd.py" on

If argument is "off" or "disable":

Use `/off` command instead, or run:

python "${CLAUDE_PLUGIN_ROOT}/commands/hs_cmd.py" off

If argument is "skip" or "bypass":

Use `/skip` command instead, or run:

python "${CLAUDE_PLUGIN_ROOT}/commands/hs_cmd.py" $ARGUMENTS

If argument is "log" or "logs" or "audit":

Use `/log` command instead, or run:

python "${CLAUDE_PLUGIN_ROOT}/commands/hs_cmd.py" log

Available Commands

  • `/hs` or `/hs status` - Show current status
  • `/hs on` - Enable protection
  • `/hs off` - Disable protection temporarily
  • `/hs skip` - Skip safety check for next command only
  • `/hs log` - Show recent audit log entries
  • `/hs help` - Show this help

Or use the shorthand commands directly:

  • `/on` - Enable protection
  • `/off` - Disable protection
  • `/skip` - Skip next command
  • `/status` - Show status
  • `/log` - Show audit log
Read more
@frmoretto
Ships withhs

👉 ⭐ Star on GitHub if Hardstop keeps you safe! Pre-execution safety validation for AI coding agents.

Stars on GitHub

Momentum

stars in total
32
Star history of frmoretto/hardstop on GitHub, a chart by star-history.com

Other commands on hs.

off

off

Command

Disable Hardstop protection temporarily

@frmoretto@frmorettoInstall Command
skip

skip

Command

Skip Hardstop safety check for the next command only

@frmoretto@frmorettoInstall Command

More commands from other plugins.

deslop-reborn

deslop-reborn

Command

One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents (thermo-nuclear…

@nearai@nearaiInstall Command
audit

audit

Command

Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…

@trailofbits@trailofbitsInstall Command
arsenal

arsenal

Command

Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…

@awarexone@awarexoneInstall Command