Knowledge extractor

From a5c-ai/babysitter · View interactive version

Knowledge extractor is an AI agent skill from the GitHub repository a5c-ai/babysitter. Extract tribal knowledge from code, documentation, and commit history to preserve institutional memory

How to use this skill

Skill file

Knowledge Extractor Skill

Extracts tribal knowledge from code comments, commit messages, documentation, and other sources to preserve institutional memory during migration.

Purpose

Enable knowledge preservation for:

Capabilities

1. Comment Analysis

2. Commit Message Mining

3. Documentation Parsing

4. Pattern Recognition

5. Business Rule Extraction

6. Glossary Generation

Tool Integrations

| Tool | Purpose | Integration Method |

|------|---------|-------------------|

| Sourcegraph | Code search | API |

| GitHub API | Commit history | API |

| grep/ripgrep | Pattern search | CLI |

| Custom NLP | Text analysis | Library |

| Confluence API | Wiki extraction | API |

Output Schema

{
  "extractionId": "string",
  "timestamp": "ISO8601",
  "knowledge": {
    "comments": [
      {
        "type": "todo|fixme|note|warning|explanation",
        "file": "string",
        "line": "number",
        "content": "string",
        "context": "string"
      }
    ],
    "commits": [
      {
        "hash": "string",
        "message": "string",
        "author": "string",
        "context": "string",
        "relatedFiles": []
      }
    ],
    "documentation": [],
    "businessRules": [],
    "glossary": {}
  }
}

Integration with Migration Processes

Related Skills

Related Agents

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.