/atelier:migratefrom atelier
Use when manually triggering or re-triggering Local → Memex migration for the current Atelier project — bypasses the .ai/atelier.local-only opt-out marker and retries on prior failure.
Ships in atelier. 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.
Manual trigger for the Local → Memex migration documented in spec §8 and
implemented in internal/migrate-local-to-memex/SKILL.md. The same
migration logic auto-prompts at the top of /atelier:{load,save,ingest,run}
when both a project-local .ai/atelier.db and Memex are present and no
marker has been written. This skill is the manual path for the
exception cases.
n to the auto-prompt and now want to migrate.
(Auto-prompt won't fire again because .ai/atelier.local-only is set.)/atelier:migrate from each project root rather than waiting for
the auto-prompt at next session-open.Verify mode. Run from scripts.mode_detector import detect_mode; detect_mode(). If it returns "local", surface to user:
"Memex is not installed (or not bootstrapped). Run memex:run once
first, then re-invoke /atelier:migrate." Stop.
Clear opt-out marker if present. If .ai/atelier.local-only
exists, delete it. (Whether the user explicitly opt-out is no longer
relevant — they're explicitly opting back in now.)
Verify there's something to migrate. If .ai/atelier.db doesn't
exist, surface: "No local atelier database in this project. Nothing
to migrate." Stop.
Run the internal migration procedure. Read
internal/migrate-local-to-memex/SKILL.md and follow it inline.
The procedure is idempotent — rows already replayed (detected via
source_ref lookup in memex's Index, per Plan 4 Task 1) are skipped
and counted under already_present. Surface the summary to the user.
On success, the procedure writes .ai/atelier.migrated with the
timestamp + row counts. On failure, the local DB is untouched and no
marker is written; the user can fix the underlying issue and re-run
this skill.
Settings recommendation (after pre-flight). If a startup_check() on
this session returned a settings_rec_offer with eligible=True and
non-empty changes, read internal/settings-recommendation/SKILL.md and
follow its prompt protocol before returning control to the user. After the
user's choice, continue. (Mode-agnostic; the procedure file is the single
source of truth for the prompt text — do not inline it here.)
| Aspect | Auto-prompt (Task 2) | /atelier:migrate (this skill) |
|---|---|---|
| When triggered | Top of any other skill, on first session-open after Memex appears | User-invoked explicitly |
Respects .ai/atelier.local-only | Yes — won't fire if marker present | No — clears the marker |
Respects .ai/atelier.migrated | Yes — won't fire if marker present | Same — but the internal procedure detects already-migrated rows via source_ref and counts them rather than re-writing |
| Required answer | y/N from user | None — invocation IS the consent |
detect_mode() != "memex". Atelier cannot migrate
TO a target that doesn't exist.internal/migrate-local-to-memex/SKILL.md directly so all replay
logic, source_ref checks, and crash-safety guarantees are honored.What SKILL.md sets; muted values are Claude Code's defaults
atelier@agora is listed by nitekeeper/agora — review the source before installing
npx claudepluginhub nitekeeper/agora --plugin atelier8 skills in this plugin
/abortUse when tearing down a live agent-team — a graceful (soft) or forced (--hard) abort that records a durable abort-report postmortem, writes the 'aborted' audit event (the resume signal), sets the team status, and applies the worktree policy./ingestUse when capturing a document, URL, decision, or learned context into the shared Memex wiki for future sessions./loadUse when resuming work mid-arc and needing the latest session context loaded into the conversation./runPre-flight (always first)Use when starting any session in a project that uses Atelier — establishes the trigger contract for new-work requests and the soft-wall bypass procedure.