clone

Package agent memory files and configuration for transfer to another OneBrain vault.

23|2|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/onebrain-ai/onebrain --skill clone-onebrain-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: clone
Source: https://github.com/onebrain-ai/onebrain/tree/main/.claude/plugins/onebrain/skills/clone
Command: npx skills add https://github.com/onebrain-ai/onebrain --skill clone-onebrain-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Cloning solves the problem of moving an agent’s learned, persistent context (its memory files) from one OneBrain vault to another without losing the agent’s identity and history.

Core Features & Use Cases

  • Portable agent context transfer: Packages the agent folder contents, including MEMORY.md, MEMORY-INDEX.md, memory/, CLONE.md, and the OneBrain configuration needed to restore context.
  • Controlled migration scope: Excludes your general vault data (notes, projects, areas, knowledge, resources, archive, and logs) unless you explicitly choose to include archived memory files.
  • Session log preservation: Preserves recapped and topics fields on session logs during cloning to prevent reprocessing in the destination vault.
  • Two delivery modes: Either creates an export folder with all files copied, or displays exact relative paths for manual copying.

Quick Start

Use the clone skill to package your agent’s MEMORY.md and related memory files so you can move them into a new vault.

Frequently Asked Questions about clone

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I migrate agent memory files to a new OneBrain vault?

You migrate agent memory to a new OneBrain vault by packaging persistent memory files like MEMORY.md and MEMORY-INDEX.md, preserving session log recapped and topics fields to prevent reprocessing in the destination vault.

What is the best way to transfer an agent persona without losing its session logs?

Transferring an agent persona without losing session logs requires preserving the recapped and topics fields during context cloning, which ensures the destination vault recognizes previously processed history.

Can I export my agent context without copying my entire vault notes and projects?

Yes, you can export agent context without copying general vault data, because the migration scope explicitly excludes notes and projects unless you choose to include archived memory files.

Does context transfer support manual file copying instead of folder export?

Yes, context transfer supports manual file copying by offering a path-only display mode that shows exact relative paths for manual copying instead of automatically creating an export folder.

What data is included when I clone an agent's portable memory context?

Cloning an agent's portable memory context includes packaging the agent folder contents, specifically MEMORY.md, MEMORY-INDEX.md, the memory/ directory, CLONE.md, and the required OneBrain configuration.