eval-audit
**Locale**: All templates in this spec are written in English. Detect the user's language from the session and translate user-facing text at display time per…
- **Recommended model: Claude Opus 4.6** (`claude-opus-4-6`). Directed improvement requires understanding complex rubric feedback and generating precise, targeted edits. Weaker models may produce unfocused rewrites that fail to address the weakest dimension or introduce
$ npx -y skills add Evol-ai/SkillCompass --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/eval-improveContext preview
What this command does when you run it.
- **Recommended model: Claude Opus 4.6** (`claude-opus-4-6`). Directed improvement requires understanding complex rubric feedback and generating precise, targeted edits. Weaker models may produce unfocused rewrites that fail to address the weakest dimension or introduce
If `--internal` is passed, skip all interactive prompts — return results silently. This flag is set when eval-improve is called by other commands (e.g., from setup or skill-inbox action queue).
If `--ci` is passed, skip all interactive prompts and output pure JSON.
All user-facing text follows the global locale rule from SKILL.md.
Execute the full `/eval-skill` evaluation flow on the target skill. Use the **Read** tool to load `{baseDir}/commands/eval-skill.md` and follow its steps 1-18 with `--scope full`. Capture the complete JSON evaluation result.
**Do NOT duplicate eval-skill logic here.** Delegate entirely.
Use the **Read** tool to load `{baseDir}/shared/version-management.md`. Follow the snapshot procedure:
1. Read or create the manifest for this skill. 2. Compute the content hash of the current SKILL.md. 3. Save a snapshot copy to `.skill-compass/{skill-name}/snapshots/{current-version}.md` using the **Write** tool. 4. Create a transient self-write lock: use the **Write** tool to create `.skill-compass/.write-lock` with content `{ "until": {unix_timestamp_now + 5} }`. This prevents SkillCompass's own PostToolUse hooks from re-triggering during the confirmed improvement write.
From the evaluation result: 1. If verdict is FAIL due to security gate: **always target D3 first**, regardless of `--dimension` flag. Security issues must be resolved before other improvements. 2. If `--dimension` was specified: use that dimension as the target. 3. Otherwise: use the `weakest_dimension` field from the eval result.
If the target dimension is D1 or D2, and the OTHER metadata dimension (D2 or D1 respectively) also scores ≤ 5, group them into a single improvement round:
This grouping ONLY applies to D1+D2 (both affect frontmatter/description). Do NOT group other dimension combinations — they modify different parts of the skill and could interfere.
Display diagnosis: which dimension(s), current score(s), specific issues from the evaluation.
Use the **Read** tool to load `{baseDir}/prompts/improve.md`. Pass:
Generate the improved version. Show the diff to the user. **Ask for confirmation before writing.**
If the user declines: stop. Report "Improvement declined by user." and exit.
Before writing the improved SKILL.md, refresh the self-write lock: update `.skill-compass/.write-lock` with `{ "until": {unix_timestamp_now + 5} }`.
After the user confirms and the improved SKILL.md is written:
**Do NOT re-run full 6-dimension evaluation.** Instead, run a targeted re-eval:
1. **Always re-evaluate these dimensions:**
2. **For non-evaluated dimensions:** use cached scores from Phase 1. 3. **Recalculate overall_score** using the formula: re-evaluated scores for target+D3+D4, cached scores for the rest.
To run the targeted re-eval, follow the eval-skill Steps 1-4 (load target, types, config, scoring), then only the Steps for the dimensions listed above. Use `{baseDir}/prompts/d{N}-*.md` for each.
Check verification criteria:
Mark the verification in output: `"verification": "targeted", "re_evaluated": ["D2", "D3", "D4"]`.
1. Save as new evo version. Follow version-management.md rules:
2. Clean up: delete `.skill-compass/.write-lock` if it exists. 3. Display the **Improvement Summary** (mandatory, always show):
## Improvement Summary: {skill-name}
{version_before} → {version_after} | Overall: {score_before} → {score_after} ({verdict_before} → {verdict_after})
### What was wrong
{target_dimension} scored {score_before_dim}/10:
- {issue_1 from eval report, in plain language}
- {issue_2 ...}
### What was fixed
- {changelog.changes[0].what}: {changelog.changes[0].why}
- {changelog.changes[1].what}: {changelog.changes[1].why}
- ...
### Impact
- {target_dimension}: {score_before_dim} → {score_after_dim} ({delta with + sign})
- {any other dimension thatEvaluate agent skill quality. Find the weakest link. Fix it. Prove it worked.
Repo: Evol-ai/SkillCompass
**Locale**: All templates in this spec are written in English. Detect the user's language from the session and translate user-facing text at display time per…
**Locale**: All templates in this spec are written in English. Detect the user's language from the session and translate user-facing text at display time per…
**Locale**: All templates in this spec are written in English. Detect the user's language from the session and translate user-facing text at display time per…
**Locale**: All templates in this spec are written in English. Detect the user's language from the session and translate user-facing text at display time per…
**Locale**: All templates in this spec are written in English. Detect the user's language from the session and translate user-facing text at display time per…
**Locale**: All templates in this spec are written in English. Detect the user's language from the session and translate user-facing text at display time per…