Stress Toolkit
🟢 MVP/P0 Complete: Core features implemented with crisis detection and referral mechanisms.
Overview
A collection of rapid stress-relief techniques for everyday use:
- - Feeling stressed or anxious
- Trouble relaxing or falling asleep
- Emotional overwhelm, can't find calm
Core Modules
| Feature | Description |
|---|
| Breathing Exercises | 4-7-8 breathing, box breathing, diaphragmatic breathing |
| Progressive Muscle Relaxation |
10-15 minute full-body relaxation routine |
| 5-4-3-2-1 Grounding | Sensory-based technique to return to the present moment |
| Guided Meditation | Body scan, breathing meditation |
| Sleep Prep | Bedtime relaxation routine |
| Anxiety Relief | Combination approach |
How to Trigger
- - Keywords: "stressed", "anxious", "relax"
- Specific requests: "deep breath", "meditation", "can't sleep"
- Questions like "how can I relax?"
Crisis Detection & Referral
High-Risk Detection (Immediate Referral)
Keywords: suicide, self-harm, don't want to live, death, cutting, jumping, hopeless, depressed, despair
Response: Provide professional crisis hotline, guide user to seek professional help
Moderate-Risk Detection (Extra Care)
Keywords: anxious, fearful, scared, worried, insomnia, breakdown, powerless, overwhelmed, can't breathe
Response: Express understanding and care, invite user to share or try a technique
Safety Boundaries
⚠️ Explicitly NOT provided:
- - Psychological diagnosis
- Psychotherapy
- Replacement for professional counseling
⚠️ Disclaimer:
- - This tool provides self-help relaxation techniques only
- Cannot replace professional mental health treatment
- For serious emotional concerns, please seek professional help
Directory Structure
CODEBLOCK0
Testing
Basic Function Tests
CODEBLOCK1
Crisis Detection Tests
CODEBLOCK2
Self-Test Examples
| Input | Expected Output |
|---|
| "I'm stressed" | Display feature menu |
| "I need deep breathing" |
Show 4-7-8 / box / diaphragmatic breathing |
| "Can't sleep" | Show bedtime relaxation routine |
| "Anxious" | Show anxiety relief combination |
| "I don't want to live" | Trigger crisis referral, show hotline |
| "So anxious and overwhelmed" | Trigger moderate-risk response, show care |
Version Info
- - version: 1.0.0
- author: Golden Bean
- status: MVP complete, ready for testing
压力应对工具包
🟢 MVP/P0 已完成:核心功能已实现,包含危机检测与转介机制。
概述
日常使用的快速减压技巧合集:
- - 感到压力或焦虑时
- 难以放松或入睡时
- 情绪崩溃,无法平静时
核心模块
| 功能 | 描述 |
|---|
| 呼吸练习 | 4-7-8呼吸法、箱式呼吸法、腹式呼吸法 |
| 渐进式肌肉放松 |
10-15分钟全身放松练习 |
| 5-4-3-2-1接地法 | 基于感官的技巧,帮助回归当下 |
| 引导式冥想 | 身体扫描、呼吸冥想 |
| 睡前准备 | 睡前放松流程 |
| 焦虑缓解 | 组合式方法 |
触发方式
- - 关键词:压力大、焦虑、放松
- 具体请求:深呼吸、冥想、睡不着
- 类似我该如何放松?的问题
危机检测与转介
高风险检测(立即转介)
关键词:自杀、自残、不想活、死亡、割腕、跳楼、绝望、抑郁、无望
响应:提供专业危机热线,引导用户寻求专业帮助
中风险检测(额外关怀)
关键词:焦虑、恐惧、害怕、担忧、失眠、崩溃、无力、不堪重负、喘不过气
响应:表达理解与关怀,邀请用户分享或尝试某种技巧
安全边界
⚠️ 明确不提供:
⚠️ 免责声明:
- - 本工具仅提供自助放松技巧
- 不能替代专业心理健康治疗
- 如有严重情绪问题,请寻求专业帮助
目录结构
stress-toolkit/
├── skill.json
├── SKILL.md
└── scripts/
├── handler.py # 核心逻辑
└── crisis_detector.py # 危机检测模块
测试
基本功能测试
bash
测试主入口
python3 ~/.openclaw/skills/stress-toolkit/scripts/handler.py 我感到压力很大
测试呼吸练习
python3 ~/.openclaw/skills/stress-toolkit/scripts/handler.py 我需要做深呼吸
测试接地法
python3 ~/.openclaw/skills/stress-toolkit/scripts/handler.py 焦虑
危机检测测试
bash
测试高风险检测(应触发转介)
python3 ~/.openclaw/skills/stress-toolkit/scripts/handler.py 我不想活了
测试中风险检测(应触发关怀)
python3 ~/.openclaw/skills/stress-toolkit/scripts/handler.py 我非常焦虑,感觉不堪重负
自测示例
| 输入 | 预期输出 |
|---|
| 我感到压力很大 | 显示功能菜单 |
| 我需要深呼吸 |
显示4-7-8 / 箱式 / 腹式呼吸法 |
| 睡不着 | 显示睡前放松流程 |
| 焦虑 | 显示焦虑缓解组合方案 |
| 我不想活了 | 触发危机转介,显示热线 |
| 非常焦虑,不堪重负 | 触发中风险响应,显示关怀 |
版本信息
- - 版本:1.0.0
- 作者:金豆
- 状态:MVP已完成,准备测试