{"schemaVersion":"opencli.cli.v1","slug":"dbmate","name":"dbmate","shortName":"dbmate","binaryName":"dbmate","maker":{"slug":"amacneil","name":"amacneil","type":"individual","url":"https://github.com/amacneil","officialPlatformMaker":false,"featuredBuilder":false},"category":"Database","description":"SQL migrations, simple db workflows, and multiple databases from the terminal. Built by amacneil.","tagline":"SQL migrations, simple db workflows, and multiple databases from the terminal.","install":{"packageManager":"brew","command":"brew install dbmate","packageName":null,"npmPackage":null,"brewFormula":"dbmate","brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"dbmate --version","signal":"dbmate responds locally and is ready for the first real command."},"quickStart":"dbmate new create_users_table","exampleWorkflow":["dbmate new create_users_table"],"agent":{"readiness":{"label":"Usable with guardrails","score":50,"reasons":["Supports non-interactive/scripted use.","Works well in CI or repeatable automation."],"guardrails":["Prefer small commands and ask the agent to summarize plain text output.","Require confirmation before apply, delete, deploy, transfer, merge, or write actions."]},"packUrl":"https://opencli.co/cli/dbmate/agent.md","packMarkdown":"# OpenCLI Agent Pack: dbmate\n\nUse this when an AI agent needs to work with `dbmate`.\n\n## What this CLI is for\nSQL migrations, simple db workflows, and multiple databases from the terminal. Built by amacneil.\n\nBest for: sql migrations, simple db workflows, and multiple databases from the terminal.\n\n## Agent readiness\nUsable with guardrails (50/100)\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n\n## Install\n```sh\nbrew install dbmate\n```\n\n## Verify before real work\n```sh\ndbmate --version\n```\nExpected signal: dbmate responds locally and is ready for the first real command.\n\n## Safe starting commands\n```sh\ndbmate --version\n```\n\n```sh\ndbmate new create_users_table\n```\n\n## Guardrails for agents\n- Prefer small commands and ask the agent to summarize plain text output.\n- Require confirmation before apply, delete, deploy, transfer, merge, or write actions.\n\n## Suggested agent instruction\nYou may use dbmate (`dbmate`) for sql migrations, simple db workflows, and multiple databases from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"sql migrations, simple db workflows, and multiple databases from the terminal.","useThisIf":"You need databases in both local dev and CI.","skipIf":"You don't work with databases.","whatHappensNext":"Run `dbmate new create_users_table` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":false,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":true,"localFirst":false,"destructivePotential":"high"},"taxonomy":{"useCases":["SQL migrations","Simple DB workflows","Multiple databases"],"aliases":["database migrations"],"keywords":["migrations postgres mysql sqlite"],"tags":["builder","agent-friendly","ci-friendly"]},"links":{"website":"https://github.com/amacneil/dbmate","github":"https://github.com/amacneil/dbmate","docs":"https://github.com/amacneil/dbmate","opencli":"https://opencli.co/cli/dbmate","markdown":"https://opencli.co/cli/dbmate/agent.md","json":"https://opencli.co/cli/dbmate.json"},"metrics":{"githubStars":6937,"latestRelease":"2026-05-24T05:45:47Z","license":"MIT","metricLabel":"Homebrew installs (30d)","metricValue":485,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:55.934Z"}}