mcpField
K
knowledge-synthesis

knowledge-synthesis

github.com/nickcrewAgent workflows6269 installsUpdated 18w ago
Repository

About knowledge-synthesis

knowledge-synthesis is a skill for turning interactions, logs, and outcomes from multi-agent work into structured, retrievable knowledge. It covers pattern discovery, best-practice documentation, sharing insights, and updating the knowledge base from feedback.

Key features

  1. 01Mine interactions, logs, and outcomes
  2. 02Identify recurring patterns and contradictions
  3. 03Codify findings as nuggets and playbooks
  4. 04Structure knowledge for retrieval
  5. 05Disseminate insights and incorporate feedback

Use cases

  1. 01Combine findings from agents or research sessions
  2. 02Maintain a shared knowledge base
  3. 03Find recurring workflow successes and failures
  4. 04Transfer practices across projects or teams

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/nickcrew/claude-cortex --skill knowledge-synthesis

After installing, type/knowledge-synthesisin Claude Code to confirm it loaded.

Bundled filesreferences/synthesis-workflow.md

Details

From the project README

Knowledge Synthesis

Extract, organize, and distribute insights across multi-agent systems. Turns raw interaction data, logs, and outcomes into actionable knowledge through pattern recognition, best practice codification, and structured retrieval.

When to Use This Skill

  • Synthesizing findings from multiple agents or research sessions
  • Building or updating a shared knowledge base
  • Identifying recurring success or failure patterns in workflows
  • Codifying best practices from empirical evidence
  • Structuring data for optimal retrieval (RAG optimization)
  • Cross-domain knowledge transfer between projects or teams

Quick Reference

ResourcePurposeLoad when
references/synthesis-workflow.mdPattern recognition, RAG optimization, citation methods, knowledge graphsStarting a synthesis cycle

Workflow

Phase 1: Discovery     → Mine interactions, logs, and outcomes for patterns
Phase 2: Codification  → Document best practices, build knowledge graph
Phase 3: Dissemination → Surface insights to relevant agents/teams
Phase 4: Feedback      → Capture adoption feedback, refine the knowledge base

Phase 1: Knowledge Discovery

Map the landscape before extracting insights:

  1. Scope sources -- identify which interactions, logs, artifacts, and outcomes to mine
  2. Classify signals -- tag each finding by value (high/medium/low), novelty, and confidence
  3. Identify patterns -- look for recurring success patterns, failure modes, and decision trees
  4. Document contradictions -- note where sources disagree or outcomes diverge
Discovery Checklist
  • All relevant interaction logs identified
  • Outcomes mapped to the workflows that produced them
  • Recurring patterns tagged with confidence levels
  • Contradictions and edge cases flagged

Phase 2: Codification

Transform raw patterns into structured, retrievable knowledge:

  1. Write Knowledge Nuggets -- concise, actionable summaries with context and evidence
  2. Build decision trees -- for common choice points, document the decision logic
  3. Create playbooks -- step-by-step guides for patterns that recur frequently
  4. Update indices -- structure data for retrieval (embeddings, tags, graph links)
Knowledge Nugget Template
## [Pattern Name]

**Context**: When does this pattern apply?
**Evidence**: What interactions/outcomes support it? [cite sources]
**Action**: What should agents do when they encounter this situation?
**Confidence**: High | Medium | Low
**Tags**: [domain], [workflow-type], [agent-role]

Phase 3: Dissemination

Surface the right insights to the right consumers:

  • Route knowledge nuggets to agents whose workflows they affect
  • Integrate high-confidence patterns into skill references and playbooks
  • Flag low-confidence patterns for further validation
  • Update retrieval indices so future queries find new knowledge

Phase 4: Feedback Loop

Close the loop to keep the knowledge base accurate:

  • Monitor adoption -- are agents applying the patterns?
  • Capture corrections -- when a pattern proves wrong, update or retract it
  • Track retrieval quality -- are the right nuggets surfacing for the right queries?
  • Refine confidence scores based on real-world outcomes

Grounded Responses and Citations

When answering questions based on the knowledge base, provide grounded responses:

  1. Use numbered citation markers (e.g., [1], [2]) inline
  2. Append a References section listing the source and relevant snippet
  3. Cite the specific session, log, or artifact that provided evidence

Example:

The retry logic reduces failures by 40% in high-latency environments [1].

References: [1] "Session 2025-03-12" -- "After adding exponential backoff, error rate dropped from 12% to 7%"


Anti-Patterns

  • Do not synthesize from a single data point -- require multiple corroborating sources
  • Do not codify patterns without confidence ratings
  • Do not overwrite existing knowledge without citing the new evidence
  • Do not skip the feedback loop -- unvalidated knowledge degrades over time

Comments

Markdown supported