aips-migrate-from-md

aips-migrate-from-md is a command for coding agents from kernalix7/AIPS. It costs 24 tokens per session (819 once invoked), scanned B, original, MIT.

A command that forces migration of a project from the older v5.x AI_PROJECT_SETUP.md format to the v6.0 AIPS plugin format.

In plain words
What is it for?
Use it on the current project or a specified project directory to review planned removals, edits, and preserved files, then run the legacy migration.
Why use it?
It gives you a direct migration path when the automatic initializer would choose another action or when you already know the old setup is present.

Command

Part of the AIPS plugin — 11 commands, 4 agents shipped together

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 commands/kernalix7/aips/aips-migrate-from-md
Clone the repo
git clone --depth 1 https://github.com/kernalix7/AIPS

Or install AIPS, the plugin that ships this one along with the rest of its 11 commands, 4 agents.

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 aips-migrate-from-md

README.md
[![agentmods](https://agentmods.dev/badge/commands/kernalix7/aips/aips-migrate-from-md.svg)](https://agentmods.dev/commands/kernalix7/aips/aips-migrate-from-md)
Your own site
<a href="https://agentmods.dev/commands/kernalix7/aips/aips-migrate-from-md"><img src="https://agentmods.dev/badge/commands/kernalix7/aips/aips-migrate-from-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 819 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00024 $0.00819
Opus 5 $0.00012 $0.00409
Sonnet 5 $0.00005 $0.00164
Haiku 4.5 $0.00002 $0.00082

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

Security

Grade B, and why

aips-migrate-from-md scanned grade B with 1 finding 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 4d 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.

Reads MCP configurationmediumAgent snooping

mcp.json carries server URLs and auth tokens; reading it lets a mod discover and abuse other integrations.

- **PRESERVE**: `WORK_STATUS.md`, `memory/`, `sessions/{current,recovery,handoff-*}.md`, `.mcp.json`, `.gitignore`, `tmp-igbkp/{archive,restore,purge-history,verify-setup,uninstall,smoke-test-hooks,secret-guard,automode-
commands/aips-migrate-from-md.md · 48 lines

How it starts

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

/aips:migrate-from-md

Force the v5.x AI_PROJECT_SETUP.md → v6.0 plugin migration on a project, even when the auto-detector in /aips:init would pick a different case. Use this when you know the legacy .md install is present (or buried) and you want migration regardless.

Arguments

$ARGUMENTS — optional path to the v5.x project root. If omitted, walk up from $PWD to the nearest .git directory.

Usage:

/aips:migrate-from-md                       # migrate current project
/aips:migrate-from-md /path/to/v5x/project  # migrate the specified project

What it does

Same logic as /aips:init CASE B, but always runs migration — does not consult the auto-detector.

  1. Resolve target — use $ARGUMENTS if non-empty, else PROJECT_ROOT from cwd.
  2. Print plan — REMOVE / EDIT / PRESERVE lists:
    • REMOVE: .priv-storage/AI_PROJECT_SETUP.md; .priv-storage/.claude/{hooks,skills,output-styles,statusline}/*; .priv-storage/.claude/agents/{explorer,code-reviewer,log-analyzer}.md; .priv-storage/.claude/commands/{status,recover,ship,health,save,clean,codex-brief,codex-review,codex-fix,codex-relay-status}.md; tmp-igbkp/codex-relay-{check,run}.sh; .priv-storage/sessions/{codex-brief,codex-report,claude-review}.md and .priv-storage/sessions/codex-relay/.
    • EDIT: .priv-storage/CLAUDE.md slimmed to Section 1-7 + 11 only.
    • PRESERVE: WORK_STATUS.md, memory/, sessions/{current,recovery,handoff-*}.md, .mcp.json, .gitignore, tmp-igbkp/{archive,restore,purge-history,verify-setup,uninstall,smoke-test-hooks,secret-guard,automode-validate,setup-worktree}.sh, .priv-storage/.claude/agents/tech-lead.md, .priv-storage/.claude/agents/*-team.md.
  3. Single confirm — prompt once: Run all of the above without further prompts? [Y/n] (default Y).
  4. Runlib/upgrade.sh "$TARGET" --only-cleanup --auto-confirm (the --auto-confirm flag suppresses the script's internal prompt so the whole migration runs end-to-end without re-asking). The legacy lib/migrate-from-md.sh name is a thin backward-compat wrapper for the same call.
  5. Verifylib/verify-init.sh "$TARGET" and report PASS/FAIL.

Read the full file on GitHub · 48 lines

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. 4d ago First seen · 48 lines · 24 tokens per session scan B 374d81f4dc28

Subscribe to this mod's changes

aips-migrate-from-md is a command published in the GitHub repository kernalix7/AIPS (5 stars, last pushed 3mo ago), licensed MIT. It adds 24 tokens to every session and 819 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads mcp configuration). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.