win4r/claude-code-clawdbot-skill

122 stars · Last commit 2026-02-01

A Clawdbot skill to run Claude Code (Anthropic) on the host via the claude CLI (Agent SDK).

README preview

# 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 skill
- `scripts/claude_code_run.py`: a small wrapper that runs `claude -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
- `claude` binary available (default expected: `/home/ubuntu/.local/bin/claude`)

Check:
```bash

View full repository on GitHub →