claude-code

Delegates coding tasks to the Claude Code CLI via terminal sessions with PTY support.

1|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/kaminocorp/hermes-alpha-hunter --skill claude-code-kaminocorp
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: claude-code
Source: https://github.com/kaminocorp/hermes-alpha-hunter/tree/main/skills/autonomous-ai-agents/claude-code
Command: npx skills add https://github.com/kaminocorp/hermes-alpha-hunter --skill claude-code-kaminocorp

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Delegating feature development, refactoring, and PR reviews to an autonomous coding agent requires managing interactive terminal sessions, long-running background processes, and isolated working directories, which is error-prone when done manually. ## Core Features & Use Cases - One-Shot Task Delegation: Run Claude Code with a single prompt in a specified working directory using PTY-enabled terminal calls. - Background Execution & Monitoring: Launch long-running tasks in background mode and track progress with process poll, log, submit, and kill actions. - PR Review Workflows: Clone repositories to temp directories or use git worktrees to review pull requests without touching the working tree. - Parallel Workstreams: Spawn multiple Claude Code instances across separate directories for independent tasks. - Use Case: Ask the agent to refactor an authentication module to JWT in a background session, monitor its progress, answer its questions via process submit, and receive a summary of the changes. ## Quick Start Ask the agent to run Claude Code on your project with a prompt like "Add error handling to the API calls" using a PTY terminal session 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 delegate a coding task to Claude Code from the terminal?▼

Run claude with a quoted prompt in a PTY-enabled terminal call, setting workdir to your project directory. For example, claude 'Add error handling to the API calls' executes the task and exits when done.

How do I run Claude Code in the background for long tasks?▼

Set background=true with pty=true in the terminal call to get a session ID. Monitor progress with process poll and log actions, send input with submit, and stop it with kill if needed.

Why does Claude Code hang when run without a PTY?▼

Claude Code is an interactive terminal application that requires a pseudo-terminal to function. Always pass pty=true in terminal calls, otherwise the session will hang waiting for terminal input.

How do I review a pull request with Claude Code without changing my working tree?▼

Clone the repository into a temp directory and check out the PR with gh pr checkout, or use git worktree add to create an isolated worktree. Then run claude with a review prompt in that directory.

Can I run multiple Claude Code instances in parallel?▼

Yes, spawn separate background sessions with different working directories for independent tasks. Use process list to monitor all active sessions and poll each one individually.

What are the prerequisites for using Claude Code?▼

Install the CLI with npm install -g @anthropic-ai/claude-code and run claude once to authenticate. Without installation and login, delegated tasks cannot start.