knowledge-management

jr2804's avatarfrom jr2804

Universal knowledge storage and retrieval patterns using memory graph

⭐1stars🔀0forks📁View on GitHub🕐Updated Jan 9, 2026

When & Why to Use This Skill

This Claude skill provides a robust framework for universal knowledge storage and retrieval using a memory graph. It enables AI agents to systematically capture, link, and recall critical project insights such as architectural decisions, bug fixes, and reusable code patterns, significantly enhancing long-term project continuity and cross-context knowledge sharing through structured metadata and relationship mapping.

Use Cases

  • Cross-Project Knowledge Sharing: Storing universal code patterns and solutions in a structured graph to be reused across different development environments, preventing the need to solve the same problem twice.
  • Technical Debt & Decision Logging: Recording the rationale behind architecture choices and implementation details to maintain a searchable history of project evolution for future maintenance.
  • Automated Incident Learning: Documenting root causes and fixes for bugs to create a self-improving organizational memory that accelerates future debugging and prevents recurring issues.
  • Standardizing Documentation: Implementing a consistent YAML-based memory structure that categorizes information by importance and type, making project documentation machine-readable and easily searchable.
nameknowledge-management
descriptionUniversal knowledge storage and retrieval patterns using memory graph
licenseMIT
compatibilityopencode
related_issue_trackingFor tracking knowledge-related tasks, use skill `issue-tracking`
related_mcp_serversFor MCP server integration, use skill `mcp-servers`

Knowledge Management

What I Do

Provide universal patterns for storing, retrieving, and managing project knowledge across different contexts and projects.

Universal Knowledge Management Patterns

Memory Storage Triggers

Store memories on these universal events:

  • Solution implementation → Problem + solution + context
  • Bug fix → Root cause + fix + prevention
  • Architecture decision → Options + choice + rationale
  • Pattern discovery → Reusable approach + examples

Memory Structure

# Universal memory fields
memory:
  type: solution | problem | code_pattern | fix | error | workflow
  title: "Specific, searchable title (not generic)"
  content: "Detailed explanation with context"
  tags: ["project-agnostic", "universal", "pattern"]
  importance: 0.8  # 0.8+ critical, 0.5-0.7 standard, 0.3-0.4 minor
  relationships: ["SOLVES:problem-1", "RELATED_TO:pattern-5"]

Universal Recall Patterns

# Universal knowledge recall
from memorygraph import recall_memories, search_memories

# Fuzzy recall for conceptual queries
results = recall_memories(
    query="timeout handling patterns",
    memory_types=["solution", "pattern"]
)

# Exact search for specific terms
exact_results = search_memories(
    tags=["timeout", "pattern"],
    min_importance=0.7
)

When to Use Me

Use this skill when:

  • Implementing cross-project knowledge sharing
  • Creating reusable solution patterns
  • Standardizing documentation practices
  • Building organizational memory systems

Universal Integration Examples

Cross-Project Knowledge Sharing

# Universal knowledge storage
store_memory(
    type="code_pattern",
    title="Universal timeout handling pattern",
    content="""
    def with_timeout(func, timeout=5, default=None):
        try:
            return func()
        except TimeoutError:
            return default
    """,
    tags=["python", "timeout", "pattern", "universal"],
    importance=0.9
)

Solution Relationships

# Universal relationship mapping
create_relationship(
    from_memory_id="solution-timeout-pattern",
    to_memory_id="problem-slow-api",
    relationship_type="SOLVES",
    context="Pattern addresses API timeout issues"
)

Best Practices

  1. Tagging: Use consistent tags across projects for discoverability
  2. Importance: Standardize importance scoring system
  3. Relationships: Link related knowledge across projects
  4. Maintenance: Regular knowledge base cleanup and organization

Compatibility

Designed for:

  • Cross-project knowledge management
  • Organizational learning systems
  • Reusable pattern libraries
  • Universal documentation standards