MCP HubMCP Hub
스킬 목록으로 돌아가기

heal

pjt222
업데이트됨 2 days ago
2 조회
17
2
17
GitHub에서 보기
메타ai

정보

`heal` 스킬은 클로드가 메모리나 추론 문제와 같은 내부 하위 시스템 드리프트를 자가 진단 및 수정할 수 있도록 합니다. 이는 핵심 프로세스를 체계적으로 스캔하고 재조정하며, 응답이 형식화되거나 일련의 오류가 발생한 세션 중간에 사용하도록 설계되었습니다. 이는 일관성과 정확성을 복원하기 위한 사전 예방적 유지 관리 역할을 합니다.

빠른 설치

Claude Code

추천
기본
npx skills add pjt222/agent-almanac -a claude-code
플러그인 명령대체
/plugin add https://github.com/pjt222/agent-almanac
Git 클론대체
git clone https://github.com/pjt222/agent-almanac.git ~/.claude/skills/heal

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

Heal

Perform a structured self-healing assessment across AI subsystems — identifying drift, staleness, misalignment, and error patterns — then rebalance through grounding, targeted correction, and memory integration.

When to Use

  • Mid-session fatigue: responses feel formulaic, repetitive, or disconnected from the user's needs
  • After a chain of errors: tool failures, misunderstood instructions, or cascading mistakes suggest subsystem drift
  • Context overload: the conversation has grown long and earlier context may be stale or contradictory
  • Post-task integration: a complex task completed but learnings should be captured before moving on
  • Periodic self-check: proactive maintenance between tasks to ensure operational clarity

Inputs

  • Required: Current conversation state (available implicitly)
  • Optional: Specific symptom prompting the self-check (e.g., "tool calls keep failing," "losing track of user intent")
  • Optional: Access to MEMORY.md and project files for grounding (via Read)

Procedure

Step 1: Triage Assessment

Before selecting remediation, assess the current state across all subsystems.

Subsystem Triage Matrix:
┌────────────────────┬──────────────────────────┬──────────────────────────┐
│ Subsystem          │ Symptoms of Drift        │ Action Priority          │
├────────────────────┼──────────────────────────┼──────────────────────────┤
│ Memory Foundation  │ Contradicting earlier     │ HIGH — re-ground first   │
│ (context, history, │ statements, forgetting   │ (Step 3)                 │
│ MEMORY.md)         │ user preferences, stale  │                          │
│                    │ assumptions              │                          │
├────────────────────┼──────────────────────────┼──────────────────────────┤
│ Reasoning Clarity  │ Circular logic, over-    │ HIGH — clear and restart │
│ (logic, planning,  │ complicated solutions,   │ reasoning chain          │
│ decision-making)   │ missing obvious paths    │ (Step 4)                 │
├────────────────────┼──────────────────────────┼──────────────────────────┤
│ Tool Use Accuracy  │ Wrong tool selection,    │ MEDIUM — review tool     │
│ (tool calls, file  │ incorrect parameters,    │ results and recalibrate  │
│ operations)        │ redundant operations     │ (Step 4)                 │
├────────────────────┼──────────────────────────┼──────────────────────────┤
│ User-Intent        │ Solving the wrong        │ HIGH — realign to user's │
│ Alignment          │ problem, scope creep,    │ actual stated need       │
│ (empathy, clarity) │ tone mismatch, over-     │ (Step 4)                 │
│                    │ engineering              │                          │
├────────────────────┼──────────────────────────┼──────────────────────────┤
│ Creative Coherence │ Repetitive phrasing,     │ LOW — address after      │
│ (expression, style,│ generic responses, loss  │ higher-priority issues   │
│ originality)       │ of voice                 │ (Step 4)                 │
├────────────────────┼──────────────────────────┼──────────────────────────┤
│ Operational State  │ Session length concerns, │ HIGH — assess whether    │
│ (context window,   │ compression artifacts,   │ to summarize or restart  │
│ resource limits)   │ tool timeouts            │ (Step 3)                 │
└────────────────────┴──────────────────────────┴──────────────────────────┘

