Skip to content
Agentmart
Submit a tool

giasip-dispatch

“Multi-model dispatcher -- sends a task or prompt to other AI models (Codex / Gemini / Kimi / DeepSeek / Doubao / Qwen / GLM / MiniMax) and retrieves results.

Skill by GiaSip

IndexedMIT★ 13
Write a review

Chalk Labs

Need help deploying giasip-dispatch?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/giasip-giasip-dispatch-6e9928

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

“Multi-model dispatcher -- sends a task or prompt to other AI models (Codex / Gemini / Kimi / DeepSeek / Doubao / Qwen / GLM / MiniMax) and retrieves results. Triggers when you want to run a task on a specific model, need multi-model cross-validation, or want to use a cheaper model.”

Use cases: productivity, agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 12

  • api.deepseek.com · found in code
  • api.kimi.com · found in code
  • api.minimaxi.com · found in code
  • api.moonshot.cn · found in code
  • api.siliconflow.cn · found in code
  • ark.cn-beijing.volces.com · found in code
  • codeload.github.com · found in install command
  • dashscope.aliyuncs.com · found in code
  • github.com · found in code
  • open.bigmodel.cn · found in code
  • openrouter.ai · found in code
  • siliconflow.cn · found in code

Files it touches

  • ~/.claude/skills/giasip-dispatch
  • Your home directory (~)

What's inside

Skill name
giasip-dispatch
Description
“Multi-model dispatcher -- sends a task or prompt to other AI models (Codex / Gemini / Kimi / DeepSeek / Doubao / Qwen / GLM / MiniMax) and retrieves results. Triggers when you want to run a task on a specific model, need multi-model cross-validation, or want to use a cheaper model.”
License
MIT
Compatibility
claude-code
Instructions
366 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts
  • Instructions call the network
  • Instructions read files in your home folder (~/.ssh, ~/.aws…)

Files (8)

  • SKILL.md
  • model-roster.md · references/
  • api-dispatch.sh · scripts/
  • codex-appserver.mjs · scripts/
  • dispatch-persist.mjs · scripts/
  • gemini-supervisor.sh · scripts/
  • kimi-dispatch.sh · scripts/
  • stop-review-gate.mjs · scripts/

SKILL.md (first lines)

> ✦ A **GiaSip** skill · part of the `giasip` toolkit · github.com/GiaSip

# /dispatch — Multi-Model Dispatcher

Sends a task or prompt to another AI model for execution and retrieves the result. This skill **only provides the dispatch capability** — which model to pick, whether to fan out to multiple models, is decided by you (or the current Claude) based on the task at hand. No built-in model preference.

## Script Directory

**Important**: All scripts live in the `scripts/` subdirectory of *this* skill folder.

**Agent setup — do this ONCE before running any command below**: determine the absolute path of the directory that contains this `SKILL.md`, and export it as `BASE_DIR`:

```bash
# Global install (most common); use the plugin cache path instead if installed as a plugin
export BASE_DIR="$HOME/.claude/skills/giasip-dispatch"
```

Every command below references scripts as `$BASE_DIR/scripts/<script-name>`. `BASE_DIR` is a shell variable **you** set in the session — there is **no** `CLAUDE_SKILL_DIR` environment variable injected by the runtime, so set `BASE_DIR` first or the script paths will resolve to nothing.

## Dispatch Channels

| Channel | Models | Prerequisite |
|---------|--------|-------------|
| **Aggregator API** ★ easy path — one key | Overseas: OpenRouter (DeepSeek/Qwen/GLM/Kimi/MiniMax + Claude/GPT/Gemini). China: SiliconFlow 硅基流动 (DeepSeek/Qwen/GLM/Kimi/MiniMax) | **One** key file — `openrouter.env` or `siliconflow.env` in `~/.config/ai-keys/`; set `DISPATCH_PROVIDER` once |
| **API direct call** (curl, per-vendor) | DeepSeek / Qwen / GLM / Doubao / MiniMax | A separate `.env` **per vendor** in `~/.config/ai-keys/` (advanced) |
| **CLI invocation** (agentic) | Codex / Gemini / Kimi | Local install + login per CLI — needed for agentic capability (code write, native vision) |
| **Internal SubAgent** | Claude Haiku / Sonnet | Built into Claude Code, no external dependency |

