dbmigrator-dockerfile

dbmigrator-dockerfile is a skill for Claude Code from thapaliyabikendra/ai-artifacts. It costs 0 tokens per session (5,594 once invoked), scanned D, original, Apache-2.0.

A guide for packaging an ABP Framework database-migration program as Docker containers. DbMigrator is a separate .NET program that updates database structure and adds starting data.

In plain words
What is it for?
Use it to create Dockerfiles, Docker Compose setups, and scheduled or pipeline-based database migration jobs.
Why use it?
It provides repeatable migration setup across development, testing, production, and automated deployment environments.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is /dbmigrator-docker-config --compose --environment Staging --output ./infra/docker.

Good fit Use it to create Dockerfiles, Docker Compose setups, and scheduled or pipeline-based database migration jobs.

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/thapaliyabikendra/ai-artifacts
agentmods
npx agentmods add skills/thapaliyabikendra/ai-artifacts/dbmigrator-dockerfile

Made for: Claude Code.

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 dbmigrator-dockerfile

README.md
[![agentmods](https://agentmods.dev/badge/skills/thapaliyabikendra/ai-artifacts/dbmigrator-dockerfile/github.svg)](https://agentmods.dev/skills/thapaliyabikendra/ai-artifacts/dbmigrator-dockerfile)
Your own site
<a href="https://agentmods.dev/skills/thapaliyabikendra/ai-artifacts/dbmigrator-dockerfile"><img src="https://agentmods.dev/badge/skills/thapaliyabikendra/ai-artifacts/dbmigrator-dockerfile/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 dbmigrator-dockerfile

Your own site · 80×15
<a href="https://agentmods.dev/skills/thapaliyabikendra/ai-artifacts/dbmigrator-dockerfile"><img src="https://agentmods.dev/badge/skills/thapaliyabikendra/ai-artifacts/dbmigrator-dockerfile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,594 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. 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.00000 $0.05594
Opus 5.5 $0.00000 $0.02238
Sonnet 5.5 $0.00000 $0.01119
Haiku 4.5 $0.00000 $0.00559

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

Security

Grade D, and why

dbmigrator-dockerfile scanned grade D with 2 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 3mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo chown -R 1000:1000 ./logs

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

RUN apt-get update && apt-get install -y postgresql-client && rm -rf /var/lib/apt/lists/*
.claude/skills/dbmigrator-dockerfile/SKILL.md · 794 lines

How it starts

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

DbMigrator Docker Configuration Skill

Overview

This skill generates production-ready Docker configurations for ABP Framework DbMigrator projects. It creates optimized Dockerfile, docker-compose.yml, and supporting configuration files for containerizing database migration tasks.

Purpose

DbMigrator is a standalone .NET application that applies database migrations and seed data. Containerizing it provides:

  • Consistent migration execution across environments
  • Isolated database operations with proper dependency management
  • Scheduled migrations via Kubernetes CronJobs or Docker schedules
  • Reproducible database setup for new environments
  • CI/CD integration for automated deployments

When to Use

✅ Containerize a DbMigrator for:

  • Kubernetes deployments (as CronJob or Job)
  • Docker Compose development environments
  • CI/CD pipelines (GitHub Actions, GitLab CI, Azure DevOps)
  • Multi-environment deployments (Dev/Staging/Prod)
  • Air-gapped or isolated network environments

❌ Skip containerization if:

  • Running migrations manually from developer machine only
  • Using alternative migration tools (Flyway, Liquibase, EF Core CLI)
  • Database is read-only or cannot be modified

What the Skill Generates

Depending on options, the skill creates:

1. Dockerfile

  • Multi-stage build for minimal final image
  • Non-root user for security
  • Proper .NET runtime configuration
  • Health check for container readiness
  • Logging configuration (Serilog to stdout/stderr)
  • Environment variable support

2. docker-compose.yml

  • Service definition for DbMigrator
  • Network configuration (bridge or host)
  • Volume mounts for logs, configuration
  • Environment variable injection
  • Restart policy (none for one-off migrations)
  • Dependency on database service

3. Kubernetes Manifests (optional)

  • Job manifest for one-time migration
  • CronJob manifest for scheduled migrations
  • ConfigMap for appsettings
  • Secret for connection strings
  • ServiceAccount with proper RBAC

Read the full file on GitHub · 794 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. 3mo ago First seen · 794 lines · 0 tokens per session scan D e0ca72f415e8

Subscribe to this mod's changes

dbmigrator-dockerfile is a skill published in the GitHub repository thapaliyabikendra/ai-artifacts (25 stars, last pushed 8mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 5,594 tokens. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

dbmigrator-dockerfile compared with skills from other repositories

dbmigrator-dockerfile next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dbmigrator-dockerfilethapaliyabikendra/ai-artifactsSkill258mo agoApache-2.0D0Claude Code
deploymentmatrixorigin/memoriaSkill6317d agoApache-2.0A28Claude Code, Codex
polar-local-environmentfcakyon/claude-codex-settingsSkill1.2ktodayApache-2.0A22Claude Code
postgres-container-opsfmflurry/harness-manifestoSkill17214d agoMITA176Claude Code
postgres-health-checkfmflurry/harness-manifestoSkill17214d agoMITA143Claude Code
postgres-backup-restorefmflurry/harness-manifestoSkill17214d agoMITA138Claude Code
database-install-skilljiushiwon/wg-skillsSkill1549d agoApache-2.0A63Claude Code, Codex