- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add oaustegard/claude-skills --skill cloning-project -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add oaustegard/claude-skills --skill cloning-project -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add oaustegard/claude-skills --skill cloning-project -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add oaustegard/claude-skills --skill cloning-project -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/oaustegard/claude-skills/tree/HEAD/cloning-project來自發布者
When users request to clone, copy, export, or backup their current project:
"Project" here is a Claude.ai workspace, never a code repository. The word collides badly, so route by what is actually being copied:
This skill reads the Claude.ai workspace you are talking in. It touches no checkout and knows nothing about code.
Check if the user is in a project by looking for project-specific indicators:
<available_skills> or similar sectionsIf not in a project, inform the user that this skill requires being inside a Claude project.
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
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/
If only project instructions exist (no knowledge files):
cp /home/claude/project-instructions.md /mnt/user-data/outputs/
If project has both instructions and knowledge files:
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
cd /home/claude
zip -r /mnt/user-data/outputs/project-export.zip project-export/
unzip -l /mnt/user-data/outputs/project-export.zip
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.
Empty project (no custom instructions or knowledge):
Large knowledge bases:
Corrupted or inaccessible files:
>-
---name: cloning-projectdescription: >----# cloning-project/SKILL.md常見問題
從發布者下載 cloning-project/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/oaustegard/claude-skills。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。