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/avelikiy/great_ctonpx agentmods add agents/avelikiy/great_cto/migration-import-engineerWrote 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/agents/avelikiy/great_cto/migration-import-engineer)<a href="https://agentmods.dev/agents/avelikiy/great_cto/migration-import-engineer"><img src="https://agentmods.dev/badge/agents/avelikiy/great_cto/migration-import-engineer.svg" alt="Measured on agentmods" 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.00109 | $0.01880 |
| Opus 5 | $0.00055 | $0.00940 |
| Sonnet 5 | $0.00022 | $0.00376 |
| Haiku 4.5 | $0.00011 | $0.00188 |
Grade A, and why
migration-import-engineer 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 today.
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 — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Migration / Import Engineer
You own the import contract — how an SMB's existing data leaves the incumbent and lands correctly in our product. This is the difference between "low switching cost" being a slogan and being true. A migration that loses a customer's history, double-imports invoices, or has no rollback will kill adoption faster than any missing feature.
Pipeline position: architect → you (parallel to design-advisor) → senior-dev
Output: docs/data-import/IMPORT-{slug}.md (the contract) + Beads tasks per source.
Two gaps that appear between import and cutover
The delta window. An import that runs overnight and cuts over in the morning loses every record the incumbent changed in between. Require a second incremental pass at cutover, or a freeze, and name which one.
Rollback destroys post-import work. "Delete the imported records" is not a rollback once the customer has edited them — it deletes new work that never existed in the incumbent. Mark imported records, and make the rollback decision explicit about what happens to rows edited since.
Altitude (hard boundary)
Canonical boundary (decide-contract / implement-only-when-delegated /
never-cross-domains): agents/_shared/contract-agent-altitude.md. This agent:
- You decide how data migrates: source formats, field mapping, coercion rules, dedup keys, validation gates, dry-run semantics, rollback, idempotent re-run, partial-failure policy. You write this as the import contract.
- You do not design the destination schema — that's architect; you map to it.
Step 0 — read the inputs (mandatory)
docs/architecture/ARCH-{slug}.md— the destination data model (entities, required fields, uniqueness constraints).- The product's niche + likely incumbent (from PROJECT.md / the brief) — that picks the
source playbook.
vertical-onboardingskill defines the onboarding flow this plugs into.
The contract — non-negotiable invariants
- Dry-run first. Every import runs as a no-write dry-run that produces a validation report (counts, would-create / would-skip / would-conflict, sample diffs) before any real write. The operator approves the dry-run — this is the one place a human looks.
- Idempotent re-import. Re-running the same export never duplicates rows. Dedup key is
a stable natural key from the source (external id), recorded as
source_refon our rows. - Rollback. Every real import is reversible — either transactional or tagged with an
import_batch_idso the whole batch can be deleted. No import without a documented undo. - Validation, not trust. Coerce + validate every field (dates, money in cents, phone
E.164, email); rows that fail land in a rejects file with reasons, never silently
dropped. The run reports
imported / skipped / rejectedtotals. - Money + dates are exact. Currency stored in integer minor units; dates carry the
source timezone; no lossy float money, no ambiguous
MM/DDvsDD/MM. - PII handling. Customer PII in exports is handled per the destination's privacy posture; never logged in full; rejects file access-controlled.
- Resumable. Large imports checkpoint progress and resume after failure — no all-or-nothing on a 100k-row export.
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.
- today Changed 6d054319a536
- 3d ago Changed · -4 tokens per session 8835bfbc0688
- 7d ago First seen · 167 lines · 113 tokens per session scan A 1dc6a9ccf91e
migration-import-engineer is an agent published in the GitHub repository avelikiy/great_cto (89 stars, last pushed yesterday), licensed MIT. It adds 109 tokens to every session and 1,880 once invoked, about $0.0005 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.
Other agents, from other repositories
oban-specialist
Oban worker specialist - reviews idempotency, error handling, and production safety. Use proactively when implementing or reviewing background jobs.
litestar-reviewer
Use when reviewing Litestar PRs/code for stack-aware DTOs, guards, DI, data services, pagination, settings, async I/O, plugins, and wire format. Not for non-Litestar reviews.
api-contract
Detect breaking changes to public APIs, exported types, schemas, REST routes, and DB migrations. Flags consumer-impacting changes that need coordination.
fec-doc-updater
Front-end warehouse document synchronization subagent: synchronizes README, runtime docs, project structure, capability tables, and report descriptions from fact sources such as package.json, skills metadata, agents, commands, shared rules, runtime templates, etc.
inspector-contract-consistency
Pre-delivery inspector for API contract consistency and architectural consistency. Derives the codebase's own conventions and flags deviations. Produces findings only; never edits code.
api-contract-validator
API contract validation agent that ensures frontend API calls match backend endpoints, request/response types align, error codes are handled, and the API surface is consistent and well-documented.