Към всички skills

orchestration-native-invoke

aiskillstore · Данни и AI

Invoke external AI CLIs via native Task agents (Claude, Codex, Gemini, Cursor). Primary mode for multi-provider orchestration with fork-terminal fallback for auth.

Оригинален текст · няма потвърден превод на български

Първо прочетете инструкцията.

Файлът се зарежда от посочения източник само по ваше действие. Можете да го прочетете тук, да го копирате или да го запазите като .md.

Оригинален SKILL.md
GitHub хранилище
Звезди на репото
428
Лиценз
Не е посочен. Проверете в репозитория.
Последна проверка на записа
Няма посочена дата

Добавете в своя инструмент.

Командата отваря избора на skills от репозитория. Прочетете файла и условията на автора преди изпълнение.

npx skills add aiskillstore/marketplace

Страницата копира текст. Не инсталира и не изпълнява нищо на устройството ви.

Откъс от SKILL.md

Началото на файла на автора, без превод.

Purpose

Note: This is a documentation/guide skill. It provides instructions for invoking external AI CLIs using Claude Code's native Task agents. Read this skill to learn the patterns, then use the Task tool manually with subagent_type="general-purpose".

Invoke external AI coding CLIs using Claude Code's native Task agents. This is the primary mode for multi-provider orchestration, with fork-terminal as fallback for authentication.

Variables

VariableDefaultDescription
DEFAULT_AGENTgeminiAgent to use when not explicitly specified
ENABLED_CODEXtrueEnable OpenAI Codex via native agent
ENABLED_GEMINItrueEnable Google Gemini via native agent
ENABLED_CURSORtrueEnable Cursor Agent via native agent
RUN_IN_BACKGROUNDtrueRun agents asynchronously
PARALLEL_EXECUTIONtrueLaunch multiple agents in parallel
AUTO_RETRY_ON_AUTHtrueAuto-retry with fork-terminal on auth failure
READ_ONLY_MODEtruePrevent agents from modifying codebase
CLEANUP_AGENT_FILEStrueClean up any files agents write to repo

Prerequisites

CLI Permissions for Subagents

Native Task agents (subagents) require pre-approved permissions to execute CLI commands. Without these, the Bash tool will be "auto-denied (prompts unavailable)".

Required in .claude/settings.json:

{
  "permissions": {
    "allow": [
      "Bash(codex:*)",
      "Bash(gemini:*)",
      "Bash(cursor-agent:*)"
    ]
  }
}

Setup: Run /ai-dev-kit:setup to configure permissions automatically.

Manual: Add permissions via Claude Code settings or approve when prompted.

Fallback: If permissions are denied, use fork-terminal for interactive execution.

Instructions

MANDATORY - You MUST follow the Workflow steps below in order. Do not skip steps.

Agent Selection

  1. Explicit request: If user specifies an agent, use that agent
  2. No agent specified: Use DEFAULT_AGENT
  3. Check enabled: Verify the ENABLED_* flag is true before proceeding

Reading Cookbooks

  • Based on the selected agent, read the appropriate cookbook from ../spawn/agent/cookbook/
  • You MUST run --help on the CLI before constructing the command
  • Follow cookbook instructions for non-interactive flags

Red Flags - STOP and follow Cookbook

Целият SKILL.md в GitHub