[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JTWYCH884297W78H5B6396":3,"skill-same:01M6JTWYCH884297W78H5B6396":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":35,"ownerHtmlUrl":36,"ownerBlogUrl":37,"ownerDescription":38,"updatedAt":39,"install":40,"resources":53},"01M6JTWYCH884297W78H5B6396","cost-aware-llm-pipeline",null,"成本感知 LLM 管道，根据任务复杂度选择合适模型， 管理上下文预算，避免在长会话末尾做大型重构。","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fcost-aware-llm-pipeline\u002FSKILL.md",[],[19,20,21,22],"pipeline","cost","cost aware llm pipeline","预算","2026-11-10 10:12:30",false,"---\nname: cost-aware-llm-pipeline\ndescription: >\n  成本感知 LLM 管道，根据任务复杂度选择合适模型，\n  管理上下文预算，避免在长会话末尾做大型重构。\norigin: adapted from ECC\n---\n\n# Cost-Aware LLM Pipeline Skill\n\n成本感知 LLM 管道，根据任务复杂度选择合适模型，管理上下文预算。\n\n## 何时激活\n\n- 需要优化模型选择以控制成本\n- 需要管理上下文使用预算\n- 需要为不同复杂度任务选择合适模型\n- 需要在长会话中避免上下文溢出\n\n## 模型选择策略\n\n### Haiku (轻量级)\n**使用场景**:\n- 简单任务：语法修正、格式化、小改动\n- 频繁调用：grep、glob、文件探索\n- 工具调用规划\n\n**成本**: ~$0.001\u002F1K tokens\n\n### Sonnet (主开发)\n**使用场景**:\n- 主要开发工作\n- 复杂编码任务\n- 多文件重构\n- 代码审查\n\n**成本**: ~$0.01\u002F1K tokens\n\n### Opus (深度推理)\n**使用场景**:\n- 复杂架构决策\n- 深度推理任务\n- 新技术调研\n- 关键问题调试\n\n**成本**: ~$0.05\u002F1K tokens\n\n## 上下文预算管理\n\n### 预算规则\n\n| 上下文位置 | 可用空间 | 建议 |\n|-----------|---------|------|\n| 前 20% | 宽松 | 探索、研究、讨论 |\n| 中间 60% | 谨慎 | 核心实现、详细代码 |\n| 最后 20% | 压缩 | 整理、总结、收尾 |\n\n### 避免的错误\n\n- ❌ 在上下文最后 10% 做大型重构\n- ❌ 在低上下文空间启动复杂任务\n- ❌ 用 Opus 处理 Haiku 就能完成的任务\n\n### 正确做法\n\n- ✅ 在上下文中间启动复杂任务\n- ✅ 在低空间使用 Haiku 做简单任务\n- ✅ 定期压缩上下文避免溢出\n\n## 任务复杂度分级\n\n### L1: 简单（用 Haiku）\n- 语法修正\n- 文件格式化\n- 简单搜索替换\n- README 更新\n\n### L2: 中等（用 Sonnet）\n- 函数实现\n- 单元测试编写\n- 代码审查\n- Bug 修复\n\n### L3: 复杂（用 Sonnet 或 Opus）\n- 多文件重构\n- 架构设计\n- 复杂调试\n- 新模块设计\n\n### L4: 深度（用 Opus）\n- ADR 编写\n- 架构决策\n- 性能优化\n- 跨系统设计\n\n## 成本优化技巧\n\n### 1. 批处理相似任务\n```bash\n# 不好：多次调用，每次都加载上下文\n\u002Fedit file1.ts\n\u002Fedit file2.ts\n\u002Fedit file3.ts\n\n# 好：一次调用处理多个文件\n\u002Fmulti-edit file1.ts file2.ts file3.ts\n```\n\n### 2. 使用上下文压缩\n```\n长会话后运行: \u002Fcompact\n保留决策和结论，丢弃中间追踪\n```\n\n### 3. 选择正确模型\n```markdown\n# 不好的做法\n用 Opus 写 README\n\n# 好的做法\n用 Haiku 写 README\n用 Sonnet 实现核心逻辑\n用 Opus 做架构决策\n```\n\n## 与其他 Skills 的关系\n\n| Skill | 关系 |\n|-------|------|\n| Strategic Compact | 提供上下文压缩以保持低使用率 |\n| Continuous Learning | 从成本数据中学习优化模型选择 |\n| Memory Persistence | 保存会话摘要以支持上下文重建 |\n\n## 命令接入\n\n- `\u002Fcost-estimate \u003Ctask>` - 估算任务成本\n- `\u002Fmodel-select \u003Ccomplexity>` - 建议模型选择\n- `\u002Fcontext-budget` - 显示当前上下文预算\n","# Cost-Aware LLM Pipeline Skill\n\n成本感知 LLM 管道，根据任务复杂度选择合适模型，管理上下文预算。\n\n## 何时激活\n\n- 需要优化模型选择以控制成本\n- 需要管理上下文使用预算\n- 需要为不同复杂度任务选择合适模型\n- 需要在长会话中避免上下文溢出\n\n## 模型选择策略\n\n### Haiku (轻量级)\n**使用场景**:\n- 简单任务：语法修正、格式化、小改动\n- 频繁调用：grep、glob、文件探索\n- 工具调用规划\n\n**成本**: ~$0.001\u002F1K tokens\n\n### Sonnet (主开发)\n**使用场景**:\n- 主要开发工作\n- 复杂编码任务\n- 多文件重构\n- 代码审查\n\n**成本**: ~$0.01\u002F1K tokens\n\n### Opus (深度推理)\n**使用场景**:\n- 复杂架构决策\n- 深度推理任务\n- 新技术调研\n- 关键问题调试\n\n**成本**: ~$0.05\u002F1K tokens\n\n## 上下文预算管理\n\n### 预算规则\n\n| 上下文位置 | 可用空间 | 建议 |\n|-----------|---------|------|\n| 前 20% | 宽松 | 探索、研究、讨论 |\n| 中间 60% | 谨慎 | 核心实现、详细代码 |\n| 最后 20% | 压缩 | 整理、总结、收尾 |\n\n### 避免的错误\n\n- ❌ 在上下文最后 10% 做大型重构\n- ❌ 在低上下文空间启动复杂任务\n- ❌ 用 Opus 处理 Haiku 就能完成的任务\n\n### 正确做法\n\n- ✅ 在上下文中间启动复杂任务\n- ✅ 在低空间使用 Haiku 做简单任务\n- ✅ 定期压缩上下文避免溢出\n\n## 任务复杂度分级\n\n### L1: 简单（用 Haiku）\n- 语法修正\n- 文件格式化\n- 简单搜索替换\n- README 更新\n\n### L2: 中等（用 Sonnet）\n- 函数实现\n- 单元测试编写\n- 代码审查\n- Bug 修复\n\n### L3: 复杂（用 Sonnet 或 Opus）\n- 多文件重构\n- 架构设计\n- 复杂调试\n- 新模块设计\n\n### L4: 深度（用 Opus）\n- ADR 编写\n- 架构决策\n- 性能优化\n- 跨系统设计\n\n## 成本优化技巧\n\n### 1. 批处理相似任务\n```bash\n# 不好：多次调用，每次都加载上下文\n\u002Fedit file1.ts\n\u002Fedit file2.ts\n\u002Fedit file3.ts\n\n# 好：一次调用处理多个文件\n\u002Fmulti-edit file1.ts file2.ts file3.ts\n```\n\n### 2. 使用上下文压缩\n```\n长会话后运行: \u002Fcompact\n保留决策和结论，丢弃中间追踪\n```\n\n### 3. 选择正确模型\n```markdown\n# 不好的做法\n用 Opus 写 README\n\n# 好的做法\n用 Haiku 写 README\n用 Sonnet 实现核心逻辑\n用 Opus 做架构决策\n```\n\n## 与其他 Skills 的关系\n\n| Skill | 关系 |\n|-------|------|\n| Strategic Compact | 提供上下文压缩以保持低使用率 |\n| Continuous Learning | 从成本数据中学习优化模型选择 |\n| Memory Persistence | 保存会话摘要以支持上下文重建 |\n\n## 命令接入\n\n- `\u002Fcost-estimate \u003Ctask>` - 估算任务成本\n- `\u002Fmodel-select \u003Ccomplexity>` - 建议模型选择\n- `\u002Fcontext-budget` - 显示当前上下文预算\n",{"name":5,"origin":28,"description":29},"adapted from ECC","成本感知 LLM 管道，根据任务复杂度选择合适模型， 管理上下文预算，避免在长会话末尾做大型重构。\n","main","b0f0a87593c578a7898eccaf1b363f7f87c1f99b","plugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fcost-aware-llm-pipeline",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cost-aware-llm-pipeline",{"tool":46,"command":47},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cost-aware-llm-pipeline",{"tool":49,"command":50},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill cost-aware-llm-pipeline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002FColin4k1024\u002Ftsp\u002Fskills\u002Fcost-aware-llm-pipeline\u002FSKILL.md",true,[],[55,65,73,81,89,97],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":60,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":64},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":69,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":64},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":64},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":85,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":64},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":93,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":64},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":59,"licenseFileUrl":101,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":64},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]