openclaw-skill
A comprehensive Agent Skill for installing, configuring, operating, and troubleshooting OpenClaw — a self-hosted, multi-channel AI agent gateway.
A Clawdbot skill to run Claude Code (Anthropic) on the host via the claude CLI (Agent SDK).
$ npx -y skills add win4r/claude-code-clawdbot-skill --agent claude-code
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 runs claude -p ... through a pseudo-terminal to avoid non-TTY hangsClaude 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.
claude binary available (default expected: /home/ubuntu/.local/bin/claude)Check:
claude --version
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
A comprehensive Agent Skill for installing, configuring, operating, and troubleshooting OpenClaw — a self-hosted, multi-channel AI agent gateway.
A Claude Code skill for maintaining and optimizing OpenClaw workspace files — the markdown files that form an AI agent's soul, memory, and operating procedures.
claude-code-clawdbot-skill is a Claude Code plugin with 1 hand-picked skill, indexed on Flowy in the Agent Orchestration category. Install it with the command on its page. It includes claude-code-clawdbot-skill. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it