Skip to content
Back to skills

Scoring

ASecurity

Use after any singularity-managed skill execution to rate performance 0-100, track quality over time, and trigger repair when scores drop below threshold

  • 27 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 27, 2026
data-aibashperformance

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add Shmayro/singularity-claude --skill scoring --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scoring?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scoring
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/shmayro-scoring/badge)](https://www.skillsdirectory.com/skills/shmayro-scoring)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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
---

# Score a Skill Execution

Evaluate skill performance using a structured 5-dimension rubric. Scores drive the evolution loop: low scores trigger repair, high scores enable crystallization.

## Workflow

### Step 1: Identify the Skill

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?"*

### Step 2: Assess Performance

Dispatch the `singularity-claude:skill-assessor` agent (haiku model, fast and cheap) with:
- **Skill name** and version
- **What was requested** (the user's original task)
- **What was produced** (the skill's output/changes)
- **The scoring rubric** from `references/scoring-rubric.md`

The assessor returns a structured JSON score.

### Step 3: Record the Score

```bash
"${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>"]'
```

### Step 4: Check Thresholds

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."* |

### Step 5: Update Registry

Update `~/.claude/singularity/registry.json` with:
- `lastExecuted`: current timestamp
- `executionCount`: increment
- `averageScore`: from score file

### Step 6: Log Telemetry

```bash
"${CLAUDE_PLUGIN_ROOT}/scripts/telemetry-writer.sh" log <skill-name> \
  --trigger "scoring" \
  --score <total-score> \
  --summary "<brief assessment>"
```

### Step 7: Report

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>
```

## Scoring Modes

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

Files in this skill

  • SKILL.md2.6 KB
  • references/scoring-rubric.md1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.