← 返回 Skills 市场
324
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install mongo-db
功能描述
Interact with a MongoDB database for persistent document storage. Supports full CRUD operations (find, insert, update, delete), aggregation pipelines, collec...
安全使用建议
This skill appears to do exactly what it says: run MongoDB operations via a Python CLI. Before installing, verify which MongoDB instance the agent will talk to (MONGO_URI or config.json) and avoid pointing it at production data without review. Be cautious about granting any automated agent the ability to call operations that include 'confirm': true — those flags are the protection against accidental destructive actions (drop/delete). Running the provided setup script in an isolated environment is advisable (it creates a .venv and pip-installs pymongo). If you need higher assurance, inspect the full mongo_client.py (it’s included) and test against a non-production database.
功能分析
Type: OpenClaw Skill
Name: mongo-db
Version: 1.0.0
The OpenClaw MongoDB skill bundle is benign. It provides standard CRUD operations for MongoDB via a Python CLI client. The `SKILL.md` instructions are clear and include a critical safeguard: requiring explicit user confirmation (`"confirm": true`) for destructive operations like `drop_collection` and `delete_many`, which helps prevent prompt injection leading to accidental data loss. The `setup.sh` script installs `pymongo` from PyPI, and `mongo_client.py` uses standard `pymongo` library calls without any evidence of data exfiltration, persistence mechanisms, or direct shell injection vulnerabilities. Configuration via environment variables or a gitignored `config.json` is also standard practice.
能力评估
Purpose & Capability
Name/description (MongoDB client) align with the provided files: a Python CLI (mongo_client.py), a setup script that installs pymongo, and docs for configuring MONGO_URI or config.json. Required binary (python3) and the documented env vars are appropriate for the stated purpose.
Instruction Scope
SKILL.md restricts actions to MongoDB operations via a JSON payload and documents connection resolution and destructive-operation safeguards (drop/delete require a 'confirm' flag). One minor note: the client searches for config.json in both the skill dir and workspace paths (Path.cwd() candidate), so it could pick up a config outside the skill directory if present — expected for convenience, but worth being aware of.
Install Mechanism
There is no remote arbitrary download. Setup is a local shell script that creates a venv and pip-installs pymongo from PyPI (expected for a Python skill). INSTALL-UBUNTU.md references official MongoDB repos for local server install. These are standard and proportionate to the purpose.
Credentials
Declared and used environment variables are limited to MongoDB connection settings (MONGO_URI, MONGO_DB, MONGO_HOST, MONGO_PORT, MONGO_USER, MONGO_PASSWORD). No unrelated secrets or service credentials are requested.
Persistence & Privilege
Skill is not force-included (always: false). It creates a venv under its own scripts directory and does not modify other skills or system-wide agent settings. The skill can be invoked autonomously (platform default), which is expected for skills that perform DB operations — users should control when destructive payloads are sent.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mongo-db - 安装完成后,直接呼叫该 Skill 的名称或使用
/mongo-db触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the mongo-db skill for persistent document storage in MongoDB.
- Supports full CRUD operations, aggregation pipelines, collection management, and index creation via a unified Python CLI script.
- Configuration is flexible: use environment variables, a config file, or per-invocation parameters.
- All operations and results use JSON payloads and outputs, including detailed success/error messages.
- Destructive actions (deletes, drops) require explicit user confirmation.
- Includes schema validator support for enforcing collection structure.
元数据
常见问题
Mongo Db Client Tool 是什么?
Interact with a MongoDB database for persistent document storage. Supports full CRUD operations (find, insert, update, delete), aggregation pipelines, collec... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 324 次。
如何安装 Mongo Db Client Tool?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mongo-db」即可一键安装,无需额外配置。
Mongo Db Client Tool 是免费的吗?
是的,Mongo Db Client Tool 完全免费(开源免费),可自由下载、安装和使用。
Mongo Db Client Tool 支持哪些平台?
Mongo Db Client Tool 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Mongo Db Client Tool?
由 JithinM(@jithinm)开发并维护,当前版本 v1.0.0。
推荐 Skills