claude-code-clawdbot

Run Claude Code headlessly via the claude CLI to analyze codebases and produce JSON outputs.

123|36|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/win4r/claude-code-clawdbot-skill --skill claude-code-clawdbot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-code-clawdbot
Source: https://github.com/win4r/claude-code-clawdbot-skill/tree/main
Command: npx skills add https://github.com/win4r/claude-code-clawdbot-skill --skill claude-code-clawdbot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Run Claude Code locally via the claude CLI to automate codebase analysis, refactoring suggestions, and test fixes, producing structured outputs to accelerate development workflows.

Core Features & Use Cases

  • Headless execution of Claude Code prompts to generate JSON outputs suitable for automation.
  • Fine-grained permission control with --allowedTools and --permission-mode for safe automation.
  • Interactive tmux-based mode for slash commands and long-running tasks when needed.

Quick Start

Use the wrapper to run Claude Code headlessly on a project and obtain structured output.

Frequently Asked Questions about claude-code-clawdbot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Claude Code headlessly to automate codebase analysis?

Run Claude Code headlessly by using the claude CLI to execute deterministic prompts on your local machine, producing structured JSON outputs for automated codebase analysis. This enables safe, repeatable automation for cron jobs and pipelines.

Can I use Claude Code in automated pipelines with controlled tool permissions?

Yes, Claude Code supports fine-grained permission control in automated pipelines using --allowedTools and --permission-mode flags to ensure safe automation. This restricts tool access while generating deterministic JSON results.

What is the best way to schedule Claude Code for automated code refactoring suggestions?

The best way to schedule automated code refactoring suggestions is running Claude Code headlessly via the claude CLI in cron jobs. It processes deterministic prompts and outputs structured JSON for pipeline integration.

Does Claude Code headless mode support interactive tasks and slash commands?

Claude Code headless mode supports interactive tasks and slash commands through an optional tmux-based mode. This handles long-running tasks when needed, while standard headless execution produces structured JSON outputs.

When should I use headless mode versus interactive mode for Claude Code automation?

Use headless mode for deterministic cron jobs and automated pipelines requiring structured JSON outputs, and use interactive tmux-based mode for long-running tasks or slash commands that need real-time interaction during codebase analysis.