migration-helper

migration-helper is a skill for Claude Code, Codex from pilinux/gorest. It costs 26 tokens per session (328 once invoked), scanned A, original, MIT.

A guide for planning database changes in applications using GORM, a Go library that maps code models to database tables. It estimates the SQL schema changes and outlines safer migration steps.

In plain words
What is it for?
Reviewing GORM model changes, mapping them to database definition changes, planning backups and rollout steps, and verifying migrations.
Why use it?
It helps reveal risky changes such as deleting columns, narrowing types, or changing indexes before they affect data. It also identifies checks for local and staging environments.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Reviewing GORM model changes, mapping them to database definition changes, planning backups and rollout steps, and verifying migrations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pilinux/gorest/migration-helper
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 pilinux/gorest --skill migration-helper
Clone the repo
git clone --depth 1 https://github.com/pilinux/gorest

Made for: Claude Code, Codex.

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 migration-helper

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/pilinux/gorest/migration-helper"><img src="https://agentmods.dev/badge/skills/pilinux/gorest/migration-helper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 328 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00026 $0.00328
Opus 5 $0.00013 $0.00164
Sonnet 5 $0.00005 $0.00066
Haiku 4.5 $0.00003 $0.00033

Measured 9d ago against content hash d78a22a97581, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

migration-helper 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 9d 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.

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.

.agents/skills/migration-helper/SKILL.md · 47 lines

What it actually says

Migration Helper

When to Use

  • A model change (field add/remove/type change) or migration code is proposed and you need a safe rollout plan.

Rules

  • Start with a non-destructive assessment and clearly call out destructive operations (drops, type narrows, index changes).
  • Recommend backups, staging verification, and zero-downtime considerations for risky changes.

Project-Specific Paths

  • Core migration: database/migrate/
  • Example app migration: example2/internal/database/migrate/
  • Core models: database/model/ (Auth, TwoFA, TwoFABackup, TempEmail)

Workflow

  1. Locate migration entrypoints in the paths above.
  2. Map model edits to likely DDL changes and affected queries.
  3. Recommend migration steps and verification commands (local + staging).

Output

  • Affected models: path:line entries.
  • Schema updates: likely DDL changes and risk level (low/medium/high).
  • Verification: steps and test commands.

Examples

  • "Adding a Role field to Auth model - what migration is needed?"
  • "Changing IDAuth from uint64 to uint32 - what are the risks?"
  • db-infra-mocks, test-runner, patch-applier
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. 9d ago First seen · 47 lines · 26 tokens per session scan A d78a22a97581

Subscribe to this mod's changes

migration-helper is a skill published in the GitHub repository pilinux/gorest (504 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 328 once invoked, about $0.0001 per session on Opus 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-30.

Related

Other skills, from other repositories

pi-loop-forensics

Diagnose pi-go agent loops and degenerate turns — "agent loop aborted", runaway thinking with no tool calls, repeated phrases. Discriminates genuine model repetition collapse from a race, a tool-parse failure, or a too-low guard, and A/B replays a seed session across providers.

dimetron/pi-go · 65 tokens

nightly-session-watch

Nightly sweep of the last 24h of pi-go sessions — anomalous runs, loop aborts, tool error rates, token waste, real prompt-token spend, and whether the observation and palace pipelines are still recording. Triages each finding to the specialist skill that diagnoses it. Use for an unattended daily health check, or on…

dimetron/pi-go · 78 tokens

memory-status

Show MemPalace memory system status — drawer counts, wings, rooms, knowledge graph stats, and embedding model state.

dimetron/pi-go · 27 tokens

code-review-pi

Review code for quality, run linters, check test coverage, fix issues, and enforce gates. Save the final report to ./specs/issues/003-code-review-pi/PROMPT.md. Use before committing changes.

dimetron/pi-go · 50 tokens

code-review

Structured code review prompt with language and focus area.

gridctl/gridctl · 12 tokens

agentic-tool-design

Use when designing or reviewing the tools an LLM agent will call — choosing tool boundaries, argument and result shapes, retrieval/search/get decompositions, MCP or goa-ai toolset surfaces — or when an agent misuses existing tools (wrong tool picked, IDs carried between calls, wrong dates computed, confident answers…

goadesign/goa-ai · 71 tokens