A powerful utility for querying MongoDB databases with native support for direct IP connections and Kubernetes port-forwarding within Openclaw Skills.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install mongo-query
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install mongo-query using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The MongoDB Query skill is a specialized tool designed for AI agents to interact with MongoDB instances for debugging, troubleshooting, and data retrieval. As a core component of the Openclaw Skills library, it simplifies database management by automating the connection lifecycle. Whether your database is hosted on a local server or tucked away inside a Kubernetes cluster, this skill provides a unified interface for data inspection.
By leveraging this skill, developers can empower their agents to verify data integrity, list schemas, and execute complex queries without leaving the terminal environment. It is an essential asset for any Openclaw Skills implementation that requires real-time database visibility and cloud-native connectivity.
To use this skill within your Openclaw Skills environment, ensure you have the necessary dependencies installed:
pip install pymongo
# Ensure kubectl is installed and configured if connecting via Kubernetes
Before running the skill, prepare your connection string. You can store this in your project configuration for easier access by the agent:
python scripts/query_mongo.py --uri "mongodb://root:[email protected]:27017/?authSource=admin" --list-dbs
The MongoDB Query skill utilizes a structured parameter set to manage data retrieval within Openclaw Skills:
| Parameter | Description | Required |
|---|---|---|
| --uri | Full MongoDB connection string | Yes |
| --db | Target database name for queries | Conditional |
| --collection | Target collection name | Conditional |
| --query | JSON-formatted MongoDB query filter | No |
| --namespace | Kubernetes namespace for service discovery | No |
| --limit | Maximum number of documents to return | No |
Loading
A specialized technical guide for executing Kimi Code CLI commands in automated, non-interactive, and headless environments.

A high-speed financial risk detection framework for AI agents to analyze corporate health without deep accounting knowledge.

A tactical planning tool that decomposes vague outcomes into concrete, executable steps and milestones.

A comprehensive technical and fundamental analysis toolkit for Chinese A-share and Hong Kong stock markets.

A high-precision Hindi drafting engine for professional business, government, and industry-specific documentation.

A comprehensive nine-dimensional framework designed to deconstruct any object, problem, or project as a structured system to reveal its internal mechanisms.








































