← 返回 Skills 市场
Mc Db Discovery
作者
Guillaume Maka
· GitHub ↗
· v1.0.0
· MIT-0
33
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mc-db-discovery
功能描述
Systematic workflow to locate and verify the Mission Control SQLite database when path assumptions fail, and reconcile frontend/backend schema mismatches.
使用说明 (SKILL.md)
- Step 1: When DB file not found at expected path, trace createDb() calls in server code to find the resolvedPath (defaults to ~/.mc/data/mission-control.db).
- Step 2: Verify DB existence with: ls -la ~/.mc/data/mission-control.db
- Step 3: Inspect schema with: sqlite3 ~/.mc/data/mission-control.db ".schema tasks"
- Step 4: Check actual column names (e.g., 'state' vs 'status'); adjust frontend types or backend schema accordingly.
- Step 5: Validate data inserted correctly: sqlite3 ~/.mc/data/mission-control.db "SELECT * FROM tasks ORDER BY timestamp DESC LIMIT 5;"
- Pitfall: The frontend Task interface may use 'status' while the DB uses 'state'; always verify before debugging application logic.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mc-db-discovery - 安装完成后,直接呼叫该 Skill 的名称或使用
/mc-db-discovery触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release providing a systematic workflow for locating, verifying, and troubleshooting the Mission Control SQLite database.
- Guides users to trace createDb() calls to find the actual database path.
- Details steps to verify the database file and inspect its schema.
- Helps reconcile frontend/backend schema mismatches, especially with differing column names (e.g., 'state' vs 'status').
- Includes commands to validate database structure and recent data.
- Highlights common pitfalls in frontend-backend integration.
元数据
常见问题
Mc Db Discovery 是什么?
Systematic workflow to locate and verify the Mission Control SQLite database when path assumptions fail, and reconcile frontend/backend schema mismatches. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 33 次。
如何安装 Mc Db Discovery?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mc-db-discovery」即可一键安装,无需额外配置。
Mc Db Discovery 是免费的吗?
是的,Mc Db Discovery 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Mc Db Discovery 支持哪些平台?
Mc Db Discovery 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Mc Db Discovery?
由 Guillaume Maka(@guillaumemaka)开发并维护,当前版本 v1.0.0。
推荐 Skills