Best for
- Activation Triggers
- When NOT to Use
- Deep Reasoning — extended-thinking architectural decisions, multi-dimensional trade-off analysis, step-by-step algorithm design, root-cause analysis of subtle bugs.
MichelKerkmeester/opencode--skilled-agent-loops-with-spec-kit-memory/.opencode/skills/cli-external-orchestration/cli-claude-code/SKILL.md
Claude Code CLI executor for Anthropic-backed reasoning, edits, reviews, and structured cross-AI handoff.
Decision brief
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 §2), the skill MUST refuse to load and return the documented error messag…
Compatibility matrix
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Declared | Source record | Install path and trigger |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/MichelKerkmeester/opencode--skilled-agent-loops-with-spec-kit-memory --skill ".opencode/skills/cli-external-orchestration/cli-claude-code"Inspect the Agent Skill "cli-claude-code" from https://github.com/MichelKerkmeester/opencode--skilled-agent-loops-with-spec-kit-memory/blob/6f0b93906be829894c38e580010885d54199067f/.opencode/skills/cli-external-orchestration/cli-claude-code/SKILL.md at commit 6f0b93906be829894c38e580010885d54199067f. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
Review the “claude setup-token non-interactive OAuth token for CI/CD” section in the pinned source before continuing.
Deep Reasoning — extended-thinking architectural decisions, multi-dimensional trade-off analysis, step-by-step algorithm design, root-cause analysis of subtle bugs.
Deep Reasoning — extended-thinking architectural decisions, multi-dimensional trade-off analysis, step-by-step algorithm design, root-cause analysis of subtle bugs.
You ARE Claude Code already. If your runtime is Claude Code (detection signal: $CLAUDECODE env var set, claude in process ancestry, or /.claude/state//lock present), this skill refuses to load. Self-invocation creates a…
Review the “2. SMART ROUTING” section in the pinned source before continuing.
Permission review
The documentation asks the agent to create, modify, or delete local files.
"CODE_EDITING": {"weight": 4, "keywords": ["edit", "refactor", "modify", "fix", "change code", "surgical edit", "diff-based", "update the code", "rewrite", "restructure", "rename", "patch", "clean up", "rework", "multi-file edit", "diff basThe documentation asks the agent to run terminal commands or scripts.
| Not authenticated | 0 | **ASK user** to run `claude auth login` — surface the command, do NOT dispatch. Never substitute an API key or a different model. |The documentation includes network, browsing, or remote request actions.
**No `--search` flag** — Claude Code has no live web browsing. Route web research to cli-opencode.The documentation includes sending, uploading, or posting data to a remote service.
Trust output blindly for security-sensitive code (review for XSS, injection, hardcoded secrets, eval), or send sensitive data (API keys, passwords, credentials) in prompts — Claude Code transmits to Anthropic's API.The documentation includes network, browsing, or remote request actions.
Trust output blindly for security-sensitive code (review for XSS, injection, hardcoded secrets, eval), or send sensitive data (API keys, passwords, credentials) in prompts — Claude Code transmits to Anthropic's API.Evidence record
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 92/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 32 | Source | Repository attention, not individual Skill quality |
| Compatibility | 1 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
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 §2), the skill MUST refuse to load and return the documented error message instead of generating anyclaudeinvocation.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.
--json-schema-validated output, machine-readable analysis, guaranteed-structure data extraction, pipeline integration..claude/agents/*.md matches, --permission-mode plan read-only exploration, @ai-council planning, session continuity (--continue, --resume).--max-budget-usd cost control.$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.claude directly instead).--search flag — use OpenCode).# Verify Claude Code CLI is available before routing
command -v claude || echo "Not installed. Run: npm install -g @anthropic-ai/claude-code"
# SELF-INVOCATION GUARD: If you ARE Claude Code, do not use this skill — use native capabilities
[ -n "$CLAUDECODE" ] && echo "ERROR: Already inside Claude Code session. Do not self-invoke."
def detect_self_invocation():
"""Returns a non-None signal when the orchestrator is already running inside Claude Code."""
# Layer 1: env var lookup — Claude Code sets CLAUDECODE on session start
if os.environ.get('CLAUDECODE'):
return ('env', 'CLAUDECODE')
# Layer 2: process ancestry — claude in parent tree
try:
ancestry = subprocess.check_output(['ps', '-o', 'command=', '-p', str(os.getppid())]).decode()
if '/claude' in ancestry or 'claude ' in ancestry:
return ('ancestry', 'claude')
except subprocess.SubprocessError:
pass
# Layer 3: state lock-file probe
state_dir = os.path.expanduser('~/.claude/state')
if os.path.isdir(state_dir):
for entry in os.listdir(state_dir):
if os.path.exists(os.path.join(state_dir, entry, 'lock')):
return ('lockfile', entry)
return None
if detect_self_invocation():
refuse(
"Self-invocation refused: this agent is already running inside Claude Code. "
"Use a sibling cli-* skill or a fresh shell session in a different runtime to dispatch a different model."
)
| Level | When to Load | Resources |
|---|---|---|
| ALWAYS | Every skill invocation | references/cli-reference.md, assets/prompt-quality-card.md |
| CONDITIONAL | If intent signals match | Intent-mapped reference docs |
| ON_DEMAND | Only on explicit request | Extended templates and patterns |
Provider-specific dictionaries (used by the shared helper functions in system-spec-kit/references/cli/shared-smart-router.md):
INTENT_SIGNALS = {
"DEEP_REASONING": {"weight": 4, "keywords": ["reason", "think", "analyze", "trade-off", "architecture", "extended thinking", "chain-of-thought", "root cause", "root-cause", "figure out why", "weigh the options", "pros and cons", "algorithm design", "architectural", "chain of thought", "extended-thinking", "step by step", "deep dive", "reasoning", "thinking through", "analysis", "trade-offs", "in-depth", "thorough", "carefully consider", "dig into", "get to the bottom of", "understand why", "evaluate the options", "unpack this", "difficult decision", "hard choice", "which direction", "long-term implications", "multiple factors", "nuanced", "compare and contrast", "make the call", "downstream effects", "well-thought-out"]},
"CODE_EDITING": {"weight": 4, "keywords": ["edit", "refactor", "modify", "fix", "change code", "surgical edit", "diff-based", "update the code", "rewrite", "restructure", "rename", "patch", "clean up", "rework", "multi-file edit", "diff based", "preserve existing patterns", "coordinated changes"]},
"STRUCTURED_OUTPUT": {"weight": 4, "keywords": ["json", "schema", "structured", "extract", "parse", "validate output", "--json-schema", "machine-readable", "typed output", "well-formed", "extraction", "guaranteed structure", "pipeline integration", "return format", "field mapping"]},
"REVIEW": {"weight": 4, "keywords": ["review", "audit", "security", "quality", "second opinion", "cross-validate", "sanity check", "vulnerability", "pre-merge", "double-check", "look over", "flag concerns", "catch bugs", "spot issues"]},
"AGENT_DELEGATION": {"weight": 4, "keywords": ["delegate", "agent", "background", "parallel", "offload", "claude agent", "hand off", "farm out", "dispatch to", "read-only exploration", "plan mode", "spin off", "run independently"]},
"TEMPLATES": {"weight": 3, "keywords": ["template", "prompt", "how to ask", "claude prompt", "how do I phrase", "how should I word", "phrasing", "wording", "boilerplate"]},
"PATTERNS": {"weight": 3, "keywords": ["pattern", "workflow", "orchestrate", "session", "continue", "resume", "orchestration", "cross-ai", "conversation history", "pick up where we left off", "carry over context", "multi-step flow"]},
# WHY: DESIGN is a deliberate cross-skill handoff, not an in-skill resource intent — when design
# keywords fire, this skill's job is to route the work AWAY to sk-design-md-generator rather than
# load local markdown. RESOURCE_MAP intentionally has no DESIGN entry and never will; the durable
# sk-design-md-generator loading contract lives in the "Design Standards Loading" rule and the
# DESIGN_DISPATCH_MANIFEST rule (Section 4 RULES), not in a same-skill reference file.
"DESIGN": {"weight": 4, "keywords": ["sk-design-md-generator", "extract design system", "generate design.md", "style reference", "design tokens", "css extraction", "tokens.json"]},
}
RESOURCE_MAP = {
"DEEP_REASONING": ["references/cli-reference.md", "references/claude-tools.md"],
"CODE_EDITING": ["references/cli-reference.md", "assets/prompt-templates.md"],
"STRUCTURED_OUTPUT": ["references/cli-reference.md", "references/claude-tools.md"],
"REVIEW": ["references/integration-patterns.md", "references/agent-delegation.md"],
"AGENT_DELEGATION": ["references/agent-delegation.md", "references/integration-patterns.md"],
"TEMPLATES": ["assets/prompt-templates.md", "references/cli-reference.md"],
"PATTERNS": ["references/integration-patterns.md", "references/cli-reference.md"],
}
LOADING_LEVELS = {
"ALWAYS": ["references/cli-reference.md", "assets/prompt-quality-card.md"],
"ON_DEMAND_KEYWORDS": ["full reference", "all templates", "deep dive", "complete guide", "extended thinking", "json schema", "claude agent", "claude prompt", "diff-based edit"],
"ON_DEMAND": ["references/claude-tools.md", "assets/prompt-templates.md"],
}
UNKNOWN_FALLBACK_CHECKLIST = [
"Is the user asking about Claude Code CLI specifically?",
"Does the task benefit from deep reasoning or extended thinking?",
"Is structured JSON output needed (--json-schema)?",
"Would surgical code editing or agent delegation help?",
]
Call sequence (using shared helpers from shared-smart-router.md):
discover_markdown_resources() — recursively enumerate current .md files under existing references/ and assets/ folders at routing time._guard_in_skill() + load_if_available() — sandbox paths to this skill, reject non-markdown loads, skip missing files, and suppress duplicates.score_intents(task) and select_intents(scores, ambiguity_delta=1.0) — preserve provider-specific weighted intent scoring and top-2 ambiguity handling.get_routing_key(task, intents) — derive the provider routing key from task/provider context, then fall back to claude_code.LOADING_LEVELS["ALWAYS"], then return UNKNOWN_FALLBACK with UNKNOWN_FALLBACK_CHECKLIST when max score is 0.RESOURCE_MAP[intent], ON_DEMAND-load keyword matches, and return a notice when no provider-specific knowledge base is available beyond always-load resources.The route_claude_code_resources(task) function body lives in shared-smart-router.md — substitute <PROVIDER> = claude_code.
# Verify installation
command -v claude || echo "Not installed. Run: npm install -g @anthropic-ai/claude-code"
# Self-invocation guard
[ -n "$CLAUDECODE" ] && echo "ERROR: Already inside a Claude Code session — do not self-invoke"
# Authentication — OAuth (Claude subscription), no API key
claude auth login # interactive OAuth (browser flow)
# claude setup-token # non-interactive OAuth token for CI/CD
Authentication: cli-claude-code authenticates through the Claude subscription OAuth only — claude auth login (interactive browser flow) or claude setup-token (a non-interactive OAuth token for CI/CD). It does not use an ANTHROPIC_API_KEY.
MANDATORY before any first dispatch in a session. cli-claude-code authenticates through the Claude subscription OAuth only. If neither claude auth login nor a claude setup-token session is configured on this machine, a dispatch fails with 401 Unauthorized mid-round-trip. Run this check once per session, cache the result, and re-run it only if a dispatch fails with an auth error.
# One-shot pre-flight: capture OAuth status for routing
CLAUDE_AUTH=$(claude auth status 2>&1)
echo "$CLAUDE_AUTH" | grep -qi "authenticated\|logged in\|oauth\|setup-token" && CLAUDE_OAUTH_OK=1 || CLAUDE_OAUTH_OK=0
Decision tree (apply in order — first match wins):
| State | CLAUDE_OAUTH_OK | Action |
|---|---|---|
| OAuth ready | 1 | Proceed with claude -p "<prompt>" --model claude-sonnet-4-6 --output-format text |
| Not authenticated | 0 | ASK user to run claude auth login — surface the command, do NOT dispatch. Never substitute an API key or a different model. |
User prompt template — not authenticated:
Claude Code is not authenticated on this machine. cli-claude-code uses Claude subscription OAuth only.
Run one, then confirm — the skill will retry the original dispatch:
- `claude auth login` (interactive browser OAuth flow)
- `claude setup-token` (non-interactive OAuth token for CI/CD)
Error-recovery contract. If a dispatch returns an auth error after pre-flight passed (OAuth expired or revoked), invalidate the cache, re-run claude auth login, and re-check before retrying. Never substitute a model the user didn't approve.
Default model + flags + agent: claude-sonnet-4-6 · --output-format text · no --agent (general-purpose). For deep-reasoning work, override with --model claude-opus-4-6 --effort high. The pinned shape:
claude -p "<prompt>" \
--model claude-sonnet-4-6 \
--output-format text \
2>&1
User override (honor explicit user phrasing verbatim):
| User says | Resolve to |
|---|---|
| (nothing specified) | --model claude-sonnet-4-6 --output-format text |
| "Use Opus extended thinking" | --model claude-opus-4-6 --effort high |
| "JSON schema output" | Append --json-schema '<schema>' --output-format json |
| "Cost-capped" | Append --max-budget-usd 1.00 |
| "Plan mode" | Append --permission-mode plan (read-only) |
claude-sonnet-4-6 is the skill default. Reach for claude-opus-4-6 (deep reasoning / complex architecture — pair with --effort high) or claude-haiku-4-5-20251001 (fast, lightweight; only when explicitly requested); the current-generation claude-opus-4-8 / claude-sonnet-5 / claude-fable-5 IDs are selectable by name where the environment supports them. Full roster with tiers, cost, defaults, and the --effort mapping → references/providers-and-models.md.
Route to a specialized .claude/agents/*.md agent with --agent <name> when the task matches a specialization. Full roster and invocation patterns: agent-delegation.md.
| Task Type | Agent |
|---|---|
| Codebase exploration | context (add --permission-mode plan) |
| Systematic debugging | debug |
| Session state capture | handover |
| Multi-agent coordination | orchestrate |
| Evidence gathering | research |
| Code review / audit | review (add --permission-mode plan) |
| Spec documentation | speckit |
| Multi-strategy planning | ai-council (add --permission-mode plan) |
| Documentation generation | write |
The full flag glossary, unique capabilities (--json-schema, --max-budget-usd, extended thinking, session --continue/--resume), essential command examples, and troubleshooting table are in the ALWAYS-loaded cli-reference.md (§4–§13). Four gotchas that must be honored at routing time:
-p (print) mode — claude -p "prompt" --output-format text 2>&1. --output-format defaults to text; use json (adds role/content/cost metadata) or stream-json only when a pipeline needs it. Capture stderr with 2>&1.--permission-mode plan is read-only — use it for review/analysis/exploration (no file writes). bypassPermissions auto-approves all writes and requires explicit user approval; the default mode already allows writes.--search flag — Claude Code has no live web browsing. Route web research to cli-opencode.$CLAUDECODE before dispatch — a set value means the caller is already inside Claude Code; refuse (self-invocation), do not dispatch.Verify Claude Code CLI is installed before first invocation (command -v claude); check $CLAUDECODE for nesting.
Use --permission-mode plan for review/analysis/exploration (no file writes); --output-format text unless JSON is specifically needed.
Validate output before applying — correctness, completeness, alignment, syntax checks if code generated.
Capture stderr (2>&1) to catch errors and warnings.
Specify --model explicitly: default claude-sonnet-4-6 unless task needs Opus (deep reasoning). Use Haiku only when explicitly requested or after adoption.
Route to the appropriate --agent <name> when the task matches a specialization (see Section 3 routing table).
Pass the spec folder to the delegated agent in the prompt: if the calling AI has an active Gate-3 spec folder, include Spec folder: <path> (pre-approved, skip Gate 3). If none, ASK the user before delegating — the delegated agent cannot answer Gate 3 interactively.
Prompt construction & model-craft (cli- family precedence).* Compose every dispatch prompt via the 3-tier rule canonical in ../../sk-prompt/sk-prompt-models/assets/cli-prompt-quality-card.md:
assets/prompt-quality-card.md, which delegates the framework table + CLEAR check to the canonical card.../../sk-prompt/sk-prompt-models/references/models/<id>.md, that profile OVERRIDES the cross-model default. The sk-prompt/sk-prompt-models hub owns per-model prompt-craft (framework + scaffold + gotchas, mirroring sk-prompt/sk-prompt-models/assets/model-profiles.json recommended_frameworks); consult it before composing for any small model.@prompt-improver via the Task tool (never load full sk-prompt inline) when any canonical Tier 3 trigger applies — the trigger list lives in ../../sk-prompt/sk-prompt-models/assets/cli-prompt-quality-card.md under "Tier 3 — Deep path"; do not re-enumerate it here.Tag the framework in the Bash invocation comment and use the returned ENHANCED_PROMPT. Apply the CLEAR 5-question check from the canonical card via the local delegating card.
Code Standards Loading (surface-aware contract) — When dispatching for code review or code generation, instruct the dispatched session to: (1) load sk-code; (2) let sk-code emit a surface tag matching the detected stack from markers and target files; (3) load the selected surface resources and run its verification commands; (4) load sk-code's code-review mode only for formal findings-first review output. Fallback: if the surface cannot be determined confidently, ask for the runtime surface and verification command set. NEVER hardcode obsolete sibling code skills in dispatch prompts.
Design Standards Loading (measured-reference contract) — When dispatching for design or UI work, instruct the dispatched session to: (1) load sk-design-md-generator; (2) extract a measured Style Reference DESIGN.md (named color tokens, type scale, components, Quick-Start CSS/Tailwind) from the live source before building UI; (3) build against those measured tokens and run the extraction's validate step to confirm hex/section fidelity. Fallback: if there is no live source to measure, ask for the reference URL or the exact tokens to build against. NEVER treat mcp-figma or sk-design-md-generator as a taste, visual-direction, or critique authority — the extraction measures real CSS, it does not judge design.
Pass the design reference manifest to the dispatched session — when dispatching design or UI work, inline a DESIGN_DISPATCH_MANIFEST v1 block in the prompt (the child cannot resolve skill paths, so the manifest travels in the payload, not by reference): styleReferenceExtracted true, the live source that was measured, the measured design tokens / type scale / components the child must build against, loadedFiles, and proofDemandBack. If the manifest cannot be assembled — no Style Reference extracted, or no live source to measure — ASK before launching the child rather than starting a silent design dispatch. The child returns the demanded proof; the parent reconciles it on the return path.
Single-dispatch discipline (operator-gated, session-scoped) — Default: launch ONE cli-* dispatch at a time across the cli-* family (cli-opencode, cli-claude-code). Wait for the dispatched agent's work to return, verify outputs exist, then SIGKILL the dispatcher process + any orphan children (pkill -9 -f "claude -p" for this skill, plus gtimeout / positional_scoring_fallback:app cleanup). Only launch the next dispatch (this skill OR a sibling) after the prior one is dead and RSS has dropped. Within a deep-flow session (deep-review / deep-research): the operator authorizes the whole multi-iteration session at start — iterations chain back-to-back with kill-between as the safety mechanism, NOT a per-iteration operator confirmation prompt. Exception (cross-skill parallel): when the operator explicitly authorizes N parallel dispatches, run N concurrently — but still SIGKILL each as its work returns.
Set AI_SESSION_CHILD=1 in the dispatched child's env when sessions may be launched through the per-session worktree wrapper (.opencode/bin/worktree-session.sh). A dispatched claude -p run is an orchestrated sub-session, not a new top-level session, so it must SHARE the parent's worktree rather than allocate its own. The wrapper checks AI_SESSION_CHILD (plus a git --git-common-dir structural backstop) and exec's in place when set. Pattern: AI_SESSION_CHILD=1 claude -p .... Harmless when the wrapper is not in use. See .opencode/bin/README.md → "Worktree session isolation". Prepend SYSTEM_SPEC_GATE_ENFORCE=0 next to it so a dispatched child never inherits an enforced spec-gate from the parent shell (belt-and-suspenders alongside the wrapper's own neutralization and the core's complete AI_SESSION_CHILD classify/enforce no-op): SYSTEM_SPEC_GATE_ENFORCE=0 AI_SESSION_CHILD=1 claude -p ....
Agent-persona injection (attach identity, not just the task). Every dispatch composes {resolved agent persona + task prompt} — never a bare task. Resolve the persona from the ACTIVE runtime's agent directory per AGENTS.md §7 (.claude/agents/<name>.md, .opencode/agents/<name>.md, etc. — never hardcode one runtime), and map each subtask to the RIGHT agent (code→code, review→review, design→design, research→deep-research, docs→markdown), not one default. Claude Code has a native persona flag: pass claude -p --agent <name> — the CLI resolves .claude/agents/<name>.md on the print path, which satisfies the rule. On a bare claude -p that omits --agent, INLINE the persona block into the payload using the same in-payload pattern as the DESIGN_DISPATCH_MANIFEST (Rule 11) — the child cannot resolve agent paths by reference. A persona-less dispatch runs the leaf as a generic assistant, silently dropping the agent's tool-scope, verification gates, and output contract. Canonical contract: ../../sk-prompt/sk-prompt-models/assets/cli-prompt-quality-card.md "Persona Injection"; native precedent: orchestrate.md "Agent Loading Protocol". Rare exceptions (native surface used, focused summary for a small-context model, pure-mechanical command) are declared at the dispatch site.
--permission-mode bypassPermissions without explicit user approval (auto-approves all writes/tool calls).--max-budget-usd for cost control.npm install -g @anthropic-ai/claude-code).--max-budget-usd or checking quota).--permission-mode bypassPermissions (describe risks; get explicit user approval).When the calling AI needs to preserve session context from a Claude Code CLI delegation, run the canonical 7-step procedure (extract MEMORY_HANDBACK section → build structured JSON → scrub secrets → invoke generate-context.js via --stdin/--json/temp-file → memory_index_scan). Full procedure and caveats: system-spec-kit/references/cli/memory-handback.md.
Claude-Code-specific Memory Epilogue template: see assets/prompt-templates.md §11.
Example invocation:
printf '%s' "$JSON_PAYLOAD" | node .opencode/skills/system-spec-kit/scripts/dist/memory/generate-context.js --stdin [spec-folder]
cli-reference.md is ALWAYS loaded as baseline.This skill operates within the behavioral framework defined in AGENTS.md.
Key integrations:
skill_advisor.pyTool roles: Bash dispatches the CLI; Read/Glob/Grep validate output.
The router discovers reference, asset, and script docs dynamically. Start with references/cli-reference.md, references/integration-patterns.md, assets/prompt-quality-card.md, assets/prompt-templates.md, references/agent-delegation.md, references/claude-tools.md, then load task-specific resources from references/, templates from assets/, and automation from scripts/ when present.
Related skills: cli-opencode for sandboxed OpenAI perspective, cli-opencode for full OpenCode runtime dispatch, sk-code for code-quality contracts, mcp-code-mode for external MCP work, and system-spec-kit for packet handback.
Frequently asked questions
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 §2), the skill MUST refuse to load and return the documented error messag…
The source record exposes this install command: npx skills add https://github.com/MichelKerkmeester/opencode--skilled-agent-loops-with-spec-kit-memory --skill ".opencode/skills/cli-external-orchestration/cli-claude-code". Inspect the command and pinned source before running it.
The pinned source record declares support for: claude code.
Static rules flagged write-files, exec-script, network, send-data in the source; the page lists the matching lines and excerpts.
Alternatives
oaustegard/claude-skills
Generate hierarchical _FEATURES.md files that describe what a codebase DOES from a user/consumer perspective, anchored to source symbols via tree-sitting. Supports large complex codebases through feature-driven decomposition into sub-feature files. Uses a multi-pass synthesis: orientation → detail → overview rewrite. Use when someone says "what does this do", "document features", "feature inventory", "_FEATURES.md", or needs to understand a codebase's purpose before modifying it. Complements tre
apollographql/skills
Guide for creating effective skills for Apollo GraphQL and GraphQL development. Use this skill when: (1) users want to create a new skill, (2) users want to update an existing skill, (3) users ask about skill structure or best practices, (4) users need help writing SKILL.md files.
terrylica/cc-skills
Park a draft message/text in macOS Notes for the operator to review and edit, then read it back before acting (e.g. before sending to a real person). Notes is the source of truth (AppleScript CRUD, iCloud-synced, provenance-stamped with the Claude Code session UUID); Stickies is a best-effort view-only desktop mirror. Use whenever you draft something a human should confirm/edit before it is sent or committed — messages, replies, announcements, anything outbound. TRIGGERS - park this draft, park
narrative-io/narrative-skills-marketplace
Translate a fuzzy analytical question into a rigorous investigation plan. Interrogates the ask, grounds the plan in the available data dictionary, applies analytical best practices, and produces a structured brief of query specifications for a downstream query-writing skill. Plans, does not write SQL. Use when: "why did X drop", "is there a relationship between A and B", "who are our highest-value customers", "what's driving the change in Y", "investigate this trend", "design an analysis for", "