Coding

exam-stress-coach

Try it

Manage exam anxiety with adaptive breathing exercises, evidence-based study planning, stress visualization, and motivational coaching. Use when preparing for tests or feeling overwhelmed by academic pressure.

What it does

Manage exam anxiety with adaptive breathing exercises, evidence-based study planning, stress visualization, and motivational coaching. Use when preparing for tests or feeling overwhelmed by academic pressure.

The skill document

Exam Stress Coach

Overview

Exam Stress Coach is an adaptive stress management toolkit for students. It combines evidence-based anxiety reduction techniques — box breathing, progressive muscle relaxation scripts, cognitive reframing — with smart study planning and progress visualization. The coach adapts to your current stress level (self-reported 1–10) and recommends interventions that match your state.

When to Use

  • A student (or parent of one) is preparing for exams and feels overwhelmed
  • You need to build a realistic study schedule with spaced repetition and breaks
  • You want guided breathing/relaxation exercises timed to your session
  • You want to visualize stress trends over a study period
  • Don't use for: clinical anxiety disorders — recommend a professional instead

How It Works

  1. Stress Assessment — On a 1–10 scale, classify stress into zones (green/amber/red) with recommended actions per zone.
  2. Breathing Exercises — Generates timed box-breathing (4-4-4-4), 4-7-8, and coherent breathing scripts with visual cues and duration control.
  3. Study Plan Generator — Given exam date, subjects, and available hours/day, produces a spaced study schedule using distributed practice and interleaving.
  4. Stress Tracker — Logs daily stress scores to a JSON file and plots trends with matplotlib.
  5. Motivational Coach — Pulls from a curated bank of evidence-backed motivational messages, adapted to current stress zone.

Quick Start

# Assess current stress and get recommendations
python scripts/stress_coach.py assess --level 7

# Start a 5-minute box breathing session
python scripts/stress_coach.py breathe --technique box --duration 5

# Generate a study plan for 3 subjects, exam in 14 days, 3h/day
python scripts/stress_coach.py plan --subjects "Calculus,History,Biology" --days 14 --hours-per-day 3

# Log today's stress level
python scripts/stress_coach.py log --level 6 --note "Felt good after review session"

# Visualize stress trends over last 30 days
python scripts/stress_coach.py trend --days 30

Detailed Workflows

1. Pre-Study Ritual (5 minutes)

Before opening a textbook:

  1. Run assess --level to check in with yourself
  2. If amber or red, run breathe --technique box --duration 3
  3. Review the recommended study approach for your zone

2. Weekly Study Planning

python scripts/stress_coach.py plan \
  --subjects "Organic Chem,Physics,Spanish" \
  --days 21 \
  --hours-per-day 4 \
  --output study_plan.json

The planner uses:

  • Distributed practice: spreads topics across days, not crammed
  • Interleaving: rotates between subjects within a day to improve retention
  • Deliberate rest: builds in 10-min breaks every 50 minutes (Pomodoro-like)
  • Buffer days: reserves the last 2 days before the exam for review only

3. During Study Sessions

If stress spikes mid-session:

python scripts/stress_coach.py breathe --technique 478 --duration 3

Stress Zones

ZoneScoreStatePrimary Action
🟢 Green1–3Calm / focusedActive study, tackle hardest material
🟡 Amber4–6Manageable stressStructured study with regular breaks
🔴 Red7–10High anxietyBreathing first, then lighter review

Common Pitfalls

  1. Cramming the night before. The planner explicitly blocks new material 48h before the exam. Override only if absolutely necessary.
  2. Ignoring physical stress signs. Stress scores ≥8 persisting for days warrant professional support — the tool will flag this.
  3. Treating breathing exercises as a one-off. Consistency (2–3×/day during study periods) yields measurable improvement.
  4. Over-scheduling. The planner caps at 6 productive hours/day; more leads to diminishing returns and burnout.
  5. Forgetting sleep. Study plans always reserve the last 8 hours before any study block for sleep.

Verification Checklist

  • stress_coach.py assess --level 5 prints zone + recommendations
  • stress_coach.py breathe --technique box --duration 1 runs a 1-min breathing cycle
  • stress_coach.py plan produces a JSON schedule with spaced topics
  • stress_coach.py log appends to stress_log.json
  • stress_coach.py trend renders a stress-trend chart (if matplotlib available)

References

See references/ for:

  • techniques.md — deep dive on each breathing technique and the evidence behind it
  • study-planning.md — the cognitive science of distributed practice and interleaving

Related skills

Help users identify stress sources, sort controllable vs uncontrollable pressure, and choose practical daily coping strategies.

14 installs

Provide non-clinical stress-relief exercises, grounding prompts, breathing techniques, and crisis-safe referral language without diagnosis or automated crisi...

18 installs

University final-exam review assistant for course profiling, materials ingestion, adaptive quizzes, strict grading, Feynman technique, Socratic tutoring, act...

4 installs1 stars

Turn a student's own course material into a two-in-one deliverable: a study guide AND a prediction of what the exam will actually ask, optimized for marks. Use this skill whenever the user wants to prepare or revise for an exam, midterm, final, practical, OSPE, or quiz using their lecture slides, professor audio/voice-note transcripts (English OR Arabic), past exam papers, model answers, lab/practical manuals, textbook chapters, or class notes — even if they just say "help me study for X", "predict my exam", "make me a revision guide", or upload lecture files. Built for biology-family courses (biotechnology, biology, biochemistry, bioinformatics, chemistry, microbiology, molecular biology, and related lab sciences) but adapts to the material given. Do NOT use for writing the exam itself, cheating during a live exam, or general tutoring unrelated to a specific upcoming assessment.

1 installs

Plans a term, schedules retrieval-based study blocks, and turns dated exams into weekly schedules with the cuts named.

65 installs2 stars

Get tutoring that breaks any concept into multiple angles — diagrams, analogies, worked examples, practice problems, and full study guides.

162 installs9 stars