🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

OEE Knowledge Base RAG

by @odinbot33

Semantic knowledge base allowing ingest, search, and retrieval of saved texts, URLs, and files using embeddings and SQLite.

Versionv1.0.0
Downloads1,167
TERMINAL
clawhub install oee-knowledge-base

πŸ“– About This Skill

🐾 Knowledge Base (RAG) β€” Your Second Brain

> by Odin's Eye Enterprises β€” Ancient Wisdom. Modern Intelligence.

Save anything, recall it semantically. Personal RAG-powered knowledge base with SQLite + embeddings.

What It Does

1. Ingest β€” Save text, URLs, files, notes into your knowledge base 2. Query β€” Semantic search across everything you've saved 3. Retrieve β€” Get relevant context for any question

Trigger Phrases

  • "remember this"
  • "save this to the knowledge base"
  • "what do I know about"
  • "search my notes"
  • "KB query"
  • Usage

    # Ingest text
    python ingest.py "The key insight from today's meeting was..."

    Ingest from a file

    python ingest.py --file notes.md

    Query the knowledge base

    python query.py "What did we discuss about pricing?"

    Full KB management

    python kb.py stats python kb.py search "topic"

    Files

  • kb.py β€” core KB engine (embeddings, storage, retrieval)
  • ingest.py β€” CLI for adding content
  • query.py β€” CLI for searching
  • kb.db β€” SQLite database (auto-created)
  • Requirements

  • Python 3.10+
  • ANTHROPIC_API_KEY or OPENAI_API_KEY for embeddings
  • For Agents

    Save context: python ingest.py "TEXT" Retrieve context: python query.py "QUESTION"

    πŸ’‘ Examples

    # Ingest text
    python ingest.py "The key insight from today's meeting was..."

    Ingest from a file

    python ingest.py --file notes.md

    Query the knowledge base

    python query.py "What did we discuss about pricing?"

    Full KB management

    python kb.py stats python kb.py search "topic"