Agent skill
mongodb
Script for read/write MongoDB
Install this agent skill to your Project
npx add-skill https://github.com/rakibdev/dotfiles/tree/main/home/.config/ai/skills/mongodb
SKILL.md
Usage
bun -e "
import { MongoClient } from 'mongodb'
const client = new MongoClient(process.env.MCP_MONGODB_URI)
const db = client.db()
// your query here
console.log(await db.collection('users').find().limit(1).toArray())
await client.close()
"
- Import
ObjectIdfrommongodbif needed. - Use
bun -edirectly. Don't write scripts to files. MCP_MONGODB_URIis set in.env— bun loads it automatically.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
valibot
Valibot schema validation for backend and frontend forms.
vue
Vue coding style and best practices.
tailwind
Tailwind CSS styling conventions.
websearch
Search Google
github
Fetch GitHub URLs, repos, issues, pull requests, code search
figma
Tool for fetching Figma design data and downloading images.
Didn't find tool you were looking for?