用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/ThinkfleetAI/thinkfleet-engine --skill mongodb命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | mongodb |
| description | Query MongoDB Atlas — collections, documents, and aggregations via the Data API. |
| metadata | {"thinkfleetbot":{"emoji":"🍃","requires":{"bins":["curl","jq"],"env":["MONGODB_URI"]}}} |
Query collections and documents via the MongoDB Atlas Data API.
MONGODB_URI - MongoDB connection URI or Atlas Data API keycurl -s -X POST -H "Content-Type: application/json" \
-H "api-key: $MONGODB_URI" \
"https://data.mongodb-api.com/app/data-xxx/endpoint/data/v1/action/find" \
-d '{"dataSource":"Cluster0","database":"mydb","collection":"mycoll","filter":{},"limit":10}' | jq '.documents[]'
curl -s -X POST -H "Content-Type: application/json" \
-H "api-key: $MONGODB_URI" \
"https://data.mongodb-api.com/app/data-xxx/endpoint/data/v1/action/insertOne" \
-d '{"dataSource":"Cluster0","database":"mydb","collection":"mycoll","document":{"name":"test","value":42}}' | jq '{insertedId}'
curl -s -X POST -H "Content-Type: application/json" \
-H "api-key: $MONGODB_URI" \
"https://data.mongodb-api.com/app/data-xxx/endpoint/data/v1/action/aggregate" \
-d '{"dataSource":"Cluster0","database":"mydb","collection":"mycoll","pipeline":[{"$group":{"_id":"$field","count":{"$sum":1}}}]}' | jq '.documents[]'
data-xxx with your Atlas app ID.