move-project

move-project is a command for Claude Code from Desko77/cursor-1c-skills. It costs 0 tokens per session (779 once invoked), scanned A, original, MIT.

A command for moving a project to another folder while preserving its Claude Code memory, sessions, and plans. It also accounts for how Claude Code maps project paths to its memory folders.

In plain words
What is it for?
Use it to move a project between folders, check whether the destination is available, and reconnect the moved project with its stored Claude Code data.
Why use it?
It reduces the risk of losing project-specific context when the project’s location changes.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to move a project between folders, check whether the destination…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/desko77/cursor-1c-skills/move-project
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/Desko77/cursor-1c-skills

Made for: Claude Code.

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-project

README.md
[![agentmods](https://agentmods.dev/badge/commands/desko77/cursor-1c-skills/move-project.svg)](https://agentmods.dev/commands/desko77/cursor-1c-skills/move-project)
Your own site
<a href="https://agentmods.dev/commands/desko77/cursor-1c-skills/move-project"><img src="https://agentmods.dev/badge/commands/desko77/cursor-1c-skills/move-project.svg" alt="Measured on agentmods" 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 779 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.00779
Opus 5 $0.00000 $0.00390
Sonnet 5 $0.00000 $0.00156
Haiku 4.5 $0.00000 $0.00078

Measured 7d ago against content hash c064dcdaafab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

commands/move-project.md · 91 lines

How it starts

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

Перенеси проект в другую папку, сохранив память, сессии и планы Claude Code.

Аргумент $ARGUMENTS

Пользователь передает:

  • Путь к проекту-источнику (откуда)
  • Путь назначения (куда)
  • Или пустую строку - тогда спроси оба пути

Пример: /move-project C:\Projects\my-app D:\Work\my-app

Выполнение

1. Подготовка

Проверь что источник существует, назначение свободно. Если назначение уже существует - спроси пользователя.

2. Перемещение файлов проекта

mv "<source>" "<target>"

Если mv не работает (Device or resource busy) - скопируй через PowerShell:

powershell -Command "Copy-Item -Path '<source>' -Destination '<target>' -Recurse -Force"

Потом попроси пользователя закрыть все что держит папку и удали оригинал.

3. Определение папки памяти Claude Code

ВАЖНО: Claude Code нормализует путь проекта в имя папки ~/.claude/projects/:

  • Разделители (\, /, :) → дефис -
  • Подчеркивание (_) → дефис (-)

Пример: C:\My Projects\Sub_folder\my-appC--My-Projects-Sub-folder-my-app

Алгоритм:

  1. Открой Claude Code в новом расположении (или попроси пользователя открыть)
  2. Посмотри какую папку Claude Code реально создал:
    ls ~/.claude/projects/ | grep <имя-проекта>
    
  3. Используй ту папку, которую создал Claude Code - НЕ конструируй имя вручную

4. Перенос памяти

Из всех старых папок проекта в ~/.claude/projects/ (может быть несколько вариантов):

OLD="~/.claude/projects/<old-project-folder>"
NEW="~/.claude/projects/<new-project-folder>"

# Память
cp "$OLD/memory/"* "$NEW/memory/"

# Сессии (.jsonl файлы)
cp "$OLD/"*.jsonl "$NEW/"

# Папки сессий (UUID-папки)
for d in "$OLD/"*/; do
  dirname=$(basename "$d")
  [ "$dirname" != "memory" ] && cp -r "$d" "$NEW/$dirname"
done

5. Планы

Планы хранятся в ~/.claude/plans/<имя-проекта>/ где имя = последний каталог пути. Если имя каталога проекта не изменилось - планы остаются на месте, ничего делать не нужно.

Если имя изменилось:

mv ~/.claude/plans/<old-name> ~/.claude/plans/<new-name>

Read the full file on GitHub · 91 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. 7d ago First seen · 91 lines · 0 tokens per session scan A c064dcdaafab

Subscribe to this mod's changes

move-project is a command published in the GitHub repository Desko77/cursor-1c-skills (55 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 779 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-08-30.