/ai-plugin-toolkit:deepseek-cost-routerfrom ai-plugin-toolkit
Route coding tasks between DeepSeek chat and reasoning models (deepseek-chat vs deepseek-reasoner) to minimize API cost while keeping quality. Use when configuring an agent to use DeepSeek, choosing a model for a task batch, or optimizing token spend.
Ships in ai-plugin-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
DeepSeek exposes two behaviors through its OpenAI-compatible API:
deepseek-chat — the fast, non-thinking path. Cheap, low latency.deepseek-reasoner — the thinking path (chain-of-thought before the
final answer). Slower and pricier per call, dramatically better on hard
reasoning.The routing skill: run routine volume on chat, escalate only reasoning-heavy work.
Default to chat for: file edits driven by clear instructions, renames, boilerplate, doc updates, formatted output, summarization, simple lookups, bulk repetitive transformations.
Escalate to reasoner for: non-obvious bugs (state/caching/async/race), algorithm design, architecture tradeoffs, tricky merges, math, contract or spec violations, "the tests fail and the cause is unclear".
A cheap escalation ladder for agent harnesses that support it:
Escalating units of failure instead of whole sessions keeps the premium model's token share small.
DeepSeek's API is OpenAI-compatible, and Anthropic-compatible endpoints are documented for harnesses like Claude Code — see the official integration hub: https://api-docs.deepseek.com/guides/coding_agents (per-tool guides for Claude Code, OpenCode, OpenClaw, Codex and more). You need:
DEEPSEEK_API_KEY from https://platform.deepseek.comhttps://api.deepseek.com) and model id set in your tool's
provider config — follow the per-tool guide for exact env vars.DeepSeek Harness (dsh) reads DEEPSEEK_API_KEY directly; if aipx doctor
warns it's missing, export it before launching.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
8 skills in this plugin
/claude-plugin-devPackage and publish a Claude Code plugin and marketplace (.claude-plugin/ manifests, skills, commands, agents, hooks) with a dual-target twist: the same repo simultaneously serves DeepSeek Harness (dsh), Codex, Gemini CLI and Copilot via plain skills and a dsh bundle. Use when creating a Claude Code plugin, setting up a marketplace repo, or making one repo installable across every agent./deepseek-migrationMigrate an existing coding agent or workflow from OpenAI/Anthropic APIs to DeepSeek (deepseek-chat / deepseek-reasoner). Covers endpoint compatibility, environment variables, caching behavior, tool-calling differences, cost levers, and the DeepSeek Harness (dsh) option. Use when a user wants to switch to DeepSeek or cut their LLM bill./npx claudepluginhub zhangliang0115/ai-plugin --plugin ai-plugin-toolkit