migrate_plans

migrate_plans is a command for Claude Code, Cursor from markmhendrickson/neotoma. It costs 0 tokens per session (3,615 once invoked), scanned A, original, MIT.

A command that reviews plans stored in Cursor’s planning folder, moves relevant ones into project proposals, and archives completed plans.

In plain words
What is it for?
Reviewing, migrating, archiving, and reporting on project plans.
Why use it?
It keeps old, active, and future work separate so useful plans are not lost among completed ones.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

Good fit Reviewing, migrating, archiving, and reporting on project plans.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/markmhendrickson/neotoma/migrate_plans
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.

Clone the repo
git clone --depth 1 https://github.com/markmhendrickson/neotoma

Made for: Claude Code, Cursor.

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 migrate_plans

README.md
[![agentmods](https://agentmods.dev/badge/commands/markmhendrickson/neotoma/migrate_plans/github.svg)](https://agentmods.dev/commands/markmhendrickson/neotoma/migrate_plans)
Your own site
<a href="https://agentmods.dev/commands/markmhendrickson/neotoma/migrate_plans"><img src="https://agentmods.dev/badge/commands/markmhendrickson/neotoma/migrate_plans/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for migrate_plans

Your own site · 80×15
<a href="https://agentmods.dev/commands/markmhendrickson/neotoma/migrate_plans"><img src="https://agentmods.dev/badge/commands/markmhendrickson/neotoma/migrate_plans.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,615 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00000 $0.03615
Opus 5.5 $0.00000 $0.01446
Sonnet 5.5 $0.00000 $0.00723
Haiku 4.5 $0.00000 $0.00362

Measured 1mo ago against content hash 3f20370bb8b0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

migrate_plans 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 1mo 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.

.cursor/commands/migrate_plans.md · 500 lines

How it starts

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

migrate_plans

Automatically review all plans in .cursor/plans/, determine relevance, and migrate relevant ones to docs/proposals/ for future consideration.

Purpose

This command:

  1. Reviews all plan files in .cursor/plans/
  2. Determines which plans are still relevant (pending work, architecture aligned)
  3. Migrates relevant plans to docs/proposals/ with appropriate format
  4. Archives completed plans to docs/proposals/archived/
  5. Generates a migration report

Usage

Standalone execution:

/migrate_plans

Automatic execution:

  • Runs automatically during /commit workflow (after security audit, before staging)
  • Can be disabled in foundation-config.yaml

Configuration

Enable/disable in foundation-config.yaml:

development:
  commit:
    migrate_plans: true  # Enable automatic plan migration during commit
    migrate_plans_config:
      proposals_dir: "docs/proposals"
      archive_completed: true
      auto_remove_obsolete: false
      relevance_check:
        check_architecture: true
        check_completion: true
        check_duplicates: true

Relevance Criteria

The migration command analyzes plan content (not just todos) to determine implementation status:

Implementation Analysis

For each plan, the command:

  1. Extracts implementation items from plan content:

    • File paths (src/services/..., **/migrations/...)
    • Function names (createDeletionObservation, generateRecordSummary)
    • API endpoints (/gdpr_delete, /store_record)
    • Database tables/columns (CREATE TABLE, ALTER TABLE)
    • Services (src/services/deletion.ts)
  2. Checks if items exist in the codebase:

    • Files: Checks if file exists
    • Functions: Searches codebase for function definitions
    • Migrations: Finds migration files matching patterns
    • Endpoints: Searches actions.ts and server.ts
    • Tables/Columns: Checks schema.sql
  3. Calculates completion percentage:

    • found_items / total_items * 100
    • Example: 18/31 items found = 58% complete

Read the full file on GitHub · 500 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. 1mo ago First seen · 500 lines · 0 tokens per session scan A 3f20370bb8b0

Subscribe to this mod's changes

migrate_plans is a command published in the GitHub repository markmhendrickson/neotoma (34 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,615 tokens. 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-09-03.