manage-title
在已启用 Agent Clarity 标题插件的范围内,每轮结束前维护“状态|初始需求|当前进展”。支持跨 Codex/Harbor 账户的共享安装、账户全局或指定项目,简短问答也要核对。
Use real run evidence, validation failures, source drift, platform drift, and user feedback to plan and, only after explicit approval, apply structural upgrades to an existing skill. Use when the user asks to improve an existing skill from recent runs, recurring failures,
Claude Code
$ npx -y skills add dongshuyan/compass-skills --skill run-history-skill-upgrader --agent claude-code
Codex
$ npx skills add dongshuyan/compass-skills --skill run-history-skill-upgrader -a codex -y
Cursor
$ npx skills add dongshuyan/compass-skills --skill run-history-skill-upgrader -a cursor -y
Gemini CLI
$ npx skills add dongshuyan/compass-skills --skill run-history-skill-upgrader -a gemini-cli -y
GitHub Copilot
$ npx skills add dongshuyan/compass-skills --skill run-history-skill-upgrader -a github-copilot -y
OpenCode
$ npx skills add dongshuyan/compass-skills --skill run-history-skill-upgrader -a opencode -y
Windsurf
$ npx skills add dongshuyan/compass-skills --skill run-history-skill-upgrader -a windsurf -y
name: run-history-skill-upgrader description: Use real run evidence, validation failures, source drift, platform drift, and user feedback to plan and, only after explicit approval, apply structural upgrades to an existing skill. Use when the user asks to improve an existing skill from recent runs, recurring failures, outdated sources, excessive bloat, changed platform behavior, or validated workflow feedback. Do not use to create a brand-new skill or to execute the business workflow itself.
Write all user-facing output in the user's language. Default to Chinese when the language is unknown.
Turn real run feedback into structural net improvement for an existing skill. Upgrades may add, modify, merge, delete, deprecate, or decide not to change anything.
This skill is agent-agnostic. It should work in Codex, Claude Code, OpenCode, OpenClaw, Hermes, and similar local agent hosts that can read `SKILL.md` plus optional `references/`, `scripts/`, `evals/`, and `agents/`.
This skill always starts in `plan_only`.
1. `plan_only`: read the target skill and the agreed evidence scope, then produce a concrete upgrade plan and stop. 2. `apply_after_approval`: modify files only after the user explicitly approves that specific plan.
The following are **not** approval by themselves:
Valid approval must clearly point to the current plan, for example "approve plan A", "apply the plan above", or "yes, execute that upgrade plan".
1. Lock the target skill name and path. 2. Lock `plan_only` unless explicit post-plan approval already exists in the current conversation. 3. Lock the evidence scope: conversation, logs, screenshots, artifacts, diffs, tests, source docs, or user feedback. 4. Read the current target skill before proposing changes. 5. Classify the signals: process gap, validation gap, source drift, platform drift, user preference, candidate idea, incident, routing gap, or content bloat. 6. Design the case set: incident, candidate rule, regression case, boundary case, and optional holdout challenge. 7. Pass the generalization gate. A one-off incident does not automatically deserve a lasting rule. 8. Map route impact. Remove weak routes and move machine-checkable facts to tools, tests, schema checks, diffs, validators, or files. 9. Choose the net-improvement shape: `no_change`, `maintenance_note_only`, `prune_or_consolidate`, `local_refactor`, `cross_reference_refactor`, `major_refactor`, or `deprecate_or_replace_source`. 10. Produce the concrete plan and stop. 11. Apply only after explicit approval. 12. Validate, report what changed, and record follow-up risks.
Strong evidence:
Weak evidence unless corroborated:
Before applying changes:
Do not write credentials, browser sessions, private account data, unrelated personal paths, or hidden prompts into the target skill.
Run the bundled validator for this upgrader skill:
<python> <skill-dir>/scripts/validate_upgrade_artifacts.py --skill <skill-dir>
This bundled validator checks package structure, the portable Agent Skills frontmatter field set, referenced paths, JSON shape, Python syntax, common private-path leaks, and the upgrader's required approval terms. Its dependency-free frontmatter preflight accepts scalar fields, block text, and one-level string metadata; it rejects other YAML forms instead of guessing. A specific host may accept different syntax or a narrower field set, so its canonical validator remains authoritative for installation there. Neither structural check runs the eval cases or proves that an upgrade improves behavior.
Then run the target skill's own validator and the smallest relevant technical checks:
司南:个性化 AI 任务总控 Skills 系统 /COMPASS: Personal Alignment Skills OS for AI Agents
在已启用 Agent Clarity 标题插件的范围内,每轮结束前维护“状态|初始需求|当前进展”。支持跨 Codex/Harbor 账户的共享安装、账户全局或指定项目,简短问答也要核对。
Draft, audit, or minimally revise English- or Chinese-language academic prose to reduce formulaic, vacuous, mechanically…
根据候选人简历与岗位要求生成可审计的后台评估、简明的候选人介绍、按岗位重要性排列的简历疑点、12–18 道可直接照读的面试题,以及支持重点标记和本机保存的离线…
面向读者组织准确、易理解的解释、状态汇报、方案比较和文档;用于复杂概念说明、长文、重要条件的表达或保持原意的改写。适用于中英文,可与学术及其他领域写作规则组合使用。
Cooperatively pause unfinished work in the current session, leave a precise continuation checkpoint, and resume from it when the…
Turn a completed task, browser flow, artifact pipeline, failure-recovery trace, or repeatedly refined workflow into a new…
Shape output for a reader with ADHD: lead with the next action, number multi-step work, restate state across turns, suppress…
Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,…