界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

byodb-storage

byodb-storage

【数据与研究】Routes Memori BYODB storage, schema build, database recipes, and provisioning workflows.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: byodb-storage description: "Routes Memori BYODB storage, schema build, database recipes, and provisioning workflows." metadata: disco-role: operating disable-model-invocation: true license: NOASSERTION

BYODB Storage

Use this sub-skill for Memori database-backed memory setup: connection factories, schema build, driver selection, database recipes, and provisioning.

Use when

  • The request mentions SQLite, PostgreSQL, MySQL, TiDB, MongoDB, Oracle, CockroachDB, OceanBase, SQLAlchemy, DB-API connections, or Memori.provision.
  • The user needs to understand how Memori(conn=...) switches the package from cloud mode into BYODB mode.
  • The user is debugging unsupported-database, missing-driver, or schema-build failures.

Read first

  • references/storage-api-reference.md for connection and build behavior.
  • references/database-recipes.md for supported database families and extras.
  • references/provisioning.md for TiDB Zero provisioning and cache behavior.
  • references/troubleshooting.md for driver and service failures.
  • scripts/sqlite_byodb_smoke.py for a safe local smoke.

What this sub-skill owns

  • Memori(conn=...) and the storage manager.
  • SQLite and other BYODB driver recipes.
  • Schema creation through mem.config.storage.build().
  • Memori.provision(...) and the TiDB Zero provisioning route.

What it does not own

  • Cloud API key and MCP workflows: use cli-and-cloud.
  • llm.register(...) provider selection: use llm-integration.
  • Recall/search, attribution, embeddings, or native runtime details: use memory-and-search.
  • TypeScript storage specifics: use typescript-sdk.

Safe first check

Run the bundled SQLite smoke before recommending a live database change:

python scripts/sqlite_byodb_smoke.py

That helper creates a temporary SQLite database, builds the Memori schema, and checks the expected tables without network or credentials.

我的收藏