managed-db-services

managed-db-services is a skill for Claude Code, Codex from digitalocean-labs/do-app-platform-skills. It costs 46 tokens per session (2,831 once invoked), scanned A, original, MIT.

Instructions for configuring DigitalOcean’s managed MySQL, MongoDB, Valkey, Kafka, and OpenSearch services for App Platform applications. These are hosted services for databases, caching, message streaming, and search.

In plain words
What is it for?
It is for setting up non-PostgreSQL services, configuring allowed connections, and troubleshooting their connectivity from App Platform.
Why use it?
It helps avoid connection and deployment problems caused by network rules, trusted sources, build-time access, and service-specific limits.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is **Tip**: For complex multi-step deployments, use the **planner** skill. For an overview of all skills, see [root SKILL.md](../../SKILL.md)..

Good fit It is for setting up non-PostgreSQL services, configuring allowed connections, and troubleshooting their connectivity from App Platform.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/digitalocean-labs/do-app-platform-skills
agentmods
npx agentmods add skills/digitalocean-labs/do-app-platform-skills/managed-db-services

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 managed-db-services

README.md
[![agentmods](https://agentmods.dev/badge/skills/digitalocean-labs/do-app-platform-skills/managed-db-services/github.svg)](https://agentmods.dev/skills/digitalocean-labs/do-app-platform-skills/managed-db-services)
Your own site
<a href="https://agentmods.dev/skills/digitalocean-labs/do-app-platform-skills/managed-db-services"><img src="https://agentmods.dev/badge/skills/digitalocean-labs/do-app-platform-skills/managed-db-services/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 managed-db-services

Your own site · 80×15
<a href="https://agentmods.dev/skills/digitalocean-labs/do-app-platform-skills/managed-db-services"><img src="https://agentmods.dev/badge/skills/digitalocean-labs/do-app-platform-skills/managed-db-services.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,831 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00046 $0.02831
Opus 5 $0.00023 $0.01416
Sonnet 5 $0.00009 $0.00566
Haiku 4.5 $0.00005 $0.00283

Measured 10d ago against content hash 4b0ae38d4dec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

managed-db-services scanned grade A with 0 findings 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 10d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/managed-db-services/SKILL.md · 339 lines

How it starts

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

Managed Database Services Skill

Configure DigitalOcean Managed MySQL, MongoDB, Valkey (Redis), Kafka, and OpenSearch for App Platform applications.

Quick Decision

Which database engine?
├── PostgreSQL    → Use the postgres skill instead
├── MySQL         → See reference/mysql.md
├── MongoDB       → See reference/mongodb.md
├── Valkey/Redis  → See reference/valkey.md
├── Kafka         → See reference/kafka.md (⚠️ trusted sources limitations)
└── OpenSearch    → See reference/opensearch.md

Tip: For complex multi-step deployments, use the planner skill. For an overview of all skills, see root SKILL.md.


Critical Constraints

Constraint Impact
Dev databases PostgreSQL only — MySQL/MongoDB/Kafka/OpenSearch require production: true
Build-time DB access ❌ Trusted sources block build phase — use PRE_DEPLOY job for migrations
Kafka trusted sources IP-based only (ip_addr:); app-based (app:) NOT supported
OpenSearch logging ❌ NOT supported with trusted sources enabled
MongoDB db_name Cannot contain capital letters in app spec

Trusted Sources Quick Reference

Network Mode Rule Type Supported Engines
Public app:$APP_ID MySQL, MongoDB, Valkey, OpenSearch
Public app:$APP_ID ❌ Kafka (not supported)
VPC ip_addr:<vpc-cidr> All engines
VPC app:$APP_ID ❌ None (app rules whitelist public IP only)

VPC deployments: Use VPC CIDR (ip_addr:10.126.0.0/20) — simpler than per-app IPs.

See networking skill - Trusted Sources for complete configuration.


Bindable Variables (All Engines)

databases:
  - name: db                      # Component name (used in ${db.VAR_NAME})
    engine: <ENGINE>              # MYSQL, MONGODB, REDIS, KAFKA, OPENSEARCH
    production: true              # REQUIRED for bindable variables
    cluster_name: my-cluster      # Must match existing cluster name
    db_name: myappdb              # Database within cluster (where applicable)
    db_user: myappuser            # User created via doctl

Read the full file on GitHub · 339 lines

Files

What ships with it

6 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. 10d ago First seen · 339 lines · 46 tokens per session scan A 4b0ae38d4dec

Subscribe to this mod's changes

managed-db-services is a skill published in the GitHub repository digitalocean-labs/do-app-platform-skills (36 stars, last pushed 4d ago), licensed MIT. It adds 46 tokens to every session and 2,831 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

hunt-nosqli

Hunt NoSQL Injection — MongoDB operator injection ($where, $regex, $gt, $ne), CouchDB, Redis command injection, auth bypass via NoSQLi, data dump. Use when target uses MongoDB/Mongoose, CouchDB, Redis, or shows NoSQL error messages.

uphiago/recon-skills · 64 tokens

mongo-migration

MongoDB schema migration safety reviewer and migration script generator. ALWAYS use when writing, reviewing, or planning MongoDB schema changes — field additions/removals, index builds, schema validator changes, document type migrations, shard key modifications, or any bulk update touching production collections.…

johnqtcg/awesome-skills · 140 tokens

redis-cache-strategy

Redis caching strategy designer and reviewer. ALWAYS use when designing, reviewing, or troubleshooting Redis caching layers — cache pattern selection (cache-aside, write-through, write-behind), TTL strategy, cache stampede/penetration/avalanche prevention, hot key handling, cache-DB consistency, distributed locking…

johnqtcg/awesome-skills · 113 tokens

api-database-mongodb

Native MongoDB driver (the mongodb npm package) - MongoClient lifecycle, typed collections, CRUD result shapes, cursors, aggregation pipelines, index design, transactions.

agents-inc/skills · 38 tokens

api-database-redis

Redis in-memory data store patterns with ioredis and node-redis -- caching, sessions, rate limiting, pub/sub, streams, queues, transactions, cluster.

agents-inc/skills · 38 tokens

api-caching-strategies

Application-level caching strategies, HTTP caching, cache invalidation, and stampede prevention.

agents-inc/skills · 23 tokens