mindfulness
关于
This skill provides techniques for maintaining situational awareness and mental clarity in high-pressure or potentially dangerous situations. It includes frameworks like the Cooper color code and OODA loop for threat assessment, along with practical methods for de-escalation and stress management. Developers should use it when coding for scenarios involving personal safety, environmental risk analysis, or conflict resolution.
快速安装
Claude Code
推荐npx skills add pjt222/agent-almanac -a claude-code/plugin add https://github.com/pjt222/agent-almanacgit clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/mindfulness在 Claude Code 中复制并粘贴此命令以安装该技能
技能文档
Cultivate Defensive Mindfulness
Develop applied situational awareness, de-escalation, mental clarity under threat — practical complement to seated meditation, operates in dynamic real-world env.
Use When
- Entering unfamiliar/potentially hostile env
- Assess social/physical situation for safety
- De-escalate verbal confrontation before physical
- Calm focus during high-pressure/dangerous event
- Rapid grounding after shock, surprise, adrenaline dump
- Daily movement awareness (walking, commuting, traveling)
- Mental prep before martial arts (
tai-chi,aikido)
In
- Required: Willingness for sustained outward attention (opposite of internal meditation)
- Required: Public/semi-public env access (streets, transit, events)
- Optional: Prior meditation (
meditate; helpful not required) - Optional: Martial arts background (
tai-chi,aikido; enhances physical response) - Optional: Practice partner for de-escalation role-play
Do
Step 1: Situational Awareness (Cooper Color Codes)
Calibrate awareness to environment.
Cooper Color Code Awareness Levels:
┌──────────┬─────────────────────┬──────────────────────────────────────────┐
│ Code │ State │ Description and Application │
├──────────┼─────────────────────┼──────────────────────────────────────────┤
│ White │ Unaware │ Absorbed in phone, headphones, day- │
│ │ │ dreaming. No awareness of surroundings. │
│ │ │ Acceptable only in secured private space │
├──────────┼─────────────────────┼──────────────────────────────────────────┤
│ Yellow │ Relaxed alert │ Aware of surroundings without fixation. │
│ │ │ Scanning people, exits, anomalies. This │
│ │ │ is the DEFAULT state in public spaces │
├──────────┼─────────────────────┼──────────────────────────────────────────┤
│ Orange │ Specific alert │ Something has triggered attention: a │
│ │ │ person, behavior, or situation. Forming │
│ │ │ a plan: "If X happens, I will do Y" │
├──────────┼─────────────────────┼──────────────────────────────────────────┤
│ Red │ Action │ The trigger condition from Orange has │
│ │ │ occurred. Execute the pre-formed plan. │
│ │ │ No hesitation — decision was made in │
│ │ │ Orange │
├──────────┼─────────────────────┼──────────────────────────────────────────┤
│ Black │ Overwhelmed │ Panic, freeze, tunnel vision. Caused by │
│ │ │ jumping from White directly to Red with │
│ │ │ no mental preparation. AVOID this state │
└──────────┴─────────────────────┴──────────────────────────────────────────┘
Practice protocol:
- Leaving home → consciously shift White → Yellow
- Yellow scan: who? exits? baseline behavior?
- Attention drawn → Orange: identify specific concern + form contingency
- Resolves → return Yellow. Don't stay Orange unnecessarily (drains energy)
- Practice White-to-Yellow transition until automatic (2-4 weeks daily)
→ Yellow = natural default in public. Anomalies register w/o conscious search. Exits + positioning habitual.
If err: Yellow exhausting/paranoid → too focused. Yellow = relaxed wide, peripheral not spotlight. Constantly Orange → over-calibrating threat. Practice safe familiar first → sustainable calm Yellow baseline.
Step 2: Body Language + Intent
Most threats broadcast intention before action. Learn pre-attack indicators.
- Baseline: new env → note normal: pace, posture, eye contact, group dynamics
- Deviation detection:
- Scanning crowd while still (target selection)
- Clenched fists, squared shoulders, bladed stance (pre-fight)
- Avoid eye contact + closing distance (predatory)
- Exaggerated calm/unnatural stillness in dynamic env
- Eyes: locked stranger eye contact = challenge or predatory focus. Repeated glance + away = surveillance/target assessment
- Proxemics: closing distance w/o social reason → attention. Trust "too close" instinct
- Group dynamics: one holds attention (distraction) + another maneuvers (setup). Pre-arranged signals (nods, gestures)
- Gut: limbic system processes threat faster than conscious. Feels wrong → honor signal, increase awareness before rationalizing
→ Notice pre-attack indicators real-time + Yellow → Orange w/ specific concern. Sense when behavior doesn't match social context.
If err: feels like guesswork → practice safe env first: cafe, transit, park. Note postures/distances/energy w/o threat. Built through observation volume. Hypervigilant (threats everywhere) → Step 6 grounding + recalibrate, most people aren't threats.
Step 3: Verbal De-escalation
Highest-value skill. Most violence preventable w/ words + positioning.
De-escalation Framework:
┌──────────────────┬──────────────────────────────────────────────────────┐
│ Phase │ Technique │
├──────────────────┼──────────────────────────────────────────────────────┤
│ 1. Space │ Maintain 2+ arm-lengths distance. Angle your body │
│ │ 45 degrees (non-confrontational, protects center │
│ │ line). Position an exit route behind you, never │
│ │ behind the aggressor │
├──────────────────┼──────────────────────────────────────────────────────┤
│ 2. Voice │ Lower your volume below theirs — this forces them │
│ │ to quiet down to hear you. Speak slowly. Use a │
│ │ calm, even tone. Avoid commands ("calm down") — │
│ │ use observations ("I can see you're upset") │
├──────────────────┼──────────────────────────────────────────────────────┤
│ 3. Acknowledge │ Name their emotion without agreeing with their │
│ │ position: "That sounds really frustrating." Do NOT │
│ │ say "I understand" unless you genuinely do. Do NOT │
│ │ argue, correct, or explain — yet │
├──────────────────┼──────────────────────────────────────────────────────┤
│ 4. Offer exits │ Give the person a way to disengage without losing │
│ │ face: "I think we both need a minute" or "Let me │
│ │ get someone who can help with this." Frame retreat │
│ │ as a mutual decision, not submission │
├──────────────────┼──────────────────────────────────────────────────────┤
│ 5. Disengage │ If de-escalation fails, create distance. Do not │
│ │ turn your back. Move toward other people, exits, │
│ │ or authority figures. Leave the area if possible │
└──────────────────┴──────────────────────────────────────────────────────┘
Critical:
- Never tell angry person "calm down" — escalates
- Hands visible + open (non-threatening) but positioned to protect (fence)
- Don't match energy: they escalate → you de-escalate harder
- Ego-driven need to "win" = most common cause of avoidable violence
→ Lower emotional temp via voice + positioning + verbal. Most de-escalate in 60-90s.
If err: physically threatening despite de-escalate → priority shifts to escape or physical defense (aikido, tai-chi). Not all situations talkable. Recognize failure + transition to action w/o hesitation.
Step 4: Moving Mindfulness
Apply meditation awareness to walking + commuting + public navigation.
- Walking → panoramic awareness: soften eyes, full visual field not single point
- Feel ground contact each step → anchors body while eyes scan
- Maintain awareness behind: sound changes (footsteps speeding, conversation stopping) carry info
- Transitions (entering building, rounding corner, stepping off transit) → brief pause + scan before commit
- Crowds → track 2-3 in periphery, no fixating
- "Mirroring walk": match pace + rhythm to blend in; vary pace to test if anyone matches
- Periodically: "If something happened now, where would I go?" = Yellow maintenance
→ Walking = active awareness, not passive transport. Transitions = natural scan points. Baseline maintained effortlessly.
If err: tiring/distracting → gripping too tight. Awareness = background music, present not demanding. Can't maintain w/ thinking/conversing → simple env first (quiet walk) before complexity (busy street, transit).
Step 5: Combat Mindfulness (OODA Loop)
OODA = Observe-Orient-Decide-Act. Decision cycle under pressure. Speed → who controls encounter.
OODA Loop Application:
┌──────────┬──────────────────────────────────────────────────────────────┐
│ Phase │ Application │
├──────────┼──────────────────────────────────────────────────────────────┤
│ Observe │ Take in the full situation: who, what, where, how many, │
│ │ weapons, exits, bystanders. Use peripheral vision. Do not │
│ │ fixate on the most obvious stimulus — scan the whole scene │
├──────────┼──────────────────────────────────────────────────────────────┤
│ Orient │ Match the observation to your training and experience: │
│ │ "This is [type of situation]. I have [these options]." │
│ │ Orientation is where pre-training pays off — trained │
│ │ responses orient faster than improvised ones │
├──────────┼──────────────────────────────────────────────────────────────┤
│ Decide │ Select the best available option — not the perfect one. │
│ │ A good decision now beats a perfect decision too late. │
│ │ If Orange-state planning was done (Step 1), the decision │
│ │ may already be made │
├──────────┼──────────────────────────────────────────────────────────────┤
│ Act │ Execute with full commitment. Hesitation between decision │
│ │ and action is the most dangerous gap. Once you act, observe │
│ │ the result and re-enter the loop │
└──────────┴──────────────────────────────────────────────────────────────┘
Training:
- Daily life → rapid scenario assessment: enter room, in 5s identify exits, cover, most concerning person
- "What if" games: "Aggressive entry that door now, what would I do?" Plan (Orange), release (Yellow)
- Martial arts → train pre-set responses to specific attacks → accelerates Orient
- Decision-making under artificial stress: timed drills, cold water + problem-solving, exercise + cognitive tasks
- Real/sim event → debrief: "Observed? Missed? Hesitated where?"
→ OODA increasingly automatic. Observation broad + rapid. Orient draws trained patterns. Decisions in Orange → Red action immediate.
If err: freeze under sim pressure (Black) → stimulus bypassed OODA. Gap White-to-Red too large. Step 1 + reinforce Yellow → unexpected meets alert mind. Freezing = normal survival, retrain w/ gradual stress inoculation, not extreme scenarios.
Step 6: Rapid Grounding
Stress/shock/adrenaline disrupts clarity → these restore awareness in seconds.
Grounding Techniques Quick Reference:
┌──────────────────────┬─────────────────────────────────────────────────┐
│ Technique │ Method and Use Case │
├──────────────────────┼─────────────────────────────────────────────────┤
│ Tactical breathing │ Inhale 4 counts, hold 4, exhale 4, hold 4. │
│ (box breathing) │ Repeat 4 cycles. Activates parasympathetic │
│ │ response in ~60 seconds. Use: acute stress, │
│ │ pre-confrontation, post-adrenaline dump │
├──────────────────────┼─────────────────────────────────────────────────┤
│ 5-4-3-2-1 sensory │ Name 5 things you see, 4 you hear, 3 you can │
│ anchor │ touch, 2 you smell, 1 you taste. Forces the │
│ │ mind out of internal panic and into present- │
│ │ moment external reality. Use: dissociation, │
│ │ freeze response, post-traumatic intrusion │
├──────────────────────┼─────────────────────────────────────────────────┤
│ Peripheral vision │ Fix eyes on a point, then widen awareness to │
│ activation │ the edges of the visual field without moving │
│ │ the eyes. Activates parasympathetic nervous │
│ │ system and reduces tunnel vision. Use: hyper- │
│ │ focus, tunnel vision, adrenaline narrowing │
├──────────────────────┼─────────────────────────────────────────────────┤
│ Physical anchor │ Press feet firmly into the ground and feel the │
│ │ contact. Squeeze and release fists 3 times. │
│ │ Roll shoulders back. These physical actions │
│ │ re-establish body awareness. Use: dissociation,│
│ │ shaking, post-event processing │
├──────────────────────┼─────────────────────────────────────────────────┤
│ Verbal reset │ State your name, location, and current task │
│ │ aloud: "I am [name], I am at [location], I am │
│ │ doing [task]." Orienting to facts breaks the │
│ │ emotional loop. Use: confusion, panic, sensory │
│ │ overload │
└──────────────────────┴─────────────────────────────────────────────────┘
- Practice NOT under stress → available when needed
- Tactical breathing = single most effective rapid intervention. Daily.
- Adrenaline event (near-miss, confrontation, shock) → box breathe before any decision
- Combine: physical anchor + tactical breathing for strong reactions
→ Acute stress → functional clarity in 60-120s. Practiced enough to recall under pressure w/o conscious effort.
If err: no relief in 2min → switch technique, not all work for all people/situations. Stressor ongoing (still in danger) → grounding premature, address situation via OODA (Step 5) first, ground after. Persistent inability post-event → professional support.
Step 7: Cross-Context Integration
Apply consistently across env.
- Urban: Higher baseline (solid Yellow). Track blind spots (alleys, stairwells, parking). Awareness at ATMs, transit platforms, vehicle entry/exit
- Wilderness: Different threat profile — terrain, weather, wildlife, getting lost. Awareness shifts people → environment. Navigation + shelter assessment replace social threat reading (bushcraft skills)
- Social events: Identify exits on arrival. Monitor others' alcohol (impaired = unpredictable). Closer to exits than crowd center
- Travel: Heightened in unfamiliar. Know emergency number for country. Distribute documents/valuables, not one bag. Note route to/from accommodation
- Digital: Awareness extends to info security — who's observing device, what shared publicly, physical security
- W/ others: Your awareness protects companions. Position between threats + companions. Brief on basic awareness w/o anxiety
→ Consistent sustainable baseline adapting to ctx, no paranoia/exhaustion. Yellow across env w/ Orange responses to genuine anomalies.
If err: anxiety/hypervigilance → calibration too high. Step 1, practice Yellow in familiar safe env. Goal = relaxed alertness, not perpetual scanning. Interferes w/ life enjoyment → mental health professional, esp. trauma history.
Step 8: Review + Refine
Skill improves through deliberate review + honest self-assessment.
- Notable awareness event (success, de-escalation, missed cue, freeze) → journal:
- What happened?
- Color code at start?
- Observed? Missed?
- Worked? Different next time?
- Monthly review: scan journal for patterns — recurring blind spots, env where awareness drops, emotional states that interfere
- Seek training: de-escalation workshops, scenario-based self-defense, first aid cert
- Partner practice: role-play confrontation, verbal de-escalation, critique positioning
- Cross-train: martial arts (
aikido,tai-chi) → physical response options; meditation (meditate) → calm baseline - Physical fitness: stress response performs better w/ conditioned cardiovascular
→ Measurable improvement over time: faster anomaly detection, calmer stress response, better positioning, more effective de-escalation.
If err: plateau → novel env or partners. Motivation wanes → awareness investment pays in one moment needed. Persistent weaknesses (always freeze, never notice rear approach) → target specifically not general practice.
Check
- Cooper codes identifiable + applicable real-time
- ≥3 pre-attack body language indicators named + recognized
- De-escalation framework articulable + practiced (min role-play)
- Moving mindfulness practiced daily commute/walking ≥1 week
- Box breathing performable from memory, daily practice
- ≥2 grounding techniques tested, one preferred identified
- OODA applied to ≥3 "what if" scenarios
- Awareness journal ≥3 real observations
Traps
- Hypervigilance as awareness: True awareness = relaxed sustainable. Exhausted/anxious/threats everywhere = chronic Orange — counterproductive + unsustainable. Yellow is goal, not Orange
- Tunnel vision on obvious threat: Yelling person = distraction. Train periphery scan when central attention grabbed. Multi-threat awareness = randori (
aikido) - "Calm down" to angry person: Most common de-escalation err. Communicates feelings invalid + you in control — both escalatory. Acknowledge emotional state instead
- Skip verbal before physical: Most violence preceded by verbal escalation. Effective de-escalation prevents most physical confrontations. Verbal skills > physical technique alone
- Skip post-event grounding: Adrenaline impairs judgment 20-45min post-event. Decisions (esp aggressive) unreliable in window. Ground first, decide second
- Train in isolation: Awareness + de-escalation = social skills. Solo builds foundation, partner drills + real-world = realistic competence
→
aikido— physical when de-escalation fails; blending + redirection mirrors verbaltai-chi— rooted calm + body awareness, supports physical readiness + emotional regulationmeditate— baseline mental stillness from which awareness operates; seated complements active outwardheal— first aid + stress management, direct applicationsremote-viewing— perceptual acuity training; non-local awareness complements environmental scanningawareness— AI self-application variant; Cooper codes + OODA → internal threat detection for hallucination + ctx degradation
GitHub 仓库
相关推荐技能
content-collections
元Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。
polymarket
元这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。
creating-opencode-plugins
元该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。
sglang
元SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。
