agentleFS
Itsokay-coItsokay-co/bio-vibing/skills/daily/SKILL.md

daily

Skill17 starsChanged 9 months agoApache-2.0View on GitHub

Quick morning briefing — last night's sleep with personal baseline context, today's readiness, optimal windows, and watch items. Scannable, under 30 lines. Use when the user wants a fast daily check-in.

11 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use onboard and audit.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SentrySkill

    onboard

    Onboard a service to sentry-options. Use when integrating a new service, creating schemas, or setting up the multi-repo sentry-options workflow.

    Also in 3 projects that use this

  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 9 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    WATCH section: only appears if something is off.

    line 189

“Common” is measured: kept by at least 6 in 10 of the 9 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Daily Briefing — What matters today

Quick morning check-in with personal baseline context. Under 30 lines.

Steps

Pull 30 days of data (enough for baselines, fast):

python3 << 'PYEOF'
import sys, os, json
sys.path.insert(0, os.path.join(os.environ.get('CLAUDE_PLUGIN_ROOT', '.'), 'lib'))
from fetch import fetch_biometrics
from dataclasses import asdict
from metrics import (compute_personal_baselines, compute_forward_signals,
                     compute_training_load, compute_chronotype,
                     compute_allostatic_load, compute_alcohol_detection,
                     compute_early_warning_signals, compute_stress_proxy,
                     compute_sleep_debt, compute_disruption_classification,
                     compute_optimal_sleep)

data = fetch_biometrics(days=30)
d = asdict(data)
sleep = d.get('sleep', [])
readiness = d.get('readiness', [])
meals = d.get('meals', [])
spo2 = d.get('spo2', [])
stress = d.get('stress', [])
heartrate = d.get('heartrate', [])
workouts = d.get('workouts', [])
respiration = d.get('respiration', [])

# --- LAST NIGHT ---
long_sleep = sorted([s for s in sleep if s.get('sleep_type') in ('long_sleep', None) and s.get('score')],
                    key=lambda x: x['day'])
if long_sleep:
    last = long_sleep[-1]
    total_h = round(last.get('total_sleep_seconds', 0) / 3600, 1)
    deep_m = round(last.get('deep_sleep_seconds', 0) / 60)
    rem_m = round(last.get('rem_sleep_seconds', 0) / 60)
    total_m = round(last.get('total_sleep_seconds', 0) / 60)
    deep_pct = round(deep_m / total_m * 100) if total_m else 0
    onset_m = round(last.get('onset_latency_seconds', 0) / 60) if last.get('onset_latency_seconds') else None

    print(f"LAST NIGHT")
    print(f"  Sleep: {total_h}h (score {last.get('score', '?')})", end="")

    # Baseline context
    bl = compute_personal_baselines(sleep, readiness, spo2, stress, respiration)
    if bl.get('status') == 'ok' and 'sleep_score' in bl.get('metrics', {}):
        z = bl['metrics']['sleep_score'].get('current', {}).get('1d', {}).get('z_score')
        if z is not None:
            direction = "above" if z > 0 else "below"
            print(f" — {'+' if z > 0 else ''}{z} SD {direction} your baseline", end="")
    print()

    print(f"  Deep: {deep_m} min ({deep_pct}%) | HRV: {last.get('avg_hrv_ms', '?')} ms | RHR: {last.get('avg_resting_hr_bpm', '?')} bpm", end="")
    if onset_m is not None:
        print(f" | Onset: {onset_m} min", end="")
    print()

    # Alcohol detection
    alc = compute_alcohol_detection(sleep)
    if alc.get('probable_alcohol_nights'):
        if last['day'] in [n['day'] for n in alc['probable_alcohol_nights']]:
            print(f"  Probable alcohol night detected")
else:
    print("  No sleep data")

# --- SUNA GUT SCORES (if connected) ---
gut_scores = d.get('gut_scores', [])
overnight_scores = d.get('overnight_scores', [])
if gut_scores:
    latest_gs = sorted(gut_scores, key=lambda x: x.get('day', ''))[-1]
    print(f"  Gut Score: {latest_gs.get('score', '?')} ({latest_gs.get('level', '?')})")
if overnight_scores:
    latest_on = sorted(overnight_scores, key=lambda x: x.get('day', ''))[-1]
    print(f"  Overnight gut: {latest_on.get('score', '?')} ({latest_on.get('level', '?')})")

