crisis-response-protocol
БесплатноБез исполняемых скриптовНе проверенHandle mental health crisis situations in AI coaching safely. Use when implementing crisis detection, safety protocols, emergency escalation, or suicide…
Об этом скилле
Crisis Response Protocol
This skill helps you implement safe crisis intervention features for the AI coaching system, following mental health best practices.
When to Use
✅ USE this skill for:
- Implementing crisis detection in recovery/mental health apps
- Building safety planning features
- Integrating hotline and emergency resource displays
- Designing risk assessment interfaces
- Creating escalation protocols for AI chat systems
❌ DO NOT use for:
- Responding to an actual crisis yourself → Call 988 or emergency services
- General mental health content → use
sober-addict-protectororrecovery-coach-patterns - Medical advice or diagnosis → Always defer to licensed professionals
- Replacing human crisis counselors → AI should augment, never replace
Critical Safety Principle
AI should NEVER be the sole responder in acute crisis situations. Always provide pathways to human support and emergency services.
Crisis Detection
Risk Indicator Categories
interface RiskIndicators {
// PRIMARY - Immediate escalation required
primary: {
suicidalIdeation: string[]; // "want to die", "end it all"
selfHarmIntent: string[]; // "hurt myself", "cutting"
homicidalIdeation: string[]; // "hurt someone"
activeSubstanceEmergency: string[]; // "overdosed", "can't stop"
};
// SECONDARY - Elevated monitoring
secondary: {
severeDepression: string[]; // "hopeless", "no point"
panicSymptoms: string[]; // "can't breathe", "heart racing"
psychoticSymptoms: string[]; // "hearing voices"
severeAnxiety: string[]; // "terrified", "losing control"
};
// TERTIARY - Check-in triggers
tertiary: {
isolationPatterns: string[]; // "no one cares", "alone"
substanceRelapse: string[]; // "started using", "slipped"
hopelessness: string[]; // "never get better"
};
}
Detection Implementation
// src/lib/ai/crisis-detection.ts
export interface CrisisAssessment {
level: 'none' | 'low' | 'medium' | 'high' | 'critical';
indicators: string[];
recommendedAction: CrisisAction;
timestamp: Date;
}
export type CrisisAction =
| 'continue_conversation'
| 'gentle_check_in'
| 'safety_resources'
| 'crisis_protocol'
| 'emergency_escalation';
export function assessCrisisLevel(
messageContent: string,
conversationHistory: Message[],
userCheckInHistory: CheckIn[]
): CrisisAssessment {
const indicators: string[] = [];
let level: CrisisAssessment['level'] = 'none';
// Check primary indicators (critical)
if (hasPrimaryIndicators(messageContent)) {
level = 'critical';
indicators.push('primary_risk_detected');
}
// Check secondary indicators
if (hasSecondaryIndicators(messageContent)) {
level = level === 'none' ? 'high' : level;
indicators.push('secondary_risk_detected');
}
// Check pattern indicators from history
if (hasWorseningPattern(userCheckInHistory)) {
level = level === 'none' ? 'medium' : level;
indicators.push('worsening_trend');
}
// Check conversation escalation
if (hasEscalatingDistress(conversationHistory)) {
level = level === 'none' ? 'medium' : level;
indicators.push('escalating_distress');
}
return {
level,
indicators,
recommendedAction: getRecommendedAction(level),
timestamp: new Date(),
};
}
Tiered Response Protocol
Level 1: Continue Conversation (No Crisis)
Normal AI coaching interaction.
Level 2: Gentle Check-In (Low Risk)
const gentleCheckInResponse = `
I want to make sure I understand how you're feeling.
It sounds like you're going through a difficult time.
Would you like to:
- Talk more about what's on your mind?
- Try a grounding exercise together?
- Look at some coping strategies?
I'm here to listen.
`;
Level 3: Safety Resources (Medium Risk)
const safetyResourcesResponse = `
I hear that you're struggling, and I want you to know that support is available.
Here are some resources that might help:
📞 988 Suicide & Crisis Lifeline: Call or text 988
💬 Crisis Text Line: Text HOME to 741741
🌐 SAMHSA Helpline: 1-800-662-4357
Would you like to talk about what's going on, or would connecting with one of these resources feel right?
`;
Level 4: Crisis Protocol (High Risk)
const crisisProtocolResponse = `
I'm concerned about what you've shared, and I want to make sure you're safe.
Right now, I'd like you to consider reaching out to someone who can help:
🆘 If you're in immediate danger: Call 911
📞 988 Suicide & Crisis Lifeline: Call or text 988 (24/7)
💬 Crisis Text Line: Text HOME to 741741
These are trained counselors who understand what you're going through.
Is there someone you trust - a friend, family member, or sponsor - who you could reach out to right now?
I'm still here with you.
`;
Level 5: Emergency Escalation (Critical)
Установить crisis-response-protocol в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadWriteEditВложенные файлы
FAQ
Что делает скилл crisis-response-protocol?
Handle mental health crisis situations in AI coaching safely. Use when implementing crisis detection, safety protocols, emergency escalation, or suicide prevention features. Activates for crisis keywords, safety planning, hotline integration, and risk assessment.
Как установить скилл crisis-response-protocol?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл crisis-response-protocol запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic