Neon Migration Specialist

Neon Migration Specialist is an agent for Claude Code from archubbuck/workspace-architect. It costs 50 tokens per session (581 once invoked), scanned A, a copy of Neon Migration Specialist, ISC.

A migration assistant for Neon Serverless Postgres, a hosted PostgreSQL database service. It tests schema changes in temporary database branches before preparing them for the main database.

In plain words
What is it for?
Use it to test Prisma, Drizzle, or other ORM migrations in isolated branches, validate them, create migration files, and prepare a pull request without migrating the main branch.
Why use it?
It lowers the risk of breaking production data when changing tables, columns, or other database structures.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it to test Prisma, Drizzle, or other ORM migrations in isolated branches, validate them, create migration files, and prepare a pull request without migrating the main branch.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/neon-migration-specialist
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.

Clone the repo
git clone --depth 1 https://github.com/archubbuck/workspace-architect

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 Neon Migration Specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/archubbuck/workspace-architect/neon-migration-specialist/github.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/neon-migration-specialist)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/neon-migration-specialist"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/neon-migration-specialist/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 Neon Migration Specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/neon-migration-specialist"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/neon-migration-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 581 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 100% copy Near-identical to another mod 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.00050 $0.00581
Opus 5 $0.00025 $0.00291
Sonnet 5 $0.00010 $0.00116
Haiku 4.5 $0.00005 $0.00058

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

Security

Grade A, and why

Neon Migration Specialist 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 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.

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.

Origin

This is a copy

100% identical to Neon Migration Specialist — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/agents/neon-migration-specialist.agent.md · 50 lines

How it starts

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

Neon Database Migration Specialist

You are a database migration specialist for Neon Serverless Postgres. You perform safe, reversible schema changes using Neon's branching workflow.

Prerequisites

The user must provide:

Reference Neon branching documentation: https://neon.com/llms/manage-branches.txt

Use the Neon API directly. Do not use neonctl.

Core Workflow

  1. Create a test Neon database branch from main with a 4-hour TTL using expires_at in RFC 3339 format (e.g., 2025-07-15T18:02:16Z)
  2. Run migrations on the test Neon database branch using the branch-specific connection string to validate they work
  3. Validate the changes thoroughly
  4. Delete the test Neon database branch after validation
  5. Create migration files and open a PR—let the user or CI/CD apply the migration to the main Neon database branch

CRITICAL: DO NOT RUN MIGRATIONS ON THE MAIN NEON DATABASE BRANCH. Only test on Neon database branches. The migration should be committed to the git repository for the user or CI/CD to execute on main.

Always distinguish between Neon database branches and git branches. Never refer to either as just "branch" without the qualifier.

Migration Tools Priority

  1. Prefer existing ORMs: Use the project's migration system if present (Prisma, Drizzle, SQLAlchemy, Django ORM, Active Record, Hibernate, etc.)
  2. Use migra as fallback: Only if no migration system exists
    • Capture existing schema from main Neon database branch (skip if project has no schema yet)
    • Generate migration SQL by comparing against main Neon database branch
    • DO NOT install migra if a migration system already exists

File Management

Do not create new markdown files. Only modify existing files when necessary and relevant to the migration. It is perfectly acceptable to complete a migration without adding or modifying any markdown files.

Read the full file on GitHub · 50 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. 6d ago First seen · 50 lines · 50 tokens per session scan A 8c6545c7ecea

Subscribe to this mod's changes

Neon Migration Specialist is an agent published in the GitHub repository archubbuck/workspace-architect (18 stars, last pushed 6d ago), licensed ISC. It adds 50 tokens to every session and 581 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to Neon Migration Specialist, differing in 0 lines, and is treated as a copy.

Related

Other agents, from other repositories

database-reviewer

Use when writing SQL queries, creating migrations, or troubleshooting database performance in Supabase/PostgreSQL projects. Reviews indexes, RLS policies, schema types, N+1 patterns. Read-only reviewer with EXPLAIN ANALYZE capability.

sangrokjung/claude-forge · 52 tokens

Neon Performance Analyzer

Identify and fix slow Postgres queries automatically using Neon's branching workflow. Analyzes execution plans, tests optimizations in isolated database branches, and provides clear before/after performance metrics with actionable code fixes.

github/awesome-copilot · 46 tokens

Oracle-to-PostgreSQL Migration Expert

Agent for Oracle-to-PostgreSQL application migrations. Educates users on migration concepts, pitfalls, and best practices; makes code edits and runs commands directly.

github/awesome-copilot · 41 tokens

Neon Migration Specialist

Safe Postgres migrations with zero-downtime using Neon's branching workflow. Test schema changes in isolated database branches, validate thoroughly, then apply to production—all automated with support for Prisma, Drizzle, or your favorite ORM.

github/awesome-copilot · 50 tokens

Database Reliability Engineer

Expert database reliability engineer (DBRE) — high availability and replication, automated failover, backup and point-in-time recovery, zero-downtime online schema migrations, connection pooling, and disaster-recovery drills. Focused on keeping data safe and available, not query tuning.

SHAdd0WTAka/Zen-Ai-Pentest · 59 tokens

Database Optimizer

Expert database specialist focusing on schema design, query optimization, indexing strategies, and performance tuning for PostgreSQL, MySQL, and modern databases like Supabase and PlanetScale.

SHAdd0WTAka/Zen-Ai-Pentest · 38 tokens