L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Données et recherche · SKILL.md

core-memory-api

core-memory-api

Use M-flow public Python APIs and mflow CLI for core memory workflows, data management, manual ingestion, and troubleshooting.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: core-memory-api description: "Use M-flow public Python APIs and mflow CLI for core memory workflows, data management, manual ingestion, and troubleshooting." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Core Memory API

Use this sub-skill when a task needs the public m_flow Python package or the mflow CLI for core memory operations: add data, memorize it into graph memory, query/search it, run one-step ingest, manage datasets/data, update/delete/prune, manual graph insertion, or process-local configuration.

Route first

Operating model

M-flow's in-process API is asynchronous. Treat add() as raw data registration, memorize() as memory-graph construction, and query()/search() as retrieval over already memorized data. ingest() is the convenience API that performs add() then memorize() and returns an IngestResult status object.

Prefer stable dataset names such as project_notes_2026q1; pass the same name to add/ingest, memorize, and query. Use created_at when importing historical content so later retrieval can preserve temporal intent. Use run_in_background only when the caller can poll or otherwise wait before querying. Never call delete, update, datasets.delete_dataset, or prune without an explicit scope and confirmation from the user.

Safe bundled checker

Run the bundled smoke checker in dry-run mode before live examples:

python scripts/core_workflow_smoke.py --help
python scripts/core_workflow_smoke.py

It only imports m_flow, checks public exports/config visibility, reports whether an LLM credential appears configured, and prints a guarded plan. Live DB writes require an explicit flag:

python scripts/core_workflow_smoke.py --run-live --dataset-name skill_smoke_core

Live mode calls add(), memorize(), and query() and may create local graph, vector, relational, and file-storage data for the selected dataset.

Skills enregistrées