win4rwin4rCommunityยท1 Agent Skills Included

claude-code-clawdbot-skill

Run Claude Code headlessly without terminal hangs

Runs Claude Code CLI commands reliably in headless and interactive modes on any host. Prevents hangs in cron jobs and CI pipelines by allocating a pseudo-terminal automatically. Supports tool allowlists, plan mode, JSON output, and tmux sessions for slash-command workflows like Spec Kit.
npx skills add win4r/claude-code-clawdbot-skill --all -g -y

All Skills in This Repository (1)

Pure Emerald Level Indicators

Frequently Asked Questions

FAQPage Schema
How to install claude-code-clawdbot-skill?โ–ผ

Run `npx skills add win4r/claude-code-clawdbot-skill --all -g -y` in your terminal to install this skill globally.

Why does Claude Code hang in cron or CI jobs?โ–ผ

Claude Code expects a terminal, and non-TTY environments can cause it to hang. This skill wraps the CLI with a pseudo-terminal so headless runs complete reliably.

How to run Claude Code slash commands in automation?โ–ผ

The wrapper detects slash commands like /speckit.* and automatically starts an interactive tmux session, which avoids the hangs common with headless mode.

Can I restrict which tools Claude Code uses?โ–ผ

Yes. Pass --allowedTools with a narrow list like Bash,Read,Edit to follow least-privilege principles in automated workflows.

Does it support structured JSON output?โ–ผ

Yes. Add --output-format json to any prompt to get machine-readable results, ideal for CI pipelines and scripting.

Related Repositories in Software Engineering

View All in Software Engineeringโ†’