Agent Skills
› kbanc85/claudia
› databases
databases
GitHub用于检查 Claudia 生产数据库及备份的状态,包括身份验证、健康度、计数、模式等。仅在用户明确批准时进行覆盖操作,确保只读检查和安全的配置变更。
Trigger Scenarios
检查数据库状态
查看数据库备份
切换数据库目标
Install
npx skills add kbanc85/claudia --skill databases -g -y
SKILL.md
Frontmatter
{
"name": "databases",
"description": "Inspect Claudia's unified production memory database and backups. Use for database identity, health, counts, schema, WAL, backup inventory, or an explicitly approved database override."
}
Claudia Databases for Codex
Inspect first; mutate only with explicit approval.
Default view
Prefer Claudia Memory tools when available. Otherwise inspect ~/.claudia/memory/claudia.db read-only and report:
- canonical database path and file size;
- counts for memories, entities, relationships, episodes, commitments, and sources;
- WAL/SHM presence;
- most recent verified backup;
- any legacy hash databases that still contain data.
Never infer health from file existence alone. Use memory-health for the complete system check.
Database overrides
Switch only when the user explicitly names or approves the target database.
- Resolve the exact target path and verify it is a readable SQLite database.
- Show the current and target paths and explain that a Codex restart is required.
- Back up
.mcp.json. - Add
CLAUDIA_DB_OVERRIDEtomcpServers.claudia-memory.envin the workspace.mcp.json. - Run
npx get-claudia codex .so the generated plugin MCP declaration stays aligned. - Start a new Codex session and verify the active database through a memory health call.
Never edit the installed plugin cache and never write directly to Claudia's SQLite database.
Version History
- 80253c0 Current 2026-08-20 06:20


