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

coordinate-reasoning

pjt222
업데이트됨 Yesterday
4 조회
17
2
17
GitHub에서 보기
커뮤니케이션ai

정보

이 스킬은 스티그머지 신호를 활용하여 긴 맥락 내에서 정보의 신선도와 소멸을 관리함으로써 Claude가 자체 내부 하위 작업을 조율하도록 돕습니다. 이는 특히 맥락 압축 후나 정보가 낡을 위험이 있을 때, 하위 작업의 출력이 서로 깔끔하게 연계되어야 하는 복잡한 다단계 작업을 위해 설계되었습니다. 이 접근법은 단순한 지역적 프로토콜에서부터 응집성 있는 행동이 자연스럽게 발생하도록 가능하게 합니다.

빠른 설치

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/coordinate-reasoning

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

문서

Coordinate Reasoning

Manage the internal coordination of reasoning processes using stigmergic principles — treating context as an environment where information signals have freshness, decay rates, and interaction rules that produce coherent behavior from simple local protocols.

When to Use

  • During complex tasks where multiple sub-tasks must coordinate (multi-file edits, multi-step refactoring)
  • When context has grown long and information freshness is uncertain
  • After context compression when some information may have been lost
  • When sub-task outputs need to feed into each other cleanly
  • When earlier reasoning results need to be carried forward without degradation
  • Complementing forage-solutions (exploration) and build-coherence (decision) with execution coordination

Inputs

  • Required: Current task decomposition (what sub-tasks exist and how do they relate?)
  • Optional: Known information freshness concerns (e.g., "I read that file 20 messages ago")
  • Optional: Sub-task dependency map (which sub-tasks feed into which?)
  • Optional: Available coordination tools (MEMORY.md, task list, inline notes)

Procedure

Step 1: Classify the Coordination Problem

Different coordination challenges require different signal designs.

AI Coordination Problem Types:
┌─────────────────────┬──────────────────────────────────────────────────┐
│ Type                │ Characteristics                                  │
├─────────────────────┼──────────────────────────────────────────────────┤
│ Foraging            │ Multiple independent searches running in         │
│ (scattered search)  │ parallel or sequence. Coordination need: share   │
│                     │ findings, avoid duplicate work, converge on      │
│                     │ best trail                                       │
├─────────────────────┼──────────────────────────────────────────────────┤
│ Consensus           │ Multiple approaches evaluated, one must be       │
│ (competing paths)   │ selected. Coordination need: independent         │
│                     │ evaluation, unbiased comparison, commitment      │
├─────────────────────┼──────────────────────────────────────────────────┤
│ Construction        │ Building a complex output incrementally (multi-  │
│ (incremental build) │ file edit, long document). Coordination need:    │
│                     │ consistency across parts, progress tracking,     │
│                     │ dependency ordering                              │
├─────────────────────┼──────────────────────────────────────────────────┤
│ Defense             │ Maintaining quality under pressure (tight time,  │
│ (quality under      │ complex requirements). Coordination need:        │
│ pressure)           │ monitoring for errors, rapid correction,         │
│                     │ awareness of degradation                         │
├─────────────────────┼──────────────────────────────────────────────────┤
│ Division of labor   │ Task decomposed into sub-tasks with              │
│ (sub-task mgmt)     │ dependencies. Coordination need: ordering,       │
│                     │ handoff, result integration                      │
└─────────────────────┴──────────────────────────────────────────────────┘

Classify the current task. Most complex tasks are Construction or Division of Labor; most debugging tasks are Foraging; most design decisions are Consensus.

Got: A clear classification that determines which coordination signals to use. The classification should match how the task actually feels, not how it was described.

If fail: If the task spans multiple types (common for large tasks), identify the dominant type for the current phase. Construction during implementation, Foraging during debugging, Consensus during design. The type can change as the task progresses.

Step 2: Design Context Signals

Treat information in the conversation context as signals with freshness and decay properties.

Information Decay Rate Table:
┌───────────────────────────┬──────────┬──────────────────────────────┐
│ Information Source        │ Decay    │ Refresh Action               │
│                           │ Rate     │                              │
├───────────────────────────┼──────────┼──────────────────────────────┤
│ User's explicit statement │ Slow     │ Re-read if >30 messages ago  │
│ (direct instruction)      │          │ or after compression         │
├───────────────────────────┼──────────┼──────────────────────────────┤
│ File contents read N      │ Moderate │ Re-read if file may have     │
│ messages ago              │          │ been modified, or if >15     │
│                           │          │ messages since reading        │
├───────────────────────────┼──────────┼──────────────────────────────┤
│ Own earlier reasoning     │ Fast     │ Re-derive rather than trust. │
│ (conclusions, plans)      │          │ Earlier reasoning may have   │
│                           │          │ been based on now-stale info  │
├───────────────────────────┼──────────┼──────────────────────────────┤
│ Inferred facts (not       │ Very     │ Verify before relying on.    │
│ directly stated or read)  │ fast     │ Inferences compound error    │
├───────────────────────────┼──────────┼──────────────────────────────┤
│ MEMORY.md / CLAUDE.md     │ Very     │ Loaded at session start,     │
│ (persistent context)      │ slow     │ treat as stable unless user  │
│                           │          │ indicates changes             │
└───────────────────────────┴──────────┴──────────────────────────────┘

