ingest

Extract durable facts from text and store them in db0 memory with scoped visibility.

14|1|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/db0-ai/db0 --skill ingest-db0-ai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ingest
Source: https://github.com/db0-ai/db0/tree/main/packages/apps/claude-code/skills/ingest
Command: npx skills add https://github.com/db0-ai/db0 --skill ingest-db0-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Important facts shared in conversation are easily lost between sessions, and manually tracking user preferences or decisions leads to stale, contradictory information. This Skill captures durable facts from text and persists them into db0 memory with the correct scope so they remain available across sessions. ## Core Features & Use Cases - Fact Extraction: Analyzes provided text to identify durable facts worth remembering, such as preferences, decisions, and personal context. - Scope Assignment: Automatically assigns each fact to the appropriate scope — user (cross-session), agent (all sessions), or session (current context). - Superseding Corrections: Detects corrections to existing facts, searches for the old memory, and marks it as superseded so stale information is excluded from search while preserved for audit. - Use Case: When a user says "remember that I prefer dark mode" and later says "actually I switched to light mode", the Skill stores the new preference and supersedes the old one, keeping memory accurate. ## Quick Start Ask the assistant to remember a fact, for example: remember that I prefer TypeScript for all new projects.

Frequently Asked Questions about ingest

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

FAQPage Schema
How do I save user preferences across agent sessions?▼

Store the preference as a memory with the user scope, which makes it visible in every future session for that user. The Skill writes the fact via db0_memory_write with content, scope, and tags for later filtering.

How to update a remembered fact when it changes?▼

Search for the existing memory with db0_memory_search, then write the new fact with the supersedes parameter pointing to the old memory ID. The old entry is preserved for audit but excluded from search results.

What memory scopes does db0 support?▼

db0 supports three scopes: user for cross-session preferences and personal context, agent for knowledge shared across all sessions, and session for temporary context relevant only to the current conversation.

When should I use session scope instead of user scope?▼

Use session scope for temporary context like decisions in progress that should not persist after the conversation ends. Use user scope for durable facts like preferences that must remain available in all future sessions.

Does this Skill work without a db0 backend configured?▼

No, it relies on db0 memory tools such as db0_memory_write and db0_memory_search, which require a configured db0 backend like SQLite or PostgreSQL. Without the backend, facts cannot be persisted or searched.