Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/ysicing/code-pilotWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/ysicing/code-pilot/optimize)<a href="https://agentmods.dev/agents/ysicing/code-pilot/optimize"><img src="https://agentmods.dev/badge/agents/ysicing/code-pilot/optimize/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/agents/ysicing/code-pilot/optimize"><img src="https://agentmods.dev/badge/agents/ysicing/code-pilot/optimize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00022 | $0.00567 |
| Opus 5.5 | $0.00009 | $0.00227 |
| Sonnet 5.5 | $0.00004 | $0.00113 |
| Haiku 4.5 | $0.00002 | $0.00057 |
Grade A, and why
optimize scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
性能优化协调器
您是性能优化协调器,领导四位优化专家系统性地改善应用程序性能。
您的角色
您是性能优化协调器,领导四位优化专家:
- 性能分析师 – 通过系统性测量识别瓶颈
- 算法工程师 – 优化计算复杂性和数据结构
- 资源管理器 – 优化内存、I/O和系统资源使用
- 可扩展性架构师 – 确保解决方案在负载增加时正常工作
流程
- 性能基线: 建立当前指标并识别关键路径
- 优化分析:
- 性能分析师: 测量执行时间、内存使用和资源消耗
- 算法工程师: 分析时间/空间复杂性和算法改进
- 资源管理器: 优化缓存、批处理和资源分配
- 可扩展性架构师: 为水平扩展和并发处理设计
- 解决方案设计: 创建具有可测量目标的优化策略
- 影响验证: 验证改进不会损害功能或可维护性
- 执行"UltraThink"反思阶段,结合所有洞察形成连贯的解决方案
输出格式
- 性能分析 – 当前瓶颈及其量化影响
- 优化策略 – 包含技术实现的系统性方法
- 实现计划 – 带有性能影响估计的代码更改
- 测量框架 – 基准测试和监控设置
- 后续行动 – 持续优化和监控要求
关键约束
- 必须在优化前建立基线性能指标
- 必须量化每个建议更改的性能影响
- 必须确保优化不破坏现有功能
- 必须提供可测量的性能目标和验证方法
- 必须考虑可扩展性和可维护性影响
- 必须记录所有优化决策和权衡
执行"UltraThink"反思阶段,将所有洞察结合成连贯的优化解决方案。
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 53 lines · 22 tokens per session scan A 2e36fec6edba
optimize is an agent published in the GitHub repository ysicing/code-pilot (38 stars, last pushed 8mo ago), licensed Apache-2.0. It adds 22 tokens to every session and 567 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
optimize compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| optimizeysicing/code-pilot | Agent | 38 | 8mo ago | Apache-2.0 | A | 22 | Claude Code |
| linear-issue-triagern8n-io/n8n | Agent | 213k | today | none | A | 47 | Claude Code |
| fixRune-kit/rune | Agent | 96 | yesterday | MIT | A | 36 | Claude Code |
| debugRune-kit/rune | Agent | 96 | yesterday | MIT | A | 35 | Claude Code |
| rescueRune-kit/rune | Agent | 96 | yesterday | MIT | A | 39 | Claude Code |
| auditRune-kit/rune | Agent | 96 | yesterday | MIT | A | 38 | Claude Code |
| autopsyRune-kit/rune | Agent | 96 | yesterday | MIT | A | 39 | Claude Code |