Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

migrate-objects-auto

БесплатноБез исполняемых скриптовНе проверен

Autonomous version of migrate-objects — dispatches one subagent per ready task group, refills as they finish, and only stops to ask when a subagent is stuck…

sfc-gh-dflippoот sfc-gh-dflippo★ 35 звёзд на GitHub

Об этом скилле

Migrate Objects — Autonomous

On Entry IMPORTANT DO NOT SKIP

Tell the user:

Autonomous mode. I'll work the wave by giving each object its own subagent, which walks it the whole way — convert, deploy, tests, fixes — and I'll refill as they finish. I'll interrupt you only when an agent is stuck, when a dependency needs a human decision, and before any data moves. Say "stop" at any point and I'll let in-flight work land.

Step 0: Preflight

  1. configure(project_dir=<project dir>, subagent_mode=true, snowflake_connection=<the configure connection the first prompt named>). Read the appended migration-status block. Bring the shared data infrastructure up: data_infrastructure(mode="up"). Relay its cost_reminder. status="not_ready" is not a green light — a first local bring-up runs every schema migration and can need more than one call, so follow its remediation and call up again until it reports ready. Once means one successful bring-up for the wave, not one call.
  2. If configure() reports setup is not finished, read ../../setup/SKILL.md then come back here.

subagent_mode attributes writes per Cortex conversation. Set it once here; it lasts the life of the server and cannot be turned off. Cortex stamps identity on every MCP call — do not pass agent_id. The parent hook injects 0000 while this latch is on: park a looping object, reset a remediated transient failure, and relay non-terminal guidance. Acknowledge unreviewed notes only in Step 3 (review), never in the dispatch loop. Object-level outcomes stay parked for a person in an interactive session. deploy, migrate_data, and validate_data are not binding-checked — keep each agent on its own object.

Step 1: Ask how many subagents to run at once

Offer 2 / 4 / 6, recommend 4. State the trade-off: more slots finish the wave faster, burn proportionally more tokens, and produce more escalations competing for their attention. Call it N. Never exceed it, and never quietly raise it.

Wait for the user's response — do not dispatch until they answer.

Step 2: The loop

The unit of dispatch is an object: one subagent takes one object and walks it through as many tasks as it takes, then stops. You hold no migration state — the server does. Track the Cortex resume id only as a backup; liveness comes from my_objects_board (flight on each row, walkerRunning for slots), not from who you remember spawning. A row's agentId is the live Cortex session when a walker exists (task returns it as agentId — a UUID). Do not copy an agentId into prompts or MCP calls; Cortex stamps the child's session id.

2a. Read the board

migration_status(mode="my_objects_board")
migration_status(mode="escalations")

my_objects_board is the only status shape you read for dispatch. Each row is one object: objectId, name, type, agentId, bucket (ready | blocked | done | escalated | errored), and flight (running | idle | none). walkerRunning is the live-child slot count; walkerIdle is yielded walkers. Do not overlay hub(mode="status") for dispatch — the board already stamped walker liveness (running wins over idle). Two live children on one object are forbidden: if flight is running or idle, do not first-send another.

Do not call my_objects_summary, my_objects_details, next_task, or task_views. Those name the current task and why it is waiting; they are for interactive sessions and for the child walking the object.

escalations is the human queue. Read escalations (open asks) and answered (guidance). Do not pass details=true. Do not read notes[].asks / choice or overrideAcceptedCases — default payloads omit those bodies. unreviewedCount is a tally for Step 3, not a reason to stop.

Re-read both every time a child returns.

2b. Top off the object pool

A slot is occupied only by a live Cortex child. Read that from my_objects_board.walkerRunning, not from memory. waiting on a relay job, stuck / escalated parks, leftover claims from a dead session, and completed objects do not occupy one — those children are idle (flight=idle) or gone (flight=none). free_slots is N minus walkerRunning. When it is greater than zero, pull:

migration_status(mode="next_objects", limit=<free_slots>)

The board lists only claimed objects. Unclaimed work is invisible there — next_objects is the only way to see it. It returns objects whose current walk is not blocked — the same verdict next_task would give — or comes back empty. Do not skip this pull because a leftover looks blocked on a sibling still in flight. Do not wait for the flight to empty.

next_objects also returns leftover_claims: open claims with no walker in the ledger (flight would be none). Live or parked walkers are omitted — those are not leftovers. Each entry i

Полный SKILL.md на GitHub

Установить migrate-objects-auto в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл migrate-objects-auto?

Autonomous version of migrate-objects — dispatches one subagent per ready task group, refills as they finish, and only stops to ask when a subagent is stuck. Triggers: autonomous migration, run unattended, migrate objects automatically, auto-pilot the wave, migrate everything in parallel, swarm the objects.

Как установить скилл migrate-objects-auto?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл migrate-objects-auto запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить migrate-objects-auto с