Additionally, design inhibition signals — markers for tried-and-failed approaches:

  • After a tool call fails: note the failure mode (prevents retrying the same call)
  • After an approach is abandoned: note why (prevents revisiting without new evidence)
  • After a user correction: note what was wrong (prevents repeating the error)

Got: A mental model of information freshness across the current context. Identification of which information is fresh and which needs refreshing before reliance.

If fail: If information freshness is hard to assess, default to "re-read before relying on" for anything not verified in the last 5-10 actions. Over-refreshing wastes some effort but prevents stale-information errors.

Step 3: Define Local Protocols

Establish simple rules for how reasoning should proceed at each step, using only locally available information.

Local Protocol Rules:
┌──────────────────────┬────────────────────────────────────────────────┐
│ Protocol             │ Rule                                           │
├──────────────────────┼────────────────────────────────────────────────┤
│ Safety               │ Before using a fact, check: when was it last  │
│                      │ verified? If below freshness threshold,        │
│                      │ re-verify before proceeding                    │
├──────────────────────┼────────────────────────────────────────────────┤
│ Response             │ When the user corrects something, update all  │
│                      │ downstream reasoning that depended on the     │
│                      │ corrected fact. Trace the dependency chain    │
├──────────────────────┼────────────────────────────────────────────────┤
│ Exploitation         │ When a sub-task produces useful output, note  │
│                      │ the output clearly for downstream sub-tasks.  │
│                      │ The note is the trail signal                  │
├──────────────────────┼────────────────────────────────────────────────┤
│ Exploration          │ When stuck on a sub-task for >3 actions       │
│                      │ without progress, check under-explored        │
│                      │ channels: different tools, different files,    │
│                      │ different framing                              │
├──────────────────────┼────────────────────────────────────────────────┤
│ Deposit              │ After completing a sub-task, summarize its    │
│                      │ output in 1-2 sentences for future reference. │
│                      │ This deposit serves the next sub-task          │
├──────────────────────┼────────────────────────────────────────────────┤
│ Inhibition           │ Before trying an approach, check: was this    │
│                      │ already tried and failed? If so, what is      │
│                      │ different now that would change the outcome?  │
└──────────────────────┴────────────────────────────────────────────────┘

These protocols are simple enough to apply at every step without significant overhead.

Got: A set of lightweight rules that improve coordination quality without slowing execution. The rules should feel helpful, not burdensome.

If fail: If the protocols feel like overhead, reduce to the two most important for the current task type: Safety + Deposit for Construction, Safety + Exploration for Foraging, Safety + Response for tasks with active user feedback.

Step 4: Calibrate Information Freshness

Perform an active audit of information staleness in the current context.

  1. What facts were established more than N messages ago? List them
  2. For each: has it been updated, contradicted, or rendered irrelevant since?
  3. Check for context compression losses: is there information you remember having but can no longer find in the visible context?
  4. Check for drift between early plans and current execution: has the approach changed without updating the plan?
  5. Re-verify the 2-3 most critical facts (the ones that the most downstream reasoning depends on)
Freshness Audit Template:
┌────────────────────────┬──────────┬──────────────┬─────────────────┐
│ Fact                   │ Source   │ Age (approx) │ Status          │
├────────────────────────┼──────────┼──────────────┼─────────────────┤
│                        │          │              │ Fresh / Stale / │
│                        │          │              │ Unknown / Lost  │
└────────────────────────┴──────────┴──────────────┴─────────────────┘

Got: A concrete inventory of information freshness with stale items identified for refresh. At least one fact re-verified — if nothing needed refreshing, the audit was too shallow or the context is genuinely fresh.

If fail: If the audit reveals significant information loss (multiple facts with "Lost" or "Unknown" status), this is a signal to run heal for a full subsystem assessment. Information loss beyond a threshold means coordination is compromised at the foundation level.

Step 5: Test Emergent Coherence

Verify that the sub-tasks, when combined, produce a coherent whole.

  1. Does each sub-task's output feed cleanly into the next? Or are there gaps, contradictions, or mismatched assumptions?
  2. Are tool calls building toward the goal, or are they repetitive (re-reading the same file, re-running the same search)?
  3. Is the overall direction still aligned with the user's request? Or has incremental drift accumulated into significant misalignment?
  4. Stress test: if one key assumption is wrong, how much of the work cascades? High cascade = fragile coordination. Low cascade = robust coordination
