/aos:aos-migratefrom aos
Migrate a client's AOS granted folder forward when the plugin's data-folder schema has moved ahead of the folder's. Compares AOS_CONFIG.md's schema-version to the plugin's current schema version, runs the ordered migration steps for the gap (idempotent, non-destructive, each logged to CAPTAINS_LOG.md), then advances schema-version. Trigger on 'migrate my folder', 'upgrade the data folder', or when a skill reports the folder is behind the plugin.
Ships in aos. 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.
Read when SKILL.md points to them.
Bring a client's granted folder forward when the plugin's data-folder schema
version has moved ahead of the folder's. Design: docs/artifact-versioning.md
— read it before touching this skill.
schema-version in AOS_CONFIG.md at the
granted-folder root. The layout version this folder is at.docs/CURRENT_SCHEMA_VERSION (a one-line file). The layout version this
build of the plugin expects. This is the single source of truth for the
plugin's schema version.A migration is due when plugin current > folder.
Read the folder version. Resolve the granted-folder root, read
schema-version from AOS_CONFIG.md.
Read the plugin target version. cat the plugin's
docs/CURRENT_SCHEMA_VERSION — a single integer, no parsing.
Compare.
Plan the run. List the ordered steps to run — N→N+1 for each N from
folder-version up to target-1 — from reference/migration-steps.md. Show the
user the plan (current version → target version, the steps in between) and
confirm before running (safety.requires_confirmation: true).
Run each step, in order. For each N→N+1 step, following
reference/migration-steps.md:
.aos/migration-backup/<N>-to-<N+1>/, never
removed.CAPTAINS_LOG.md entry (what ran, the N → N+1
transition, files touched, outcome), then advance schema-version in
AOS_CONFIG.md by one. Advancing per-step means an interrupted migration
resumes cleanly from where it stopped.schema-version past the failed step. Log
the failure to CAPTAINS_LOG.md and report it to the user.Confirm. When the folder reaches the target version, summarise: versions
before/after, steps run, files touched, anything moved to
.aos/migration-backup/. Suggest the user re-run their original workflow.
Schema version is 1. docs/CURRENT_SCHEMA_VERSION is 1. There are no
migration steps yet — every freshly-onboarded folder is already at the current
version, so today this skill only ever reports "up to date".
The skill exists now so the mechanism is in place. When the first
schema-changing migration ships, it becomes a drop-in — see Adding a migration
step below and §2 of docs/artifact-versioning.md.
When the data-folder layout or an artifact format changes:
CURRENT_SCHEMA_VERSION.Step N→N+1 section to reference/migration-steps.md — the
change, the zones/files touched, the exact operations, the idempotency
check (how the step detects it already ran), what (if anything) gets moved
to .aos/migration-backup/.docs/CURRENT_SCHEMA_VERSION to the new integer.data-template/AOS_CONFIG.md's schema-version literal so fresh
installs start current..claude-plugin/plugin.json version + note the migration in README.md.This skill needs no code change to pick up a new step — it reads the steps
from reference/migration-steps.md and runs every one in the gap.
.aos/migration-backup/, never rm.schema-version advances by exactly one per completed step.aos-migrate is the only skill that advances schema-version. No other
skill writes that field after aos-onboard's initial install value.v0.1.0 — migration mechanism + the version-comparison + per-step log/advance
loop (AOS-755). Zero migration steps defined (schema is at 1). The first real
step lands as edits to reference/migration-steps.md + CURRENT_SCHEMA_VERSION.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub arcanianhq/aos-mkt-624292f82fda --plugin aos37 skills in this plugin
/aos-analyze-competitionMap a client's competitive landscape — name the real competitors, build one profile file per competitor (domain, positioning, the products/services it actually competes on, strengths, observable weaknesses, pages/keywords to watch), maintain a per-business-unit competitor catalogue, and surface the positioning gaps the client can own. Produces brand/competitors/ profiles + CATALOGUE.md + brand/COMPETITIVE_LANDSCAPE.md. SEMrush-aware; degrades to manual research. Trigger on 'analyse the competition', 'who are our competitors', 'competitor map', or when COMPETITIVE_LANDSCAPE.md is a stub./aos-analyze-gtmDiagnoses a business's Go-To-Market strategy against the complete GTM Strategist framework — finds gaps, weaknesses, and opportunities before any action planning./aos-anonymizeThe privacy gate — scan an artifact for personal data (names, emails, phone numbers, addresses, account / tax IDs, private financial data) and produce an anonymised copy plus a PII report, before the artifact is shared outside the granted folder. Pseudonymises consistently or redacts; never overwrites the original. Trigger on 'anonymise this', 'scrub the PII', 'is this safe to share', or before any deliverable leaves the engagement./aos-back-statementsApply evidence-class provenance tags to the material statements in a draft or deliverable — [DATA] / [STATED] / [INFERRED] / [NARRATIVE] — and report unsourced or over-confident claims. Lite tier: granted-folder only, no connector. Trigger on 'tag the provenance', 'back these statements', 'what evidence class is this', or before shipping a client-facing doc that asserts facts./aos-build-belief-profileBuild the belief / fear / JTBD map of a client's marketing decision-makers — identity, capability and value beliefs, fears, and the job each person hires marketing to do. Produces brand/BELIEF_PROFILE.md, the L0 foundation that every downstream brand file filters through./aos-build-brandDeliberately build, grow, or pivot a brand by engineering strategic associations that lower CAC, raise LTV, and compound advantage.