> **Easy path (recommended for most users):** grab **one** aggregator key and every alias your chosen provider supports works — no per-vendor signup. Overseas → OpenRouter; China → SiliconFlow. See README "giasip-dispatch — Dependencies" for setup.
>
> **When you still need the per-vendor / CLI paths:** direct per-vendor keys (if you already have them, or to avoid OpenRouter's ~5.5% credit-top-up fee); CLI channels for **agentic** work the chat API can't do — Codex write-mode (edits files), Gemini native PDF/image vision. Aggregators cover all pure-analysis + multi-dispatch use.
>
> For pure thinking/analysis tasks (no file I/O, no command execution, no code changes), prefer the **Aggregator / API direct** call — roughly 10x faster than CLI. Use CLI only when the task needs agent capabilities (file system access, command execution, code changes, native vision).

---

## General Discipline (must-read for all CLI calls)

1. **Use heredoc for prompts** — avoids quoting / special character issues.
2. **Append `</dev/null` to all CLI calls** — Claude Code's Bash environment has a never-closing stdin pipe; without this, CLIs hang waiting for input.
3. **When constructing prompts**: keep them concise and clear; don't inject Claude Code-specific concepts (skills / hooks / SubAgent); use Chinese prompts for Chinese tasks, English for English; include necessary project context when relevant.

---

## Complexity Routing

Automatically select the dispatch strategy based on task nature:

```
Visual task? (PDF catalog / scanned doc / screenshot / image parsing)
├── Yes → [Gemini CLI] — native PDF + image visual analysis
│   Trigger: user provides image/PDF path + task involves "reading" content;
│   or markitdown output is empty/abnormally small
│   → Do NOT try markitdown first — route directly to Gemini
│
├── Pure thinking/analysis (business analysis, strategy, text understanding, translation)
│   → [API direct call] — no agent capability needed, curl the API directly
│   10x faster; supports models without CLI (DeepSeek/Qwen/GLM etc.)
│
├── Simple + reversible (install packages, format, search, generate templates)
│   → [Single dispatch] — prefer Claude SubAgent (Haiku) for speed
│   Use external CLI only when the task needs Chinese-native or specific AI capabilities
│
├── Code execution (bug fix, write tests, small refactor, generate code files)
│   → [Codex write mode] — sandbox=full, Codex modifies code directly
│   Condition: clear task, in a git-managed project, controllable blast radius
│   Always remind user to `git diff` afterward
│
├── Medium complexity (feature dev, document analysis, code analysis)
│   → [Single dispatch] — send to the best-fit AI
│
├── Complex + irreversible (architecture design, tech selection, major refactor)
│   → [Multi-dispatch] — auto-escalate, send to 2-3 AIs, compare outputs
│
└── User specifies AI ("run this with Kimi")
    → [Direct assignment] — send to specified AI, skip matching
```

**Multi-dispatch triggers** (any one auto-escalates):
- User says "important", "critical decision", "can't be wrong"
- Task involves irreversible operations (database migration, production deployment)
- Task is tech selection or architecture design
- Estimated blast radius > 10 files or 3 modules
- Chinese business/strategic analysis tasks (default: three-way parallel)

→ See `references/model-roster.md` for multi-dispatch lineup recommendations by task type.

---

## Dispatch Methods

### Aggregator API — ★ easy path (one key, recommended)

The same `api-dispatch.sh` routes through an aggregator when you set a provider. **One** key unlocks all the models below — no per-vendor signup.

```bash
# Set once per session (overseas → openrouter, China → siliconflow), then every supported alias works
export DISPATCH_PROVIDER=openrouter        # or: siliconflow

$BASE_DIR/scripts/api-dispatch.sh --model deepseek "$(cat <<'EOF'
prompt content
EOF
)"

# Per-call override without touching the env
$BASE_DIR/scripts/api-dispatch.sh --via siliconflow --model kimi "prompt"

# Escape hatch — pass any aggregator model ID verbatim (alias table can't cover everything)
$BASE_DIR/scripts/api-dispatch.sh --via openrouter --model-id anthropic/claude-3.7-sonnet "prompt"
```

Provider resolution order: `--via` flag > `$DISPATCH_PROVIDER` env > `direct` (default).

| Provider | Key File (`~/.config/ai-keys/`) | Aliases | Note |
|----------|-------------------------------|---------|------|
| `openrouter` | `openrouter.env` (`OPENROUTER_API_KEY`) | deepseek / qwen / glm / kimi / minimax / **claude / gpt / gemini** | Overseas; needs a VPN in mainland China |
| `siliconflow` | `siliconflow.env` (`SILICONFLOW_API_KEY`) | deepseek / qwen / glm / kimi / minimax | China direct; open-source/domestic only (no Claude/GPT/Gemini). Intl users: `export SILICONFLOW_BASE_URL=https://api.siliconflow.com/v1` |

> Aggregator model IDs are the volatile part — alias → model-ID maps live in `references/model-roster.md`; if a call 404s on the model, verify on the vendor's models page or pass the correct ID via `--model-id`.

From GiaSip/giasip-skills, MIT.

Signals

Stars
13
Forks
0
Open issues
0
Last commit (this folder)
Aug 25, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from GiaSip

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get giasip-dispatch running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying giasip-dispatch?

CallGet help
Cite this page

giasip-dispatch skill. Agent Mart. https://agentmart.dev/skills/giasip-giasip-dispatch-6e9928 (last updated 2026-10-24)