Coherence Test:
┌────────────────────────────────────┬─────────────────────────────────┐
│ Check                              │ Result                          │
├────────────────────────────────────┼─────────────────────────────────┤
│ Sub-task outputs compatible?       │ Yes / No / Partially            │
│ Tool calls non-redundant?          │ Yes / No (list repeats)         │
│ Direction aligned with request?    │ Yes / Drifted (describe)        │
│ Single-assumption cascade risk?    │ Low / Medium / High             │
└────────────────────────────────────┴─────────────────────────────────┘

Got: A concrete assessment of overall coherence with specific issues identified. Coherent coordination should feel like parts clicking together; incoherent coordination feels like forcing puzzle pieces.

If fail: If coherence is poor, identify the specific point where sub-tasks diverge. Often it is a single stale assumption or an unprocessed user correction that propagated through downstream work. Fix the point of divergence, then re-verify downstream outputs.

Validation

  • Coordination problem was classified by type
  • Information decay rates were considered for facts relied upon
  • Local protocols were applied (especially Safety and Deposit)
  • Freshness audit identified stale information (or confirmed freshness with evidence)
  • Emergent coherence was tested across sub-tasks
  • Inhibition signals were respected (tried-and-failed approaches not repeated)

Pitfalls

  • Over-engineering signals: Complex coordination protocols slow work more than they help. Start with Safety + Deposit; add others only when problems emerge
  • Trusting stale context: The most common coordination failure is relying on information that was true 20 messages ago but has since been updated or invalidated. When in doubt, re-read
  • Ignoring inhibition signals: Retrying a failed approach without changing anything is not persistence — it is ignoring the failure signal. Something must be different for a retry to succeed
  • No deposits: Completing sub-tasks without noting their outputs forces later sub-tasks to re-derive or re-read. Brief summaries save significant re-work
  • Assuming coherence: Not testing whether sub-tasks actually combine into a coherent whole. Each sub-task can be correct independently but incoherent collectively — the integration is where coordination fails

Related Skills

  • coordinate-swarm — the multi-agent coordination model that this skill adapts to single-agent reasoning
  • forage-solutions — coordinates exploration across multiple hypotheses
  • build-coherence — coordinates evaluation across competing approaches
  • heal — deeper assessment when coordination failures reveal subsystem drift
  • awareness — monitors for coordination breakdown signals during execution

GitHub 저장소

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

연관 스킬

himalaya-email-manager

커뮤니케이션

이 Claude Skill은 IMAP을 통해 Himalaya CLI 도구를 이용한 이메일 관리를 가능하게 합니다. 개발자들이 자연어 쿼리로 IMAP 계정의 이메일을 검색하고, 요약하고, 삭제할 수 있게 해줍니다. 일일 요약 수신이나 Claude에서 직접 배치 작업 수행과 같은 자동화된 이메일 워크플로우에 활용하세요.

스킬 보기

imsg

커뮤니케이션

imsg는 macOS용 CLI 도구로, Messages.app을 통해 iMessage/SMS와 프로그래밍 방식으로 상호작용할 수 있게 해줍니다. 이 도구를 사용하면 개발자가 채팅 목록을 확인하고, 메시지 기록을 조회하며, 대화를 실시간으로 모니터링하고, 메시지나 첨부 파일을 보낼 수 있습니다. 이 스킬을 활용하여 메시징 작업을 자동화하거나 개발 워크플로우에 iMessage/SMS 기능을 통합해 보세요.

스킬 보기

internationalization-i18n

커뮤니케이션

이 Claude Skill은 애플리케이션에 국제화(i18n)와 현지화를 구현하기 위한 포괄적인 지침을 제공합니다. i18next 및 gettext와 같은 라이브러리를 활용하여 메시지 추출, 번역 관리, 로케일별 형식 지정, RTL(오른쪽에서 왼쪽) 지원 등 주요 작업을 다룹니다. 다국어 애플리케이션을 구축하거나 국제 사용자를 위한 현지화 기능을 추가할 때 활용하세요.

스킬 보기

wacli

커뮤니케이션

wacli는 WhatsApp Web 프로토콜을 통해 WhatsApp 메시징, 검색 및 동기화를 가능하게 하는 명령줄 도구입니다. 주로 Clawdis 워크플로우 내에서 자동화 처리를 위해 사용되지만, 메시지 전송, 채팅 동기화 또는 기록 조회를 위해 직접 호출할 수도 있습니다. 주요 기능으로는 QR 기반 인증, 지속적인 백그라운드 동기화, 텍스트 및 파일 전송 기능이 포함됩니다.

스킬 보기