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.
git clone --depth 1 https://github.com/thapaliyabikendra/ai-artifactsnpx agentmods add skills/thapaliyabikendra/ai-artifacts/dbmigrator-dockerfileWrote 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.
[](https://agentmods.dev/skills/thapaliyabikendra/ai-artifacts/dbmigrator-dockerfile)<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.
<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>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.05594 |
| Opus 5 | $0.00000 | $0.02797 |
| Sonnet 5 | $0.00000 | $0.01119 |
| Haiku 4.5 | $0.00000 | $0.00559 |
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 6d 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/* 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)
Jobmanifest for one-time migrationCronJobmanifest for scheduled migrations- ConfigMap for appsettings
- Secret for connection strings
- ServiceAccount with proper RBAC
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.
- 6d ago First seen · 794 lines · 0 tokens per session scan D e0ca72f415e8
dbmigrator-dockerfile is a skill published in the GitHub repository thapaliyabikendra/ai-artifacts (24 stars, last pushed 5mo 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.
Other skills, from other repositories
deployment
Deploy Memoria with Docker Compose or Kubernetes. Environment variables, multi-instance setup, security. Use when deploying or configuring Memoria.
polar-local-environment
This skill should be used when setting up or managing Polar local development environment with Docker.
qdrant-deployment-options
Guides Qdrant deployment selection. Use when someone asks 'how to deploy Qdrant', 'Docker vs Cloud', 'local mode', 'embedded Qdrant', 'Qdrant EDGE', 'which deployment option', 'self-hosted vs cloud', or 'need lowest latency deployment'. Also use when choosing between deployment types for a new project.
azuresql-db-container
Runs the Azure SQL Database container (the Azure SQL Database engine) locally (Private Preview): the real PaaS engine where SERVERPROPERTY('EngineEdition') returns 5 and Edition is 'SQL Azure'. This is NOT the SQL Server image mcr.microsoft.com/mssql/server. Use when a user wants to "run Azure SQL locally", "add a…
azuresql-db-from-sql-server
Migrates a local SQL Server setup to the Azure SQL Database container for Azure-faithful local development. Use when a project already uses mcr.microsoft.com/mssql/server, mssql/server, an sqlcmd plus SA password docker setup, a "SQL Server in docker" or "local mssql container", or a docker-compose with the…
azuresql-db-schema-migration
Runs database schema migrations against the local Azure SQL Database container so the same migrations apply identically on the local engine and in the Azure cloud. Use when asked to "run my migrations against the local SQL", "apply schema to the container", "apply EF Core / dotnet ef database update", "Prisma migrate…