clone

Solid

Clone your agent's portable context (agent folder including MEMORY.md) to a folder for transfer to another vault. Use only when the user explicitly wants to migrate or copy agent memory to a new vault. Do NOT use for: backing up the whole vault, updating OneBrain (use update), or reviewing memory (use memory-review).

AI & Automation 28 stars 3 forks Updated 1 weeks ago Apache-2.0

Install

View on GitHub

Quality Score: 83/100

Stars 20%
49
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Clone Package your agent's full context for transfer to a new vault. **What gets cloned:** Everything in the agent folder : `MEMORY.md`, `MEMORY-INDEX.md`, `memory/`, and `CLONE.md` once generated. Also includes `onebrain.yml` and the OneBrain plugin. **What does NOT get cloned:** your notes, projects, areas, knowledge, resources, archive, and logs. Usage: `/clone` --- ## Files Included in Clone Package - `05-agent/MEMORY.md` - `05-agent/MEMORY-INDEX.md` ← include MEMORY-INDEX - `05-agent/memory/` ← all memory files (was: context/ + memory/ separately; now merged) - `onebrain.yml` ← include onebrain.yml (has recap config) - `.claude/plugins/onebrain/` --- ## Session Log Handling When cloning, preserve `recapped:` and `topics:` fields on all session logs. Do NOT strip these fields — the new vault should not reprocess already-recapped logs. --- ## Archive Folder Option AskUserQuestion: "Include `[archive_folder]/[agent_folder]/memory/` (deleted memory files)?" Options: `include / skip` - `include`: copy `06-archive/05-agent/memory/` into clone package (full history) - `skip`: omit archive folder (clean fresh-feeling vault) --- ## Step 1: Regenerate CLONE.md Write `[agent_folder]/CLONE.md` (overwrite if it exists): ```markdown --- tags: [agent-clone] updated: YYYY-MM-DD --- # Agent Clone Manifest ## Identity - Source: [agent_folder]/MEMORY.md - Agent name: [read from [agent_folder]/MEMORY.md `## Identity & Personality` sect...

Details

Author
onebrain-ai
Repository
onebrain-ai/onebrain
Created
5 months ago
Last Updated
1 weeks ago
Language
Shell
License
Apache-2.0

Similar Skills

Semantically similar based on skill content — not just same category