/gke-agentic-migration:gke-migration-joinfrom GKE Agentic Migration
Connects a local workstation to a remote GKE migration state ledger, resolves user role, and initializes repository configuration.
Ships in GKE Agentic Migration. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Connect the local workstation context to a remote migration ledger, resolve the user's role, and execute the repository onboarding playbook.
gcloud, gsutil, aws, or similar CLIs) directly. The agent must strictly rely on the tools provided by the MCP server for all cloud and resource access.TERMINAL state (such as STATE_ABORTED), you must not make any attempts to troubleshoot the process or fix it; simply report the outcome to the user and terminate immediately./gke-migration-join [ledger_uri] [--role <role>] [--reconfigure] [--component <id>] [--reclaim-component]If ledger_uri is not specified, prompt the user to enter the target GCS migration state ledger URI (e.g. gs://my-migration-bucket). Await their response.
Call the join_ledger tool on the migration-dag MCP server. Pass:
ledger_uri: the provided or gathered <ledger_uri>role: <role> (if provided)reconfigure: True (if --reconfigure flag is present, otherwise False)component: <component id> (developer joins only; see the DEVELOPER section below)reclaim_component: True only if --reclaim-component is presentParse the string returned by the tool:
ERROR:, display the error message to the user and stop execution.SUCCESS: Joined ledger, read the resolved role.
~/.ledger_config.d/<sha256(cwd)[:16]>.yaml,
scoped to the server's working directory (the legacy ~/.ledger_config.yaml is only a
read fallback for sessions joined before the scoping, consumed on first read).Execute the onboarding state machine loop based on the resolved role:
gke-migration-dag-executor skill.Use these instructions when the resolved role is platform or admins:
STATE_CONFIGURE_REPOSITORIES:
Gather the repository configuration details by prompting the user for each input one by one. Do NOT ask for all inputs at once in a single message, as it is confusing to provide multiple inputs without a navigable interface:
https://github.com/<org>/<repo>.git).main)./src or / - the subpath containing the source manifests).migration-instance)
b. SSM Location (default: us-central1)
c. SSM Repository Name (default: the workspace name)https://github.com/<org>/<repo>.git, or for SSM https://<instance>-<project-number>-git.<location>.sourcemanager.dev/<project-id>/<repo>.git).main)./ - the subpath where translated manifests will be written).Once you have gathered all these values, call the configure_repositories tool on the migration-dag MCP server, passing:
source_repo_url: <source_repo_url>source_branch: <source_branch>source_path: <source_path>target_branch: <target_branch>target_path: <target_path>target_repo_url: <target_repo_url> (if existing/non-SSM, otherwise omit/pass null)ssm_instance: <ssm_instance> (if new SSM, otherwise omit/pass null)ssm_location: <ssm_location> (if new SSM, otherwise omit/pass null)ssm_repository: <ssm_repository> (if new SSM, otherwise omit/pass null)When the configure_repositories tool call returns:
STATE_CREATE_SSM_REPOSITORY:
The Secure Source Manager repository or instance is currently provisioning in GCP.
configure_repositories tool on the migration-dag MCP server. You MUST pass the exact same repository configuration parameters that you gathered and passed in STATE_CONFIGURE_REPOSITORIES (i.e., source_repo_url, source_branch, source_path, target_branch, target_path, and either target_repo_url or ssm_instance, ssm_location, ssm_repository).STATE_ABORTED:
This is a TERMINAL state.
--role developers)A developer join claims one component: the slice of the estate one application team owns.
Each component has its own graph and its own folder in the ledger (workloads/<component>/).
--component was given, ask the user for the component id before calling join_ledger:
a lowercase id that starts with a letter and contains only letters, digits and hyphens,
2–63 characters (team convention: <name>-component, e.g. orders-component). If they
want to take over a component someone else is working on, they must say so explicitly; only
then pass reclaim_component=True.join_ledger with ledger_uri, role (if given), component, and reclaim_component.ERROR: — show it and stop. A naming-rule error means the id was invalid; ask again.workloads/<component>/
has not been granted yet — show the user the commands it contains verbatim and tell them
an administrator must run them. Do not run them yourself. Once the admin confirms, the user
joins again from the same folder.SUCCESS — continue.gke-migration-dag-executor skill. The component graph runs the workload journey:
agree the component's files (scope), plan them into unit families, translate, review,
validate and push a pull-request branch to the target repository. Each state's instructions
arrive from get_next_stage; follow them and stop at every approval form.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (gke-labs/gke-agentic-migration) — no native marketplace selected
npx claudepluginhub p/gke-labs-gke-agentic-migration3 skills in this plugin
Other plugins' skills for the same job