Skip to content
Agent Memory
Skill

/ctx-branch

Branch one workstream into a new workstream with a frozen starting snapshot.

BOOST
From plugin
dchu917-ctx
1277 skills
Install
$ npx -y skills add dchu917/ctx --skill ctx-branch --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ctx-branch

Context preview

The summary Claude sees to decide when to auto-load this skill.

Branch one workstream into a new workstream with a frozen starting snapshot.

SKILL.md

ctx-branch.SKILL.md
name: ctx-branch
description: Branch one workstream into a new workstream with a frozen starting snapshot.

Usage

  • `ctx-branch <source-workstream> <target-workstream>`

Backing script

  • `scripts/skills/ctx_branch.sh`

Notes

  • The target workstream must not already exist.
  • The new branch starts from a copied context snapshot and does not inherit the source workstream's future transcript pulls.
Ships withdchu917-ctx

Local context manager for Claude Code and Codex. Keep exact conversation bindings, resume work cleanly, branch context without mixing streams, and optionally inspect saved workstreams in a local browser frontend.

Get the whole plugin
Stats
127
Stars
10
Forks
Quiet
Maintenance
Python
Language
MIT
License
6mo ago
Last commit
6mo ago
Created
16h ago
Added

Repo: dchu917/ctx

Other skills on dchu917-ctx.