# --- TODAY'S SIGNALS ---
print()
print("TODAY'S SIGNALS")

# Recovery / readiness
if readiness:
    latest_r = sorted([r for r in readiness if r.get('score')], key=lambda x: x['day'])[-1:]
    if latest_r:
        print(f"  Readiness: {latest_r[0]['score']}/100")

# Training load
tl = compute_training_load(workouts, heartrate, sleep)
acwr = tl.get('acwr')
if acwr is not None:
    zone = tl.get('zone', 'unknown')
    print(f"  ACWR: {acwr} ({zone})")

# Stress proxy
sp = compute_stress_proxy(sleep, readiness, meals)
if sp.get('stress_level') is not None:
    print(f"  Stress: {sp['stress_level']}/100 ({sp['level']})")

# --- WINDOWS ---
windows = d.get('daily_windows', [])
if windows:
    latest_w = sorted(windows, key=lambda x: x.get('day', ''))[-1]
    print()
    print("WINDOWS")
    if latest_w.get('eat_start') and latest_w.get('eat_end'):
        print(f"  Eat: {latest_w['eat_start']} – {latest_w['eat_end']}")
    if latest_w.get('train_start'):
        te = latest_w.get('train_end', '')
        print(f"  Train: {latest_w['train_start']}" + (f" – {te}" if te else ""))
    if latest_w.get('sleep_start'):
        print(f"  Sleep: {latest_w['sleep_start']}")
    rl = latest_w.get('recovery_level')
    if rl:
        print(f"  Recovery: {rl}")
else:
    # Derive from chronotype if no Suna windows
    chrono = compute_chronotype(sleep)
    if chrono.get('classification'):
        print()
        print("TIMING")
        print(f"  Chronotype: {chrono['classification']}")
        if chrono.get('social_jetlag_hours') and chrono['social_jetlag_hours'] > 0.5:
            print(f"  Social jetlag: {chrono['social_jetlag_hours']}h")

# --- WATCH ---
watch_items = []

# Sleep debt (personal optimal target)
sd = compute_sleep_debt(sleep)
if sd.get('debt_hours') and sd['debt_hours'] > 5:
    watch_items.append(f"Sleep debt: {sd['debt_hours']}h ({sd['avg_recent_hours']}h avg vs {sd['target_hours']}h target, {sd['trajectory']})")

# Optimal sleep delta
os_result = compute_optimal_sleep(sleep, readiness)
if os_result.get('delta_hours') and os_result['delta_hours'] > 1:
    watch_items.append(f"Sleeping {abs(os_result['delta_hours'])}h below your optimal ({os_result['optimal_hours']}h)")

# Disruption detection
disruption = compute_disruption_classification(sleep, readiness, spo2)
recent_events = [e for e in disruption.get('events', []) if e.get('day', '') >= (long_sleep[-1]['day'] if long_sleep else '')]
for e in recent_events[-1:]:
    watch_items.append(f"Disruption: {e['classification'].replace('probable_', '')} detected ({e['recovery_shape']}-shape recovery)")

# HRV declining
fs = compute_forward_signals(sleep, readiness, workouts)
hrv_proj = fs.get('hrv_projection', {})
if hrv_proj.get('direction') == 'declining' and abs(hrv_proj.get('slope_per_day', 0)) > 0.5:
    watch_items.append(f"HRV declining ({hrv_proj['slope_per_day']}/day over 7 days)")

# Early warning
ew = compute_early_warning_signals(sleep)
if ew.get('warning_level') == 'elevated':
    watch_items.append("Early warning: rising variance + autocorrelation")

# Allostatic load
al = compute_allostatic_load(sleep, readiness, spo2, stress)
if al.get('classification') in ('high', 'very_high'):
    watch_items.append(f"Allostatic load: {al['classification']} ({al.get('load_score', '?')}/6)")

if watch_items:
    print()
    print("WATCH")
    for item in watch_items:
        print(f"  {item}")

PYEOF

Interpretation

Present the output directly — it's already formatted for scanning. Add brief context only if the user asks follow-up questions. Key framing:

  • Baseline z-scores: positive = above your personal average, negative = below. ±1 SD is normal variation.
  • Gut Score (if Suna connected): 0-100 composite health score.
  • Windows (if Suna connected): optimal EAT/TRAIN/SLEEP timing.
  • WATCH section: only appears if something is off. No watch = all good.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.