# 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.

- **Type:** Skill
- **Install:** `agentstack add skill-oaustegard-claude-skills-cloning-project`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [oaustegard](https://agentstack.voostack.com/s/oaustegard)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [oaustegard](https://github.com/oaustegard)
- **Source:** https://github.com/oaustegard/claude-skills/tree/main/cloning-project
- **Website:** https://austegard.com/ai-tools/claude-skill-releases.html

## Install

```sh
agentstack add skill-oaustegard-claude-skills-cloning-project
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# 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 `` 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:
```bash
cat > /home/claude/project-instructions.md /dev/null || true
  ```
- Create zip bundle:
  ```bash
  cd /home/claude
  zip -r /mnt/user-data/outputs/project-export.zip project-export/
  ```
- Show bundle contents:
  ```bash
  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:**
```markdown
[Download project-instructions.md](computer:///mnt/user-data/outputs/project-instructions.md)
```

**For bundled export:**
```markdown
[Download project-export.zip](computer:///mnt/user-data/outputs/project-export.zip)
```

Then provide clear setup instructions:

```markdown
## 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"

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [oaustegard](https://github.com/oaustegard)
- **Source:** [oaustegard/claude-skills](https://github.com/oaustegard/claude-skills)
- **License:** MIT
- **Homepage:** https://austegard.com/ai-tools/claude-skill-releases.html

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-oaustegard-claude-skills-cloning-project
- Seller: https://agentstack.voostack.com/s/oaustegard
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
