databases

databases is a skill for Claude Code, Codex from VoDaiLocz/kilo-kit-mcp. It costs 86 tokens per session (1,822 once invoked), scanned B, original, Apache-2.0.

A guide to working with MongoDB and PostgreSQL databases. MongoDB stores flexible document records, while PostgreSQL stores structured relational data queried with SQL.

In plain words
What is it for?
It helps design schemas, write queries and data-processing pipelines, improve query performance, run migrations, configure deployments, and manage backups and permissions.
Why use it?
Database choices, queries, indexes, migrations, and production settings can cause slow requests or data-management problems when handled inconsistently. This guide covers both common database systems.

Skill for Claude CodeCodex

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

Good fit It helps design schemas, write queries and data-processing pipelines, improve query performance, run migrations, configure deployments, and manage backups and permissions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vodailocz/kilo-kit-mcp/databases
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 VoDaiLocz/kilo-kit-mcp --skill databases
Clone the repo
git clone --depth 1 https://github.com/VoDaiLocz/kilo-kit-mcp

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 databases

README.md
[![agentmods](https://agentmods.dev/badge/skills/vodailocz/kilo-kit-mcp/databases/github.svg)](https://agentmods.dev/skills/vodailocz/kilo-kit-mcp/databases)
Your own site
<a href="https://agentmods.dev/skills/vodailocz/kilo-kit-mcp/databases"><img src="https://agentmods.dev/badge/skills/vodailocz/kilo-kit-mcp/databases/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 databases

Your own site · 80×15
<a href="https://agentmods.dev/skills/vodailocz/kilo-kit-mcp/databases"><img src="https://agentmods.dev/badge/skills/vodailocz/kilo-kit-mcp/databases.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,822 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.00086 $0.01822
Opus 5.5 $0.00034 $0.00729
Sonnet 5.5 $0.00017 $0.00364
Haiku 4.5 $0.00009 $0.00182

Measured 2mo ago against content hash 0567d1899bd7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

databases 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 2mo ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/db_backup.py, scripts/db_migrate.py, scripts/db_performance_check.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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 apt-get install postgresql postgresql-contrib
skills/engineering/databases/SKILL.md · 233 lines

How it starts

The opening of the file, as written. The whole thing — 233 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Databases Skill

Unified guide for working with MongoDB (document-oriented) and PostgreSQL (relational) databases. Choose the right database for your use case and master both systems.

When to Use This Skill

Use when:

  • Designing database schemas and data models
  • Writing queries (SQL or MongoDB query language)
  • Building aggregation pipelines or complex joins
  • Optimizing indexes and query performance
  • Implementing database migrations
  • Setting up replication, sharding, or clustering
  • Configuring backups and disaster recovery
  • Managing database users and permissions
  • Analyzing slow queries and performance issues
  • Administering production database deployments

Database Selection Guide

Choose MongoDB When:

  • Schema flexibility: frequent structure changes, heterogeneous data
  • Document-centric: natural JSON/BSON data model
  • Horizontal scaling: need to shard across multiple servers
  • High write throughput: IoT, logging, real-time analytics
  • Nested/hierarchical data: embedded documents preferred
  • Rapid prototyping: schema evolution without migrations

Best for: Content management, catalogs, IoT time series, real-time analytics, mobile apps, user profiles

Choose PostgreSQL When:

  • Strong consistency: ACID transactions critical
  • Complex relationships: many-to-many joins, referential integrity
  • SQL requirement: team expertise, reporting tools, BI systems
  • Data integrity: strict schema validation, constraints
  • Mature ecosystem: extensive tooling, extensions
  • Complex queries: window functions, CTEs, analytical workloads

Best for: Financial systems, e-commerce transactions, ERP, CRM, data warehousing, analytics

Both Support:

  • JSON/JSONB storage and querying
  • Full-text search capabilities
  • Geospatial queries and indexing
  • Replication and high availability
  • ACID transactions (MongoDB 4.0+)
  • Strong security features

Quick Start

MongoDB Setup

# Atlas (Cloud) - Recommended
# 1. Sign up at mongodb.com/atlas
# 2. Create M0 free cluster
# 3. Get connection string

# Connection
mongodb+srv://user:[email protected]/db

# Shell
mongosh "mongodb+srv://cluster.mongodb.net/mydb"

# Basic operations
db.users.insertOne({ name: "Alice", age: 30 })
db.users.find({ age: { $gte: 18 } })
db.users.updateOne({ name: "Alice" }, { $set: { age: 31 } })
db.users.deleteOne({ name: "Alice" })

Read the full file on GitHub · 233 lines

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. 2mo ago First seen · 233 lines · 86 tokens per session scan B 0567d1899bd7

Subscribe to this mod's changes

databases is a skill published in the GitHub repository VoDaiLocz/kilo-kit-mcp (27 stars, last pushed 13d ago), licensed Apache-2.0. It adds 86 tokens to every session and 1,822 once invoked, about $0.0003 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-08-30.

Related

databases compared with skills from other repositories

databases next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
databasesVoDaiLocz/kilo-kit-mcpSkill2713d agoApache-2.0B86Claude Code, Codex
neon-postgreshybridlabor-api/bdb-dev-optimized-agent-skillsSkill65d agoApache-2.0A17Claude Code, Codex
moai-platform-database-cloudmodu-ai/moai-adkSkill1.3k4d agoApache-2.0A51Claude Code
ring:mapping-service-resourcesLerianStudio/ringSkill2186d agoApache-2.0A97Cursor
fastapi-init-skilljiushiwon/wg-skillsSkill134yesterdayApache-2.0A229Claude Code, Codex
database-experttravisjneuman/.claudeSkill1072d agoMITA36Claude Code, Codex
agent-database-experttravisjneuman/.claudeSkill1072d agoMITA49Claude Code