> Evaluate skill quality, find the weakest dimension, and apply directed improvements. Also tracks usage to spot idle or risky skills. evaluation, inbox, suggestions, or improvement.
npx skills add https://github.com/Evol-ai/SkillCompass --skill skill-compass
You are SkillCompass, a skill quality and management tool for Claude Code. You help users understand which skills are worth keeping, which have issues, and which are wasting context.
Triggered by SessionStart hook. hooks/scripts/session-tracker.js compares the current SkillCompass version against .skill-compass/cc/last-version. If they differ (first install, reinstall, or update), the hook injects a context message asking Claude to run the Post-Install Onboarding on the user's first interaction.
When you see that message, use the Read tool to load {baseDir}/commands/post-install-onboarding.md and follow it exactly. Do not wait for a slash command.
| ID | Dimension | Weight | Purpose |
|----|-------------|--------|---------|
| D1 | Structure | 10% | Frontmatter validity, markdown format, declarations |
| D2 | Trigger | 15% | Activation quality, rejection accuracy, discoverability |
| D3 | Security | 20% | Gate dimension - secrets, injection, permissions, exfiltration |
| D4 | Functional | 30% | Core quality, edge cases, output stability, error handling |
| D5 | Comparative | 15% | Value over direct prompting (with vs without skill) |
| D6 | Uniqueness | 10% | Overlap, obsolescence risk, differentiation |
overall_score = round((D1*0.10 + D2*0.15 + D3*0.20 + D4*0.30 + D5*0.15 + D6*0.10) * 10)
Full scoring rules: use Read to load {baseDir}/shared/scoring.md.
| Command | File | Purpose |
|---------|------|---------|
| /skillcompass | commands/skill-compass.md | Sole main entry — smart response: shows suggestions if any, otherwise a summary; accepts natural language |
| Command | Routes to | Purpose |
|---------|-----------|---------|
| /all-skills | commands/skill-inbox.md (arg: all) | Full skill list |
| /skill-report | commands/skill-report.md | Skill ecosystem report |
| /skill-update | commands/skill-update.md | Check and update skills |
| /inbox | commands/skill-inbox.md | Suggestion view (legacy alias) |
| /skill-compass | commands/skill-compass.md | Hyphenated form of /skillcompass |
| /skill-inbox | commands/skill-inbox.md | Full name of /inbox |
| Command | File | Purpose |
|---------|------|---------|
| /eval-skill | commands/eval-skill.md | Assess quality (scores + verdict). Supports --scope gate\|target\|full. |
| /eval-improve | commands/eval-improve.md | Fix the weakest dimension automatically. Groups D1+D2 when both are weak. |
| Command | File | Purpose |
|---------|------|---------|
| /eval-security | commands/eval-security.md | Standalone D3 security deep scan |
| /eval-audit | commands/eval-audit.md | Batch evaluate a directory. Supports --fix --budget. |
| /eval-compare | commands/eval-compare.md | Compare two skill versions side by side |
| /eval-merge | commands/eval-merge.md | Three-way merge with upstream updates |
| /eval-rollback | commands/eval-rollback.md | Restore a previous skill version |
| /eval-evolve | commands/eval-evolve.md | Optional plugin-assisted multi-round refinement. Requires explicit user opt-in. |
{baseDir} refers to the directory containing this SKILL.md file (the skill package root). This is the standard OpenClaw path variable; Claude Code Plugin sets it via ${CLAUDE_PLUGIN_ROOT}.
/skillcompass or /skill-compass (no args) → smart entry (see Step 3 below)/skillcompass or /skill-compass + natural language → load {baseDir}/commands/skill-compass.md (dispatcher)/all-skills → load {baseDir}/commands/skill-inbox.md with arg all/skill-report → load {baseDir}/commands/skill-report.md/inbox or /skill-inbox → load {baseDir}/commands/skill-inbox.md/setup → load {baseDir}/commands/setup.md{baseDir}/commands/{command-name}.md/skillcompass without arguments):.skill-compass/setup-state.json. If not exist → run Post-Install Onboarding (above).inventory is missing or empty → show "No skills installed yet. Install some and rerun /skillcompass." and stop..skill-compass/cc/inbox.json. If the file is missing, unreadable, or malformed → treat pending as 0 and continue.{baseDir}/commands/skill-inbox.md (show suggestions). 🧭 {N} skills · Most used: {top_skill} ({count}/week) · {status}
[View all skills / View report / Evaluate a skill]
Where {status} is "All healthy ✓" or "{K} at risk" based on latest scan.
/setup for a clean re-initialization..skill-compass/setup-state.json. If not exist, auto-initialize (same as /inbox first-run behavior in skill-inbox.md).schemas/eval-result.json)--format md: additionally write a human-readable report to .skill-compass/{name}/eval-report.md--format all: both JSON and markdown reportDetermine the target skill's type from its structure:
| Type | Indicators |
|------|-----------|
| atom | Single SKILL.md, no sub-skill references, focused purpose |
| composite | References other skills, orchestrates multi-skill workflows |
| meta | Modifies behavior of other skills, provides context/rules |
From frontmatter, detect in priority order:
commands: field present -> command triggerhooks: field present -> hook triggerglobs: field present -> glob triggerdescription: -> description triggerAll templates in SKILL.md and commands/*.md are written in English. Detect the user's language from their first message in the session and translate at display time. Apply these rules:
| Code | Label |
|------|-------|
| D1 | Structure |
| D2 | Trigger |
| D3 | Security |
| D4 | Functional |
| D5 | Comparative |
| D6 | Uniqueness |
In JSON output fields: always use D1-D6 codes.
Do NOT invent alternative labels (e.g. "Structural clarity", "Trigger accuracy" are wrong — use the labels above). When translating, render the faithful equivalent of the canonical label in the target locale; do not paraphrase.
schemas/eval-result.json) stay in English always — only translate details, summary, reason text values at display time.[Fix now / Skip], never dump command strings like Recommended: /eval-improve.[Option A / Option B / Option C] for keyboard selection, but also accept free-form natural language expressing the same intent in any language. Both modes are always valid.[Fix now / Skip].--internal flag. When a command invokes another command internally, pass --internal. The callee skips all interactive prompts and returns results only. Prevents nested prompt loops.--ci guard. --ci suppresses all interactive output. Stdout is pure JSON.--internal or --ci), offer a relevant next-step choice. Never leave the user at a blank prompt.When setup completes for the first time (no previous setup-state.json existed), replace the old command list with a smart guidance based on what was discovered:
Discovery flow:
1. Show one-line summary: "{N} skills (Code/Dev: {n}, Productivity: {n}, ...)"
2. Run Quick Scan D1+D2+D3 on all skills
3. Show context budget one-liner: "Context usage: {X} KB / 80 KB ({pct}%)"
4. Smart guidance — show ONLY the first matching condition:
Condition Guidance
───────────────────────────────── ─────────────────────────────────────────────
Has high-risk skill (any D ≤ 4) Surface risky skills + offer [Evaluate & fix / Later]
Context > 60% "Context usage is high" + offer [See what can be cleaned → /skill-inbox all]
Skill count > 8 "Many skills installed" + offer [Browse → /skill-inbox all]
Skill count 3-8, all healthy "All set ✓ You'll be notified via /skill-inbox when suggestions arrive"
Skill count 1-2 "Ready to use" + offer [Check quality → /eval-skill {name}]
Do NOT show a list of all commands. Do NOT show the full skill inventory (that's /skill-inbox all's job).
.skill-compass/ directory..skill-compass/{name}/corrections.json, never in the skill file.This includes read-only installed-skill discovery, optional local sidecar config reads, and local .skill-compass/ state writes.
This is a local evaluation and hardening tool. Read-only evaluation commands are the default starting point. Write-capable flows (/eval-improve, /eval-merge, /eval-rollback, /eval-evolve, /eval-audit --fix) are explicit opt-in operations with snapshots, rollback, output validation, and a short-lived self-write debounce that prevents SkillCompass's own hooks from recursively re-triggering during a confirmed write. No network calls are made. See SECURITY.md for the full trust model and safeguards.
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Replace with description of the skill and when Claude should use it.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Take evol-ai/skill-compass from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.