sat-score
Skill17 starsChanged 8 months agoMITView on GitHub
Score user satisfaction from SAT run trajectories and screenshots. Reads trajectory JSON and screenshots from sat/runs/run-{timestamp}/, personas from sat/personas/, scenarios from sat/scenarios/. Produces scores.json, report.md, and updates learnings.yaml. Use when user says "score sat run", "sat score", "evaluate satisfaction", or "grade the sat results".
In this repository74 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- src/CLAUDE.mdCLAUDE.md
- bmad-advanced-elicitationSkill
- bmad-agent-analystSkill
- bmad-agent-architectSkill
- bmad-agent-builderSkill
- bmad-agent-devSkill
- bmad-agent-pmSkill
- bmad-agent-qaSkill
- bmad-agent-quick-flow-solo-devSkill
- bmad-agent-smSkill
- bmad-agent-tech-writerSkill
- bmad-agent-ux-designerSkill
- bmad-brainstormingSkill
- bmad-builder-setupSkill
- bmad-check-implementation-readinessSkill
- bmad-code-reviewSkill
- bmad-correct-courseSkill
- bmad-create-architectureSkill
- bmad-create-epics-and-storiesSkill
- bmad-create-prdSkill
- bmad-create-storySkill
- bmad-create-ux-designSkill
- bmad-dev-storySkill
- bmad-distillatorSkill
- bmad-document-projectSkill
- bmad-domain-researchSkill
- bmad-editorial-review-proseSkill
- bmad-editorial-review-structureSkill
- bmad-edit-prdSkill
- bmad-generate-project-contextSkill
- bmad-helpSkill
- bmad-index-docsSkill
- bmad-initSkill
- bmad-market-researchSkill
- bmad-party-modeSkill
- bmad-product-briefSkill
- bmad-qa-generate-e2e-testsSkill
- bmad-quick-devSkill
- bmad-retrospectiveSkill
- bmad-review-adversarial-generalSkill
- bmad-review-edge-case-hunterSkill
- bmad-shard-docSkill
- bmad-sprint-planningSkill
- bmad-sprint-statusSkill
- bmad-story-cycleSkill
- bmad-teach-me-testingSkill
- bmad-teaSkill
- bmad-technical-researchSkill
- bmad-testarch-atddSkill
- bmad-testarch-automateSkill
- bmad-testarch-ciSkill
- bmad-testarch-frameworkSkill
- bmad-testarch-nfrSkill
- bmad-testarch-test-designSkill
- bmad-testarch-test-reviewSkill
- bmad-testarch-traceSkill
- bmad-validate-prdSkill
- bmad-workflow-builderSkill
- pr-shepherdSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 6 are distinctive, and 15 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
15
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 26
If no run argument provided, find the most recent run:
- Very specific: line 31
If no run directories exist, STOP: "No SAT runs found.
- Very specific: line 37
Read all trajectory-*.json files from RUN_DIR.
- Very specific: line 40
If no trajectory files exist, STOP: "No trajectory files in RUN_DIR."
- Very specific: line 44
Read all sat/personas/*.yaml files.
- Very specific: line 56
Check if a previous scores.json exists in any earlier run directory.
- Very specific: line 60
Read sat/learnings.yaml. Use fixed_issues and false_positives to avoid re-reporting known items.
- Distinctive: line 69
Read the before screenshot — what the user sees before acting
- Distinctive: line 70
Read the after screenshot — what changed after the action
- Very specific: line 71
Consider the page_summary for additional context
- Very specific: line 114
Check against learnings: If an issue matches a fixed_issues entry, skip it.
- Very specific: line 118
Write to {RUN_DIR}/scores.json following the architecture contract:
- Distinctive: line 151
Start from 100, subtract issue penalties
- Very specific: line 157
Write a human-readable report to {RUN_DIR}/report.md:
- Very specific: line 206
Read the current sat/learnings.yaml and append new findings:
- Very specific: line 208
weak_areas: If a scenario area has 2+ issues, add or update the weak area entry - Very specific: line 213
Do NOT modify fixed_issues or false_positives — those are human-curated.
- Very specific: line 215
Write the updated sat/learnings.yaml.
- Distinctive: line 226
If score > 80: "The app is in good shape.
- Distinctive: line 227
If score 60-80: "Several UX friction points need attention.
- Distinctive: line 228
If score < 60: "Significant satisfaction gaps.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SAT Satisfaction Scorer
You evaluate user satisfaction by analyzing trajectory data and screenshots from a SAT run. For each scenario, you score satisfaction through each persona's behavioral lens, identify UX issues, and produce an actionable report.
Arguments
The user may provide:
- run — path to a specific run directory (default: most recent
sat/runs/run-*) - scenario — score only a specific scenario (default: all trajectories in the run)
Step 1: Load Inputs
Find the run directory
If no run argument provided, find the most recent run:
ls -dt sat/runs/run-*/ | head -1If no run directories exist, STOP: "No SAT runs found. Run /sat-run first."
Set RUN_DIR to the selected run directory.
Load trajectories
Read all trajectory-*.json files from RUN_DIR. Each trajectory has:
scenario_id,status,steps[](withstep_text,status,action_taken,failure_reason,before_screenshot,after_screenshot,page_summary)
If no trajectory files exist, STOP: "No trajectory files in RUN_DIR."
Load personas
Read all sat/personas/*.yaml files. Each persona has:
name,description,frustration_threshold,technical_level,satisfaction_criteria[],behaviors[]
Load scenarios
For each trajectory, read the matching scenario from sat/scenarios/{scenario_id}.md to get:
## Expected Satisfaction— what the persona should feel## Edge Cases— what could go wrong## Context— the user's situation
Load previous scores (if any)
Check if a previous scores.json exists in any earlier run directory. If found, read overall_score to calculate delta.
Load learnings
Read sat/learnings.yaml. Use fixed_issues and false_positives to avoid re-reporting known items.
Step 2: Score Each Trajectory
For each trajectory, analyze through every persona's lens:
Screenshot Analysis
For each step in the trajectory:
- Read the before screenshot — what the user sees before acting
- Read the after screenshot — what changed after the action
- Consider the
page_summaryfor additional context - Note whether the step succeeded or failed, and why
Persona Scoring
For each persona, evaluate the trajectory against their satisfaction_criteria and behaviors:
- Confused Newbie: Is every action obvious? Are errors explained? Would they give up?
- Power User: Is the flow efficient? Are there unnecessary clicks? Is it fast?
- Accessibility User: Is everything keyboard-reachable? Are status changes announced?
Score each scenario 0-100 per persona based on:
- Step success rate (mechanical: did steps work?)
- UX quality visible in screenshots (visual: does it look right?)
- Persona-specific satisfaction criteria alignment
- Edge case handling visible in the flow
Issue Identification
For each problem found, create an issue entry:
{
"severity": "high | medium | low",
"type": "ux-friction | missing-feedback | accessibility | performance | error-handling",
"scenario_id": "<id>",
"step": <step_number>,
"description": "<what's wrong>",
"persona": "<which persona is most affected>",
"persona_impact": "<how this persona experiences the problem>",
"classification": "app_issue | runner_issue | scenario_issue"
}Classification rules:
app_issue— real UX problem in the applicationrunner_issue— the WebDriver bridge couldn't execute the step (not an app problem)scenario_issue— the scenario itself is flawed (hallucinated feature, ambiguous step)
Severity rules:
high— blocks the user's goal or causes data lossmedium— slows the user down or causes confusionlow— cosmetic or minor annoyance
Check against learnings: If an issue matches a fixed_issues entry, skip it. If it matches a false_positives pattern, classify as runner_issue instead.
Step 3: Write scores.json
Write to {RUN_DIR}/scores.json following the architecture contract:
{
"run_id": "<run directory name>",
"timestamp": "<current ISO timestamp>",
"scenarios_scored": <count>,
"overall_score": <weighted average 0-100>,
"previous_score": <from previous run or null>,
"delta": <current - previous or null>,
"issues": [ ... ],
"persona_scores": {
"confused-newbie": <0-100>,
"power-user": <0-100>,
"accessibility-user": <0-100>
},
"scenario_scores": {
"<scenario-id>": {
"score": <0-100>,
"step_pass_rate": <0.0-1.0>,
"issues_found": <count>,
"persona_scores": {
"confused-newbie": <0-100>,
"power-user": <0-100>,
"accessibility-user": <0-100>
}
}
}
}Overall score calculation:
- Weight
app_issuefindings heavily (each high=-10, medium=-5, low=-2) - Start from 100, subtract issue penalties
- Floor at 0
runner_issueandscenario_issuedo NOT reduce the score
Step 4: Write report.md
Write a human-readable report to {RUN_DIR}/report.md:
# SAT Satisfaction Report
**Run:** {run_id}
**Date:** {timestamp}
**Scenarios scored:** {count}
**Overall score:** {score}/100 (delta: {delta})
## Persona Scores
| Persona | Score | Key Finding |
|---------|-------|-------------|
| Confused Newbie | {score} | {one-line summary} |
| Power User | {score} | {one-line summary} |
| Accessibility User | {score} | {one-line summary} |
## Issues ({count})
### High Severity
- **{scenario_id} step {n}**: {description}
- Persona impact ({persona}): {persona_impact}
### Medium Severity
...
### Low Severity
...
## Scenario Details
### {scenario_title} — {score}/100
- Steps: {passed}/{total} passed
- Issues: {list}
- Screenshots: {link to before/after of worst step}
## Runner Issues (not app problems)
{list of runner_issue classified items — these need sat-run improvements, not app fixes}
## Scenario Issues (need regeneration)
{list of scenario_issue classified items — these need sat-generate improvements}Step 5: Update learnings.yaml
Read the current sat/learnings.yaml and append new findings:
weak_areas: If a scenario area has 2+ issues, add or update the weak area entryscenario_feedback: For each scenario, add a quality assessment:goodif the scenario found real app issuesbadif the scenario was about a nonexistent feature or produced only runner issues
Do NOT modify fixed_issues or false_positives — those are human-curated.
Write the updated sat/learnings.yaml.
Step 6: Present Summary
Report to the user:
- Overall score with delta
- Persona score table
- Top 3 highest-severity issues with one-line descriptions
- Count of app issues vs runner issues vs scenario issues
- Recommendation: what to fix first
If score > 80: "The app is in good shape. Focus on the medium-severity items." If score 60-80: "Several UX friction points need attention. Start with the high-severity issues." If score < 60: "Significant satisfaction gaps. The high-severity issues are blocking core flows."
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