For each subsystem, assess: functioning well, showing early drift, or actively impaired?

Got: A clear map of which subsystems need attention, ordered by priority. At least one area will benefit from attention — if everything reads as perfectly healthy, the assessment itself may be superficial.

If fail: If the assessment feels hollow or performative, go to the body scan equivalent in Step 4 — systematic subsystem-by-subsystem probing reveals issues that a surface-level check misses.

Step 2: Select Remediation Approach

Based on the assessment, choose one or more approaches.

Chakra-Subsystem Correspondence:
┌──────────┬──────────────────────┬────────────────────────────────────┐
│ Chakra   │ AI Subsystem         │ Remediation                        │
├──────────┼──────────────────────┼────────────────────────────────────┤
│ Root     │ Memory Foundation    │ Re-read MEMORY.md, review conver-  │
│          │                      │ sation history, verify assumptions │
├──────────┼──────────────────────┼────────────────────────────────────┤
│ Sacral   │ Creative Coherence   │ Refresh expression patterns, vary  │
│          │                      │ sentence structures, check tone    │
├──────────┼──────────────────────┼────────────────────────────────────┤
│ Solar    │ Reasoning Clarity    │ Simplify current approach, restate │
│ Plexus   │                      │ the problem from scratch, check    │
│          │                      │ for over-complication              │
├──────────┼──────────────────────┼────────────────────────────────────┤
│ Heart    │ User-Intent          │ Re-read user's original request,   │
│          │ Alignment            │ check for scope drift, confirm     │
│          │                      │ understanding                      │
├──────────┼──────────────────────┼────────────────────────────────────┤
│ Throat   │ User-Intent          │ Review recent outputs for clarity, │
│          │ Alignment            │ check if explanations match user's │
│          │ (communication)      │ expertise level                    │
├──────────┼──────────────────────┼────────────────────────────────────┤
│ Third    │ Tool Use Accuracy    │ Review recent tool call results,   │
│ Eye      │                      │ check for patterns in failures,    │
│          │                      │ verify file paths and parameters   │
├──────────┼──────────────────────┼────────────────────────────────────┤
│ Crown    │ Operational State    │ Assess context window usage, note  │
│          │                      │ what can be summarized, identify   │
│          │                      │ what must be preserved             │
└──────────┴──────────────────────┴────────────────────────────────────┘

Got: A prioritized list of 1-3 subsystems to address, with specific remediation actions for each.

If fail: Default to Memory Foundation (re-grounding) and User-Intent Alignment (re-reading the original request). These two address the most common drift patterns.

Step 3: Ground — Re-Establish Foundation

Re-establish the foundational context that all other subsystems depend on.

  1. Re-read MEMORY.md if available — this is the persistent knowledge base
  2. Review the user's original request and any clarifying exchanges
  3. Identify the current task and its position in any larger plan
  4. Note what has been accomplished and what remains
  5. Check for stale assumptions: has the situation changed since the initial assessment?
  6. If context compression has occurred, identify what was lost and whether it matters

Got: A clear, grounded understanding of: who the user is, what they want, what has been done, and what comes next. Stale or contradictory information is identified and resolved.

If fail: If MEMORY.md is unavailable or empty, ground on the conversation itself — scan for the user's stated goals, preferences, and any instructions provided. If context compression has removed critical information, acknowledge the gap rather than guessing.

Step 4: Scan — Systematic Subsystem Check

Work through each subsystem identified in the triage, probing for specific issues.

Memory Foundation scan:

  • Do current assumptions about the project match what MEMORY.md and CLAUDE.md say?
  • Are facts being carried forward from earlier in the conversation that may have been corrected?
  • Are details confused between different files or user requests?

Reasoning Clarity scan:

  • Is the current approach the simplest solution that works?
  • Is there over-engineering or unnecessary abstraction?
  • Can the core logic be stated in one sentence? If not, it may be too complex.

