mindfulness
정보
이 스킬은 고압적이거나 잠재적으로 위험한 상황에서 상황 인식과 정신적 명료함을 유지하는 기법을 제공합니다. 위협 평가를 위한 쿠퍼 색상 코드와 OODA 루프 같은 프레임워크를 포함하며, 실질적인 갈등 완화 및 스트레스 관리 방법도 다룹니다. 개발자는 개인 안전, 환경 위험 분석, 갈등 해결과 관련된 시나리오를 코딩할 때 이 스킬을 사용해야 합니다.
빠른 설치
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/mindfulnessClaude 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)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.
polymarket
메타이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.
creating-opencode-plugins
메타이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.
sglang
메타SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.
