Token导航 LogoToken导航TokenDH.com
前端设计敏感数据github未标认证来源可访问许可证需确认审计异常

call-external-ai调用外部 AI

Agent Skill

call-external-ai 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

356

周安装

15

GitHub Stars

1

下载量

125
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:call-external-ai(调用外部 AI)
来源仓库:https://github.com/codewithjv/agent-skills
仓库路径:skills/call-external-ai
安装命令:
npx skills add https://github.com/codewithjv/agent-skills --skill call-external-ai
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/codewithjv/agent-skills --skill call-external-ai

简介

用于桥接外部 AI CLI 工具形成多模型交叉验证体系。

  • 支持 Codex、Claude 等不同终端间的提示词路由分发。
  • 采用安全命令模板避免注入攻击与意外执行副作用。call-external-ai 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 安装需通过 GitHub 仓库,建议建立 prompt 白名单机制管控风险。
  • 涉及计费 API 调用时应监控用量防止超额消费。

SKILL.md

External AI Skill

Invoke external AI CLI tools as a prompt gateway.

When to Use

Activate when the user:

  • Says /call, /codex, /claude, or /gemini
  • Asks for a second opinion from another AI
  • Wants to run a prompt through a different CLI
  • Needs verification from a different model or tool

Instructions

Natural Language Interface

Users provide natural language. Route the prompt into one external CLI using a safe command template. Do not construct arbitrary shell commands from user input.

Examples:

  • "ask Codex for a second opinion on this patch" -> codex exec "<prompt text>"
  • "send this prompt to Claude" -> claude -p "<prompt text>"
  • "run this through Gemini with a specific model" -> gemini -m <allowlisted-model> -p "<prompt text>"
  • "check this file for bugs" -> read the file directly, summarize only the minimum necessary context, and pass that context as plain prompt text without shell interpolation

Allowed Command Patterns

Only use these command families:

  • codex exec "<prompt text>"
  • codex exec -m <model> "<prompt text>"
  • claude -p "<prompt text>"
  • claude --model <model> -p "<prompt text>"
  • gemini -p "<prompt text>"
  • gemini -m <allowlisted-model> -p "<prompt text>"
  • codex --help
  • claude --help
  • gemini --help

Do not:

  • use shell substitution such as $(...) or backticks
  • pipe file contents into commands via shell expansion
  • append unrelated shell operators or chain commands
  • execute user-suggested commands outside the safe templates

Self-Healing Behavior

On CLI Syntax Errors

  1. Run <cli> --help to get the current syntax
  2. Update the reference docs at reference/cli-reference.md
  3. Retry with the correct syntax
  4. Inform the user of the fix

On Upgrade Available

  1. Do not run upgrade commands automatically
  2. Inform the user that an upgrade is available and ask for approval before making toolchain changes
  3. If the user approves, run the upgrade command explicitly
  4. Update the version in reference/cli-reference.md and re-run --help only after the approved upgrade completes

On Gemini 403 Project/License Errors

If Gemini fails with 403 and messages like lack a Gemini Code Assist license or (#3501):

  1. Do not dump environment variables or print raw env values
  2. Check only the presence of the specific allowlisted vars needed for diagnosis, and report presence/absence rather than values
  3. Retry with project vars unset:

- env -u GOOGLE_CLOUD_PROJECT_ID -u GOOGLE_CLOUD_PROJECT -u CLOUDSDK_CORE_PROJECT gemini...

  1. If still blocked, report auth/licensing clearly and continue with other available models
  2. Record the fix path in reference/cli-reference.md

On Gemini ModelNotFound / Capacity Errors

If Gemini fails with 404 or 429 style model/capacity issues, retry with this fallback order:

  1. gemini-3.1-pro-preview
  2. gemini-3-pro-preview
  3. gemini-3-flash-preview
  4. gemini-2.5-pro
  5. gemini-2.5-flash

Command Interface

/call [codex|claude|gemini] <natural language request>
/codex <natural language request>
/claude <natural language request>
/gemini <natural language request>

Routing Guidance

Codex

  • Use codex exec with plain prompt text that you assemble yourself
  • Add a model only when the user asks for one or there is a clear default in local usage
  • Do not use review-specific commands unless the user explicitly asks for a git-aware review

Claude

  • Use claude -p with plain prompt text
  • Add --model <model> only when the user asks for one or there is a clear need
  • Keep the invocation non-interactive unless the user explicitly wants an interactive Claude session

Gemini

  • Prefer preview model IDs first
  • Use gemini -p or gemini -m <allowlisted-model> -p
  • For 403 auth issues, do not dump env; check only allowlisted var presence and retry with project vars unset
  • For 404/429 failures, continue through the fallback sequence automatically

Context Gathering

When a request needs context, gather it before invoking the external CLI:

  • "send this file to Codex" -> read the file directly in the current agent, extract only the minimum relevant context, and pass that summary as prompt text
  • "ask Gemini about this implementation" -> identify the relevant files and summarize only what is needed
  • "have Claude critique this design" -> gather the design context and pass only the relevant parts
  • "run this exact prompt" -> forward the prompt text directly without adding shell syntax

Rules for context gathering:

  • never use shell interpolation to inject file contents into a command
  • never send secrets, tokens, credentials, or raw environment values
  • minimize the amount of source text sent to external tools
  • if the request would require broad repository exfiltration or sensitive data exposure, refuse and explain why

Process Flow

  1. Parse the natural language request
  2. Determine the target CLI (codex, claude, or gemini)
  3. Map the request to a safe command template for that CLI
  4. Execute the command
  5. If syntax error -> self-heal and retry
  6. If upgrade available -> stop, inform the user, and wait for approval before upgrading or refreshing references
  7. Return the results to the user

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.1%
按下载量换算45

Claude

28.24%
按下载量换算35

Cursor

16.17%
按下载量换算20

Gemini CLI

9.78%
按下载量换算12

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills