Ai Keeper/Guides/Knowledge, memory, and RAG
← All workflows
Collection 05 · Grounded context

Knowledge, memory, and RAG

Give chats and agents durable facts, searchable files, time-aware claims, reviewed source reconciliation, behavior skills, relationship context, and Obsidian notes with clear provenance.

13 workflowsBeginner-first

Find one workflow

Filter this collection by name, outcome, provider, engine, channel, mode, or command.

13 shown
Workflow 01

Add a fact to persistent memory

Save a preference or durable constraint that should survive new conversations.

Beginner2 minResult · The fact can be recalled later✓ Source-audited workflow
Current Knowledge hub with its ten-tab navigation.
Memory is one tab along this bar; AI Context, Documents, Wiki, and Ingestion sit beside it.
Before you start
  • The fact is appropriate to store persistently.
  1. Open Knowledge > Memory and click Add Fact.

  2. Write one precise fact, choose the closest category, and avoid combining unrelated details.

  3. Save. Start a new Chat and ask a question that should use the fact.

  4. Open Knowledge > Audit to see whether and why the fact was injected.

You are done when
The fact appears in Memory, and the Audit tab records its injection when it is relevant.
If something looks wrong
Fact never appearsIt may not be relevant to the prompt or memory injection may be disabled for that surface.
Secret was stored as memoryDelete it and use the Secrets store. Memory is context, not a credentials vault.
Workflow 02

Review or delete auto-extracted memory

Check what the assistant remembered and remove stale or overly personal facts.

Beginner5 minResult · Memory contains only approved current facts✓ Source-audited workflow
Knowledge navigation showing Memory and Audit alongside AI Context and Documents.
Open Audit to review extracted memory before deleting or trusting it.
Before you start
  • Memory extraction has produced one or more facts.
  1. Open Knowledge > Memory and filter or search for the person, project, or preference.

  2. Open each fact and inspect its content, category, source, and update time.

  3. Edit imprecise but useful facts. Delete facts that are wrong, expired, duplicated, secret, or unnecessary.

  4. Use Knowledge > Audit to review recent prompt injections and confirm the cleaned fact set is what reaches models.

You are done when
Search no longer returns removed facts, and new prompt-audit entries show only the intended memory.
If something looks wrong
Delete All is temptingExport memory first if any facts matter. Bulk deletion is appropriate only when you intend to reset the store.
Workflow 03

Index a PDF or text document

Add a source to RAG so answers retrieve only relevant passages instead of stuffing the whole file into each prompt.

Beginner5–15 minResult · Document search returns a relevant chunk✓ Source-audited workflow
Knowledge Documents showing two indexed text sources, their chunks, the embedding runtime, search, and file-ingestion controls.
The document list confirms both sources were embedded successfully; use the right pane to test retrieval before relying on them in Chat.
Before you start
  • A readable PDF, text, Markdown, or supported document.
  • A Ready Embedding instance selected for Documents.
  1. Open Knowledge > Documents and select the intended Embedding instance.

  2. Click the add/import file action and choose one small representative document first.

  3. Review chunking options if shown; use defaults until you have a measured retrieval problem.

  4. Wait for indexing to complete without errors.

  5. Use the Documents search box with a phrase whose answer exists in the file.

You are done when
The document shows indexed status and search returns a passage from the correct source with provenance.
If something looks wrong
No embedding instanceCreate a specialist Embedding instance under Runtime before indexing.
Scanned PDF returns nothingIt may need OCR. Use an OCR/vision workflow to produce searchable text first.
Workflow 04

Keep a folder synchronized

Index a changing folder and let watched-folder reconciliation add, update, and remove document entries.

Intermediate5–15 minResult · Folder changes are reflected in Documents✓ Source-audited workflow
Knowledge Documents with two indexed sources, a ready Embedding-role runtime, and Add Files, Add Folder, and Watch Folder controls.
The watched source and its green status show that folder indexing has completed through the selected embedding runtime.
Before you start
  • A stable local folder you control.
  • A Ready Embedding instance.
  1. Open Knowledge > Documents and add a folder source.

  2. Choose the folder, review included file types and recursion, and exclude build/cache/private subfolders when offered.

  3. Start the initial index and wait for it to settle.

  4. Add or edit one harmless test file inside the folder. Return to Documents and wait for the watched-folder event or reconciliation.

  5. Search for a unique phrase from the test file, then remove the test when finished.

