Clawdbot Skill
Description
A **Clawdbot skill** to run **Claude Code** (Anthropic) on the host via the `claude` CLI (Agent SDK).
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
claude-code-clawdbot-skill
A **Clawdbot skill** to run **Claude Code** (Anthropic) on the host via the `claude` CLI (Agent SDK).
This repo provides:
SKILL.md: how Clawdbot should use this skillscripts/claude_code_run.py: a small wrapper that runsclaude -p ...through a pseudo-terminal to avoid non-TTY hangs
Why a wrapper?
Claude Code can behave differently when there is no TTY. In automation (e.g., cron / headless runners), `claude -p` may hang. This wrapper uses `script -q -c ... /dev/null` to allocate a pseudo-terminal.
Requirements
- Claude Code installed on the same host
claudebinary available (default expected:/home/ubuntu/.local/bin/claude)
Check:
claude --version
Usage
Basic headless prompt:
./scripts/claude_code_run.py -p "Return only the single word OK." --permission-mode plan
Allow tools (least privilege recommended):
./scripts/claude_code_run.py \
-p "Run tests and fix failures" \
--allowedTools "Bash,Read,Edit"
Structured output:
./scripts/claude_code_run.py -p "Summarize this repo" --output-format json
中文说明
这是一个让 **Clawdbot** 在服务器上通过 **Claude Code CLI(claude)** 运行任务的 skill。
仓库包含:
SKILL.md:给 Clawdbot 用的 skill 说明scripts/claude_code_run.py:对claude -p的封装(分配伪终端),用于避免在无 TTY 环境下卡住
使用方法
基础测试:
./scripts/claude_code_run.py -p "Return only the single word OK." --permission-mode plan
允许工具(建议最小权限):
./scripts/claude_code_run.py \
-p "运行测试并修复失败" \
--allowedTools "Bash,Read,Edit"
结构化输出:
./scripts/claude_code_run.py -p "总结这个仓库" --output-format json
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI TrendRadar
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的
AI mem0
| Universal memory layer for AI Agents | 51341 | 221 | 1 |
AI