AgentSkillsCN

call-model

在通过统一 API 网关调用外部 AI 模型时使用。触发条件——调用外部模型、使用外部模型、调用外部模型。

SKILL.md
--- frontmatter
name: call-model
description: Use when calling an external AI model through the unified API gateway. Triggers - call external model, use external model, 调用外部模型

Call External Model

Call any configured AI model with a prompt. Zero dependencies, unified API gateway.

Trigger Keywords

  • "call external model", "use external model"

Invocation

bash
node $HOME/git/infrastructure-skills/lib/ai.js call <model-alias> "<prompt>"

Available Models

AliasModelRole
claude-opus-4-6claude-opus-4-6Primary
gpt-5gpt-5.2Primary
gpt-5-codexgpt-5.2-codex-2026-01-14Code specialist
claude-opus-4-5claude-opus-4-5-20251101Primary
deepseekdeepseek-r1Reasoning
gpt-5-chatgpt-5.2-chatFallback
grokgrok-4.1Fallback
claude-thinkingclaude-opus-4-6-thinkingDeep thinking
deepseek-searchdeepseek-r1-searchingWeb search

List All Models

bash
node $HOME/git/infrastructure-skills/lib/ai.js list

Programmatic API

javascript
import { AI } from "$HOME/git/infrastructure-skills/lib/ai.js";
const ai = new AI();
const result = await ai.call("claude-opus-4-6", "Your prompt here");
console.log(result.content);