JonathanAquino

copy-claude-context

0
0
# Install this skill:
npx skills add JonathanAquino/ai-skills --skill "copy-claude-context"

Install specific skill from multi-skill repository

# Description

Copy Claude Code project context from one directory to another

# SKILL.md


name: copy-claude-context
description: Copy Claude Code project context from one directory to another


  1. Ask user for source directory (e.g., ~/projects/foo)
  2. Ask user for target directory (e.g., ~/Documents/AI_Context/foo)
  3. Convert paths to Claude project directory names:
  4. Replace / with -
  5. Replace spaces with -
  6. Prepend -
  7. Resolve symlinks first (e.g., ~/Documents~/Dropbox/T490/Documents)
  8. Copy: cp -r ~/.claude/projects/<source> ~/.claude/projects/<target>

Path encoding examples

Real path Claude projects path
/home/jon/projects/foo -home-jon-projects-foo
/home/jon/projects/foo bar -home-jon-projects-foo-bar
~/Documents/AI_Context/x -home-jon-Dropbox-T490-Documents-AI-Context-x (symlink resolved)

# Supported AI Coding Agents

This skill is compatible with the SKILL.md standard and works with all major AI coding agents:

Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.