← 返回 Skills 市场
MongoDB Atlas
作者
David Wang
· GitHub ↗
· v1.0.0
1971
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install mongodb-atlas-admin
功能描述
browse MongoDB Atlas Admin API specifications and execute operations (if credentials provided).
安全使用建议
This skill is coherent with its description: it bundles the Atlas OpenAPI spec and provides Node scripts to browse the spec and (if you provide ATLAS_CLIENT_ID and ATLAS_CLIENT_SECRET) make live API calls. Before installing or using it, consider:
- The tool will perform network calls to your Atlas endpoint and will exchange your service-account credentials for an access token (expected for this purpose). The client secret is used only for the token request and is not stored by the skill.
- A token cache (access_token and expiry) is written to ~/.openclaw/.cache/mongodb-atlas/token.json; if you share the machine, remove that file when finished or run clearCachedToken if needed.
- State-changing HTTP methods (POST/PUT/PATCH/DELETE) require explicit approval in the script and SKILL.md recommends always using --dry-run first. Do not run with --yes in automation unless you intentionally want destructive actions.
If you trust the source and will only use it as a read-only spec browser, you can omit setting the Atlas credentials. If you plan to run live calls, provide service-account credentials with least privilege (a service account scoped only to the projects/operations you intend to use).
功能分析
Type: OpenClaw Skill
Name: mongodb-atlas-admin
Version: 1.0.0
The skill bundle is classified as suspicious primarily due to the `scripts/atlas-call.mjs` script's `--file <path>` option. This option allows reading the content of any local file and attempting to parse it as JSON for use as a request body. While this is a plausible feature for an API client, it introduces a vulnerability where a prompt-injected AI agent could be instructed to read sensitive local files (e.g., `~/.ssh/id_rsa` if it's valid JSON, or its content could be exposed if the agent is instructed to print errors/content). However, the `SKILL.md` and `atlas-call.mjs` also implement strong safety protocols, explicitly instructing the AI agent to use `--dry-run` and seek user confirmation for any state-changing API operations, which is a positive security measure against prompt injection and accidental malicious actions.
能力评估
Purpose & Capability
Name/description match the contents: the package includes a full Atlas OpenAPI spec and two Node scripts — one for browsing the spec and one for making API calls. Requiring `node` and Atlas service account credentials (ATLAS_CLIENT_ID, ATLAS_CLIENT_SECRET) is appropriate for this functionality.
Instruction Scope
SKILL.md instructs the agent to run local Node scripts that only read the bundled OpenAPI spec and, when credentials are present, perform live HTTP calls to MongoDB Atlas. The runtime scripts are explicit about when they will modify resources and require interactive approval for POST/PUT/PATCH/DELETE. Note: atlas-call.mjs also reads/writes a local token cache and can use optional env vars (ATLAS_GROUP_ID, ATLAS_API_BASE_URL) not listed as required; these are reasonable but should be noted.
Install Mechanism
No install step or external downloads are used — this is instruction-plus-local-code only. All included files are present in the bundle (large OpenAPI JSON and two scripts). No remote installers, URL downloads, or archives are present.
Credentials
The two required env vars (ATLAS_CLIENT_ID, ATLAS_CLIENT_SECRET) are appropriate for obtaining OAuth tokens via client-credentials flow. The scripts additionally accept optional ATLAS_GROUP_ID and ATLAS_API_BASE_URL (documented in the script) but these were not declared as required — this is low-risk but worth documenting. The skill does not request unrelated credentials.
Persistence & Privilege
The client caches the OAuth access token to disk under ~/.openclaw/.cache/mongodb-atlas/token.json to avoid repeated token requests; it does not persist client secrets. Writing a token cache to the user's home directory is reasonable for an API client but means authentication state persists on disk and should be considered by the user.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install mongodb-atlas-admin - 安装完成后,直接呼叫该 Skill 的名称或使用
/mongodb-atlas-admin触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: API browser + live calls with safety guards
元数据
常见问题
MongoDB Atlas 是什么?
browse MongoDB Atlas Admin API specifications and execute operations (if credentials provided). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1971 次。
如何安装 MongoDB Atlas?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install mongodb-atlas-admin」即可一键安装,无需额外配置。
MongoDB Atlas 是免费的吗?
是的,MongoDB Atlas 完全免费(开源免费),可自由下载、安装和使用。
MongoDB Atlas 支持哪些平台?
MongoDB Atlas 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 MongoDB Atlas?
由 David Wang(@finishy1995)开发并维护,当前版本 v1.0.0。
推荐 Skills