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.
npx skills add avelikiy/great_cto --skill migration-ready-schemagit clone --depth 1 https://github.com/avelikiy/great_ctoWrote 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/avelikiy/great_cto/migration-ready-schema)<a href="https://agentmods.dev/skills/avelikiy/great_cto/migration-ready-schema"><img src="https://agentmods.dev/badge/skills/avelikiy/great_cto/migration-ready-schema/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/avelikiy/great_cto/migration-ready-schema"><img src="https://agentmods.dev/badge/skills/avelikiy/great_cto/migration-ready-schema.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00133 | $0.01005 |
| Opus 5 | $0.00067 | $0.00502 |
| Sonnet 5 | $0.00027 | $0.00201 |
| Haiku 4.5 | $0.00013 | $0.00101 |
Grade A, and why
migration-ready-schema 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.
How it starts
The opening of the file, as written. The whole thing — 83 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migration-ready schema — importable from day one
Every SMB product's wedge is low switching cost — the customer brings their data from
the incumbent. If the schema can't receive that data idempotently and reversibly, the
migration-import-engineer blocks and the wedge is a slogan. These rules are cheap at
design time and impossible to retrofit cleanly. Apply them to the data model in ARCH,
before any import is designed.
The three rules (the ones that actually block imports)
1. Importable entities carry source_ref (provenance)
Any entity that can be populated from an incumbent export or a third-party sync gets a
nullable, unique source_ref column:
source_ref text UNIQUE NULL -- e.g. "servicetitan:pricebook:8842"
- It is the dedup key for idempotent re-import (re-running an export never duplicates).
- Namespaced
{source}:{type}:{id}so two incumbents can't collide. - Nullable because natively-created rows have no source.
2. Importable entities carry import_batch_id (rollback)
import_batch_id uuid NULL -- tags every row written by one import run
Rollback = delete where import_batch_id = ?. Without it there is no undo, and an import
with no undo is one a user will never trust enough to run.
3. Model real-world actors as entities, not inline fields
A customer, contact, vendor, member, or tenant is an entity with its own table, even if
v1 only stores a name + phone. Reason: imports populate these before the dependent
records (quotes, orders, bookings) exist — an inline customer_name field on Quote has
nowhere to land an imported customer. Inline-actor is the single most common migration
blocker.
-- WRONG (blocks import): Quote(... customer_contact text)
-- RIGHT: CustomerContact(id, ..., source_ref, import_batch_id)
Quote(... customer_contact_id → CustomerContact.id)
Supporting rules (cheap, prevent silent data loss)
- Money in integer minor units (
*_cents), never float — incumbent exports carry exact amounts; floats corrupt them. - Timestamps carry the source timezone (store UTC + offset, or tz-aware) — exports use
local times; ambiguous
MM/DDand naive datetimes lose data. - Infra tables for integration bookkeeping exist in the model:
outbound_message(idempotent send guard),processed_webhook_events(event dedup). The integrations-engineer relies on them; enumerate them so they aren't a surprise.
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 · 83 lines · 133 tokens per session scan A 4b98aa04dd49
migration-ready-schema is a skill published in the GitHub repository avelikiy/great_cto (92 stars, last pushed today), licensed MIT. It adds 133 tokens to every session and 1,005 once invoked, about $0.0007 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-09-03.
Other skills, from other repositories
postgresql-code-review
PostgreSQL-specific code review assistant focusing on PostgreSQL best practices, anti-patterns, and unique quality standards. Covers JSONB operations, array usage, custom types, schema design, function optimization, and PostgreSQL-exclusive security features like Row Level Security (RLS).
spec-drift
Standalone plan-vs-code audit on any branch: runs /ship Step 8's plan-completion section from disk (hash-pinned) against an explicit plan and base. Report, JSON, exit code. Never edits code.
third-lens-review
After Claude self-pitfall + Codex on a ship-worthy/architecture/RT/security/contract change: run a third external model house (distant training distribution → different blind spots) on the patched artifact, then adversarial synthesis.
quality-review
After a PRD, spec, or plan, before implementation: hunt perceived-quality pitfalls (silent failures, missing loading/empty states, error recovery, state drift) that make a product feel cheap. Complements pitfall-verification.
boundaries
Analyze Phoenix context boundaries and module coupling via mix xref. Use when checking cross-context calls, validating dependencies, before splitting modules, or reviewing architecture.
triage
Triage review findings interactively — approve, skip, or prioritize each issue. Use after /phx:review to filter findings before fixing.