You are done when
The new/changed file appears without re-adding the folder, and its unique phrase is retrievable.
If something looks wrong
Network drive misses changesWatched folders use filesystem events plus reconciliation, but unusual filesystems may need a manual refresh.
Huge folder causes noiseIndex a focused knowledge folder, not an entire home directory.
Workflow 05

Answer a question using indexed documents

Ask for a grounded answer and verify that retrieved sources actually support it.

Beginner3–10 minResult · The answer cites relevant indexed material✓ Source-audited workflow
Knowledge Documents showing two documents, two chunks, two embeddings, and the document-search pane.
Confirm sources are indexed and the embedding runtime is selected here before asking Chat to retrieve grounded context.
Before you start
  • At least one indexed document with successful search results.
  • A Ready chat model.
  1. Start a clean Chat and enable the relevant document/RAG context if it is not already part of the active Work Mode.

  2. Ask a specific question and request source names or quoted evidence.

  3. Inspect the retrieval/tool panel to see which chunks were supplied.

  4. Open the original source and check that the answer's important claims are supported.

  5. If retrieval is weak, improve the source, query, or indexing before changing the language model.

You are done when
Retrieved chunks come from the intended source and support the answer; unsupported claims are clearly qualified.
If something looks wrong
Confident answer, wrong sourceTreat citations as evidence to inspect, not proof by themselves.
No relevant chunkTest the same phrase in Documents search to separate retrieval from generation problems.
Workflow 06

Create and link a Wiki page

Write a curated internal reference page with tags, links, backlinks, and edit history.

Beginner5–15 minResult · A linked wiki page is saved✓ Source-audited workflow
Current Knowledge hub tab bar including Wiki.
Wiki pages are curated by you; Documents are retrieved from files. Different tabs, different trust.
Before you start
  • A topic that benefits from a maintained canonical page.
  1. Open Knowledge > Wiki and create a page with a clear, unique title.

  2. Write the stable facts, decisions, owner, and last-reviewed date. Add focused tags.

  3. Link another relevant wiki page using the editor's supported link syntax or picker.

  4. Save, open the linked page, and confirm the backlink appears.

  5. Make a small test edit and inspect history so you know how to recover an earlier version.

You are done when
The page opens by title, tags work, link and backlink connect the pages, and an edit-history entry exists.
If something looks wrong
Wiki duplicates source filesUse Wiki for curated conclusions and durable guidance; keep source documents in Documents with provenance.
Workflow 07

Classify legacy Wiki claims without losing history

Preview and migrate older claims into timeless facts, dated snapshots, or pointers to current truth while preserving the original revision.

Intermediate5–15 minResult · Legacy claims have explicit time semantics✓ Source-audited workflow
Knowledge Wiki Health showing compiler, lint and provenance, and knowledge-health controls.
Legacy classification appears under Knowledge Health only when older claims still need explicit temporal semantics.
Before you start
  • An existing Wiki created before temporal claim metadata was introduced.
  • A backup if the Wiki contains irreplaceable manual edits.
  1. Open Knowledge > Wiki > Health and find Legacy temporal classification. Read the preview counts for timeless, snapshot, and pointer claims before changing anything.

  2. Interpret the proposed classes: stable facts become timeless; potentially volatile facts become 30-day snapshots; source-backed claims become pointers to their current source.

  3. Choose Review & Migrate. Read the confirmation, then choose Apply Classification only when the proposed rules fit this Wiki.

  4. Run Lint after migration and open one claim of each available kind. Check its Observed/validity information, freshness window, or Current truth pointer.

  5. Inspect the migrated claim's revision history. The pre-migration claim must still be present as a closed revision rather than overwritten.

You are done when
Health no longer offers legacy classification for the migrated claims, lint reports their real freshness issues, and the original values remain in revision history.
If something looks wrong
A volatile fact was classified as timelessDo not hide the problem by accepting it as permanent. Open the claim and resolve it as a dated snapshot or a pointer to current truth.
Migration is interruptedReturn to Health and review the remaining preview. The operation is explicit and preserves already-migrated claim history.
Workflow 08

Resolve stale or invalid Wiki claims

Use Wiki Health to find undated volatile claims, stale observations, and broken current-truth pointers before they reach retrieval.

