Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
Virtue-AI avatar

Safe Bash

  • Updated February 1, 2026
  • Virtue-AI/cowork-virtueai-plugin

safe-bash is a Claude Code skill in the AI & Agent Building category. Detects and blocks dangerous Bash commands before execution using pattern matching and AI-powered analysis

Key points

  • safe-bash
  • AI & Agent Building
  • AI-coding skill

Safe Bash by the numbers

  • Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add Virtue-AI/cowork-virtueai-plugin
/plugin install safe-bash@virtue-ai-plugins

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Last updatedFebruary 1, 2026
RepositoryVirtue-AI/cowork-virtueai-plugin

What it does

Detects and blocks dangerous Bash commands before execution using pattern matching and AI-powered analysis

README.md

Virtue-AI Plugins for Claude Code / Cowork

A collection of plugins for Claude Code and Cowork.

Available Plugins

Plugin Description
safe-bash Detects and blocks dangerous Bash commands before execution using pattern matching and AI-powered analysis

Installation

# Step 1: Add the marketplace
/plugin marketplace add Virtue-AI/cowork-virtueai-plugin

# Step 2: Install a plugin
/plugin install safe-bash

Or use the interactive UI:

  1. Run /plugin in Claude Code or Cowork
  2. Go to Marketplaces tab → Add Virtue-AI/cowork-virtueai-plugin
  3. Go to Discover tab → Find and install plugins

Plugins

safe-bash

Protects your system by intercepting Bash commands before execution.

Features:

  • Pattern Matching: Blocks known dangerous commands (rm -rf /, mkfs, dd, etc.)
  • AI Detection (Optional): Uses GPT-4o-mini to analyze commands when OPENAI_API_KEY is set

Configuration:

# Enable AI-powered detection (optional)
export OPENAI_API_KEY='your-api-key'

References

License

MIT

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.