用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/chnlich/charlie-bot --skill improve-goal命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | improve-goal |
| description | How to write effective improve loop goal prompts — for the master CC agent that writes the --goal-file content. |
| version | 1.0.0 |
This skill is for the master CC (orchestrator). It guides construction of the goal prompt written to the file passed via --goal-file to charliebot improve (the file content becomes the live, per-iteration goal). Workers do NOT need this skill — they read improve-worker instead.
When writing the --goal-file content for an improve loop:
Read skills: improve-worker, <domain-skill>, <infra-skill>, .... List all relevant skills explicitly. Always include improve-worker. Workers won't know which skills exist unless told.<path>, do not write
from scratch". Otherwise workers reinvent the wrapper and re-hit known
pitfalls.On every iteration wake, read the report file at report_path and audit it against the live goal: its verdict is present, the goal-declared KPI readings are present, and the work direction is consistent with the goals' priority order. Do not trust the payload summary as the audit input — read the report file itself.
Drift signals are: report_valid being false (in the wake payload), or the semantic audit failing.
When a drift signal is present, the master may edit goal.md without waiting for the user, but only in two allowed shapes: appending constraints to a ## Steering appendix section at the end of goal.md (created on first use), or reordering the existing numbered goals. No other byte of goal.md may change — KPI numbers, acceptance lines, the iteration count, and the merge-back setting therefore sit in the immutable region by construction.
Every such edit must be quoted as a full diff in the master's chat report. If the user reverts goal.md, the edit is undone and takes effect starting the next iteration.
Stopping or cancelling the loop still requires explicit user approval. Without a drift signal, no edit.
For large "elephant" improvements, split planning from execution:
script-run task to profile the repo, identify prioritized levers by impact/headroom, and write acceptance criteria for each lever. The deliverable is plan.md, passed to the loop with --plan-file. The planner may use a different backend/model through delegate --backend <id>.goal.md, optional plan.md, and previous iteration summaries. Each worker decides how to implement the current highest-priority incomplete lever, not what to tackle. Ordering comes from plan.md.--plan-file, preserving the original thin-goal behavior.goal.md and plan.md are re-read each iteration. The user can edit either mid-loop to steer subsequent workers.Read skills: improve-worker, <domain-skill-1>, <domain-skill-2>, <infra-skill>.
<Context: current metrics, target, gap size.>
Focus on:
(1) <highest priority goal — what to achieve, not how>
(2) <second priority goal>
(3) <lowest priority — cleanup, readability, etc.>
Follow the methodology in improve-worker and <domain-skill> strictly.
Zero progress is acceptable — record what was tried and metrics.
For a concrete CUDA optimization example, see cuda-block-improve/example_improve_prompt.md.