Intermediate5–15 minResult · A freshness issue is resolved deliberately✓ Source-audited workflow
Knowledge Wiki Health showing the lint and provenance surface used to find freshness problems.
Run Lint here before changing ranking settings; stale observations and invalid pointers are eligibility problems, not Top-K problems.
Before you start
  • At least one Wiki page with claims.
  • Access to the source when re-observing or creating a pointer.
  1. Open Knowledge > Wiki > Health and click Run Lint. Review groups for missing temporal metadata, missing observation dates, stale observations, and invalid source pointers.

  2. Open an affected page from the lint result. Inspect the claim's temporal kind, Observed and validity dates, freshness window, Current truth pointer, evidence, and prior revisions.

  3. Choose exactly one resolution: Re-observe now after checking the source; Use source pointer when a stable current-truth location is available; or Retire when the claim should no longer be active.

  4. Run Lint again. Search Documents/Wiki for the claim and test a grounded Chat question if the claim should remain retrievable.

  5. For a retired claim, confirm it remains in revision/history evidence but is excluded from normal current search and retrieval.

You are done when
The selected issue disappears after lint, active claims resolve to current evidence, and retired/stale/unresolved claims are not supplied as current retrieval context.
If something looks wrong
Re-observe used without checking the sourceThe button records a new observation; it does not prove the old text is still true. Verify first.
Pointer cannot resolveUse a stable active source path. Deleted sources and malformed pointers are intentionally excluded from retrieval.
Workflow 09

Turn inbox sources into an approved wiki digest

Use the Ingestion tab to review connector material before it becomes durable knowledge.

Intermediate10–20 minResult · An approved provenance-backed digest is created✓ Source-audited workflow
Knowledge navigation showing Ingestion beside Documents, Wiki, and Dreaming.
Ingestion is the review queue; approve source material there before it becomes curated knowledge.
Before you start
  • At least one supported connector inbox source.
  • Permission to retain the selected messages as knowledge.
  1. Open Knowledge > Ingestion and select the source or time window.

  2. Run or preview the digest. Review included messages, provenance, proposed title, temporal snapshot dates, and sensitive content.

  3. Expand Review proposed changes. Inspect every source create/replace/no-op, page enrichment, contradiction, synthesis, and claim-retirement change, including its before/after preview and match confidence.

  4. Remove irrelevant or private items and correct the summary before approval. Do not approve a low-confidence page match until you have checked the target.

  5. Choose Approve. If a target page changed after your review, the app refreshes the proposal instead of applying it; review the new proposal and approve a second time.

  6. Open the resulting Wiki pages and confirm their source links, content hashes, temporal metadata, contradiction/retirement state, and revision history.

You are done when
Only the reviewed proposal is applied, unchanged sources are no-ops, and every changed page retains provenance and revision history for the intended connector items.
If something looks wrong
Automatic durable memory feels riskyKeep approval gating enabled. Inbox messages often contain personal or third-party data.
Approval asks for a second reviewA target changed since the first preview. This is drift protection, not a failed write; inspect the refreshed before/after state.
Workflow 10

Install, draft, and test a Skill

Add reusable instructions without granting executable plugin privileges.

Intermediate10–20 minResult · A skill changes model behavior as intended✓ Source-audited workflow
Current Knowledge AI Context tab with the ten-tab knowledge navigation.
Knowledge begins with shared prompt controls; Skills, Memory, Audit, Documents, Wiki, and Ingestion continue across the tab bar.
Before you start
  • A repeatable behavior you can describe as instructions.
  • A test prompt with an observable expected result.
  1. Open Knowledge > Skills to manage installed and draft skills. Use Download > Skills for registry discovery.

  2. Inspect an installed skill's instructions and metadata before enabling it, or create a draft with one narrow purpose.

  3. Enable the skill for the intended chat/agent scope, not globally unless every workflow needs it.

  4. Run the test prompt with the skill on, then off. Compare whether it produces the intended behavior without unwanted side effects.

  5. Revise or disable the skill if it duplicates system context or conflicts with another active skill.

You are done when
The enabled skill produces a repeatable, visible behavior change and does not require executable permissions.
If something looks wrong
Skill asks to run commandsA skill is instructions, not authority. The underlying tool still needs policy and approval.
Prompts get bloatedRemove overlapping skills and shared context; compact prompting is intentional.
Workflow 11

