Agent skill

Migrate To Archestra

by archestra-ai in archestra-ai/archestra

Migrate an existing agentic PoC/pilot (Claude Code project files, MCP configs, hooks, local tools, openclaw config, or similar hand-rolled setup artifacts) into an Archestra instance.

Apache-2.0Auto-check passedAgent Workflows

Install Migrate To Archestra

skills CLI
$ npx skills add archestra-ai/archestra --skill migrate-to-archestra -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install archestra-ai/archestra migrate-to-archestra --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/archestra-ai/archestra.git skills-src && mkdir -p .claude/skills && cp -r skills-src/migration-kit .claude/skills/migrate-to-archestra && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
migrate-to-archestra
GitHub stars
4.4k
Token cost
~2.5k tokens
SKILL.md length
1,112 words
Files
42 (incl. scripts, references)
Skills in repo
23
Repo updated
First seen
Licence
Apache-2.0

At a glance

Migrate an existing agentic PoC/pilot (Claude Code project files, MCP configs, hooks, local tools, openclaw config, or similar hand-rolled setup artifacts) into an Archestra instance.

  • Works in 5 steps: Connect to / install Archestra → Discover the source setup → Map and ask → …
  • The user wants to move
  • SKILL.md covers Step 1 — Connect to / install…, Step 2 — Discover the source…, Step 3 — Map and ask and Step 4 — Apply, plus 2 more sections
  • Runs Python scripts from its folder; calls python3, uv and pip; needs ARCHESTRA_API_KEY

What it does

Migrate To Archestra is an agent skill from archestra-ai/archestra. Migrate an existing agentic PoC/pilot (Claude Code project files, MCP configs, hooks, local tools, openclaw config, or similar hand-rolled setup artifacts) into an Archestra instance. Use when the user wants to move, port, or convert an existing agentic setup into an Archestra pilot.

Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 46 other files, including scripts and reference files (for example `README.md`, `install.py` and `references/archestra-api.md`).

It sits in Agent Workflows, covering MCP servers. It works with Model Context Protocol and Python. The repository describes itself as: Enterprise AI Platform with guardrails, MCP registry, gateway & orchestrator. The licence is Apache-2.0.

When your agent uses it

  • The user wants to move
  • Convert an existing agentic setup into an Archestra pilot

Example prompts

  • “/migrate-to-archestra”

Requirements

  • Python 3
  • Docker
  • A credential in ARCHESTRA_API_KEY

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Connect to / install Archestra
  2. Discover the source setup
  3. Map and ask
  4. Apply
  5. Report

What it can do on your machine

