From singularity-claude
Crystallizes validated skills as immutable versions: checks avg score >=90 over 5+ runs and edge cases, creates git tags/backups, updates maturity and logs telemetry.
How this skill is triggered — by the user, by Claude, or both
Slash command
/singularity-claude:crystallizingThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Lock a battle-tested skill version as production-grade. Crystallized skills are immutable — further changes require a new version.
Lock a battle-tested skill version as production-grade. Crystallized skills are immutable — further changes require a new version.
Read score file and config:
"${CLAUDE_PLUGIN_ROOT}/scripts/score-manager.sh" trend <skill-name>
Check requirements:
crystallizationThreshold (default: 90)crystallizationMinExecutions (default: 5)hardened (not draft or tested)If not ready, explain what's missing: "This skill needs <X more runs / higher scores / edge case coverage> before crystallization."
Show the skill's full score summary and ask: "Ready to crystallize v? This locks the current version as immutable."
If ~/.claude/skills/ is a git repository:
cd ~/.claude/skills
git add <skill-name>/
git commit -m "singularity: crystallize <skill-name> v<version>"
git tag "singularity/<skill-name>/v<version>"
If not a git repo, create a backup copy:
mkdir -p ~/.claude/singularity/crystallized/<skill-name>/
cp -r ~/.claude/skills/<skill-name>/ ~/.claude/singularity/crystallized/<skill-name>/v<version>/
Update score file:
"crystallized" for the current versionUpdate registry:
maturity to "crystallized""${CLAUDE_PLUGIN_ROOT}/scripts/telemetry-writer.sh" log <skill-name> \
--trigger "crystallization" \
--summary "Crystallized v<version> (avg: <score>/100, <count> runs)"
Crystallized: <skill-name> v<version>
Average score: <avg>/100 over <count> executions
Edge cases handled: <count>
Git tag: singularity/<skill-name>/v<version>
Status: LOCKED — further changes require a new version
To recover a crystallized version later:
git checkout singularity/<skill-name>/v<version> -- <skill-name>/
Or restore from backup:
cp -r ~/.claude/singularity/crystallized/<skill-name>/v<version>/ ~/.claude/skills/<skill-name>/
npx claudepluginhub shmayro/singularity-claude --plugin singularity-claudeScores singularity-managed skill executions 0-100 using a 5-dimension rubric (correctness, completeness, edge cases, efficiency, reusability), tracks averages over runs, and suggests repairs below 50 or crystallization above 90.
Runs on-demand A/B evaluation of a mega-code skill with human-in-the-loop review, collects feedback, and produces an enhanced skill version.
Creates and extends harness skills with structured phases for defining purpose, choosing type, writing skill.yaml and SKILL.md, validating, and testing.