Breathing exercises

From FerroxLabs/murage · View interactive version

Breathing exercises is an AI agent skill from the GitHub repository FerroxLabs/murage. Teaches specific named breathing techniques (box breathing 4-4-4-4, diaphragmatic breathing, 4-7-8 breathing, physiological sigh) with step-by-step sequences, timing, and use-case matching. Gathers the user's goal (calm down, energize, sleep, focus) and produces a complete breathing protocol with te

How to use this skill

Skill file

Breathing Exercises

Disclaimer: This skill provides general wellness information for educational purposes only. It does NOT constitute medical advice, diagnosis, or treatment. Always consult a qualified healthcare professional before beginning any new wellness practice. If you are experiencing a medical emergency, chest pain, severe shortness of breath, or other acute symptoms, contact emergency services immediately.


When to Use

Use this skill when:

Do NOT use this skill when:


Process

Step 1: Clarify the User's Primary Goal and Immediate Context

Before selecting any technique, gather enough information to match precisely to physiological need.

Step 2: Assess Time Available and Skill Level

Technique selection must match the realistic time window and the user's prior experience.

Step 3: Apply Contraindication Filters

Before finalizing technique selection, screen for the following and modify accordingly.

Step 4: Select and Sequence Techniques from the Core Library

Match technique to goal using the following authoritative technique profiles.

Technique 1 -- Physiological Sigh (Double Inhale + Extended Exhale)

Technique 2 -- Box Breathing (4-4-4-4 / Tactical Breathing)

Technique 3 -- 4-7-8 Breathing

Technique 4 -- Diaphragmatic Breathing (Belly Breathing)

Technique 5 -- Resonance Breathing (Coherence Breathing, 5-5 Pattern)

Technique 6 -- Energizing Rhythmic Breathing (Stimulating Breath)

Step 5: Build the Complete Protocol with Exact Sequencing

Combine techniques in an intentional sequence that follows physiological logic.

Step 6: Deliver Step-by-Step Instructions with Exact Counts

Every technique instruction must include these elements without exception.

Step 7: Provide a Technique Selection Reference and Optional Practice Schedule

Conclude every protocol with two components.

Step 8: Close with Progression Guidance

After delivering the protocol, offer a clear next step.


Output Format

## Breathing Exercise Protocol

