From thinking-frameworks-skills
Computes rolling 4-week baselines for Substack metrics (open rate, click rate, views/send, subscriber delta) with z-scores and cold-start detection from archived CSVs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/thinking-frameworks-skills:compute-baselineThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
```
Per week:
- [ ] Step 1: Load last 4 weekly CSVs from corpus/stats/
- [ ] Step 2: For each metric (open_rate, click_rate, views_per_send, weekly_sub_delta):
- Compute 4-week median
- Compute trimmed median (drop 1 outlier)
- Compute IQR
- [ ] Step 3: z-score = (current - median) / IQR
- [ ] Step 4: If <4 weeks in history, return baseline: not-yet-established
- [ ] Step 5: Emit baseline object per metric with confidence flag
{
"open_rate": {"current": 0.47, "median_4w": 0.49, "trimmed_median": 0.49, "iqr": 0.03, "z": -0.67, "confidence": "medium"},
"click_rate": {...},
"views_per_send": {...},
"weekly_sub_delta": {...},
"cold_start": false
}
Confidence: high if 4+ weeks and low IQR. medium if 4+ weeks and typical IQR. low if N<4.
attribute-performance.npx claudepluginhub lyndonkl/claude --plugin thinking-frameworks-skillsAnalyzes weekly and trailing-4-week Substack section performance, reporting opens, clicks, and subscriber attribution per section. Flags sections with low engagement for possible pruning.
Applies statistical techniques including descriptive stats, distributions, hypothesis testing, A/B test evaluation, outlier detection, trend analysis, correlation, and forecasting. Guides choice of center metrics, percentile reporting, and time-series smoothing.
Applies descriptive stats, trend analysis, outlier detection, hypothesis testing to distributions, anomalies, correlations, and business metrics.