Skip to content
Skill

Clone

Clone your agent's portable context (agent folder including MEMORY.md) to a folder for transfer to another vault

Install
Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
31
Last commit
3 months ago
License
Apache-2.0
Listing updated
today

When your agent uses it

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

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (7 KB) on GitHub on 17 November 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Install

This skill ships in the onebrain plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add onebrain-ai/onebrain
/plugin install onebrain@onebrain

Or copy only this skill to ~/.claude/skills/clone:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/onebrain-ai/onebrain.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/clone &&
cp -R "$tmp/.claude/plugins/onebrain/skills/clone" ~/.claude/skills/clone &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/clone inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/clone to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/onebrain-ai/onebrain.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/clone &&
cp -R "$tmp/.claude/plugins/onebrain/skills/clone" ~/.agents/skills/clone &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/clone inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/clone to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/onebrain-ai/onebrain.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/clone &&
cp -R "$tmp/.claude/plugins/onebrain/skills/clone" ~/.cursor/skills/clone &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/clone inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/onebrain-ai/onebrain.git --path .claude/plugins/onebrain/skills/clone

Or copy the folder to ~/.gemini/skills/clone yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/clone:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/onebrain-ai/onebrain.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/clone &&
cp -R "$tmp/.claude/plugins/onebrain/skills/clone" ~/.copilot/skills/clone &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/clone inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/onebrain-ai/onebrain.git

Then copy onebrain/.claude/plugins/onebrain/skills/clone into your agent's skills folder as clone. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

Clone FAQ

How do I install Clone in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/clone to use it in all your projects, or to .claude/skills/clone in one project. Or install the onebrain plugin, which includes it: /plugin marketplace add onebrain-ai/onebrain, then /plugin install onebrain@onebrain.

Does Clone run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Clone?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

More from onebrain-ai/onebrain

  1. Quick URL bookmark capture : paste a link, AI generates name and description, suggests category, saves to Bookmarks.md in awesome-list forma

    • Open source
    • 31 GitHub stars
  2. Capture a stream of raw thoughts : classify them and file to inbox with action items extracted

    • Open source
    • 31 GitHub stars
  3. Quick note capture with automatic wikilink suggestions to related existing notes

    • Open source
    • 31 GitHub stars
  4. Find connections between notes and suggest wikilinks to strengthen the knowledge graph

    • Open source
    • 31 GitHub stars
    • Knowledge and memory
  5. Review inbox and recent notes, synthesize and merge into the knowledge base

    • Open source
    • 31 GitHub stars
    • Knowledge and memory
  6. Daily briefing: surfaces tasks due today and open items from the last session

    • Open source
    • 31 GitHub stars