Skip to content
cloning-project logo

Cloning Project

cloning-project

Exports project instructions and knowledge files from the current Claude project. Use when users want to clone, copy, backup, or export a project's configuration and files.

SKILL.md

Full skill instructions

Cloning Project

When users request to clone, copy, export, or backup their current project:

Step 1: Verify Project Context

Check if the user is in a project by looking for project-specific indicators:

  • Project instructions in the context window
  • Knowledge files mentioned in <available_skills> or similar sections
  • User explicitly stating they're in a project

If not in a project, inform the user that this skill requires being inside a Claude project.

Step 2: Gather Project Instructions

Project instructions are typically found in the context window as XML or markdown content describing the project's purpose and configuration. Extract and save these instructions to a file.

Create the instructions file:

cat > /​home/​claude/​project-instructions.md << 'INSTRUCTIONS'
[Extracted project instructions content]
INSTRUCTIONS

Step 3: Locate Knowledge Files

Knowledge files are user-uploaded documents stored in /​mnt/​user-data/​uploads/. List all files:

ls -lh /​mnt/​user-data/​uploads/

If knowledge files exist, copy them to the working directory for bundling:

cp /​mnt/​user-data/​uploads/​* /​home/​claude/​project-export/

Step 4: Create Export Bundle

If only project instructions exist (no knowledge files):

  • Copy instructions directly to outputs:
    cp /​home/​claude/​project-instructions.md /​mnt/​user-data/​outputs/
    

If project has both instructions and knowledge files:

  • Create an organized export directory:
    mkdir -p /​home/​claude/​project-export
    cp /​home/​claude/​project-instructions.md /​home/​claude/​project-export/
    cp /​mnt/​user-data/​uploads/​* /​home/​claude/​project-export/ 2>/​dev/​null || true
    
  • Create zip bundle:
    cd /​home/​claude
    zip -r /​mnt/​user-data/​outputs/​project-export.zip project-export/
    
  • Show bundle contents:
    unzip -l /​mnt/​user-data/​outputs/​project-export.zip
    

Step 5: Provide Files and Instructions to User

Link the exported files:

For single instructions file:

[Download project-instructions.md](computer:///mnt/​user-data/​outputs/​project-instructions.md)

For bundled export:

[Download project-export.zip](computer:///mnt/​user-data/​outputs/​project-export.zip)

Then provide clear setup instructions:

## How to Import Into a New Project

1. **Create a new Claude project** (or open an existing one where you want to clone this configuration)

2. **Add project instructions:**
   - Open the new project's settings
   - Navigate to the "Instructions" section
   - Copy and paste the content from `project-instructions.md`
   - Save the instructions

3. **Upload knowledge files** (if applicable):
   - In the new project, go to the "Knowledge" section
   - Upload all files from the export (except project-instructions.md)
   - Files will become available as project knowledge

Your project is now cloned with the same configuration and knowledge base.

Edge Cases

Empty project (no custom instructions or knowledge):

  • Inform the user that the project has no custom configuration to export
  • Explain that projects by default only have access to Claude's base capabilities

Large knowledge bases:

  • If the zip file exceeds reasonable size (~50MB), warn the user and suggest selective export
  • Provide individual file links as fallback

Corrupted or inaccessible files:

  • Skip files that cannot be read
  • Report which files were successfully exported vs. skipped
  • Provide export anyway with available content

Usage Examples

Trigger phrases:

  • "Clone this project"
  • "Export my project configuration"
  • "How do I copy this project setup?"
  • "Backup my project"
  • "Save this project's settings"

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.

179.7K 100.1K
View

Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.

179.7K 89.5K
View

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View