rehabilitation-analyzer — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited rehabilitation-analyzer (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
The rehabilitation-training analysis skill provides comprehensive analysis of rehabilitation data, helping users track recovery progress, identify improvement patterns, and optimize their training plan.
Main function modules:
The skill triggers automatically in the following cases:
/rehab progress to view recovery progress/rehab analysis for a rehabilitation analysis/rehab trends to view trend analysis/rehab report to generate a rehabilitation reportRead the rehabilitation data files:
data/rehabilitation-tracker.json - main rehabilitation profiledata/rehabilitation-logs/YYYY-MM/YYYY-MM-DD.json - daily training logsData validation:
Range-of-motion (ROM) analysis:
- Analyze ROM measurements at different time points
- Compute ROM-improvement rate (degrees/week)
- Identify ROM plateaus or regressions
- Predict time to reach target ROM
- Compare with the target rangeStrength-improvement analysis:
- Track strength-grade changes (MMT score)
- Identify strength-gain patterns
- Compare recovery speed across muscle groups
- Assess strength imbalancesBalance-function analysis:
- Balance-test score trend
- Single-leg-stance time improvement
- Balance-stability assessment
- Fall-risk changePain time-series analysis:
- Analyze morning-pain trend
- Analyze post-activity pain trend
- Identify pain-worsening/relief patterns
- Relate pain to training intensityPain-trigger identification:
- Relationship between specific exercises and pain
- Correlation between training intensity and pain
- Relationship between activity type and pain
- Effect of time factors on painAdherence metric:
Adherence = (actual sessions / planned sessions) × 100%Analysis dimensions:
Goal-progress tracking:
Current-phase analysis:
The output includes:
# Recovery Progress Report
**Report date**: YYYY-MM-DD
**Rehabilitation duration**: X days
**Current phase**: Phase X - phase name
## 1. Recovery-progress summary
[Overall rating: excellent/good/fair/needs improvement]
- Rehabilitation duration: X days (week X)
- Sessions completed: X
- Training adherence: X%
- Current-phase progress: X%
## 2. Functional-improvement trends
### Range of motion (ROM)
- [joint] [movement]: baseline X° → current X° → improvement X°
- Improvement rate: X°/week
- Estimated time to target: X weeks
- Trend analysis: [description]
### Strength assessment
- [muscle group]: baseline X/5 → current X/5 → improvement X grades
- Strength-gain pattern: [description]
- Strength balance: [assessment]
### Balance function
- [test type]: baseline X → current X → improvement X
- Balance stability: [assessment]
- Fall risk: [assessment]
## 3. Pain control
- Average pain level: X/10
- Pain trend: [improving/stable/worsening]
- Pain pattern: [description]
- Triggers: [identified triggers]
- Pain-control suggestions: [suggestions]
## 4. Training adherence
- Overall adherence: X%
- Planned sessions: X
- Actual sessions: X
- Adherence rating: [excellent/good/fair/needs improvement]
- Reasons for missed sessions: [if any]
## 5. Goal attainment
### Goals achieved (X)
- Goal 1: [description] - achieved: YYYY-MM-DD
- ...
### Goals in progress (X)
- Goal 1: [description] - current progress: X% - estimated: YYYY-MM-DD
- ...
### Lagging goals (X)
- Goal 1: [description] - current progress: X% - needs attention
## 6. Rehabilitation-phase progress
**Current phase**: Phase X - [phase name]
- Phase goals completed: X/X
- Phase progress: X%
- Phase duration: X weeks
- **Phase rating**: [rating]
**Ready to enter the next phase**: [yes/no]
- [reason ready] / [items still needed]
## 7. Personalized advice
### Training advice
- [specific training advice]
### Goal-adjustment advice
- [goal-adjustment advice]
### Phase-transition advice
- [phase-transition advice]
### Cautions
- [things to watch]
## 8. Next assessment
**Next assessment date**: YYYY-MM-DD
**Assessment focus**: [items to focus on]## Recovery Progress Brief
📊 **Overall progress**: good
⏱️ **Duration**: week X (X days)
🎯 **Phase**: Phase X - [phase name]
**Functional improvement**:
- ROM: +X° (rate X°/week) ✅
- Strength: +X grades ✅
- Balance: +X% ✅
**Pain control**: avg X/10 ([trend])
**Training adherence**: X% ([rating])
**Goal attainment**: X/X (X%)
**Current phase**: X/X goals complete
**Next-phase readiness**: [yes/no]
💡 **Advice**: [1-2 core suggestions]data/rehabilitation-tracker.jsonuser_profile - profile and rehabilitation basicsrehabilitation_goals - goal listexercise_log - training logfunctional_assessments - functional-assessment recordsphase_progression - phase-progress recordspain_diary - pain diarystatistics - statisticsdata/rehabilitation-logs/YYYY-MM/YYYY-MM-DD.jsondaily_summary - daily training summaryexercise_sessions - session detailspain_entries - pain recordsassessments - assessment recordsnotes - daily notesLinear regression:
Fit the functional-improvement trend with least squares
Improvement rate = (current value - baseline) / time intervalImprovement-pattern recognition:
Moving average:
7-day moving-average pain = sum(last 7 days' pain) / 7Pain-trend judgment:
Overall adherence = (actual training days / planned training days) × 100%
Per-type adherence = (type actual completed / type planned) × 100%Adherence rating:
Linear extrapolation:
Predicted time = current date + ((target value - current value) / improvement rate)Factors considered:
Readiness score:
Readiness = (phase goals achieved / total phase goals) × 100%
Readiness ≥ 80%: recommend entering the next phase
Readiness 60-79%: may consider next phase, with caution
Readiness < 60%: recommend continuing the current phaseWhat the system must NOT do:
What the system CAN do:
Important notes:
Type 1: file not found
Error: "Rehabilitation data file not found; first use /rehab start to begin tracking"
Suggestion: guide the user to start recordingType 2: insufficient data
Error: "Not enough data; at least 3 functional assessments or 10 days of training records are needed"
Current data: X assessments, X days of training
Suggestion: recommend the user keep recordingType 3: data-structure error
Error: "Data-file structure is abnormal; please check data integrity"
Suggestion: recommend reinitializing the rehabilitation profileType: computation error
Error: "An error occurred during analysis; please try again later"
Suggestion: log the error, show basic dataType: report generation failed
Error: "Report generation failed; try simplifying the query or contact technical support"
Suggestion: provide a simplified report or raw-data exportUser input:
/rehab progressSkill execution:
Output:
# Recovery Progress Report
## Recovery-progress summary
📊 Overall progress: good
⏱️ Duration: week 6 (36 days)
🎯 Current phase: Phase 3 - strengthening
## Functional improvement
- Knee flexion: 30° → 120° (+90°) ✅
- Knee extension: -10° → 0° (+10°) ✅
- Quadriceps strength: 3/5 → 4/5 (+1 grade) ✅
- Single-leg stance: 5 s → 30 s (+25 s) ✅
## Pain control
- Average pain: 1.5/10 (well controlled)
- Pain trend: stable ✅
## Training adherence: 92% (excellent)
## Goal attainment: 8/14 (57%)
- ✅ Achieved: 8
- 🔄 In progress: 5
- ⚠️ Lagging: 1
## Phase progress
Phase 3 progress: 2/5 goals complete (40%)
Next-phase readiness: needs more work
💡 Advice: maintain current training intensity; focus on quadriceps strengtheningUser input:
/rehab trends romSkill execution:
Output:
# Range-of-Motion (ROM) Trend Analysis
## Knee flexion
📈 Improvement trend: good
Timeline:
- 5/15: 30° (baseline)
- 5/30: 70° (+40°)
- 6/15: 100° (+30°)
- 6/20: 120° (+20°)
Improvement rate: 8.6°/week
Target: 135°
Estimated completion: 2025-08-01 (about 2 more weeks)
Trend: continued improvement ✅
## Knee extension
✅ Target achieved
Timeline:
- 5/15: -10° (baseline)
- 6/10: 0° (target reached) ✅
- 6/20: 0° (maintained)
Improvement rate: 2.5°/week
Target: 0°
Achieved: 2025-06-10
Trend: maintaining target ✅
## Advice
- Knee flexion is progressing well; keep it up
- Maintain extension training to avoid flexion contracture
- Flexion target expected within 2 weeksUser input:
/rehab analysis painSkill execution:
Output:
# Pain Pattern Analysis
## Pain trend
📉 Overall trend: improving
- Baseline pain: 5/10
- Current pain: 2/10
- Improvement: 3 points (60% improvement) ✅
## Time-series pattern
- Morning pain: 1/10 (mild)
- Post-activity pain: 2/10 (mild)
- Resting pain: 0/10 (none)
## Trigger identification
- Main triggers: prolonged sitting, stairs
- Pain-aggravating activities: descending stairs, deep squats
- Relieving factors: rest, ice, elevation
## Training-related pain
- Average pain during training: 1.2/10 (safe range)
- Post-training pain: 2/10 (resolves quickly)
- Adherence not affected by pain ✅
## Advice
- Pain well controlled; maintain current intensity
- Rest and ice after training
- Avoid pain-aggravating activities (deep squats, descending stairs)
- If pain >4/10, seek care for evaluationCorrelation analysis:
Example:
User runs /rehab analysis correlation fitness
The skill reads:
- rehabilitation-tracker.json
- fitness-tracker.json
- analyzes the correlation between training and exercise metricsCorrelation analysis:
Correlation analysis:
User: /rehab start acl-surgery 2025-05-01
System: initialize the profile, set baseline goals, provide initial advice
Skill: rehabilitation-analyzer (optional, for initial assessment)User: /rehab exercise slr 3x15 pain2
System: record training data, update the log
Skill: not triggered (record only)User: /rehab progress
System: call the rehabilitation-analyzer skill
Skill: full analysis, generate a progress reportUser: /rehab trends rom
System: call the rehabilitation-analyzer skill
Skill: ROM-specific analysis, generate a trend reportUser: /rehab analysis pain
System: call the rehabilitation-analyzer skill
Skill: pain-specific analysis, identify patterns and triggersSkill version: v1.0 Last updated: 2026-01-06 Maintainer: MedClawMini
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.