Claude Relocate — Development skill for Claude Code
Move Claude Code's config folder to another drive or into the XDG folders, safely: settings, sessions, the plugin cache and .claude.json move together, CLAUDE_CONFIG_DIR is set to match, and undo puts.
How to install Claude Relocate
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open nrzz/claude-relocate and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Relocate does
Move Claude Code's config folder to another drive or into the XDG folders, safely: settings, sessions, the plugin cache and .claude.json move together, CLAUDE_CONFIG_DIR is set to match, and undo puts everything back. Zero tokens.
Alternatives in Development
- Check 1: Cache Exists? — CLAUDE_DIR="${CLAUDE_CONFIG_DIR:-$HOME/.claude}" CACHE_EXISTS=$(ls -d "$CLAUDE_DIR/plugins/cache/claude-hud" 2 10.9k ★
- Ccundo — Integrates seamlessly with Claude Code to provide granular undo functionality by reading directly from Claude 1.4k ★
- Free My Tv — A fast, ad-free home screen for Google TV 770 ★
README
claude-relocate
[](https://github.com/nrzz/claude-relocate/actions/workflows/test.yml) [](LICENSE)   [](https://github.com/nrzz/claude-code-toolkit)
Claude Code keeps its settings, sessions, plugin cache and `.claude.json` in your home folder, and the folder grows. [anthropics/claude-code#1455](https://github.com/anthropics/claude-code/issues/1455) (Claude Code does not respect the XDG Base Directory specification, 460 reactions on 2026-10-16) and [#2350](https://github.com/anthropics/claude-code/issues/2350) ask for the XDG folders. [#57998](https://github.com/anthropics/claude-code/issues/57998) asks for a way to move the desktop app's own folder on Windows when the C: drive is full. [#30538](https://github.com/anthropics/claude-code/issues/30538) reports that the VS Code extension ignores `CLAUDE_CONFIG_DIR`. That variable exists, but moving by hand means copying a folder, setting the variable in every shell, and finding out afterwards what broke. claude-relocate does the move with a plan before it and an undo after it. It shows what is in the folder and how big each kind is, moves it to another drive or into the XDG folders, keeps file times, sets `CLAUDE_CONFIG_DIR` in your shell profiles and the Windows user environment, can leave a junction or link at the old place for programs that ignore the variable, refuses while Claude Code is running, checks the result, and puts everything back on request. It is a plain Node program that runs outside Claude, so it costs no tokens. It cannot move the desktop app's own `%APPDATA%\Claude` folder (#57998); [How it works](#how-
Related Skills
Brain Relocate
Move your vault to a new location — updates BRAIN_PATH in settings.json and shell profile
Nms Build Import
Claude skill: copy another player's No Man's Sky base or corvette build into your own save - verified backup,
File Organization Refactoring
Reorganize project files and folders safely with tested, incremental migrations.
GodotCli
Drive the Godot 4 editor from the command line and from coding agents (Claude Code, Codex, Cursor, any MCP cli
Claude Code Sessions
Unofficial tool for Claude Code sessions on disk: make a session visible under your other Claude account on th
Mem Doctor
Self-heal gowth-mem plugin's installed_plugins.json registration. Pulls the marketplace clone to latest, mater
Related Agents
Paper Verifier
Compares the Rust implementation in outl-core against the pseudocode in Kleppmann et al. 2022 ("A highly-avail
Migration Manager
Manages Alembic migrations — generates, reviews, squashes, and safely rolls back. Use when you have migration
Settings Usability QA
Deep usability review of Tulip's Settings page — whether an operator can find a control, understand what it do