Skip to content
Back to skills

Dbmate Lightweight Database Migration Cli

ASecurity

dbmate is a standalone, framework-agnostic database migration tool that uses plain SQL files. It supports PostgreSQL, MySQL, SQLite, ClickHouse, BigQuery, and Spanner, and works with any programming language or framework.

  • 67 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added June 8, 2026
ai-agentspythonrustgorubyphpc++sqlnodedockergit

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned June 8, 2026

npx -y skills add agentskillexchange/skills --skill dbmate-lightweight-database-migration-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dbmate Lightweight Database Migration Cli?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dbmate Lightweight Database Migration Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/agentskillexchange-dbmate-lightweight-database-migration-cli/badge)](https://www.skillsdirectory.com/skills/agentskillexchange-dbmate-lightweight-database-migration-cli)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: "dbmate Lightweight Database Migration CLI"
slug: "dbmate-lightweight-database-migration-cli"
description: "dbmate is a standalone, framework-agnostic database migration tool that uses plain SQL files. It supports PostgreSQL, MySQL, SQLite, ClickHouse, BigQuery, and Spanner, and works with any programming language or framework."
github_stars: 6801
verification: "security_reviewed"
source: "https://github.com/amacneil/dbmate"
category: "Developer Tools"
framework: "Custom Agents"
tool_ecosystem:
  github_repo: "amacneil/dbmate"
  github_stars: 6801
  npm_package: "dbmate"
  npm_weekly_downloads: 99225
---

# dbmate Lightweight Database Migration CLI

dbmate is a standalone, framework-agnostic database migration tool that uses plain SQL files. It supports PostgreSQL, MySQL, SQLite, ClickHouse, BigQuery, and Spanner, and works with any programming language or framework.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install --save-dev dbmate
- npx dbmate --help
- brew install dbmate
- Docker images are published to GitHub Container Registry ([ghcr.io/amacneil/dbmate](https://ghcr.io/amacneil/dbmate)).

Requirements and caveats from upstream:
- It is a standalone command line tool that can be used with Go, Node.js, Python, Ruby, PHP, Rust, C++, or any other language or framework you are using to write database-backed applications. This is especially helpful...
- **Docker**
- Remember to set --network=host or see [this comment](https://github.com/amacneil/dbmate/issues/128#issuecomment-615924611) for more tips on using dbmate with docker networking):

Basic usage or getting-started notes:
- [Usage](#usage)
- Migrations are run atomically inside a transaction
- **NPM**

- Source: https://github.com/amacneil/dbmate
- Extracted from upstream docs: https://raw.githubusercontent.com/amacneil/dbmate/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/dbmate-lightweight-database-migration-cli/)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.