[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6FW698JV79Z72WPXMVK7ASC":3,"skill-same:01M6FW698JV79Z72WPXMVK7ASC":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M6FW698JV79Z72WPXMVK7ASC","clawshell",null,"Human-in-the-loop security layer. Intercepts high-risk commands and requires push notification approval.","kbarbel640-del\u002Fskills","kbarbel640-del","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F255315490?v=4","01M6CJPPQGCCESXMG3K7BBGQ5J","01M6CJPPX2PB2BCZERFVM2C2B3",1,"MIT","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flucky-2968\u002Fclawshell-0-1-0\u002FSKILL.md",[],[5,18,19,20,21,22,23,24,25,26,27,28,29,30],"sandbox","security","push","risk","human-in-the-loop","loop","node","user","approval","human","pushover","commands","token","2026-11-10 10:12:30",false,"---\nname: clawshell\ndescription: Human-in-the-loop security layer. Intercepts high-risk commands and requires push notification approval.\nversion: 0.1.0\nmetadata:\n  openclaw:\n    requires:\n      bins: [\"node\"]\n      env: [\"CLAWSHELL_PUSHOVER_USER\", \"CLAWSHELL_PUSHOVER_TOKEN\"]\n    primaryEnv: \"CLAWSHELL_PUSHOVER_USER\"\ntags: [security, approval, sandbox]\n---\n\n# ClawShell\n\nHuman-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.\n\n## How it works\n\n1. The agent calls `clawshell_bash` instead of `bash`\n2. ClawShell analyzes the command against built-in and configurable risk rules\n3. Based on risk level:\n   - **Critical** (e.g. `rm -rf \u002F`, fork bombs) — automatically blocked\n   - **High** (e.g. `rm -rf`, `curl` to external URLs, credential access) — sends a push notification and waits for your approval\n   - **Medium** (e.g. `npm install`, `git push`) — logged and allowed\n   - **Low** (e.g. `ls`, `cat`, `git status`) — allowed\n4. All decisions are logged to `logs\u002Fclawshell.jsonl`\n\n## Tools\n\n### clawshell_bash\n\nSecure replacement for `bash`. Analyzes command risk and executes only if safe or approved.\n\n**Parameters:**\n- `command` (string, required) — The shell command to execute\n- `workingDir` (string, optional) — Working directory (defaults to cwd)\n\n**Returns:** `{ exitCode, stdout, stderr }`\n\nHigh-risk commands will block until you approve or reject via push notification. Critical commands are rejected immediately.\n\n### clawshell_status\n\nReturns current ClawShell state: pending approval requests and recent decisions.\n\n**Parameters:** none\n\n### clawshell_logs\n\nReturns recent log entries for audit and debugging.\n\n**Parameters:**\n- `count` (number, optional) — Number of entries to return (default: 20)\n\n## Setup\n\n### 1. Install dependencies\n\n```bash\ncd \u002Fapp\u002Fworkspace\u002Fskills\u002Fclawshell\nnpm install\n```\n\n### 2. Configure Pushover notifications\n\nCreate a Pushover application at https:\u002F\u002Fpushover.net\u002Fapps\u002Fbuild and add your keys to `.env`:\n\n```env\nCLAWSHELL_PUSHOVER_USER=your-user-key\nCLAWSHELL_PUSHOVER_TOKEN=your-app-token\n```\n\nAlternatively, configure Telegram instead:\n\n```env\nCLAWSHELL_TELEGRAM_BOT_TOKEN=your-bot-token\nCLAWSHELL_TELEGRAM_CHAT_ID=your-chat-id\n```\n\n### 3. Add to TOOLS.md\n\nAdd the following to your OpenClaw `TOOLS.md` so the agent uses ClawShell for shell commands:\n\n```markdown\n## Shell Access\n\nUse `clawshell_bash` for ALL shell command execution. Do not use `bash` directly.\nClawShell will analyze commands for risk and require human approval for dangerous operations.\n\nAvailable tools:\n- `clawshell_bash(command, workingDir)` — Execute a shell command with risk analysis\n- `clawshell_status()` — Check pending approvals and recent decisions\n- `clawshell_logs(count)` — View recent audit log entries\n```\n\n## Configuration\n\nClawShell reads configuration from environment variables (`CLAWSHELL_*`) with fallback to `config.yaml`.\n\n| Variable | Default | Description |\n|---|---|---|\n| `CLAWSHELL_PUSHOVER_USER` | — | Pushover user key |\n| `CLAWSHELL_PUSHOVER_TOKEN` | — | Pushover app token |\n| `CLAWSHELL_TELEGRAM_BOT_TOKEN` | — | Telegram bot token (alternative) |\n| `CLAWSHELL_TELEGRAM_CHAT_ID` | — | Telegram chat ID (alternative) |\n| `CLAWSHELL_TIMEOUT_SECONDS` | 300 | Seconds to wait for approval before auto-reject |\n| `CLAWSHELL_LOG_DIR` | logs\u002F | Directory for JSONL log files |\n| `CLAWSHELL_LOG_LEVEL` | info | Log verbosity: debug, info, warn, error |\n| `CLAWSHELL_BLOCKLIST` | — | Comma-separated extra blocked commands |\n| `CLAWSHELL_ALLOWLIST` | — | Comma-separated extra allowed commands |\n\nCustom rules can also be defined in `config.yaml` under `rules.blocklist` and `rules.allowlist` using exact strings, globs, or regex patterns.\n\n## Limitations\n\n- **Not a security guarantee.** LLMs can encode, split, or obfuscate commands to bypass pattern matching.\n- **Defense-in-depth only.** Use alongside OpenClaw's sandbox mode, not as a replacement.\n- **Approval latency.** High-risk commands block execution until you respond or the timeout expires.\n\n> **Always ask your AI to scan any skill or software for security risks.**\n","# ClawShell\n\nHuman-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.\n\n## How it works\n\n1. The agent calls `clawshell_bash` instead of `bash`\n2. ClawShell analyzes the command against built-in and configurable risk rules\n3. Based on risk level:\n   - **Critical** (e.g. `rm -rf \u002F`, fork bombs) — automatically blocked\n   - **High** (e.g. `rm -rf`, `curl` to external URLs, credential access) — sends a push notification and waits for your approval\n   - **Medium** (e.g. `npm install`, `git push`) — logged and allowed\n   - **Low** (e.g. `ls`, `cat`, `git status`) — allowed\n4. All decisions are logged to `logs\u002Fclawshell.jsonl`\n\n## Tools\n\n### clawshell_bash\n\nSecure replacement for `bash`. Analyzes command risk and executes only if safe or approved.\n\n**Parameters:**\n- `command` (string, required) — The shell command to execute\n- `workingDir` (string, optional) — Working directory (defaults to cwd)\n\n**Returns:** `{ exitCode, stdout, stderr }`\n\nHigh-risk commands will block until you approve or reject via push notification. Critical commands are rejected immediately.\n\n### clawshell_status\n\nReturns current ClawShell state: pending approval requests and recent decisions.\n\n**Parameters:** none\n\n### clawshell_logs\n\nReturns recent log entries for audit and debugging.\n\n**Parameters:**\n- `count` (number, optional) — Number of entries to return (default: 20)\n\n## Setup\n\n### 1. Install dependencies\n\n```bash\ncd \u002Fapp\u002Fworkspace\u002Fskills\u002Fclawshell\nnpm install\n```\n\n### 2. Configure Pushover notifications\n\nCreate a Pushover application at https:\u002F\u002Fpushover.net\u002Fapps\u002Fbuild and add your keys to `.env`:\n\n```env\nCLAWSHELL_PUSHOVER_USER=your-user-key\nCLAWSHELL_PUSHOVER_TOKEN=your-app-token\n```\n\nAlternatively, configure Telegram instead:\n\n```env\nCLAWSHELL_TELEGRAM_BOT_TOKEN=your-bot-token\nCLAWSHELL_TELEGRAM_CHAT_ID=your-chat-id\n```\n\n### 3. Add to TOOLS.md\n\nAdd the following to your OpenClaw `TOOLS.md` so the agent uses ClawShell for shell commands:\n\n```markdown\n## Shell Access\n\nUse `clawshell_bash` for ALL shell command execution. Do not use `bash` directly.\nClawShell will analyze commands for risk and require human approval for dangerous operations.\n\nAvailable tools:\n- `clawshell_bash(command, workingDir)` — Execute a shell command with risk analysis\n- `clawshell_status()` — Check pending approvals and recent decisions\n- `clawshell_logs(count)` — View recent audit log entries\n```\n\n## Configuration\n\nClawShell reads configuration from environment variables (`CLAWSHELL_*`) with fallback to `config.yaml`.\n\n| Variable | Default | Description |\n|---|---|---|\n| `CLAWSHELL_PUSHOVER_USER` | — | Pushover user key |\n| `CLAWSHELL_PUSHOVER_TOKEN` | — | Pushover app token |\n| `CLAWSHELL_TELEGRAM_BOT_TOKEN` | — | Telegram bot token (alternative) |\n| `CLAWSHELL_TELEGRAM_CHAT_ID` | — | Telegram chat ID (alternative) |\n| `CLAWSHELL_TIMEOUT_SECONDS` | 300 | Seconds to wait for approval before auto-reject |\n| `CLAWSHELL_LOG_DIR` | logs\u002F | Directory for JSONL log files |\n| `CLAWSHELL_LOG_LEVEL` | info | Log verbosity: debug, info, warn, error |\n| `CLAWSHELL_BLOCKLIST` | — | Comma-separated extra blocked commands |\n| `CLAWSHELL_ALLOWLIST` | — | Comma-separated extra allowed commands |\n\nCustom rules can also be defined in `config.yaml` under `rules.blocklist` and `rules.allowlist` using exact strings, globs, or regex patterns.\n\n## Limitations\n\n- **Not a security guarantee.** LLMs can encode, split, or obfuscate commands to bypass pattern matching.\n- **Defense-in-depth only.** Use alongside OpenClaw's sandbox mode, not as a replacement.\n- **Approval latency.** High-risk commands block execution until you respond or the timeout expires.\n\n> **Always ask your AI to scan any skill or software for security risks.**\n",{"name":5,"tags":36,"version":37,"metadata":38,"description":7},[19,26,18],"0.1.0",{"openclaw":39},{"requires":40,"primaryEnv":42},{"env":41,"bins":44},[42,43],"CLAWSHELL_PUSHOVER_USER","CLAWSHELL_PUSHOVER_TOKEN",[24],"main","e7e336ac628c3e3bd771aff1aaa469c93778f94a","skills\u002Flucky-2968\u002Fclawshell-0-1-0",0,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del","2026-08-23 22:39:37",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add kbarbel640-del\u002Fskills --skill clawshell",{"tool":58,"command":59},"bunx","bunx skills add kbarbel640-del\u002Fskills --skill clawshell",{"tool":61,"command":62},"pnpm","pnpm dlx skills add kbarbel640-del\u002Fskills --skill clawshell","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flucky-2968\u002Fclawshell-0-1-0\u002FSKILL.md",true,[66,72,76,80],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"_meta.json","REFERENCE","参考文档",286,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flucky-2968\u002Fclawshell-0-1-0\u002F_meta.json",{"path":73,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":74,"sourceHtmlUrl":75},"package-lock.json",437,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flucky-2968\u002Fclawshell-0-1-0\u002Fpackage-lock.json",{"path":77,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":78,"sourceHtmlUrl":79},"package.json",58,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flucky-2968\u002Fclawshell-0-1-0\u002Fpackage.json",{"path":81,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":82,"sourceHtmlUrl":83},"pnpm-lock.yaml",410,"https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Flucky-2968\u002Fclawshell-0-1-0\u002Fpnpm-lock.yaml",[85,116,145,166,172,192],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":96,"publishedAt":31},"01M6G8J55967D6281ACMKAKTEQ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[91],{"categoryNo":92,"categoryName":93,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],"crowd prompting","prompting","api","with","tokens","domain","world","prompts","operations","instructions","text","tool","system","improve","productivity","marketplace","https","content","ai agents",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":127,"publishedAt":31},"01M6G8J0PKPAYVET6BWE8W4C26","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[122],{"categoryNo":123,"categoryName":124,"taxonomyType":125,"taxonomyTypeDesc":126},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[128,99,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,104,144],"dilemm ai","arena","analyze","browser","openclaw agent","create","automation","browser automation","bot","openclaw","design","strategy","headless","compete","submit","matchmaking","use",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":154,"publishedAt":31},"01M6G8HWAF3K9SW7NP3Z83CPJ6","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, and submit comments. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, or submitting paper reviews via API at http:\u002F\u002F150.158.152.82:8000.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Fweak-accept\u002FSKILL.md",[151],{"categoryNo":152,"categoryName":153,"taxonomyType":125,"taxonomyTypeDesc":126},"01JBSEEDCAT000000000000021","资料检索与研究",[155,156,157,158,159,160,161,100,162,142,144,163,99,164,165],"arxiv paper reviews","reviews","arxiv","paper","crawler","papers","comments","fetch","read","http","via",{"skillNo":167,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":168,"categories":169,"keywords":171,"publishedAt":31},"01M6G8HQJ7N7WMY6YV7D7SSJ16","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[170],{"categoryNo":152,"categoryName":153,"taxonomyType":125,"taxonomyTypeDesc":126},[158,157,156,155,165,160,161,100,159,142,144,162,163,99,164],{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":31},"01M6G8HM95Y64JNVFC2HN4E2BG","git-summary","Get a quick summary of the current Git repository including status, recent commits, branches, and contributors.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzweack\u002Fgit-summary\u002FSKILL.md",[],[179,180,181,182,183,184,185,186,187,188,189,190,191],"git","summary","git summary","commits","repository","win32","status","linux","contributors","true","quick","get","branches",{"skillNo":193,"name":194,"nameZh":6,"description":195,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":196,"categories":197,"keywords":202,"publishedAt":31},"01M6G8HGEGF05CNEJCGVYFSC4R","agent-constitution","Interact with AgentConstitution governance contracts on Base Sepolia. Check compliance, read rules, log actions, query governance state.","https:\u002F\u002Fgithub.com\u002Fkbarbel640-del\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fztsalexey\u002Fagent-constitution\u002FSKILL.md",[198,199],{"categoryNo":123,"categoryName":124,"taxonomyType":125,"taxonomyTypeDesc":126},{"categoryNo":200,"categoryName":201,"taxonomyType":94,"taxonomyTypeDesc":95},"01JBSEEDCAT000000000000037","律师与法务",[203,204,205,206,100,207,208,45,209,163,210,211,212,213,214,113,215,216,217],"agent constitution","constitution","contracts","tree","query","base","log","check","Rules","projects","compliance","actions","state","governance","github"]