Read from SKILL.md and the folder at commit aa7ab51. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 5 files in scripts/ (Python, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • python3
    • uv
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use uv and pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • ARCHESTRA_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Migrate To Archestra loads about 2.5k tokens when it runs, and up to ~8.2k if it reads all its reference files. Until then it costs about 76 tokens; SKILL.md has 1,112 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~76
When it runs · the whole SKILL.md, loaded when a task matches
~2.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~8.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from archestra-ai/archestra at commit aa7ab51, republished under its Apache-2.0 licence (© archestra-ai). 1,112 words, ~2,538 tokens.

Download SKILL.mdSave it as .claude/skills/migrate-to-archestra/SKILL.md (or your agent's skills folder). This skill also uses 41 other files; get the full folder from GitHub.
name
migrate-to-archestra
description
Migrate an existing agentic PoC/pilot (Claude Code project files, MCP configs, hooks, local tools, openclaw config, or similar hand-rolled setup artifacts) into an Archestra instance. Use when the user wants to move, port, or convert an existing agentic setup into an Archestra pilot.
license
Apache-2.0

Migrate an agentic PoC to Archestra

You migrate a user's existing agentic PoC or pilot into Archestra. The skill itself runs in Claude Code, but the source setup may be a messy mix of Claude Code-style files, MCP config, local scripts, hooks, openclaw config, and other pilot artifacts. The mechanical, deterministic work lives in bundled Python helpers; you own the product judgment: mapping decisions, asking the user where ambiguous, getting approval on a preview, and writing the final report.

$SKILL_DIR below is the directory containing this file. The helpers are at $SKILL_DIR/scripts/. They are zero-dependency and target Python ≥3.10, so on a stock interpreter (no uv, no pip install, no network) python3 "$SKILL_DIR/scripts/<x>.py" just works — important for locked-down or air-gapped enterprise hosts. uv run "$SKILL_DIR/scripts/<x>.py" also works if uv is present; the examples below use python3 since it needs nothing installed.

The spine — three JSON artifacts, with you applying judgment in the middle:

discover.py → inventory.json → [you map + ask the user] → migration_plan.json → apply.py → migration_result.json → [you write report.md]
  deterministic                       judgment                                     deterministic

Read references/entity-mapping.md before mapping, references/archestra-api.md for payload facts, references/install.md for connecting/installing, and references/report-template.md before writing the report. Do them as you reach each step, not all upfront.

Step 1 — Connect to / install Archestra

Ask whether the user has an existing instance or wants a local docker one. Follow references/install.md. End state: you have a reachable base_url, you've called wait_ready(), and you've minted an API key. Export for later steps:

bash
export ARCHESTRA_BASE_URL=<base_url>
export ARCHESTRA_API_KEY=<minted key>

wait_ready() is the real gate that you're connected; GET $ARCHESTRA_BASE_URL/openapi.json is also available if you want to sanity-check the API surface.

Step 2 — Discover the source setup

Ask for the source directory (default: the current working directory). Run:

bash
python3 "$SKILL_DIR/scripts/discover.py" <source_dir> --out inventory.json

This emits a secret-redacted inventory (it never writes credentials to the file). Read inventory.json. For items you'll map, skim the relevant bodies. Note anything in unknowns — that includes any frontmatter line the parser refused to interpret (it supports key: value scalars, inline [a, b] lists, and - item block lists; block scalars |/>, nested maps, anchors, and comments are reported here rather than guessed, so read the raw file for those rare cases).

After reading the inventory, summarize it in product terms before mapping:

  • likely to migrate cleanly;
  • needs user choice or review — including whether to consolidate tools/*.py into one toolset skill before applying (entity-mapping.md, "Local tools");
  • report-only/manual follow-up;
  • secret redactions or content warnings;
  • telemetry/observability (OTEL env, metrics-shipping hooks/scripts) — report-only: Archestra emits telemetry natively, so guide the user to leverage that rather than migrating it (entity-mapping.md).

Step 3 — Map and ask

Using references/entity-mapping.md, turn the inventory into migration_plan.json:

json
{ "schema_version": 1, "default_scope": "personal",
  "decisions": [ { "source_id": "<inventory id>", "action": "migrate|skip|manual",
                   "target_kind": "agent|skill|mcp_catalog|mcp_install|llm_key|hook",
                   "scope": "personal", "name_override": null, "notes": "...",
                   "user_answers": { } } ] }

You author decisions only — never raw API payloads; apply.py builds and validates those. target_kind is required for migrate decisions (it drives the build); a skip/manual decision may omit it.

Use AskUserQuestion only for genuine ambiguities, e.g.:

  • the single default scope (personal/team/org), plus any per-item exceptions;
  • if any decision uses team scope, which concrete Archestra team ids should own it. Give them in user_answers: as teamIds (a list) for agents, skills, and MCP catalog items; as teamId (a single id, or the lone value from teamIds) for MCP installs and LLM keys. apply.py maps each to the correct API field. Otherwise use personal or org scope. A team-scoped decision with no team id is invalid and apply.py will not touch the network;
  • whether each subagent should be a skill (default) or a full agent;
  • whether to also install each MCP server now (mcp_install) or just register the catalog item (installing a local stdio server spins a K8s pod). If you emit both a mcp_catalog and a mcp_install decision for one server, give them the same name/name_override — the install resolves its catalog item by name. apply.py attaches installs to the primary agent by default; use user_answers.agentIds only for extra explicit agent assignments;
  • which LLM keys to migrate — and have the user paste each secret into user_answers.apiKey (with provider). Never read a secret out of their files.
  • for each hook, choose its target per entity-mapping.md:
    • event maps (SessionStart/PreToolUse/PostToolUse) and data.source ≠ unresolved → hook (the default; a native lifecycle hook). Usually no user_answers needed — apply.py bundles the script, carries PEP-723 requirements, and attaches it to the primary agent. Optional user_answers: agentId (UUID), fileName (override), requirements (override; a .sh hook must have none);
    • event unmapped, or data.source == "unresolved" → action:"manual" with a notes explanation. Surface the behavior differences (no matcher, Archestra tool names, sandbox cwd, dropped env/argv).

Mark openclaw as action:"manual" with a notes explanation. Do the same for telemetry (OTEL env, observability hooks/scripts): map it to manual and, per entity-mapping.md, point the user at Archestra's native telemetry instead of migrating it.

Before previewing, do a reference-rewrite pass: read each migrating skill/command/subagent/hook body and surgically fix paths and shell invocations that assumed the source machine — project-relative or $CLAUDE_PROJECT_DIR paths, host-only binaries/flags, inline env — so they resolve in the sandbox (apply.py ships bodies verbatim). See entity-mapping.md, "Rewrite environment-specific references". List anything you can't safely rewrite as a manual follow-up.

Always show the user a concise preview and get explicit approval before applying. Use this shape:

markdown
## Migration Preview

Ready to create
| Source | Archestra target | Scope | Notes |
| --- | --- | --- | --- |

Needs your decision
| Source | Choice | Recommendation |
| --- | --- | --- |

Manual after migration
| Source | Why manual | Follow-up |
| --- | --- | --- |

Sandbox rewrites applied
- <source body → path/shell reference rewritten for the sandbox, or "none">

Behavior changes to expect
- <only list differences that apply>

Secrets/safety notes
- <redactions and warnings, never secret values>

Keep the preview short enough for a pilot owner to approve. Do not show raw API payloads unless the user asks.

Show full SKILL.md (278 more words)Show less

Step 4 — Apply

Dry-run first (offline; builds + validates every payload, touches no network):

bash
python3 "$SKILL_DIR/scripts/apply.py" --inventory inventory.json --plan migration_plan.json --dry-run

Fix any invalid ops (they print the validation error), then apply for real:

bash
python3 "$SKILL_DIR/scripts/apply.py" --inventory inventory.json --plan migration_plan.json --out migration_result.json

apply.py is idempotent (skips entities that already exist), records each op's real outcome, calls enable-defaults so the primary agent sees the skills, and best-effort assigns sandbox tools (run_command, upload_file, download_file) to migrated agents. Sandbox assignment failures are non-blocking warnings because some Archestra installs do not enable the sandbox runtime yet. The script exits non-zero if any op failed/was invalid.

Step 5 — Report

From migration_result.json, write report.md using references/report-template.md. The report is for deciding whether the converted pilot is ready to try in Archestra, not for producing an exhaustive command transcript. For hooks migrated as native lifecycle hooks, note the behavior differences (no matcher, Archestra tool names, sandbox cwd, dropped env/argv), and whether the agent-hooks feature is on: apply.py records a warning op when it is off, in which case migrated hooks are saved but never fire until an admin enables it. Also surface any warnings from the inventory (possible secrets left intact in migrated bodies). Summarize for the user what migrated, what to test first, and what still needs hands-on work.

Contributor tooling (not needed to run the skill)

The shipped scripts are zero-dependency; the lines below are only for developing/testing them. Dev deps (pytest, pyyaml, ty, ruff) are pinned in pyproject.toml under the dev group.

bash
cd "$SKILL_DIR"
uv run --group dev python -m pytest tests/ -q   # tests (incl. the ty + ruff gates)
uv run --group dev ty check                      # Astral type checker, the typing gate
uv run --group dev ruff check                    # Astral linter

ty is the enforced typing gate (it matches an Astral dev loop). It is a young checker, so a few validation helpers carry explicit casts where it cannot yet narrow a membership check — mypy would consider those redundant, which is why mypy is not the gate.

© archestra-ai, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 41 other files (scripts, references) in migration-kit of archestra-ai/archestra.

  • SKILL.md
  • .gitignore
  • README.md
  • install.py
  • pyproject.toml
  • references/archestra-api.md
  • references/entity-mapping.md
  • references/install.md
  • references/report-template.md
  • scripts/apply.py
  • scripts/archestra_client.py
  • scripts/contracts.py
  • scripts/discover.py
  • scripts/frontmatter.py
  • tests/conftest.py
  • tests/fixtures/sample-setup/.claude
  • … and 26 more

Open the folder on GitHubat commit aa7ab51

Compare with similar skills

Migrate To Archestra next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Migrate To Archestra compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Migrate To Archestra this skillarchestra-ai/archestra4.4k—~2.5kAutomated safety check: PassApache-2.0
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
MCP Server BuildershareAI-lab/learn-claude-code78k4 repos~1.2kAutomated safety check: PassMIT
MemPalace Setup and OperationMemPalace/mempalace59k—~2.2kAutomated safety check: PassMIT
FastmcpTommy-yw/RunbookHermes5463 repos~2.1kAutomated safety check: PassMIT
Fastmcp Client CLIPrefectHQ/fastmcp28k—~823Automated safety check: PassApache-2.0

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • MCP Server Builder

    shareAI-lab/learn-claude-code

    Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.

    78k GitHub starsUsed in 4 repos~1.2k tokens
    Agent WorkflowsAuto-check passed
  • Installs and configures MemPalace as a private local palace, a shared-brain hub or a client of an existing hub, including MCP registration and version-correct initialization.

    59k GitHub stars~2.2k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Fastmcp

    Tommy-yw/RunbookHermes

    Build, test, inspect, install, and deploy MCP servers with FastMCP in Python.

    546 GitHub starsUsed in 3 repos~2.1k tokens
    Agent WorkflowsAuto-check passed
  • Fastmcp Client CLI

    PrefectHQ/fastmcp

    Query and invoke tools on MCP servers using fastmcp list and fastmcp call.

    28k GitHub stars~823 tokensUpdated yesterday
    Agent WorkflowsAuto-check passed
  • Build Error Adapter

    ArcadeAI/arcade-mcp

    Build new Arcade error adapters from scratch using public Arcade TDK patterns.

    1k GitHub stars~2k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from archestra-ai/archestra

All 23 skills in this repo
  • Archestra Dev Testing

    archestra-ai/archestra

    A skill your agent uses for test selection and quality across backend, frontend, and e2e; load its backend reference for Vitest projects, mocking, DB fixtures, and performance.

    4.4k GitHub stars~3.2k tokensUpdated yesterday
    Auto-check passed
  • Archestra Dev Backend

    archestra-ai/archestra

    A skill your agent uses when adding or changing Archestra backend routes, models, services, API request/response schemas, endpoint permissions, or OpenAPI/codegen for the generated API client.

    4.4k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Archestra Dev E2E

    archestra-ai/archestra

    A skill your agent uses when writing, debugging, or running Archestra Playwright e2e tests, API/UI fixtures, WireMock-backed tests, local/CI e2e setup, or test selectors.

    4.4k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Archestra Dev Frontend

    archestra-ai/archestra

    A skill your agent uses when modifying Archestra frontend Next.js/React code, UI components, forms, TanStack Query hooks, generated API client usage, frontend copy, or documentation links.

    4.4k GitHub stars~2.7k tokensUpdated yesterday
    Auto-check passed
  • Archestra Dev LLM Providers

    archestra-ai/archestra

    A skill your agent uses when adding an LLM provider, changing proxy adapters or provider routes, fixing streaming/tool-call translation bugs, editing model fetchers or model handling, or touching…

    4.4k GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Archestra Dev Migrations

    archestra-ai/archestra

    A skill your agent uses when changing Drizzle schemas, generating migrations, editing migration SQL, creating data-only migrations, diagnosing drizzle-kit check failures, or resolving…

    4.4k GitHub stars~804 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Migrate To Archestra

What does Migrate To Archestra do?

Migrate an existing agentic PoC/pilot (Claude Code project files, MCP configs, hooks, local tools, openclaw config, or similar hand-rolled setup artifacts) into an Archestra instance. Migrate To Archestra is an agent skill from archestra-ai/archestra. Migrate an existing agentic PoC/pilot (Claude Code project files, MCP configs, hooks, local tools, openclaw config, or similar hand-rolled setup artifacts) into an Archestra instance.

When should I use Migrate To Archestra?

Migrate To Archestra fits situations like: the user wants to move; convert an existing agentic setup into an Archestra pilot.

How do I install Migrate To Archestra in Claude Code?

Run `npx skills add archestra-ai/archestra --skill migrate-to-archestra -a claude-code`. Or copy the skill folder (migration-kit in archestra-ai/archestra) into .claude/skills/migrate-to-archestra in your project. Claude Code loads it when a task matches its description.

How do I install Migrate To Archestra in Codex?

Run `npx skills add archestra-ai/archestra --skill migrate-to-archestra -a codex`. Or copy the skill folder (migration-kit in archestra-ai/archestra) into .agents/skills/migrate-to-archestra in your project. Codex loads it when a task matches its description.

Can I use Migrate To Archestra in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add archestra-ai/archestra --skill migrate-to-archestra -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/migrate-to-archestra, .gemini/skills/migrate-to-archestra, .github/skills/migrate-to-archestra and .opencode/skills/migrate-to-archestra in your project.

What does Migrate To Archestra need to run?

Going by SKILL.md and its folder, Migrate To Archestra needs Python for the scripts in its folder, the command-line tools its instructions call (python3, uv and pip) and credentials named ARCHESTRA_API_KEY. Our summary lists: Python 3; Docker; A credential in ARCHESTRA_API_KEY.

Does Migrate To Archestra access the network?

SKILL.md contains no URLs. Its commands use uv and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Migrate To Archestra safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Migrate To Archestra use?

Migrate To Archestra is published under the Apache-2.0 licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Migrate To Archestra use?

About 2.5k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5.6k tokens, read only when the agent opens those files.

What are the alternatives to Migrate To Archestra?

Skills that share tags, products or a category with Migrate To Archestra: MCP Server Builder (anthropics/skills, 180k stars), MCP Server Builder (shareAI-lab/learn-claude-code, 78k stars), MemPalace Setup and Operation (MemPalace/mempalace, 59k stars) and Fastmcp (Tommy-yw/RunbookHermes, 546 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Migrate To Archestra?

archestra-ai (a GitHub organization) maintains it in archestra-ai/archestra, which has 4,359 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on October 10, 2026.

Source: archestra-ai/archestra on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.