session-fork-conversation
/session-fork-conversation
Session — Fork the current conversation into a new one, either a full copy or a clean one with a written handoff. Use when the person says "haz un fork", "forkea la conversación", "bifurca", "abre otra conversación para...", "lanza otro agente con...", "pásale esto a una sesión nueva", "fork this", "branch this conversation", "start a new session for X with only the context it needs".
- Author
- Edvantage26 ↗
- Repository
- ai1 ↗
- Licence
- MIT
- Last repository change
- 13.11.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Session — Fork the current conversation into a new one, either a full copy or a clean one with a written handoff. Use when the person says "haz un fork", "forkea la conversación", "bifurca", "abre otra conversación para...", "lanza otro agente con...", "pásale esto a una sesión nueva", "fork this", "branch this conversation", "start a new session for X with only the context it needs".
Triggers from the description
Original author description
Session — Fork the current conversation into a new one, either a full copy or a clean one with a written handoff. Use when the person says "haz un fork", "forkea la conversación", "bifurca", "abre otra conversación para...", "lanza otro agente con...", "pásale esto a una sesión nueva", "fork this", "branch this conversation", "start a new session for X with only the context it needs".
How it works
- 1. Check the host
- 2a. Full fork
- 2b. Brief
- 3. Report
- Fixed rules
- Customization
SKILL.md preview
---
name: session-fork-conversation
description: Session — Fork the current conversation into a new one, either a full copy or a clean one with a written handoff. Use when the person says "haz un fork", "forkea la conversación", "bifurca", "abre otra conversación para...", "lanza otro agente con...", "pásale esto a una sesión nueva", "fork this", "branch this conversation", "start a new session for X with only the context it needs".
allowed-tools: Bash("${CLAUDE_PLUGIN_ROOT}/bin/ai1" skill-context *)
---
# Fork the conversation
Two modes. The `ai1` CLI (on the Bash PATH while the plugin is enabled) detects the host and opens
the new conversation the native way; you decide the mode, write the brief and confirm.
| Mode | What the new conversation gets | Use when |
|---|---|---|
| `full` | the whole conversation, copied (`claude --resume <id> --fork-session`); the original is untouched | the person wants to try another line of the *same* work and needs everything said so far |
| `brief` | only a handoff you write: task, needed facts and decisions, files, limits, how to verify | the new work is scoped (a subtask, a side investigation, a fix elsewhere) and does not need this history |
If the person did not say which, propose one in a line with the reason and let them correct it.
Prefer `brief` when this conversation is long and the new task is narrow: it starts focused and
cheaper. A `full` fork runs one short turn over the whole context to create the copy.
## 1. Check the host
```bash
ai1 fork host --opener '${user_config.fork_opener}'
```
The person chooses where forks open with the plugin option **Fork opener** (`/config` -> ai1:
`auto`, `paseo`, `vscode`, `desktop`, `terminal`); pass `--opener '${user_config.fork_opener}'` exactly as written to every
`ai1 fork` command (unset, it means auto). If they say where they want it, point them to that option.
- `paseo`: the new conversation becomes a Paseo agent (same provider, model and mode as this one,
labelled `ai1=fork`, `fork_mode`, `forked_from`), independent from this agent. Chosen from
another host, it starts as plain Claude with Paseo's defaults.
- `desktop` (chosen, macOS and Windows): the Claude Desktop command or link comes first.
- `vscode`: the extension is opened on it (`vscode://anthropic.claude-code/open?...`).
- `terminal` (CLI, JetBrains, SDK and Claude Desktop, which has no signal): you get the commands
to open it; you cannot start an interactive `claude` from a tool call.
- `web` (claude.ai/code): no full fork exists there; use `brief`, or the person runs `/branch`.
Quicker native paths the person can use themselves, worth one line when they apply: `/branch`
(copy and switch) or `/fork` (copy into a background session) in an interactive CLI, and "Fork
conversation from here" on a message in VS Code.
## 2a. Full fork
```bash
ai1 fork full --opener '${user_config.fork_opener}' [--title "<what the fork explores>"] [--task "<first instruction for the fork>"]
```
With `--task`, Paseo sends it to the new agent right away; elsewhere it is printed to paste. A fork
loses "allow for this session" permissions and plan mode. It fails, saying why, without a Claude
Code session id, on the web, or when the Paseo agent is not a Claude one (use `brief` then).
## 2b. Brief
1. Get the path: `ai1 fork brief-path <slug>` (kebab of the task). It is `.ai1/work/handoffs/` in a
repo that uses ai1 (git-ignored), else the temp dir.
2. Write the brief there. It is all the new conversation will know, so make it self-sufficient and
short; no conversation history, no secrets:
```markdown
# <task in one line>
## Task
One paragraph: what to do and why.
## Context you need
Only the facts and decisions this task depends on, each with its source (file, concept in the
knowledge bundle, later entry, plan, commit). State what was decided, not how the discussion went.
## Files
Where to look and where to change.
## Limits
What not to touch; open questions to ask the person instead of guessing.
## Done when
How to verify (commands, observable result).
## Report back
What to return when finished.
```
3. Show the person the path and a two-line summary; launch after their yes:
```bash
ai1 fork brief --opener '${user_config.fork_opener}' --file <path> [--title "<title>"] [--cwd <dir>]
```
`--cwd` starts it in another directory (default: the repo root), e.g. when the task moves or
removes this repo's folder.
## 3. Report
Say what was created (Paseo agent id or session id), how to open it (the CLI prints every way:
`paseo agent open`, `claude --resume`, the VS Code URI, `claude --desktop --resume` on macOS and
Windows, the Desktop link for a brief) and, for a full fork with a task outside Paseo, the task to
paste. Do not keep working on the forked line here unless the person asks.
## Fixed rules
- Launch only after the person's yes to the mode and, for a brief, to its path and summary.
- A brief carries no secrets and no conversation history, only what the new task needs.
- Do not keep working on the forked line here unless the person asks.
## Customization
This project or the person may add their own rules below; they never override the fixed rules. If no `## ai1 customization` section follows, run `"${CLAUDE_PLUGIN_ROOT}/bin/ai1" skill-context session-fork-conversation` and apply what it prints.
!`"${CLAUDE_PLUGIN_ROOT}/bin/ai1" skill-context session-fork-conversation`
Versions
The database has no other skills named session-fork-conversation.
Database snapshot: 13.11.2026 · package version 74a7f75a3319 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 1 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100session-handoff
Write a self-contained handoff prompt so another agent session (another workspace, another tool, or a fresh session) can continue or fix work without this conversation. Use for "write the prompt for the other session", "hand this to the other session", "genera el prompt para la… - 100fork-session
Fork the current Claude Code session into an independent copy (new session id, the original untouched) that starts connected to Remote Control in its own window. Built for the phone, where the Claude app has no fork button. Use when the user says "/fork-session", "fork this… - 100fork-session
Fork or branch a Claude Code or Codex session at its end or a chosen turn, leaving the original untouched. Use for "fork from before X", "rewind without losing the original", "continue from turn 12", "split this session", or reviving an abandoned branch. Also use when Claude… - 100new
Start a new session — save summary to memory, then mark as reset so next message gets a fresh greeting. OpenClaw-compatible. Triggers on /new, /reset, /agent:new, "nueva sesión", "new session", "reset". - 86persona-fork
Fork a persona — copy its instructions, icon and skills into a new persona the asker owns, then help them attach their own credentials. Use when someone asks to fork, copy, clone or "make my own version of" a persona. - 100wise-fork
Reorient the agent after a session fork: inherited context becomes read-only background and pre-fork work stays with the original session. Every in-flight task, plan, and promise from before the fork is dropped, remembered file state is distrusted, and this session starts fresh…