move

move is a command for Claude Code from danielraffel/generous-corp-marketplace. It costs 7 tokens per session (415 once invoked), scanned B, original, MIT.

A command for moving a Git worktree, which is a separate working folder connected to the same Git repository, to another location on disk.

In plain words
What is it for?
Use it to move an existing worktree from one filesystem path to another and receive checks and status messages about the operation.
Why use it?
It avoids moving the folder by hand and forgetting to update Git’s references to it.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the worktree-manager plugin — 8 commands shipped together

Good fit Use it to move an existing worktree from one filesystem path to another and receive checks and status messages about the operation.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/danielraffel/generous-corp-marketplace/move
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/danielraffel/generous-corp-marketplace

Made for: Claude Code.

Or install worktree-manager, the plugin that ships this one along with the rest of its 8 commands.

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 move

README.md
[![agentmods](https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/move.svg)](https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/move)
Your own site
<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/move"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/move.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 415 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00007 $0.00415
Opus 5 $0.00003 $0.00208
Sonnet 5 $0.00001 $0.00083
Haiku 4.5 $0.00001 $0.00042

Measured 8d ago against content hash 859c22f8845e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade B, and why

move 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 8d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- Permission errors → explain and suggest sudo if appropriate
plugins/worktree-manager/commands/move.md · 67 lines

What it actually says

Worktree Move Command

Move an existing worktree to a new filesystem location. Git references are updated automatically.

Usage

/worktree-manager:move <current-path> <new-path>

Instructions for Claude

When user invokes this command:

  1. Parse arguments:

    • Extract current worktree path (required)
    • Extract new worktree path (required)
  2. Validation:

    • Check that both paths are provided
    • Verify current path exists
    • Warn if new path already exists
  3. Call MCP tool:

    • Use mcp__worktree__worktree_move
    • Pass current_path and new_path
  4. Display results:

    • Show the move operation:
      • From:
      • To:
      • ✅ Worktree moved successfully
    • Explain that git references were updated automatically
  5. Error handling:

    • Current path doesn't exist → suggest checking path or using /worktree-manager:list
    • Destination already exists → suggest different path or remove existing
    • Permission errors → explain and suggest sudo if appropriate

Examples

Basic move:

User: /worktree-manager:move ~/worktrees/feature-a ~/projects/feature-a
Claude: Moving worktree from ~/worktrees/feature-a to ~/projects/feature-a
        ✅ Worktree moved successfully

Move and rename:

User: /worktree-manager:move ~/worktrees/old-name ~/worktrees/new-name
Claude: [Moves and renames worktree directory]

Notes

  • Git automatically updates all internal references
  • The worktree remains functional after moving
  • No need to re-run setup commands after moving
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. 8d ago First seen · 67 lines · 7 tokens per session scan B 859c22f8845e

Subscribe to this mod's changes

move is a command published in the GitHub repository danielraffel/generous-corp-marketplace (11 stars, last pushed 9d ago), licensed MIT. It adds 7 tokens to every session and 415 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.