一键导入
scoring
Use after any singularity-managed skill execution to rate performance 0-100, track quality over time, and trigger repair when scores drop below threshold
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use after any singularity-managed skill execution to rate performance 0-100, track quality over time, and trigger repair when scores drop below threshold
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when a new reusable skill needs to be built, either detected by gap analysis, requested by the user, or triggered by /singularity-create
Use when a skill has proven itself with consistently high scores across multiple executions and should be locked as a stable, immutable version via /singularity-crystallize
Use when wanting an overview of all singularity-managed skills showing their scores, maturity levels, trends, and alerts via /singularity-dashboard
Use when a singularity-managed skill is failing, scoring below threshold, or producing incorrect outputs that need automated correction via /singularity-repair
Use when wanting to assess the health of a singularity-managed skill, check its maturity, decide whether it needs repair or is ready for crystallization via /singularity-review
Use when starting any conversation where skills may need to be created, evaluated, repaired, or when a capability gap is detected during task execution
| name | scoring |
| description | Use after any singularity-managed skill execution to rate performance 0-100, track quality over time, and trigger repair when scores drop below threshold |
Evaluate skill performance using a structured 5-dimension rubric. Scores drive the evolution loop: low scores trigger repair, high scores enable crystallization.
Determine which singularity-managed skill was just executed. Check ~/.claude/singularity/registry.json to confirm it's tracked.
If the skill isn't registered, ask: "This skill isn't tracked by singularity. Want me to register it first?"
Dispatch the singularity-claude:skill-assessor agent (haiku model, fast and cheap) with:
references/scoring-rubric.mdThe assessor returns a structured JSON score.
"${CLAUDE_PLUGIN_ROOT}/scripts/score-manager.sh" add <skill-name> <total-score> \
--context "<what the skill was used for>" \
--strengths '["<strength1>", "<strength2>"]' \
--weaknesses '["<weakness1>"]' \
--edge-cases '["<edge-case-if-any>"]'
Read config from ~/.claude/singularity/config.json:
| Condition | Action |
|---|---|
Average < autoRepairThreshold (50) for 2+ runs | Suggest: "This skill is underperforming. Run /singularity-repair to fix it." |
Average >= crystallizationThreshold (90) with 5+ runs | Suggest: "This skill is ready for crystallization. Run /singularity-crystallize to lock it." |
Update ~/.claude/singularity/registry.json with:
lastExecuted: current timestampexecutionCount: incrementaverageScore: from score file"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry-writer.sh" log <skill-name> \
--trigger "scoring" \
--score <total-score> \
--summary "<brief assessment>"
Show the user:
Score: <total>/100 (avg: <average>/100 over <count> runs)
Correctness: <n>/20
Completeness: <n>/20
Edge Cases: <n>/20
Efficiency: <n>/20
Reusability: <n>/20
Maturity: <level> → <new-level-if-changed>
From config.json:
"auto" — Dispatch assessor agent automatically (default)"manual" — Ask user for the 0-100 score directly"hybrid" — Auto-assess, show result, let user override