
基于证据的认知行为疗法(CBT)和辩证行为疗法(DBT)干预技能,适用于Claude代码。引导思维记录、反向行动、亲爱的MAN角色扮演、危机技能及HRV生物反馈。可单独使用或通过Telegram进行。
概览
基于证据的认知行为疗法(CBT)和辩证行为疗法(DBT)干预技能,专为AI助手打造。为希望在终端工作流程中获得结构化心理健康支持的开发者打造——无需离开命令行。 基于Aaron Beck的认知疗法和David Burns的Feeling Good方法论的完整7步认知重构工作流程。 步骤:1. 描述情境 2.识别自动思维 3.检测认知扭曲(Burns 的10类分类法) 4.情绪强度(0–100) 5.生成平衡的替代思想 6.重构后重新评估情绪 7.导出带有前言的结构化标记 扭曲检测是自动的——工具包会将你的思想与所有10个Burns类别匹配,并标记最显著的,然后要求你重新框架。 Marsha Linehan的辩证行为疗法技能被应用于对话式AI的教学。
概述(AI 翻译)
基于证据的认知行为疗法(CBT)和辩证行为疗法(DBT)干预技能,专为AI助手打造。为希望在终端工作流程中获得结构化心理健康支持的开发者打造——无需离开命令行。
认知行为疗法思维记录工具
基于亚伦·贝克的认知疗法和大卫·伯恩斯的“感觉良好”方法论的完整7步认知重组工作流程。
步骤:
- 描述情况
- 识别自动思维
- 检测认知扭曲(伯恩斯的10类分类法)
- 情绪强度速率(0–100)
- 产生一个平衡的替代思想
- 重新表述后重新评估情绪
- 导出带有前言的结构化标记
扭曲检测是自动的——工具包会将你的思想与所有10个Burns类别匹配,并标记最显著的,然后要求你重新框架。
辩证行为疗法技能培训
Marsha Linehan的辩证行为疗法技能被应用于对话式AI的教学。
| 技能 | 模块 | 状态 |
|---|---|---|
| 反向动作 | 情绪调节 | ✅可用 |
| 亲爱的男士 | 人际效能 | 🔜第二波 |
| TIPP | 危机生存 | 🔜第二波 |
| 智慧心 | 核心正念 | 🔜波次3 |
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Claude Cognitive Toolkit
Evidence-based CBT and DBT intervention skills for AI assistants. Built for developers who want structured mental health support in their terminal workflow — without leaving the command line.
CBT Thought Record Tool
A full 7-step cognitive restructuring workflow based on Aaron Beck’s Cognitive Therapy and David Burns’ Feeling Good methodology.
Steps:
- Describe the situation
- Identify automatic thoughts
- Detect cognitive distortions (Burns’ 10-category taxonomy)
- Rate emotion intensity (0–100)
- Generate a balanced alternative thought
- Re-rate emotion after reframing
- Export structured markdown with frontmatter
Distortion detection is automatic — the toolkit matches your thought against all 10 Burns categories and flags the most salient ones before asking you to reframe.
DBT Skills Training
Skills from Marsha Linehan’s Dialectical Behavior Therapy adapted for conversational AI delivery.
| Skill | Module | Status |
|---|---|---|
| Opposite Action | Emotion Regulation | ✅ Available |
| DEAR MAN | Interpersonal Effectiveness | 🔜 Wave 2 |
| TIPP | Crisis Survival | 🔜 Wave 2 |
| Wise Mind | Core Mindfulness | 🔜 Wave 3 |
| GIVE / FAST | Interpersonal Effectiveness | 🔜 Wave 4 |
Opposite Action guides you through identifying the action urge driven by an emotion, then choosing the behaviorally opposite response — evidence-based for breaking avoidance, shame spirals, and anger escalation.
DEAR MAN (Wave 2) includes roleplay: the AI plays the other person so you can rehearse assertive communication before the real conversation.
Cognitive Distortion Detection
Automatic detection across all 10 Burns categories:
- All-or-Nothing Thinking — seeing things in black/white, no middle ground
- Overgeneralization — one negative event = a never-ending pattern of defeat
- Mental Filter — dwelling on a single negative detail
- Disqualifying the Positive — rejecting positive experiences as “not counting”
- Mind Reading — assuming others’ negative reactions without evidence
- Fortune Telling — predicting things will turn out badly
- Magnification / Minimization — catastrophizing or shrinking things inappropriately
- Emotional Reasoning — “I feel it, therefore it must be true”
- Should Statements — rigid rules that generate guilt and resentment
- Labeling and Mislabeling — attaching a global negative label to yourself or others
Anxiety Management
The toolkit features configurable pushback — the AI challenges negative thoughts with varying intensity based on your preference and current capacity.
Configurable Pushback
| Level | Name | Description |
|---|---|---|
| 0 | Silent | Record only, no challenge |
| 1 | Gentle | Soft Socratic questions |
| 2 | Balanced | Moderate challenge + reframe (default) |
| 3 | Direct | Strong evidence-based confrontation |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add glebis/claude-cognitive-toolkit