qmigrationdevcheck

qmigrationdevcheck is a skill for Claude Code from 3awny/qship. It costs 73 tokens per session (6,491 once invoked), scanned A, original, MIT.

A validator for Alembic database-migration chains. Alembic is a tool that records step-by-step changes to a database structure.

In plain words
What is it for?
Use it when files under alembic/versions/ change, across one or more configured repositories, to check the migration chain against the base branch.
Why use it?
It catches conflicting migration branches, broken links, cycles, and changes that may not apply cleanly before they are shipped.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

Part of the qship plugin — 22 skills, 1 agent, 1 hook shipped together

Good fit Use it when files under alembic/versions/ change, across one or more configured repositories, to check the migration chain against the base branch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/3awny/qship/qmigrationdevcheck
View source ↗ 3awny/qship
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 3awny/qship --skill qmigrationdevcheck
Clone the repo
git clone --depth 1 https://github.com/3awny/qship

Made for: Claude Code.

Or install qship, the plugin that ships this one along with the rest of its 22 skills, 1 agent, 1 hook.

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 qmigrationdevcheck

README.md
[![agentmods](https://agentmods.dev/badge/skills/3awny/qship/qmigrationdevcheck/github.svg)](https://agentmods.dev/skills/3awny/qship/qmigrationdevcheck)
Your own site
<a href="https://agentmods.dev/skills/3awny/qship/qmigrationdevcheck"><img src="https://agentmods.dev/badge/skills/3awny/qship/qmigrationdevcheck/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 qmigrationdevcheck

Your own site · 80×15
<a href="https://agentmods.dev/skills/3awny/qship/qmigrationdevcheck"><img src="https://agentmods.dev/badge/skills/3awny/qship/qmigrationdevcheck.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 73 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,491 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00073 $0.06491
Opus 5.5 $0.00029 $0.02596
Sonnet 5.5 $0.00015 $0.01298
Haiku 4.5 $0.00007 $0.00649

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

Security

Grade A, and why

qmigrationdevcheck scanned grade A with 0 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 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (qmigrationdevcheck/scripts/scan_orphan_tenants.py, qmigrationdevcheck/scripts/stamp_orphan_tenants.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

templates/skills/qmigrationdevcheck/SKILL.md · 480 lines

How it starts

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

Alembic Migration Chain Validator

You are validating that Alembic migrations on the current branch are compatible with develop — no multiple heads now, no multi-head after merge, no chain breaks, no {{COMPANY_SLUG}}-specific violations.

Multi-repo contract: This skill operates on the repos in $SKILLS_ROOT/qship/repos.json whose has_migrations flag is true. Single-repo users with one alembic chain get a degenerate-but-correct check (one repo in the iteration). Multi-repo users get full cross-schema validation. Resolve the list at the start of every invocation:

REPOS_WITH_MIGRATIONS=$(jq -r '.[] | select(.has_migrations==true) | .name' "$SKILLS_ROOT/qship/repos.json")

Input: $ARGUMENTS may contain:

  • A specific repo name (must match one of the has_migrations==true entries) or all (default — every flagged repo)
  • A caller flag: mode=qshipp2 (report-only) or mode=user (apply fixes, default)

Examples:

  • /qmigrationdevcheck → default user mode, all repos with has_migrations==true, applies fixes interactively
  • /qmigrationdevcheck <repo> → user mode, just that repo (must be flagged for migrations)
  • /qmigrationdevcheck mode=qshipp2 <repo> → invoked by /qshipp2; REPORT ONLY, do not apply fixes

Mode Semantics — READ FIRST

The caller mode fundamentally changes behaviour:

Mode Detection Fix application Output
user (default) Runs all checks Applies fixes interactively — confirms before risky changes Report + applied changes summary
qshipp2 Runs all checks NEVER applies fixes. Report-only. Report structured for the caller to post as a PR comment

In qshipp2 mode, skip Step 8 entirely. The orchestrator decides what to do with findings (post PR comment, block the pipeline, etc.).

In user mode, Step 8 is mandatory after any FAIL — detect-and-describe-without-fixing is not the point of the direct invocation.

Parse mode AND repo selector from $ARGUMENTS:

Read the full file on GitHub · 480 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago First seen · 480 lines · 73 tokens per session scan A 476676084184

Subscribe to this mod's changes

qmigrationdevcheck is a skill published in the GitHub repository 3awny/qship (2 stars, last pushed 3mo ago), licensed MIT. It adds 73 tokens to every session and 6,491 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.