Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cli-claude-code

БесплатноБез исполняемых скриптовНе проверен

Claude Code CLI executor for Anthropic-backed reasoning, edits, reviews, and structured cross-AI handoff.

MichelKerkmeesterот MichelKerkmeester★ 40 звёзд на GitHub

Об этом скилле

Claude Code CLI Orchestrator - Cross-AI Task Delegation

CRITICAL — SELF-INVOCATION PROHIBITED

This skill dispatches to the Anthropic CLI binary (claude). If the agent currently reading this skill is itself running inside Claude Code (detection signals listed in ROUTER.md), the skill MUST refuse to load and return the documented error message instead of generating any claude invocation.

A running CLI skill never dispatches itself. The cli-X skills are for cross-AI delegation only — never self-invocation.

Orchestrate Anthropic's Claude Code CLI from external AI assistants (OpenCode, Copilot, etc.) for tasks that benefit from deep extended thinking, surgical code editing, structured output with JSON schema validation, agent delegation, or persistent memory context.

Core Principle: The calling AI stays the conductor. Delegate to Claude Code for what it does best — deep reasoning, precise code editing, and structured analysis. Validate and integrate the output.


1. WHEN TO USE

Activation Triggers

  • Deep Reasoning — extended-thinking architectural decisions, multi-dimensional trade-off analysis, step-by-step algorithm design, root-cause analysis of subtle bugs.
  • Code Editing — surgical diff-based edits, pattern-preserving refactors, and multi-file coordinated changes.
  • Structured Output — --json-schema-validated output, machine-readable analysis, guaranteed-structure data extraction, pipeline integration.
  • Code Review — second-AI security audits, extended-thinking architecture review, cross-AI validation, pre-merge quality gates.
  • Agent-Delegated Tasks — specialized .claude/agents/*.md matches, --permission-mode plan read-only exploration, @ai-council planning, session continuity (--continue, --resume).
  • Background Processing — long-running offloaded analysis, parallel generation/docs, batch processing with --max-budget-usd cost control.

When NOT to Use

  • You ARE Claude Code already. If your runtime is Claude Code (detection signal: $CLAUDECODE env var set, claude in process ancestry, or ~/.claude/state/<id>/lock present), this skill refuses to load. Self-invocation creates a circular dispatch loop and burns tokens for no value. The cli-X family is exclusively for cross-AI delegation.
    • Run the work natively instead. Dispatch a subagent with the Agent tool. Its model parameter picks the model, and it takes no effort setting.
    • Effort comes from the session. A subagent runs at the session's effort level unless its agent definition sets effort (low, medium, high, xhigh or max), so a definition is needed only for a level different from the session's, such as ~/.claude/agents/opus-xhigh.md. A new or edited definition loads within seconds, with no restart.
    • Source: the effort row of the frontmatter table at code.claude.com/docs/en/sub-agents; where this summary and that page differ, the page wins.
  • Simple, quick tasks where CLI overhead is not worth it.
  • Tasks requiring interactive terminal UI (use claude directly instead).
  • Context already loaded and understood by the calling AI.
  • Tasks where Claude Code CLI is not installed.
  • Real-time web search (Claude Code has no --search flag — use OpenCode).

2. SMART ROUTING

The cli-external-orchestration hub routes an Anthropic dispatch here: the prompt names Claude Code, the Claude CLI, extended thinking or a deep-reasoning handoff, and the hub's cli-claude-code mode signal selects this packet. A session already running inside Claude Code never routes here; the self-invocation guard refuses it. The hub ROUTER.md names the two leaves a dispatch starts from. Inside this packet the ALWAYS tier loads first: references/cli-reference.md for the flags, models and permission modes, and assets/prompt-quality-card.md for the fast-path prompt framework. Intent-mapped references load after those, one set per intent. Read ROUTER.md before selecting skill-local resources; open only the matched files.


3. HOW IT WORKS

Execution Ownership

This packet owns user-facing routing, the command -v claude availability probe, prompt construction and the self-invocation guard. For research and review lineages, the shared deep-loop runtime at ../../system-deep-loop/runtime/scripts/fanout-run.cjs owns process construction and execution, using executor kind cli-claude-code. That runner accepts only the research and review loop types, so a single build or doc dispatch uses the child dispatch envelope in providers-and-models.md §5. Do not add a packet-local wrapper, spawn path or command builder. Direct claude -p snippets below are operator reference and manual-testing examples.

Prerequisites

# Verify installation
command -v claude || echo "Not installed. Run: npm
Полный SKILL.md на GitHub

Установить cli-claude-code в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Bash
Read
Glob
Grep

Вложенные файлы

README.mdROUTER.mdassets/prompt-quality-card.mdassets/prompt-templates.mdbenchmark/README.mdbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/README.mdbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/failed-runs.mdbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/findings-and-recommendations.mdbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/results.csvbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/skill-benchmark-report.jsonbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/skill-benchmark-report.mdbenchmark/reports/2026-07-29--manual-testing-playbook--goal-hook/source.mdbenchmark/reports/2026-08-08--manual-testing-playbook--claude/README.mdbenchmark/reports/2026-08-08--manual-testing-playbook--claude/failed-runs.mdbenchmark/reports/2026-08-08--manual-testing-playbook--claude/findings-and-recommendations.mdbenchmark/reports/2026-08-08--manual-testing-playbook--claude/results.csvbenchmark/reports/2026-08-08--manual-testing-playbook--claude/skill-benchmark-report.jsonbenchmark/reports/2026-08-08--manual-testing-playbook--claude/skill-benchmark-report.mdbenchmark/reports/2026-08-08--manual-testing-playbook--claude/source.mdbenchmark/reports/README.mdchangelog/v1.0.0.0.mdchangelog/v1.1.1.0.mdchangelog/v1.1.10.0.mdchangelog/v1.1.11.0.mdchangelog/v1.1.12.0.mdchangelog/v1.1.13.0.mdchangelog/v1.1.2.0.mdchangelog/v1.1.3.0.mdchangelog/v1.1.4.0.mdchangelog/v1.1.5.0.mdchangelog/v1.1.6.0.mdchangelog/v1.1.7.0.mdchangelog/v1.1.8.0.mdchangelog/v1.1.9.0.mdchangelog/v1.2.0.0.mdchangelog/v1.3.0.0.mdchangelog/v1.4.0.0.mdchangelog/v1.5.0.0.mdchangelog/v1.5.1.0.mdchangelog/v1.5.2.0.md

FAQ

Что делает скилл cli-claude-code?

Claude Code CLI executor for Anthropic-backed reasoning, edits, reviews, and structured cross-AI handoff.

Как установить скилл cli-claude-code?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл cli-claude-code запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить cli-claude-code с