emotion-first-aid
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "emotion-first-aid" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-556184d5976c4dcf1a8b045e5a093bcfe828c9f447cb01d707475150a981e6f5. Verify the upstream source and version against https://skillhub.cn/skills/user_cb37ec27/emotion-first-aid before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Emotion first-aid skill: triggered when users report anxiety, anger, emo feelings, pre-exam nervousness, insomnia, imminent breakdown, or ask for calming techniques. It deterministically selects one of 12 scientifically validated relaxation/grounding/reframing methods based on current emotion + context + available time (examples: 4-7-8 breathing, box breathing, 5-4-3-2-1 grounding, RAIN, progressive muscle relaxation, cognitive reframing). Guides the user step by step and records before-and-after sensations locally for long-term tracking of what works best. Zero dependencies, fully local, privacy-preserving.
Introduction source: third_party · user_cb37ec27 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Translation pending; see source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: emotion-first-aid
slug: emotion-first-aid
displayName: 情绪急救箱
description: 当用户说「我好焦虑/被气到了/emo了/考前紧张/睡不着/快崩溃了/情绪急救/此刻该怎么平复/有没有什么方法能让我冷静/grounding 技巧」时使用。按「当前情绪+场景+可用时长」确定性挑选一个科学 validated 的放松/着陆/重构技术(4-7-8 呼吸、方箱呼吸、5-4-3-2-1 感官着陆、RAIN、渐进式肌肉放松、认知重构等 12 种),一步步带你照做,并把每次前后感受记录到本地,长期统计「什么对你最有效」。零依赖、纯本地、隐私安全。
version: 1.0.0
category: 生活助手
platforms:
- WorkBuddy
- Claude Code
- Cursor
- QClaw
- ima
author: Dream
license: MIT情绪急救箱(emotion-first-aid)
突然被情绪淹没——焦虑发作、被领导骂到说不出话、深夜 emo、考前手心出汗、一堆事压得要炸。 你知道「深呼吸」有用,但当下根本想不起来该用哪个、怎么做、做多久。 这个 skill 就是那个「现在就能照做」的急救包:告诉它你现在的感受,它立刻挑一个最对症的方法,把每一步摊开在你面前。
解决的痛点
- 知道该放松,但不知道做哪个:技术一堆(腹式呼吸?数呼吸?着陆?),慌的时候脑子空白,选不出来。
- 会了方法却卡在「怎么做」:4-7-8 到底是几秒?屏息憋不住怎么办?缺一个可照念的步骤。
- 效果全凭感觉,下次还乱试:哪些技术对你真的有用、对哪种情绪有用,从没系统记过。
与库内其他 skill 的差异
dw-mood-diary是事后记录情绪;本 skill 是当下干预——你不记,只是想立刻好一点。dw-breathing-exercise只给一种呼吸;本 skill 有 12 种技术,并能按情绪/场景/时长自动选型。dw-anxiety-deconstruct是分析拆解焦虑;本 skill 是行动引导,少讲道理多带你做。
核心能力
零依赖 Python 引擎 firstaid.py(仅标准库),数据存本地 ~/.firstaid/(可用环境变量 FIRSTAID_HOME 覆盖)。
内置 12 种技术,每条带「适用情绪 / 友好场景 / 时长 / 分步脚本」:
| 技术 | 适用情绪 | 时长 | 场景 |
|---|---|---|---|
| 4-7-8 呼吸法 | 焦虑/紧张/失眠/崩溃 | 3min | 睡前/独处/公共 |
| 方箱呼吸 Box | 紧张/愤怒/焦虑/崩溃 | 4min | 工作/公共 |
| 5-4-3-2-1 感官着陆 | 焦虑/崩溃/恐惧 | 3min | 任意 |
| RAIN 正念四步 | 愤怒/低落/崩溃/焦虑 | 5min | 独处/睡前 |
| 腹式呼吸 | 焦虑/紧张 | 3min | 任意 |
| 渐进式肌肉放松 PMR | 紧张/失眠/焦虑 | 5min | 睡前/独处 |
| 身体扫描 | 失眠/低落/焦虑 | 5min | 睡前/独处 |
| 认知重构三问 | 愤怒/低落/焦虑 | 3min | 独处/工作 |
| 蝴蝶拥抱 | 恐惧/愤怒/崩溃 | 3min | 独处/睡前 |
| 命名情绪(情绪粒度) | 崩溃/愤怒/低落 | 2min | 任意 |
| STOP 正念暂停 | 崩溃/愤怒/焦虑 | 2min | 工作/公共 |
| 散步重置 | 低落/崩溃/愤怒 | 10min | 户外 |
使用流程
1. 看看有哪些技术
python3 firstaid.py list
2. 告诉它你现在的感受,让它挑
# 直接描述,工具会自动识别情绪词
python3 firstaid.py pick --emotion "被领导当众骂了一直很气"
python3 firstaid.py pick --emotion "明天答辩紧张得睡不着" --time 3
python3 firstaid.py pick --emotion "一堆事压得要炸" --scene 工作 --time 2
输出:识别到的情绪 + 首选技术(完整分步)+ 备选技术。
3. 在终端里被一步步带着做(带实时倒计时)
python3 firstaid.py guide --technique 478 --wait
非交互环境(如 agent 调用)会自动跳过倒计时,只打印步骤让你自行按秒执行。
4. 用完记一笔,长期看什么对你最有效
# 使用前强度 8,做完降到 3
python3 firstaid.py log --emotion 愤怒 --technique 方箱呼吸 --before 8 --after 3 --note "会议前用的,确实稳了"
python3 firstaid.py logs -n 20
python3 firstaid.py stats # 哪些技术平均提升最多、对哪种情绪最有效
情绪识别关键词(自动映射,可混用)
- 焦虑:焦虑/不安/心慌/坐立不安/担心/焦躁/慌
- 愤怒:生气/恼火/火大/憋屈/烦躁/抓狂
- 低落:难过/沮丧/抑郁/emo/空虚/失落/委屈
- 紧张:紧张/考前/演讲/面试/怯场/压力大
- 失眠:睡不着/熬夜/睡不好/脑子停不下来
- 崩溃:崩溃/窒息/压垮/一团乱/招架不住
- 恐惧:害怕/惊恐/创伤/后怕
边界声明(重要)
⚠️ 本工具不构成心理治疗或医疗建议,也不能替代精神科/心理咨询等专业帮助。
- 若情绪困扰持续两周以上或明显影响工作生活,请寻求专业帮助。
- 若出现自伤或自杀念头,请立即求助(以下均为真实热线):
- 全国 24 小时心理援助热线:400-161-9995
- 北京心理危机研究与干预中心:010-82951332
- 希望24热线:400-161-9995
所有数据仅存于你本机 ~/.firstaid/,不上传任何服务器。
适用场景举例
- 「刚开完会,心跳很快,怎么快点平静下来?」→
pick --emotion 紧张 --scene 工作 --time 3 - 「半夜醒了就睡不着,脑子停不下来」→
pick --emotion 失眠 --time 5 - 「被客户气炸,怕说出后悔的话」→
pick --emotion 愤怒 --time 2再guide --technique stop --wait - 「考前一天慌得不行」→
pick --emotion 紧张 --time 4
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 解决突发情绪下的即时干预刚需,覆盖焦虑、愤怒、失眠等高频场景
- 提供12种科学验证技术并按情绪/场景/时长智能选型,显著提升执行效率
- 支持本地记录与长期统计,帮助用户识别个性化有效方法
Highlights
- 触发词覆盖全面且边界清晰,支持自然语言描述自动映射情绪类别
- 明确区分不同情绪类型(焦虑/愤怒/低落等)并提供对应技术推荐
Areas to improve
-
description 写错位置 Reported severity: Minor
顶层 frontmatter 与 skill_body 内部均包含 description,内容重复
Recommendation: 保留一处即可,建议仅保留 frontmatter 中的 description
-
缺少 When to Use 显式章节 Reported severity: Minor
未使用标准章节名 'When to Use',但 '适用场景举例' 已实质覆盖
Recommendation: 建议将 '适用场景举例' 改为标准章节名 'When to Use' 以提升规范性
Highlights
- 使用流程清晰分步(list/pick/guide/log/stats),含完整命令行示例
- frontmatter 完整,版本、分类、平台、作者等信息齐全
Highlights
- 零依赖纯 Python 标准库实现,无需外部包,兼容性强
- 本地存储 ~/.firstaid/,隐私安全,支持环境变量自定义路径
- 非交互环境自动跳过倒计时,适配多种调用场景
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.