ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 5/5

safe-shell

安全命令行执行器 - 仅允许读取类和查询类命令,阻断所有危险操作。安装命令:npx clawhub@latest install safe-shell

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/chengyusheng188/safe-shell
Or

What This Skill Does

The safe-shell skill for OpenClaw is a highly restricted, read-only terminal environment designed to empower AI agents to gather system information without the risk of accidental modification. It provides a secure bridge between your environment and the AI, enforcing a strict allow-list policy that permits only non-destructive commands across macOS, Linux, and Windows. By neutralizing hazardous commands like rm, chmod, or sudo, it ensures that your system remains untouched while allowing the AI to troubleshoot performance, inspect network configurations, and verify system state.

Installation

To install this skill, run the following command in your terminal: npx clawhub@latest install safe-shell

Use Cases

  • Remote Troubleshooting: Let the AI diagnose network latency by running ping, traceroute, or netstat commands independently.
  • Performance Monitoring: Allow the agent to check active processes with ps or tasklist to identify resource-heavy applications without granting permissions to kill them.
  • System Auditing: Use the agent to retrieve current user info, hardware device lists, or environment variables for diagnostic reports.
  • File Exploration: Grant the AI permission to inspect configuration files using cat or type, facilitating context-aware analysis without risking file deletion.

Example Prompts

  1. "Check the current disk space availability on my machine and tell me if any partition is nearing capacity."
  2. "Show me the current network configuration and provide a list of all active TCP connections."
  3. "Who is currently logged in, and can you list the top 5 CPU-consuming processes right now?"

Tips & Limitations

This skill is built for read-only safety. If your workflow requires the AI to perform installation or file updates, you will need to complement this with a separate, high-privilege execution skill. Ensure that you monitor the output logs for any unrecognized command attempts, as the safety wrapper will block them by default. This tool is ideal for developers who want to expose system telemetry to an agent while maintaining a zero-trust policy regarding system state changes.

Metadata

Stars3840
Views2
Updated2026-04-06
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-chengyusheng188-safe-shell": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#shell#security#monitoring#cli#system-info
Safety Score: 5/5

Flags: file-read