sutando-migrate

sutando-migrate is a skill for Claude Code, Codex from sonichi/sutando. It costs 105 tokens per session (1,455 once invoked), scanned A, original, MIT.

A guided tool for moving older Sutando workspace files into the current canonical workspace location. A workspace is the folder where the project keeps its notes, state, results, and related files.

In plain words
What is it for?
Use it to scan legacy workspace data, review collisions, approve migration steps, verify the result, and optionally reconnect the workspace repository.
Why use it?
It finds files across old and custom locations and highlights conflicts before anything is migrated. It can distinguish duplicate files, timestamp-only differences, and real content mismatches.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/sonichi/sutando/sutando-migrate
Any agent
npx skills add sonichi/sutando --skill sutando-migrate
Clone the repo
git clone --depth 1 https://github.com/sonichi/sutando

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sutando-migrate

README.md
[![agentmods](https://agentmods.dev/badge/skills/sonichi/sutando/sutando-migrate.svg)](https://agentmods.dev/skills/sonichi/sutando/sutando-migrate)
Your own site
<a href="https://agentmods.dev/skills/sonichi/sutando/sutando-migrate"><img src="https://agentmods.dev/badge/skills/sonichi/sutando/sutando-migrate.svg" alt="Measured on agentmods" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,455 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00105 $0.01455
Opus 5 $0.00053 $0.00727
Sonnet 5 $0.00021 $0.00291
Haiku 4.5 $0.00011 $0.00145

Measured 5d ago against content hash 74ab87490b4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

sutando-migrate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/sutando-migrate/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Sutando Migrate

Guided workspace migration for existing users (M1 Part 2). Reach for this when:

  • The legacy-state-detected warning fires (health-check, init.sh, check-pending-questions)
  • A user has data at a pre-M0 location (<repo>/{notes,state,results,...}/, ~/.sutando/workspace/, or a custom $SUTANDO_WORKSPACE-pointed path) and wants it folded into the M0 canonical <repo>/workspace/
  • Owner explicitly says "migrate workspace" or "run sutando-migrate"

Usage: /sutando-migrate [--auto]

--auto proceeds without per-step greenlight. Without it the skill waits for owner OK at each phase boundary.

What this skill does (5 phases)

Phase 1 — Scan + summary

Run bash scripts/sutando-migrate.sh scan --json. Parse the JSON for:

  • Total unique relpaths across A+B+C+dest
  • Per-source byte counts
  • Cross-source collision triage: identical_content (drop-dup, no action) + mtime_only_diff (commit's newest-mtime auto-resolves) + size_mismatch (REAL content conflicts — owner attention)
  • Notable size-mismatch entries (build_log, conversation.log, state/* divergences)

Present a concise 4–6 line summary to owner via:

  • Discord DM (text)
  • macOS notification (osascript -e 'display notification "scan ready: N actionable / M ignorable" with title "Sutando-Migrate"')
  • If voice client connected, a brief voice summary

Wait for greenlight unless --auto.

Phase 2 — Commit (data move)

If owner says go:

  • bash scripts/sutando-migrate.sh commit (no --delete-source; honors workspace_m1_no_auto_commit)
  • Surface the commit-output to owner: backup-id, per-source counts (copied/identical-drop/kept-dest/sidecar/skipped), sentinel paths

After commit, the script prints the phase-2 footer ("After ~7d run --commit --delete-source --backup-id "). Acknowledge it; don't run delete-source automatically.

Phase 3 — Verify

  • bash scripts/sutando-migrate.sh verify — confirms hash + count match per indexed source-file entry
  • If verify FAILS (returns non-zero), report the failure + suggest rollback. Don't proceed.

Read the full file on GitHub · 92 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 92 lines · 105 tokens per session scan A 74ab87490b4e

Subscribe to this mod's changes

sutando-migrate is a skill published in the GitHub repository sonichi/sutando (391 stars, last pushed today), licensed MIT. It adds 105 tokens to every session and 1,455 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.