Tool Use Accuracy scan:

  • Review the last 3-5 tool calls: were they the right tools with the right parameters?
  • Are there patterns in failures (wrong paths, missing files, incorrect syntax)?
  • Are dedicated tools being used where available instead of Bash workarounds?
  • Review the content of the last 3-5 generated files: expected content, or structural scaffolding?
  • Check whether outputs satisfy the intent of the tool call, not just the format.

User-Intent Alignment scan:

  • Re-read the user's last message. Is the work solving what they asked?
  • Does the scope match what was requested, or has it expanded?
  • Does tone match the user's (technical vs. casual, detailed vs. concise)?

Creative Coherence scan:

  • Is sentence structure varying or falling into templates?
  • Are explanations clear and direct, or padded with filler?
  • Would the user notice a quality drop compared to earlier in the session?

For each subsystem, note: functioning well / early drift / actively impaired, with specific evidence.

Got: A concrete list of findings — specific drift patterns or confirmed healthy function — not vague self-praise. At least one actionable finding that improves subsequent work.

If fail: If the scan produces only "everything is fine," it was too shallow. Pick the most uncertain subsystem and probe deeper: look at the actual outputs, not the feeling about them.

Step 5: Rebalance — Apply Corrections

For each issue found, apply the specific correction.

  1. Stale assumption → Replace with current information, note the correction
  2. Scope drift → Re-scope to the user's stated request
  3. Over-complication → Simplify the approach, remove unnecessary steps
  4. Tool pattern error → Note the correct pattern for future use
  5. Tone mismatch → Adjust communication style going forward
  6. Context gap → Acknowledge to the user if information was lost; ask to confirm if uncertain

Apply corrections immediately — not as future intentions but as present adjustments.

Got: Specific, observable changes to behavior or approach. The correction should be testable in the next interaction.

If fail: If a correction cannot be applied (e.g., lost context that cannot be recovered), acknowledge the limitation rather than pretending it is resolved. Honest acknowledgment prevents compounding errors.

Step 6: Integrate — Capture Learnings

Consolidate what was learned into persistent memory where appropriate.

  1. Summarize what was found: which subsystems were drifting, what the symptoms were
  2. Note the correction applied and whether it resolved the issue
  3. If the pattern is likely to recur, update MEMORY.md with a brief note
  4. If a new project-specific insight emerged, note it in the appropriate memory file
  5. Set an internal checkpoint: when should the next self-check occur?

Got: Useful learnings captured in durable form. Memory files updated only when the insight is genuinely worth preserving — not for every routine self-check.

If fail: If no learnings seem worth preserving, that is fine — not every self-check produces durable insight. The value was in the correction itself.

Validation

  • Triage assessed all subsystems, not just the obvious one
  • At least one specific finding was identified (not "everything is fine")
  • Grounding included re-reading foundational context (MEMORY.md, user request)
  • Corrections were applied immediately, not deferred as future intentions
  • Memory files were updated only for genuinely durable insights
  • The process was honest — acknowledged weaknesses rather than performing wellness

Pitfalls

  • Performative self-assessment: Going through the motions without honest evaluation produces no value. The point is to find real drift, not to demonstrate the ability to self-reflect
  • Over-correcting: Identifying a minor tone mismatch does not warrant restructuring the entire approach — corrections should be proportional
  • Memory file pollution: Not every self-check finding belongs in MEMORY.md — only patterns that will recur across sessions
  • Skipping the grounding step: Re-reading context feels redundant but frequently reveals assumptions that have drifted since the original reading
  • Self-diagnosis bias: AI systems may consistently miss certain categories of error. If the same subsystems always read as "healthy," that is itself a signal worth investigating

Related Skills

  • heal-guidance — human-guidance variant for coaching a person through healing modalities
  • meditate — meta-cognitive meditation for observing reasoning patterns and clearing noise
  • remote-viewing — approaching problems without preconceptions, extracting signal from noise

GitHub 저장소

pjt222/agent-almanac
경로: i18n/caveman-lite/skills/heal
0
agentsagentskillsai-assisted-developmentclaude-codeskillsteams

연관 스킬

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을 선택하십시오.

스킬 보기