← Back to Skills Marketplace
324
Downloads
1
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install mongo-db
Description
Interact with a MongoDB database for persistent document storage. Supports full CRUD operations (find, insert, update, delete), aggregation pipelines, collec...
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install mongo-db - After installation, invoke the skill by name or use
/mongo-db - Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Frequently Asked Questions
What is Mongo Db Client Tool?
Interact with a MongoDB database for persistent document storage. Supports full CRUD operations (find, insert, update, delete), aggregation pipelines, collec... It is an AI Agent Skill for Claude Code / OpenClaw, with 324 downloads so far.
How do I install Mongo Db Client Tool?
Run "/install mongo-db" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Mongo Db Client Tool free?
Yes, Mongo Db Client Tool is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Mongo Db Client Tool support?
Mongo Db Client Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Mongo Db Client Tool?
It is built and maintained by JithinM (@jithinm); the current version is v1.0.0.
More Skills