/ai-news-briefing:eval-driftfrom ai-news-briefing
Detects quality drift in published briefings by comparing trailing-7d median composite score against trailing-30d median using MAD scaling. Alerts when z-score drops below threshold for consecutive days.
Ships in ai-news-briefing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Surface quality slides before readers notice them. Robust to small-sample outliers via median + MAD scaling.
make eval-drift D=YYYY-MM-DD # status: ok / alert (informational)
make eval-drift D=YYYY-MM-DD ALERT_EXIT=1 # exit 3 on alert (cron-friendly)
Direct invocation supports tuning windows and thresholds:
python3 eval/drift.py --as-of YYYY-MM-DD \
--short-window 7 --long-window 30 \
--z-thresh 1.5 --streak 2 \
--exit-nonzero-on-alert
For each of the last --streak days (default 2):
short_med = median(last 7 days of composites)
long_med = median(last 30 days of composites)
long_mad = median(|x - long_med|)
scale = max(long_mad, 0.05) # floor avoids div-by-zero on flat history
z = (short_med - long_med) / scale
A day is "bad" when z < -1.5. If every day in the streak is bad, status flips to alert.
JSON blob with status (ok / alert / no_data), the medians, the MAD, the z-score, and an alerts list of offending days.
Lead with the status. If alert, show the offending dates and the z-scores; recommend running make eval-show and inspecting the per-card notes to identify which axis is dragging quality down. If ok, report the rolling medians anyway so the user has a sense of current quality.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub hoangsonww/ai-news-briefing --plugin ai-news-briefing11 skills in this plugin
/custom-briefStep 0: Gather ParametersDeep-research a specific topic and produce a comprehensive news-focused briefing with optional Notion/Obsidian/Teams/Slack publishing/daily-briefingStep 0: Check Previously Covered StoriesSearch for today's latest AI news and create/update a comprehensive briefing in Notion, with optional Obsidian vault publishing for graph visualization/eval-backfillEval — Backfill All CardsOther plugins' skills for the same job