Connect an Obsidian vault

Reference existing notes alongside native Ai Keeper memory without copying an entire vault blindly.

Intermediate5–10 minResult · A vault note is searchable✓ Source-audited workflow
Knowledge Obsidian with Add Vault, note search, and the empty connected-vault state.
Add Vault is the starting action; the note search remains empty until a vault is connected and indexed.
Before you start
  • A local Obsidian vault folder.
  • Permission for Ai Keeper to read it.
  1. Open Knowledge > Obsidian and choose the vault folder.

  2. Review the detected vault name and note scope. Exclude private subtrees if the UI offers scope controls.

  3. Connect, then search for a unique note title or phrase.

  4. Open the result and confirm it points to the expected file. Import only notes you truly want copied into native knowledge.

You are done when
Search returns the expected note and its source path belongs to the selected vault.
If something looks wrong
Wrong vault selectedDisconnect and choose the folder that contains the vault's .obsidian directory.
Sensitive journal notes appearNarrow the scope or use a separate work vault before enabling model access.
Workflow 12

Keep Obsidian and Memory Wiki reconciled

Mirror selected vault notes into source-backed Wiki pages, detect edits/renames/deletions, and optionally write reviewed changes back without overwriting a newer note.

Advanced10–30 minResult · Vault changes reconcile without duplicate or lost pages✓ Source-audited workflow
Knowledge Obsidian showing the vault connection surface where watched Wiki reconciliation begins.
After adding a vault, its settings expose whole-vault Wiki sync, Watch and schedule, Reconcile Wiki Now, and optional conflict-checked write-back.
Before you start
  • A connected local Obsidian vault.
  • A harmless test note that can be edited, renamed, and deleted.
  1. Open Knowledge > Obsidian. In the vault settings, set ignored folders and maximum file size, enable Sync all notes to Memory Wiki, and choose Save Settings.

  2. Choose Reconcile Wiki Now for the first controlled pass. Confirm the status reports changed, unchanged, and failed counts; run it again without editing the vault and expect unchanged/no duplicate pages.

  3. Enable Watch and schedule and choose the fallback interval. Edit and rename the test note; wait for the filesystem watcher or periodic pass, then confirm its Wiki page keeps the same identity while the source path/hash and snapshot update.

  4. Delete the test note and reconcile. Confirm the source page is marked deleted/retired and disappears from normal current search without erasing its Wiki history.

  5. Optional: enable Allow conflict-checked write-back, edit an imported Wiki page, and choose Write Back to Obsidian from its detail view. If the note changed since the last imported hash, sync and review instead of forcing the write.

You are done when
An unchanged pass is a no-op, edits and renames update one stable page, deletion retires current retrieval, and write-back succeeds only when the source hash still matches.
If something looks wrong
Vault change is not noticedUse Reconcile Wiki Now. Watchers are backed by the configured periodic interval because unusual filesystems can miss events.
Write-back is stoppedThe source note changed after the reviewed snapshot. Reconcile, compare the new source, then make a fresh deliberate edit.
Private notes enter WikiTighten ignored folders or use a separate vault before enabling whole-vault sync.
Workflow 13

Add contact context and review Dreaming insights

Maintain people/reachability context and treat idle-generated insights as suggestions, not facts.

Intermediate5–15 minResult · Contact and insight records are reviewable✓ Source-audited workflow
Knowledge navigation showing Dreaming and Contacts in the shared knowledge hub.
Contacts supply relationship context; Dreaming is where generated insights are reviewed.
Before you start
  • For Contacts, only store information you are entitled to retain.
  • For Dreaming, enough past conversation context to synthesize.
  1. Open Knowledge > Contacts, add a person, and record only useful name, relationship, reachability, group, or tags.

  2. Search for that person and confirm the correct record opens.

  3. Open Knowledge > Dreaming to review diary entries, memory-palace pages, or generated insights.

  4. Promote or copy only insights you have checked. Delete irrelevant or overly personal output.

You are done when
The contact is searchable and the Dreaming entry remains clearly distinguished from verified memory or curated Wiki content.
If something looks wrong
Dreaming insight sounds authoritativeIt is synthesized from local context and templates; verify before turning it into a durable fact or action.

Keep going