Jed
作者:Jed更新日 2026-05-11clawshell@clawhub_polucas/clawshell
セキュリティスキャン権限チェック#Approval#Sandbox

AlphaMoatによると、2026-09時点でClawshellのダウンロード数は3,749、スター数は7で、AIスキル全体5,078件中2,842位、IT運用・セキュリティでは264件中175位です。

インストール数
199
ダウンロード数
3749
スター数
7
総合順位
#2,842
全体の上位 56% · IT運用・セキュリティの上位 67%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗123365671
SkillHub ↗19937497—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

主文ではClawShellがコマンドのリスクを分析し、高リスク操作にはプッシュ通知で明示的な承認を求め、criticalに分類されたコマンドを自動的にブロックすると説明されています。

資料公開日 2026-10-27

できること

  • 高リスクコマンドを確認して介入する

使う場面

  • シェル操作の実行前に人間の承認を挟みたいとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

このシェルコマンドのリスクを評価し、承認が必要か説明して

月次の推移

ダウンロード数3749
2650324038302026-03 · ダウンロード数 27312026-05 · ダウンロード数 31432026-06 · ダウンロード数 32722026-07 · ダウンロード数 34742026-08 · ダウンロード数 35652026-09 · ダウンロード数 374926-0326-09
スター数7
6782026-03 · スター数 72026-05 · スター数 72026-06 · スター数 72026-07 · スター数 72026-08 · スター数 72026-09 · スター数 726-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093749—7
2026-083565+2.6%7
2026-073474+6.2%7
2026-063272+4.1%7
2026-053143—7
2026-032731—7

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

4.2 KB・ClawHub v0.1.0
---
name: clawshell
description: Human-in-the-loop security layer. Intercepts high-risk commands and requires push notification approval.
version: 0.1.0
metadata:
  openclaw:
    requires:
      bins: ["node"]
      env: ["CLAWSHELL_PUSHOVER_USER", "CLAWSHELL_PUSHOVER_TOKEN"]
    primaryEnv: "CLAWSHELL_PUSHOVER_USER"
すべて表示(全 122 行)
tags: [security, approval, sandbox]
---

# ClawShell

Human-in-the-loop security layer for OpenClaw. ClawShell intercepts shell commands before execution, analyzes their risk level, and requires your explicit approval (via push notification) for dangerous operations.

## How it works

1. The agent calls `clawshell_bash` instead of `bash`
2. ClawShell analyzes the command against built-in and configurable risk rules
3. Based on risk level:
   - **Critical** (e.g. `rm -rf /`, fork bombs) — automatically blocked
   - **High** (e.g. `rm -rf`, `curl` to external URLs, credential access) — sends a push notification and waits for your approval
   - **Medium** (e.g. `npm install`, `git push`) — logged and allowed
   - **Low** (e.g. `ls`, `cat`, `git status`) — allowed
4. All decisions are logged to `logs/clawshell.jsonl`

## Tools

### clawshell_bash

Secure replacement for `bash`. Analyzes command risk and executes only if safe or approved.

**Parameters:**
- `command` (string, required) — The shell command to execute
- `workingDir` (string, optional) — Working directory (defaults to cwd)

**Returns:** `{ exitCode, stdout, stderr }`

High-risk commands will block until you approve or reject via push notification. Critical commands are rejected immediately.

### clawshell_status

Returns current ClawShell state: pending approval requests and recent decisions.

**Parameters:** none

### clawshell_logs

Returns recent log entries for audit and debugging.

**Parameters:**
- `count` (number, optional) — Number of entries to return (default: 20)

## Setup

### 1. Install dependencies

```bash
cd /app/workspace/skills/clawshell
npm install
```

### 2. Configure Pushover notifications

Create a Pushover application at https://pushover.net/apps/build and add your keys to `.env`:

```env
CLAWSHELL_PUSHOVER_USER=your-user-key
CLAWSHELL_PUSHOVER_TOKEN=your-app-token
```

