/singularity-claude:scoringfrom singularity-claude
Scores skill executions 0-100 using a structured rubric, tracks quality over time, and triggers repair or crystallization when thresholds are met.
Ships in singularity-claude. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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 overrideWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
scoring, skill-evaluation, quality-metrics, repair-trigger, singularity
npx claudepluginhub shmayro/singularity-claude --plugin singularity-claude7 skills in this plugin
/creating-skillsUse when a new reusable skill needs to be built, either detected by gap analysis, requested by the user, or triggered by /singularity-create/crystallizingUse 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/dashboardUse when wanting an overview of all singularity-managed skills showing their scores, maturity levels, trends, and alerts via /singularity-dashboardOther plugins' skills for the same job