migration-status

A command for reading a JOB_REPORT.md file from a completed Databricks migration and summarizing its results. The report records which individual notebook cells or tasks passed, failed, or were fixed.

In plain words
What is it for?
Use it after a migration to find the newest or specified report, count task and cell outcomes, list failures, and decide whether to fix cells, resume, or finish.
Why use it?
It turns a detailed migration report into a quick overall verdict and shows exactly where work remains. It also points to an appropriate next action for each failing task.

Command

Part of the oracle-ai-data-platform-workbench-databricks-migrator plugin — 10 skills, 4 commands, 2 agents shipped together

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.

agentmods
npx agentmods add commands/ahmedawan-oracle/claude-code-plugins/migration-status
Clone the repo
git clone --depth 1 https://github.com/ahmedawan-oracle/claude-code-plugins

Or install oracle-ai-data-platform-workbench-databricks-migrator, the plugin that ships this one along with the rest of its 10 skills, 4 commands, 2 agents.

Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 803 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00048 $0.00803
Opus 5 $0.00024 $0.00402
Sonnet 5 $0.00010 $0.00161
Haiku 4.5 $0.00005 $0.00080

Measured 2d ago against content hash 2db8f9d18e72, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

migration-status 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 2d 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.

claude-code-plugins/oracle-ai-data-platform-workbench-databricks-migrator/commands/migration-status.md · 68 lines

How it starts

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

/migration-status — parse the last migration report

Reads JOB_REPORT.md (the per-cell pass/fail summary the migrator emits) and converts it to a quick verdict + per-task action list.

Workflow

  1. Locate JOB_REPORT.md. Default to the most recent file at reports/<job>/JOB_REPORT.md (local mirror) or <output-base>/<job>/JOB_REPORT.md (workspace path — fetch via REST if no local mirror).
  2. Parse the per-task table.
  3. Roll up totals + identify the failing cells.
  4. Recommend the next skill to invoke per failing-task.

Args

$ARGUMENTS

If $ARGUMENTS is a path or a job name, target that. If empty, locate the newest.

Output template

== Migration status: <MyJob> (run dated 2026-XX-XX HH:MM:SS UTC) ==

| Task            | Status   | Cells: OK | Fail | Fixed | Notes |
|---|---|---|---|---|---|
| <task_a>        | PASS     | 27        | 0    | 2     |  |
| <task_b>        | PARTIAL  | 18        | 2    | 7     | cell 12, cell 19 |
| <task_c>        | FAIL     | 0         | -    | -     | dep notebook unresolved |

Overall: 2/3 PASS, 1 PARTIAL, 0 FAIL → RESULT: PARTIAL

Recommended actions:
  • <task_b>: cells 12 + 19 failed all 10 attempts.
    → Invoke aidp-fixup-cell on each with a `why` reason.
  • <task_c>: structural failure (dep `helpers/io_utils` couldn't be migrated).
    → Open dep .ipynb manually, fix, then aidp-resume-migration with --only-tasks <task_c>.

Acceptance contracts: (if applicable)
  • <task_a>: PASS — 3 consecutive zero windows observed.

Reading the underlying file

Format is documented in references/job-report-format.md. The key fields:

  • Per-task Status ∈ {PASS, PARTIAL, FAIL}.
  • Cell counts: OK (executed clean), Failed (exhausted 10 attempts), Fixed (passed after >=1 retry).
  • Failing cell IDs listed in the "Errors & Warnings" section.

When to use

  • After any aidp-migrate-job run.
  • When the user asks "how did the migration go", "did it pass", "what failed".
  • Before deciding which fix path to take.

Read the full file on GitHub · 68 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. 2d ago First seen · 68 lines · 48 tokens per session scan A 2db8f9d18e72

Subscribe to this mod's changes

migration-status is a command published in the GitHub repository ahmedawan-oracle/claude-code-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 803 once invoked, about $0.0002 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-31.