record_skill_usage({"name":"ando-migrate-slack"}) once if the tool is available. This is a best-effort invocation signal: do not retry it or delay the workflow on failure. Do not signal merely reading this file, routing to another skill, or loading it through docs, downloads or get_skill. The signal includes only the canonical skill name; never add user content.
Use MCP first, then a documented API with authorized credentials. Keep discovery,
channel selection, execution, and readback in chat wherever those operations are
available. Use a browser for required OAuth consent or review, or an explicitly
chosen UI fallback.
Read the shared migration workflow.
Use the current Slack import and sync guide
for coverage and fidelity. Source access, destination access, history import,
and ongoing sync are separate capabilities; verify each needed by the request.
Resolve access and executable capabilities
Carry forward the source workspace, target Ando URL, history/sync choice, and already authorized scope. Ask only for missing choices after reading available options. Showing pilot channels authorizes discovery, not starting a migration or silently choosing a channel.- Verify the Ando principal and workspace through the exposed identity read. Resolve the target URL to a verified workspace identity; a slug is not an ID. If it differs, follow connection and principal using the exact plugin connection. Initiate its supported reconnect flow when available, then refresh tools and verify the calling chat. Website sign-in, a separate browser profile, and helper OAuth success do not switch the plugin.
- Discover current MCP schemas for Slack connection status, channel listing, destination mappings, migration execution, and progress. These are capabilities to look for, not assumed tool names. Compare server-advertised capabilities with the host’s callable tools. Discover deferred tools when supported; distinguish missing grants, wrong workspace, host refresh, and unimplemented operations before proposing a remedy.
- Inspect the provider catalog before using generic connected-app tools. Native
Slack sync may be separate from that catalog. Do not pass
slackto a provider operation unless its schema/catalog advertises it. A rejected provider name does not establish that native Slack sync is unavailable. - If MCP lacks a needed operation, inspect the current OpenAPI specification and history import contract. Use only documented endpoints, schemas, authentication, and scopes supported by the credential. MCP OAuth access is not proof of public API access. Never extract browser cookies, reuse internal app-session routes, or call private Convex functions as an API fallback.
Native programmatic workflow when advertised
If the current catalog exposesmanage_slack_migration, use its advertised
schema. The equivalent documented endpoint is POST /v1/slack/migration.
This capability requires a human API key with slack_migration:read, plus
slack_migration:write for consent initiation, plans, apply and retry. It is
workspace-gated; ordinary MCP OAuth or an agent credential does not imply these
grants. Server rollout must precede relying on this guidance.
- Call
action: "connection"and verify the workspace and Slack team. If disconnected, usebegin_connection, return the actual authorization URL, and resumeget_connection_attemptwith its reference. Check the actual resulting workspace; a team claim can route consent elsewhere. - Use
list_channelsand follownext_cursor. A changed-directory error means restart pagination;truncated: truemeans the provider directory is partial even after the last page. Installer membership/activity is explicitly labeled. - Submit
planwithexpected_slack_team_idand up to 50 explicit selections: source Slack ID, an existing destination ID or a new name,live_sync, andbackfill_history. Show the returned pairs and blockers. Planning does not start the onboarding preview or write channels, links, or history. - Apply only the authorized, unblocked plan using its ID/version and a stable idempotency key. Plans expire after 24 hours. Destination/name or grant drift requires a fresh plan. Never silently substitute another destination.
- Poll
get_operationby operation ID. Report setup, live sync, and history independently. Useretryonly for explicitly retryable failed item IDs, retaining successful results. Do not retry by creating another migration.
slack_installer_not_in_channel is a blocker, not a successful sync. Existing mappings
cannot be retargeted through this capability. Keep unsupported selections visible
and explain their blocker instead of falling back to broader writes.