Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

managed-db-services

Skill by digitalocean-labs

Configures DigitalOcean Managed MySQL, MongoDB, Valkey, Kafka and OpenSearch for App Platform apps. It covers setup, trusted sources and connectivity troubleshooting for non-PostgreSQL databases.

  • Score 73
  • 38 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install managed-db-services

Built from the published package, never by AI.

git clone --depth 1 https://github.com/digitalocean-labs/do-app-platform-skills /tmp/do-app-platform-skills && mkdir -p ~/.claude/skills && cp -r /tmp/do-app-platform-skills/skills/managed-db-services ~/.claude/skills/managed-db-services

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install managed-db-services in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The managed-db-services skill guides an AI assistant through setting up DigitalOcean Managed MySQL, MongoDB, Valkey, Kafka and OpenSearch databases for App Platform applications. It covers creating clusters, databases and users with doctl, adding trusted sources, and writing the databases block in an app spec with bindable variables such as DATABASE_URL and HOSTNAME.

It also lists engine-specific constraints. For example, Kafka does not support app-based trusted source rules, and OpenSearch logging does not work with trusted sources enabled. It includes a troubleshooting table for errors such as connection refused, access denied and SSL required. PostgreSQL is handled by a separate postgres skill. This skill is aimed at straightforward single-database setups.

Written from the project's SKILL.md and checked against it.

What it can do

  • MySQL setupCreates MySQL clusters, databases and users with doctl and binds them in app specs.
  • MongoDB setupConfigures MongoDB connections with TLS and authSource settings.
  • Valkey setupConfigures Valkey (Redis) clusters using rediss:// SSL connections.
  • Kafka setupCreates Kafka clusters and topics and binds broker, credential and CA cert variables.
  • OpenSearch setupConfigures OpenSearch clusters with basic auth connection URLs.
  • Trusted sourcesAdds app or IP rules to database firewalls using doctl commands.
  • Connectivity troubleshootingExplains common errors such as connection refused, access denied and SSL required.

What you need

  • doctl CLI version 1.82.0 or later
  • DigitalOcean App Platform app
  • DigitalOcean Managed Databases cluster

Try asking

  • Set up a managed MySQL database for my App Platform API service
  • Add my App Platform app to the trusted sources of my Kafka cluster
  • Why does my app get connection refused when it connects to Valkey?

Good to know

  • Dev databases are PostgreSQL only; other engines need production: true
  • Trusted sources block build-time database access; use a PRE_DEPLOY job for migrations
  • Kafka supports only IP-based trusted source rules
  • MongoDB db_name cannot contain capital letters in the app spec

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/managed-db-services/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to managed-db-services

All alternatives →
hugging-face-datasetssickn33
94

Creates, configures and manages datasets on the Hugging Face Hub, including SQL-based querying and transformation. Built for people who edit dataset content and metadata directly, alongside the HF MCP server.

AAA Skill 50k
db-repairgarrytan
94

Diagnoses and repairs gbrain's Postgres access when a command or MCP result shows a GBRAIN_DB_ACCESS marker, or when the operator reports the brain database is down. It runs the hardcoded gbrain db-repair ladder and verifies the result with a re-probe.

AAA Skill 34k
alloydb-basicsgoogle
94

Manages clusters, instances, and backups for AlloyDB for PostgreSQL. Built for creating, configuring, and administering AlloyDB databases, not general PostgreSQL or Cloud SQL instances.

AAA Skill 26k
clickhouse-logs-queriessupabase
94

Writes, reviews and migrates Supabase logs queries against the ClickHouse logs table served by the logs.all.otel endpoint. Built for developers who write Logs Explorer SQL or convert older BigQuery logs queries.

AAA Skill 116k
fix-slow-queriespaperclipai
94

Diagnoses and fixes slow Paperclip PostgreSQL queries using Cloud and Neon evidence, local benchmarks, regression tests, and a pull request with passing checks. Built for engineers working on Paperclip.

AAA Skill 119k
prisma-8prisma
94

Guides AI assistants through Prisma 8 projects built on @prisma/orm-postgres, @prisma/orm-sqlite, or @prisma/orm-mongo. It covers data contracts, migrations, typed queries and runtime setup for developers on Prisma 8.

AAA Skill 48k

Compare with hugging-face-datasets, db-repair or alloydb-basics

managed-db-services: common questions

Does this skill support PostgreSQL?

No. The source says to use the postgres skill for PostgreSQL. This skill covers MySQL, MongoDB, Valkey, Kafka and OpenSearch.

Why do bindable variables return public hostnames when VPC is enabled?

The source says bindable variables return public hostnames even with VPC enabled. For private endpoints, it suggests adding separate *_PRIVATE_* environment variables with hardcoded private hostnames.

Can I use app trusted source rules with Kafka?

No. The source states that Kafka does not support app:$APP_ID trusted source rules and needs IP-based rules, VPC, or trusted sources disabled.

How do I install managed-db-services?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is managed-db-services free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is managed-db-services safe to use?

It scores 73 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to managed-db-services?

Similar skills: hugging-face-datasets, db-repair, alloydb-basics, clickhouse-logs-queries.

managed-db-services Install

Add to stack

Loading.