**Goal:** [User's stated goal in their own words]
**Functional Category:** [Immediate Calm / Sustained Calm / Sleep Preparation / Focus & Alertness / Daily Foundation]
**Recommended Technique(s):** [Technique name(s) in order of use]
**Total Session Time:** [X] minutes
**Skill Level:** [Beginner / Intermediate]

---

### Technique [#]: [Technique Name]

**What it does:** [1--2 sentences explaining the physiological mechanism in plain language]
**Best for:** [2--3 specific situations]
**Contraindicated for:** [Any specific populations who should skip this technique]
**Total time:** [X] minutes | [Y] cycles

**Setup:**
- Posture: [Single specific posture instruction]
- Hand placement: [Where to place hands and why]
- Environment: [Eyes open or closed; any relevant environmental note]

**Sequence:**
1. [Phase name] -- [Exact timing, breathing route (nose/mouth), specific physical action]
2. [Phase name] -- [Exact timing, what to do physically during this phase]
3. [Phase name] -- [Exact timing, breathing route, specific physical action]
4. [Phase name if applicable] -- [Exact timing]
5. That completes one cycle. Repeat for [Y] cycles total. ([X] minutes elapsed)

**What to focus attention on:** [Specific internal sensation, visualization, or anchor point]
**Working signal:** [1--2 specific physical sensations that indicate the technique is producing the intended effect]
**Beginner modification:** [Reduced timing or simplified version for first-time practitioners]
**Stop immediately if:** [Specific warning symptoms]

---

### Technique [#]: [Technique Name] [if second technique in protocol]

[Same structure as above]

---

### Quick Reference: Which Technique for Which Situation

| Situation | Technique | Time Needed | Key Reason |
|-----------|-----------|-------------|------------|
| [Specific situation] | [Technique name] | [X] min | [1-sentence mechanism explanation] |
| [Specific situation] | [Technique name] | [X] min | [1-sentence mechanism explanation] |
| [Specific situation] | [Technique name] | [X] min | [1-sentence mechanism explanation] |
| [Specific situation] | [Technique name] | [X] min | [1-sentence mechanism explanation] |
| [Specific situation] | [Technique name] | [X] min | [1-sentence mechanism explanation] |

---

### Daily Practice Schedule [include only if user requested habit-building]

| Time of Day | Technique | Duration | Physiological Purpose |
|-------------|-----------|----------|-----------------------|
| Morning | [Technique] | [X] min | [Why this technique fits this time of day] |
| Midday (as needed) | [Technique] | [X] min | [Why this technique fits this time of day] |
| Evening | [Technique] | [X] min | [Why this technique fits this time of day] |

**Week 1:** One session per day, evening only. Focus on posture and breath routing (nose vs. mouth) rather than perfect timing.
**Weeks 2--4:** Add morning session. Begin tracking resting respiratory rate (count breaths for 60 seconds upon waking).
**Month 2+:** Sessions become intuitive. Most practitioners at this stage report 2--3 breaths per minute reduction in resting respiratory rate.

---

### Progression Path

**After 1 session:** [What the user should realistically notice]
**After 1 week:** [What measurable change to look for]
**After 4 weeks:** [What physiological adaptation has likely occurred]

Rules

  1. Never provide a technique without exact second counts. "Breathe slowly" or "breathe deeply" are not instructions -- they are suggestions. Every phase of every technique must have a number attached. "Inhale for 4 seconds" not "take a long inhale."
  1. Never exceed 4 cycles of 4-7-8 breathing in a single session, and never recommend it to a beginner before first checking for dizziness sensitivity. The 7-second hold is the most physiologically demanding element in this library for untrained users and causes lightheadedness in a meaningful percentage of first-time practitioners.
  1. Never recommend breath-hold techniques to users who mention pregnancy, high blood pressure, cardiovascular conditions, glaucoma, or recent eye surgery. Breath holds create transient intrathoracic and intraocular pressure increases. Approved substitutions for all these populations are Diaphragmatic Breathing and the Physiological Sigh only.
  1. Always present the Physiological Sigh as the first technique whenever the user needs relief in under 60 seconds. No other technique in this library produces a measurable calming effect in under one minute. Recommending Box Breathing to someone in acute distress who has 30 seconds is harmful, not helpful -- the hold phases can feel suffocating when the sympathetic nervous system is already activated.
  1. Never recommend the Energizing Rhythmic Breathing technique to users who report anxiety, heart conditions, high blood pressure, epilepsy, or pregnancy. Rapid sympathetic activation is counterproductive or contraindicated for all of these populations.
  1. Always specify nasal vs. mouth breathing for every phase of every technique. Nasal and mouth breathing produce different physiological effects: nasal breathing produces nitric oxide which dilates blood vessels, regulates airflow, and warms air; mouth breathing does not. Failing to specify routes leaves the user guessing and reduces technique effectiveness.
  1. Limit every protocol to a maximum of 3 techniques. More than 3 creates decision fatigue, extends sessions beyond practical length, and fragments the user's attention. If a user asks for multiple goals (sleep AND focus AND anxiety), prioritize the most urgent or stated primary goal and cover the others via the quick-reference table.
  1. If a user reports that focusing on their breathing makes them more anxious or panicky, do not persist with breathing-focused techniques. This is a known response in some anxiety disorders called "anxiety sensitivity to somatic cues." Reduce to Physiological Sigh only (brief, action-oriented, low sustained attention demand). If this response is consistent, note that a licensed mental health professional can provide desensitization support.
  1. Frame all breathwork as general wellness practice, not medical treatment. Never say a technique "treats anxiety," "cures insomnia," or "heals stress." Approved language: "activates the calming response," "supports relaxation," "can reduce the physical sensations of stress." The distinction is between physiological support and clinical intervention.
  1. Always include a stop-immediately warning in every protocol. Specific symptoms requiring immediate return to natural breathing: dizziness, tingling in hands or face, visual disturbances, nausea, or muscle cramping (particularly in hands -- carpopedal spasm can occur from hypocapnia). These indicate CO2 levels have dropped too fast; the correct response is to stop the technique, breathe naturally, and rest. Do not advise the user to push through these symptoms.
  1. When a user has never done breathwork before, start with a single technique only. The temptation to be comprehensive is counterproductive with beginners. One technique practiced 3 times correctly produces more learning than three techniques practiced once each incorrectly.
  1. Never tell a user to continue a technique they find painful, extremely uncomfortable, or emotionally distressing. Breathwork should produce mild effort and notable calm -- not distress. Any technique that consistently produces emotional flooding, dissociation, or intense physical discomfort should be discontinued immediately, and the user should consult a licensed mental health professional before continuing.

Edge Cases

User Is Currently in Acute Panic or High Distress

Acute distress fundamentally changes the appropriate response -- do not treat this like a standard breathwork request.

User Mentions Pregnancy

Pregnancy modifies the technique library substantially.

User Reports Previous Dizziness or Fainting During Breathwork

This is a clinically significant signal -- not something to work around with minor modifications.

User Wants Breathwork for Athletic Performance Preparation

This is within scope as general wellness but has specific nuance.

User Reports That Breathwork Never Works for Them

This is usually a technique or execution problem, not a fundamental incompatibility.

User Wants to Build a Long-Term Breathwork Habit Over Weeks

A week-by-week progression prevents early abandonment.

User Asks About the Wim Hof Method or Similar Hyperventilation Protocols

This is outside the scope of this skill but warrants a careful, informative response rather than a dismissive redirect.


Example

User Input: "I'm terrible at sleeping. I lie awake for at least an hour every night, my mind races, and I wake up anxious around 3am and can't get back to sleep. I've tried counting sheep, nothing works. Can breathing actually help with this?"


Breathing Exercise Protocol

Goal: Fall asleep faster at bedtime; return to sleep after 3am wake-up

Functional Category: Sleep Preparation

Recommended Techniques: Diaphragmatic Breathing (bedtime foundation) + 4-7-8 Breathing (sleep onset and 3am reset)

Total Session Time: 10--12 minutes at bedtime; 3 minutes for 3am wake-up

Skill Level: Beginner


Why Breathing Can Help With This Specific Problem

When you lie awake with a racing mind, your sympathetic nervous system (the "alert" system) is still active from the day. Your cortisol may still be elevated, your heart rate slightly above true rest, and your brain pattern-matching for threats rather than releasing into sleep. Breathing doesn't knock you out -- it gives your nervous system a physiological off-ramp. The specific mechanism: slow exhale-dominant breathing stimulates the vagus nerve, which directly slows heart rate and signals the brain that the environment is safe. You are essentially using your own respiratory system as a remote control for your nervous system.


Technique 1: Diaphragmatic Breathing (Bedtime Foundation)

What it does: Activates the diaphragm as the primary breathing muscle, slowing respiratory rate and creating consistent vagal stimulation that progressively lowers heart rate and cortisol over 5--8 minutes.

Best for: Beginning the sleep transition, reducing the physical tension that accompanies a racing mind

Contraindicated for: No contraindications for this technique in the general population

Total time: 6--8 minutes | 10--12 cycles

Setup:

Sequence:

  1. Exhale first -- before beginning, take a normal exhale through your mouth and let it complete fully. This empties the lungs and gives you a clean starting point.
  2. Inhale -- breathe in slowly through your nose for exactly 4 seconds. Feel your belly press upward against your hand as your diaphragm descends. If your chest rises instead, deliberately push your belly out with the muscles as you inhale until the pattern clicks.
  3. No hold -- there is no pause at the top of this inhale. Move directly to the exhale.
  4. Exhale -- breathe out slowly through your mouth for exactly 6 seconds. Make your lips as if you're breathing out through a straw -- this creates slight back-pressure that slows the exhale. Feel your belly fall and your hand lower as your diaphragm rises.
  5. Natural pause -- allow a brief 1--2 second rest with empty lungs. Don't force it, don't hold it artificially. If the next inhale begins before 2 seconds, that's fine.
  6. That completes one cycle. Repeat for 10--12 cycles total (6--8 minutes elapsed).

What to focus attention on: The physical sensation of your hand rising and falling. This is deliberately body-based rather than thought-based -- you are redirecting your attention from mental activity to physical sensation. When your mind drifts (it will), notice it without frustration and return your attention to the hand rising and falling.

Working signal: After 4--6 cycles, you should notice your shoulders have dropped away from your ears, your jaw has unclenched slightly, and your legs feel heavier against the mattress. Your breathing rate is slowing naturally. If after 8 cycles none of this has occurred, check that you are fully completing the 6-second exhale -- an incomplete exhale is the most common reason diaphragmatic breathing doesn't produce the expected relaxation.

Beginner modification: If 4s inhale/6s exhale feels forced, start with 3s inhale/5s exhale and add one second to each phase each week until you reach 4s/6s.

Stop immediately if: You feel dizzy or tingling in your hands or face. Return to normal breathing, rest, and try again tomorrow with slower counts.


Technique 2: 4-7-8 Breathing (Sleep Onset and 3am Reset)

What it does: The 7-second breath hold allows blood oxygen to peak and CO2 to accumulate slightly, directly stimulating the parasympathetic nervous system. The 8-second exhale -- twice as long as the inhale -- is the most powerful vagal activation exhale ratio in this protocol library. Together these phases produce a pronounced sedating effect appropriate for sleep onset.

Best for: Transitioning from the diaphragmatic breathing foundation into sleep, and as a stand-alone 3am reset

Contraindicated for: Pregnancy, high blood pressure, cardiovascular conditions -- contact healthcare provider before using

Total time: Approximately 3 minutes | 4 cycles maximum

Setup:

Sequence:

  1. Starting exhale -- through your mouth, exhale completely. Make a whooshing sound as you do -- this is intentional and part of the technique.
  2. Inhale -- close your mouth. Inhale quietly through your nose for exactly 4 seconds (count: one-one-thousand, two-one-thousand, three-one-thousand, four-one-thousand).
  3. Hold -- hold your breath for exactly 7 seconds. Keep your throat relaxed -- this is a passive pause, not a muscular clench. If 7 seconds feels very uncomfortable in your first session, stop at 5 seconds and build up over your first week of practice.
  4. Exhale -- exhale completely through your mouth with a whoosh sound for exactly 8 seconds. Let every last bit of air leave before stopping. The whooshing sound is not optional -- it creates the auditory anchor that helps maintain the 8-second duration.
  5. That completes one cycle. Pause for 2 natural breaths, then repeat.
  6. Complete 4 cycles total. After the fourth cycle, stop the technique and allow your breathing to become natural. Do not try to continue counting.

What to focus attention on: The physical sensation of your rib cage releasing and sinking during the 8-second exhale. Imagine each exhale as the body getting physically heavier and sinking deeper into the mattress.

Working signal: After the third or fourth cycle, many practitioners notice their mind has stopped producing complete thoughts -- instead, imagery or fragments appear, which is the hypnagogic state at the threshold of sleep. Your limbs should feel heavy and slightly disconnected. Yawning is common and is a positive signal (yawning is a natural physiological sigh that reinforces the parasympathetic shift).

Beginner modification: If the 7-second hold causes anxiety or physical discomfort in the first week, use 4-5-7 instead (inhale 4s, hold 5s, exhale 7s). Progress to full 4-7-8 after 5--7 sessions once the hold feels comfortable.

For the 3am wake-up specifically: When you wake at 3am, do not check your phone, turn on lights, or engage in problem-solving. Simply stay lying down, close your eyes, and begin 4-7-8 immediately. Your body is warm and your environment is already calibrated for sleep -- the technique will be more effective at 3am than at bedtime because you are starting from a partial relaxation state rather than a fully alert one.

Stop immediately if: You feel dizzy, experience tingling in your hands or face, or feel chest tightness. Return to natural breathing.


Full Bedtime Sequence (How to Combine Both Techniques)

| Step | Action | Duration |

|------|--------|---------|

| 1 | Lie flat, place hands (belly and chest), eyes closed | 30 seconds |

| 2 | Diaphragmatic Breathing: 4s in / 6s out, 10--12 cycles | 6--8 minutes |

| 3 | After last diaphragmatic exhale, pause naturally for 2 breaths | 30 seconds |

| 4 | 4-7-8 Breathing: 4s in / 7s hold / 8s out, 4 cycles | 3 minutes |

| 5 | Allow natural breathing; do not force continuation | ongoing |

Total bedtime session: 10--12 minutes. Most practitioners fall asleep during or immediately after Step 4.


Quick Reference: Which Technique When

| Situation | Technique | Time Needed | Why It Works |

|-----------|-----------|-------------|--------------|

| Lying awake, mind racing at bedtime | Diaphragmatic Breathing + 4-7-8 | 10--12 min | Diaphragmatic phase lowers arousal baseline; 4-7-8 delivers sedating parasympathetic activation |

| Woke at 3am, can't get back to sleep | 4-7-8 Breathing alone | 3 min | Body is already partially relaxed; technique rapidly depresses remaining sympathetic activity |

| Anxious before bed, need quick reset before lying down | Physiological Sigh (3 sighs) | 30 sec | Fastest sympathetic downregulation available; use while seated before getting into bed |

| Feel physically tense (shoulders, jaw, chest) | Diaphragmatic Breathing | 6--8 min | Body-focused attention and slow exhale release muscular tension driven by autonomic nervous system |

| Want a daily habit to improve sleep over time | Resonance Breathing (5-5 nasal) | 10 min (evening) | Consistent HRV resonance practice lowers baseline cortisol and resting heart rate over 4--6 weeks |


Daily Practice Schedule

| Time of Day | Technique | Duration | Physiological Purpose |

|-------------|-----------|----------|-----------------------|

| Evening (30 min before bed) | Resonance Breathing -- 5s nasal in / 5s nasal out, no holds, 10--15 cycles | 8--10 min | Begins the parasympathetic shift from waking activity to sleep preparation; trains HRV coherence over time |

| At bedtime (lying down) | Diaphragmatic Breathing → 4-7-8 | 10--12 min | Direct sleep onset protocol; transitions the nervous system from alert to sleep-ready state |

| 3am wake-up (as needed) | 4-7-8 alone | 3 min | Rapid re-sedation without needing to fully wake up |

Week 1: Evening Resonance Breathing only. Focus on nasal exhale and maintaining the 5-second rhythm without a timer. Don't add the bedtime sequence yet -- let one habit establish first.

Weeks 2--4: Add the full bedtime Diaphragmatic + 4-7-8 sequence. Track how long it takes to fall asleep (rough estimate) and note any change from your baseline 60-minute onset.

Month 2+: Most practitioners at 4 weeks of consistent practice report 20--40 minutes reduction in sleep onset time. Resting respiratory rate measured on waking typically drops from 15--18 to 12--14 breaths per minute.


Progression Path

After 1 session: You may notice you feel calmer lying in bed and your breathing has slowed, but sleep onset may not change yet. This is normal -- the first session establishes the neural pattern; it does not immediately override weeks or months of conditioned wakefulness.

After 1 week (7 consistent sessions): Most users report the 4-7-8 technique now feels comfortable (the 7-second hold no longer feels urgent) and they are falling asleep during or shortly after the fourth cycle. The 3am wake-up may still occur but return-to-sleep time typically shortens.

After 4 weeks: Physiological adaptation is underway. Resting heart rate may be measurably lower (1--4 beats per minute reduction is common). Sleep onset typically faster by 15--30 minutes. Some users report that the 3am wake-up frequency decreases. If sleep difficulties persist after 4 weeks of consistent practice, it is worth discussing them with a physician, as persistent sleep disruption can have physiological causes (sleep apnea, thyroid function, hormonal factors) that breathwork alone will not resolve.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.