claude-code-cli

Expose Claude Code CLI as an MCP-based subagent for development workflows.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/photonics-dhl/Hermes --skill claude-code-cli-photonics-dhl
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude-code-cli
Source: https://github.com/photonics-dhl/Hermes/tree/main/hermes-home/skills/devops/claude-code-cli
Command: npx skills add https://github.com/photonics-dhl/Hermes --skill claude-code-cli-photonics-dhl

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hermes needs an integrated, controllable way to run Claude Code CLI tasks without leaving the Hermes environment. It provides a built-in subagent for the Claude Code CLI that can be invoked through the MCP protocol, enabling automated coding, browser automation, and research workflows inside Hermes.

Core Features & Use Cases

  • Built-in Claude Code CLI subagent that is invoked via delegate_task(acp_command='claude', acp_args=['--acp','--stdio']).
  • MCP-based task orchestration across multiple servers (e.g., semantic-scholar, paper-search, image-generation) with isolated user settings.
  • Easy integration with Hermes configuration via MCP YAML, enabling deterministic, auditable task execution.

Quick Start

Invoke Claude Code CLI through Hermes to execute an ACP-enabled task workflow.

Frequently Asked Questions about claude-code-cli

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

FAQPage Schema
How do I automate Claude Code CLI tasks inside Hermes using MCP?

Automate Claude Code CLI tasks by invoking the built-in subagent through the MCP framework via delegate_task(acp_command='claude', acp_args=['--acp','--stdio']), enabling code generation, browser automation, and research workflows.

What local configuration files do I need to run the Claude Code CLI subagent?

Running the Claude Code CLI subagent requires the Claude Code binary installed locally, along with configured MCP settings in ~/.claude/settings.json and ~/.hermes/mcp.yaml to ensure isolated and auditable task execution.

Can I use Claude Code CLI for browser automation and research queries within Hermes?

Yes, Claude Code CLI handles browser automation and research queries by orchestrating tasks across configured MCP servers like semantic-scholar, paper-search, and image-generation with isolated user settings.

Does the Hermes Claude Code subagent isolate its execution from core system data?

Yes, the subagent ensures isolation from Hermes core data by applying isolated user settings and local MCP configurations, guaranteeing deterministic and auditable task execution without affecting the core environment.

What is the best way to integrate Claude Code CLI with Hermes for DevOps automation?

The best way to integrate Claude Code CLI for DevOps automation is using the Hermes built-in subagent via the MCP protocol, which provides deterministic, auditable task execution for automated coding workflows.

Why does my Claude Code CLI subagent fail to execute tasks in Hermes?

Claude Code CLI task execution fails if the Claude Code binary is missing or if local MCP configuration files like ~/.claude/settings.json and ~/.hermes/mcp.yaml are not properly configured for isolated user settings.