Using Claude Code Cli Agent Skill banner
SpillwaveSolutions SpillwaveSolutions

Using Claude Code Cli Agent Skill

Development community

Description

Claude Code skill for programmatically invoking Claude Code CLI from Python orchestrators, shell scripts, and automation pipelines. Supports Agent Skill Standard for 14+ coding agents.

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Using Claude Code CLI

[![Agent Skill Standard](https://img.shields.io/badge/Agent%20Skill-Standard-blue)](https://agentskills.io/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Skilz Compatible](https://img.shields.io/badge/skilz-compatible-green)](https://github.com/SpillwaveSolutions/skilz-cli)

A Claude Code skill for programmatically invoking Claude Code CLI from Python orchestrators, shell scripts, and automation pipelines.

Overview

This skill provides comprehensive patterns for:

  • Tool Pre-Approval - Eliminate permission prompts with --allowedTools
  • Directory Access - Grant Claude access to additional directories with --add-dir
  • Hooks Configuration - Set up logging, monitoring, and blocking hooks
  • Sandbox Mode - Safe execution for untrusted operations
  • Python Patterns - Synchronous, async, and parallel subprocess invocation
  • JSON Extraction - Parse structured output from CLI responses
  • Fallback Strategies - OpenCode CLI as backup

Quick Start

# Minimal automation command
claude -p "Your prompt" --allowedTools Write Read Edit

# Full automation with all options
claude \
  --model sonnet \
  --add-dir /path/to/skills \
  --allowedTools Write Read Edit Bash Task \
  --output-format json \
  -p "Your automation prompt"

Installation

Using Skilz Universal Installer (Recommended)

The recommended way to install this skill across different AI coding agents is using the [skilz](https://github.com/SpillwaveSolutions/skilz-cli) universal installer.

This skill supports the [Agent Skill Standard](https://agentskills.io/) which means it works with 14+ coding agents including Claude Code, OpenAI Codex, Cursor, and Gemini CLI.

Install Skilz

pip install skilz

Install from SkillzWave Marketplace

The easiest way to install is from the [SkillzWave Marketplace](https://skillzwave.ai/skill/SpillwaveSolutions__using-claud