headless

Community

Automate Claude Code for scripting and CI/CD.

Authorreggiechan74
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Integrating AI into automated scripts, CI/CD pipelines, or other programmatic tools requires a non-interactive interface. This Skill enables running Claude Code in headless mode for seamless automation, eliminating manual intervention.

Core Features & Use Cases

  • Non-Interactive Execution: Run Claude Code programmatically via CLI for automation, scripting, and integration with other tools.
  • Structured Output: Get responses in JSON or streaming JSON formats for easy programmatic parsing and data extraction.
  • Session Management: Resume existing conversations for multi-turn workflows in scripts, maintaining context across automated tasks.
  • Use Case: Create a CI/CD pipeline step that uses Claude Code in headless mode to automatically review pull request changes for security vulnerabilities and output a JSON report, streamlining your code review process.

Quick Start

Run Claude Code in headless mode to ask 'What is the current git status?' and print the output as JSON.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: headless
Download link: https://github.com/reggiechan74/claude-plugins/archive/main.zip#headless

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository