Fact Extraction

Extract atomic personal facts from conversations and store them in SQLite.

21|4|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/arunoda/OkBrain --skill fact-extraction-arunoda
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Fact Extraction
Source: https://github.com/arunoda/OkBrain/tree/main/.agent/skills/fact_extraction
Command: npx skills add https://github.com/arunoda/OkBrain --skill fact-extraction-arunoda

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automatically extracts key personal facts from your conversations, stores them, and uses them to personalize future AI interactions, making the AI more aware of your preferences and history.

Core Features & Use Cases

  • Automatic Fact Extraction: Leverages AI to identify and extract atomic facts from your chat history.
  • Personalized Context: Injects extracted facts into subsequent conversations, providing the AI with relevant background information about you.
  • Fact Categorization: Organizes facts into categories like 'core', 'technical', 'project', and 'transient' for better management.
  • Use Case: After discussing your preferred programming languages, the AI will remember and use this information in future coding-related discussions without you needing to repeat it.

Quick Start

Ask the AI to extract facts from your conversations to improve its understanding of you.

Frequently Asked Questions about Fact Extraction

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract personal facts from chat history to personalize AI conversations?

You extract personal facts from chat history by running a background worker process that uses AI models like Gemini or Grok to identify atomic facts. These facts are then injected into subsequent conversations to provide personalized context.

How does conversation memory and fact extraction work for AI personalization?

Conversation memory and fact extraction works by analyzing your chat history to identify personal facts, categorizing them into groups like core, technical, project, or transient, and storing them in a SQLite database for future context injection.

Can I use Gemini or Grok to extract user profile facts from conversations?

Yes, you can use Gemini or Grok to extract user profile facts from conversations. The worker process leverages these AI models to identify atomic personal facts and stores them in a SQLite database for deduplication and context management.

Does automatic fact extraction manage deduplication and fact categorization?

Yes, automatic fact extraction manages deduplication and categorizes extracted facts into core, technical, project, and transient categories. This organization ensures relevant background information is stored efficiently in the SQLite database without redundant entries.

How do I start extracting facts from my conversations to improve AI context?

To start extracting facts from your conversations to improve AI context, simply ask the AI to extract facts. A background worker process will then analyze the chat history, identify atomic facts, and store them for future personalization.

What are the limitations of using a SQLite database for conversation memory?

Using a SQLite database for conversation memory limits fact storage to local single-file capacity and restricts concurrent read/write operations during the background extraction process. Fact categorization and deduplication are managed within this local database structure.