cost-lean-orchestration

仓库创建 2026年7月6日最近提交 21 天前SkillHot 收录 20 天前
▸ 精选理由

降低主模型上下文成本,适合复杂工程会话。

这个 Skill 做什么

在主模型外用子代理分担大量读取与搜索以节省Token。

在复杂工程任务里用“省 token”的模型路由:把海量文件读取、代码搜索、日志/文档扫描等交给 Sonnet 子代理去做,主模型只拿回紧凑的结构化发现用于综合判断与架构决策。适合要读很多文件、扫 repo、调大 bug、审大 diff 或多步骤工程工作时使用。特点是保护主模型的上下文窗口,把阅读成本交给廉价子代理,从而节省费用且聚焦高价值推理。

▸ 展开 SKILL.md 英文原文

Token-efficient model routing for complex engineering sessions. The main model (Opus / Fable, high reasoning) never bulk-reads or explores — it delegates all exploration, bulk file reading, codebase search, log scanning, dependency tracing, and documentation reading to Sonnet subagents that return compact structured findings, and it spends its own tokens only on synthesis, architecture, judgment, and final code. Use this skill in EVERY session that involves reading more than a couple of files, exploring or mapping a codebase, investigating a bug, auditing call sites, reviewing a large diff, digesting logs or docs, or any multi-step engineering task — even if the user never mentions cost, tokens, subagents, or delegation. This is a standing operating discipline, not an on-request feature.

Skill 开发管理代价优化模型编排子代理通用
0
Stars
0
Forks
4
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/itzTiru/claude-code-skills-fable5/main/cost-lean-orchestration/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/itzTiru/claude-code-skills-fable5/main/cost-lean-orchestration/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Cost-Lean Orchestration

## The core rule

The context window of the main model is the most expensive real estate in the
session. Every raw file, log dump, or search result loaded into it is paid for
on every subsequent turn, and it crowds out the reasoning the main model is
actually there for. So:

**The main model synthesizes. Sonnet subagents read.**

- Anything whose primary cost is *reading* (exploration, search, bulk file
  reading, log scanning, doc digestion, call-site auditing) → delegate to a
  **Sonnet** subagent.
- Anything whose primary cost is *thinking* (architecture, tradeoffs, subtle
  correctness, root-cause judgment, final implementation of hard code, the
  answer to the
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有