Alternatively, configure Telegram instead:

```env
CLAWSHELL_TELEGRAM_BOT_TOKEN=your-bot-token
CLAWSHELL_TELEGRAM_CHAT_ID=your-chat-id
```

### 3. Add to TOOLS.md

Add the following to your OpenClaw `TOOLS.md` so the agent uses ClawShell for shell commands:

```markdown
## Shell Access

Use `clawshell_bash` for ALL shell command execution. Do not use `bash` directly.
ClawShell will analyze commands for risk and require human approval for dangerous operations.

Available tools:
- `clawshell_bash(command, workingDir)` — Execute a shell command with risk analysis
- `clawshell_status()` — Check pending approvals and recent decisions
- `clawshell_logs(count)` — View recent audit log entries
```

## Configuration

ClawShell reads configuration from environment variables (`CLAWSHELL_*`) with fallback to `config.yaml`.

| Variable | Default | Description |
|---|---|---|
| `CLAWSHELL_PUSHOVER_USER` | — | Pushover user key |
| `CLAWSHELL_PUSHOVER_TOKEN` | — | Pushover app token |
| `CLAWSHELL_TELEGRAM_BOT_TOKEN` | — | Telegram bot token (alternative) |
| `CLAWSHELL_TELEGRAM_CHAT_ID` | — | Telegram chat ID (alternative) |
| `CLAWSHELL_TIMEOUT_SECONDS` | 300 | Seconds to wait for approval before auto-reject |
| `CLAWSHELL_LOG_DIR` | logs/ | Directory for JSONL log files |
| `CLAWSHELL_LOG_LEVEL` | info | Log verbosity: debug, info, warn, error |
| `CLAWSHELL_BLOCKLIST` | — | Comma-separated extra blocked commands |
| `CLAWSHELL_ALLOWLIST` | — | Comma-separated extra allowed commands |

Custom rules can also be defined in `config.yaml` under `rules.blocklist` and `rules.allowlist` using exact strings, globs, or regex patterns.

## Limitations

- **Not a security guarantee.** LLMs can encode, split, or obfuscate commands to bypass pattern matching.
- **Defense-in-depth only.** Use alongside OpenClaw's sandbox mode, not as a replacement.
- **Approval latency.** High-risk commands block execution until you respond or the timeout expires.

> **Always ask your AI to scan any skill or software for security risks.**

IT運用・セキュリティの人気スキル

SkillScanIT運用・セキュリティ

使う前にスキルパッケージの安全性を調べ、結果に応じて導入を止めるスキルです。

↓ 18.2万★ 41tokauthai
Free Ride - Unlimited free AIIT運用・セキュリティ

Manages free AI models from OpenRouter for OpenClaw. Automatically ranks models by quality, configures fallbacks for rate-limit handling, and updates opencla...

↓ 9.7万★ 485Shaishav Pidadi
OpenClaw BackupIT運用・セキュリティ

OpenClaw の設定、資格情報、ワークスペースをバックアップし復元するスキルです。

↓ 3.5万★ 93alex3alex
1passwordIT運用・セキュリティ

1Password CLI でシークレットを扱うための設定と使い方です。

↓ 3.5万★ 53Peter Steinberger
MoltGuard - Security & Antivirus & GuardrailsIT運用・セキュリティ

プロンプト注入や危険なコマンドを検出すると説明されている OpenClaw 用セキュリティプラグインです。

↓ 3.4万★ 116Thomas
TmuxIT運用・セキュリティ

tmux セッションを遠隔操作し、対話型 CLI にキーを送って出力を取得します。

↓ 3.3万★ 46Peter Steinberger
Security AuditorIT運用・セキュリティ

アプリケーションセキュリティ技術者の視点でコードと構成を監査します。

↓ 3万★ 51jgarrison929
Tencent COSIT運用・セキュリティ

Tencent Cloud のオブジェクトストレージとデータ処理サービスを管理するスキルです。

↓ 2.7万★ 15u_23a69fa7

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。