mongodb-install-skill

mongodb-install-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 51 tokens per session (697 once invoked), scanned B, original, Apache-2.0.

An installation skill for setting up MongoDB, a document-oriented database, on a target machine. It supports package-manager or Docker installation for MongoDB 6.0 or 7.0, with checks to avoid repeating an existing setup.

In plain words
What is it for?
Use it to install MongoDB on Ubuntu, Debian, CentOS, RHEL, macOS or Windows, or to run it with Docker. It provides follow-up steps for starting the service, enabling authentication and changing or resetting passwords.
Why use it?
It guides operating-system detection, installation choices and required password entry instead of leaving these steps to memory. It also separates installation from later database initialisation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to install MongoDB on Ubuntu, Debian, CentOS, RHEL, macOS or Windows, or to run it with Docker. It provides follow-up steps for starting the service, enabling authentication and changing or resetting passwords.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/mongodb-install-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jiushiwon/wg-skills --skill mongodb-install-skill
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mongodb-install-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/mongodb-install-skill/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/mongodb-install-skill)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/mongodb-install-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/mongodb-install-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mongodb-install-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/mongodb-install-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/mongodb-install-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 697 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00697
Opus 5.5 $0.00020 $0.00279
Sonnet 5.5 $0.00010 $0.00139
Haiku 4.5 $0.00005 $0.00070

Measured 21d ago against content hash 4196b84fd39e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

mongodb-install-skill scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 21d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- [ ] 启动服务: sudo systemctl start mongod
vibeCoding/super-deploy-skills/database-install-skill/children/mongodb-install-skill/SKILL.md · 97 lines

What it actually says

MongoDB Install Skill

Overview

本技能负责在目标服务器上安装 MongoDB。支持多种安装方式,强制获取密码,幂等检测。

When to Use

触发词:

  • 安装 MongoDB
  • 装 Mongo
  • install mongodb

交互流程

1. 检测当前系统(OS + 版本 + 包管理器)
2. 询问安装方式(包管理器 / Docker)
3. 询问版本(7.0 / 6.0)
4. [强制] 获取数据库 root 密码 → 不输入则拒绝
5. 执行安装(幂等)
6. 不执行初始化,输出初始化清单
7. 输出修改密码和重置密码脚本

安装方式

包管理器安装

OS 安装命令
Ubuntu/Debian 添加 MongoDB apt 仓库 + apt install mongodb-org
CentOS/RHEL 添加 MongoDB yum 仓库 + dnf install mongodb-org
macOS brew install mongodb-community
Windows winget install MongoDB.Server

Docker 安装

docker pull mongo:7.0

版本选择

  • MongoDB 7.0(推荐)
  • MongoDB 6.0

密码安全

  • 强制获取密码:不输入密码则直接拒绝安装
  • 不显示输入:交互式输入时不显示密码
  • 不记录密码:不将密码写入脚本或日志

输出

# MongoDB 安装完成

## 系统信息
- OS: Ubuntu 22.04 LTS
- 包管理器: apt

## 安装结果
- 版本: MongoDB 7.0.5
- 安装方式: apt
- 状态: ✅ 已安装

## 下一步(手动执行)
- [ ] 启动服务: sudo systemctl start mongod
- [ ] 启用认证

## 初始化清单
- [ ] 1. 启动 MongoDB 服务
- [ ] 2. 创建管理员用户
- [ ] 3. 启用认证
- [ ] 4. 创建业务数据库和用户

## 修改密码脚本
mongosh admin --eval "db.changeUserPassword('admin', '新密码');"

## 忘记密码急救脚本
sudo systemctl stop mongod
sudo mongod --dbpath /var/lib/mongodb --port 27017 --bind_ip 127.0.0.1 --auth false &
mongosh admin --eval "db.updateUser('admin', {pwd: '新密码'});"

Resources

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 21d ago First seen · 97 lines · 51 tokens per session scan B 4196b84fd39e

Subscribe to this mod's changes

mongodb-install-skill is a skill published in the GitHub repository jiushiwon/wg-skills (120 stars, last pushed 7d ago), licensed Apache-2.0. It adds 51 tokens to every session and 697 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-30.

Related

Other skills, from other repositories

dbx

Use the DBX CLI to inspect DBX-managed database connections, explore schemas, run bounded read-only queries, generate DBML or schema documentation, and open tables in DBX Desktop. Use when the user asks to work with a database configured in DBX from a shell-capable AI agent. Never enable writes unless the user…

t8y2/dbx · 74 tokens

prisma-mongodb-upgrade

Decision and migration guide for Prisma ORM MongoDB projects on v6, which have no upgrade path to v7. Use when a MongoDB project asks about upgrading Prisma, when "upgrade to prisma 7" comes up in a project with provider = "mongodb", or when evaluating a move to Prisma Next. Triggers on "upgrade prisma mongodb"…

nitrocloudofficial/nitrostack · 95 tokens

byted-volcengine-mongodb

An operations tool for Volcengine MongoDB, a document database that stores data in flexible, JSON-like records. It can query managed MongoDB instances and return details for further explanation or diagnosis.

bytedance/agentkit-samples · 82 tokens

mongodb-connection

Optimize MongoDB client connection configuration (pools, timeouts, patterns) for any supported driver language. Use this skill when working/updating/reviewing on functions that instantiate or configure a MongoDB client (eg, when calling connect()), configuring connection pools, troubleshooting connection errors…

fcakyon/claude-codex-settings · 122 tokens

mongodb-schema-design

MongoDB schema design patterns and anti-patterns. Use when designing data models, reviewing schemas, migrating from SQL, or troubleshooting performance issues caused by schema problems. Triggers on "design schema", "embed vs reference", "MongoDB data model", "schema review", "unbounded arrays", "one-to-many", "tree…

fcakyon/claude-codex-settings · 127 tokens

commerce-app-storage

Integrate App Builder Database Storage (@adobe/aio-lib-db) into an Adobe Commerce app and scaffold a runtime action that reads and writes documents. Use when the user wants persistent, queryable storage backing a Commerce app — either from a web action (HTTP-invokable) or from an event/webhook handler. Requires a base…

adobe/skills · 78 tokens