claude-code

Delegate coding tasks to the Claude Code CLI via print mode or tmux sessions.

16|Updated Sep 22, 2026
One-click install
npx skills add https://github.com/igniteenow/robo --skill claude-code-igniteenow
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: claude-code
Source: https://github.com/igniteenow/robo/tree/main/skills/autonomous-ai-agents/claude-code
Command: npx skills add https://github.com/igniteenow/robo --skill claude-code-igniteenow

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @anthropic-ai/claude-code, tmux.

What problem does it solve? Orchestrating an autonomous coding agent from a terminal requires handling interactive prompts, permission dialogs, session state, and output formats, which is error-prone when done manually. ## Core Features & Use Cases - Two Orchestration Modes: Run one-shot non-interactive tasks with claude -p print mode, or drive multi-turn interactive REPL sessions through tmux with explicit dialog handling for workspace trust and permission prompts. - Structured Output & Session Control: Capture JSON results with cost and token usage, enforce output schemas, stream events, and resume or fork sessions by ID. - Parallel & Automated Workflows: Launch multiple independent Claude instances in tmux, configure hooks, MCP servers, custom subagents, and CLAUDE.md project memory. - Use Case: Pipe a git diff into claude -p to get an automated PR review, or run parallel instances to fix a bug, write tests, and update docs simultaneously. ## Quick Start Ask the agent to run claude -p with your coding task, an allowedTools whitelist, and a max-turns limit in your project directory.

Frequently Asked Questions about claude-code

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

FAQPage Schema
How do I run Claude Code non-interactively from a script?▼

Use print mode with claude -p followed by your prompt, which runs a one-shot task and exits without interactive prompts. Add --max-turns to cap agentic loops and --allowedTools to whitelist tools like Read and Edit.

How to get structured JSON output from Claude Code CLI?▼

Pass --output-format json to receive a result object containing the response text, session_id, num_turns, total_cost_usd, and token usage. You can also supply --json-schema to force the output to match a specific structure.

How do I handle the workspace trust dialog in Claude Code automation?▼

In interactive tmux sessions, send Enter to accept the default trust option on first visit to a directory. For the bypass-permissions warning, send Down then Enter to select the accept option, since the default is to exit.

Can Claude Code resume a previous session?▼

Yes, use claude -c to continue the most recent conversation in the current directory, or claude -r with a session ID to resume a specific session. The --fork-session flag creates a new session ID while keeping the history.

What are the limitations of Claude Code print mode?▼

Print mode is single-shot and does not support multi-turn conversation or slash commands. Flags like --max-turns, --max-budget-usd, and --fallback-model only apply in print mode, and --bare requires an ANTHROPIC_API_KEY since it skips OAuth.