cursor/skills/fork/SKILL.md
Fork the current chat session into a new resumable session
npx skillsauth add pkey/dotfiles forkInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Clone the current chat session so it can be resumed independently as a branched conversation.
Fork the most recent session:
python3 $DOTFILES/cursor/skills/fork/fork.py
Fork with a description:
python3 $DOTFILES/cursor/skills/fork/fork.py --name "try jwt instead"
If the user provides a description after /fork, pass it as --name.
Report the new session ID and remind the user they can resume with:
cursor agent --resume <id>cursor agent lstools
Use when working with git worktrees in pkey's repos — creating a branch, switching between worktrees, removing one, or starting a stacked PR with Graphite. The user has shell helpers (gwt, gwtn, gwtc, gwtl, gwtm, gwtrm, gwtrmf, gwtp) sourced from ~/dotfiles/tools/git-worktree.sh that enforce a consistent layout under ~/worktrees/<repo>/<branch>. Prefer these over raw `git worktree` commands so layout and main-worktree protection stay consistent.
tools
Reference for Helix editor keybindings, commands, and configuration. Use when the user asks about Helix shortcuts, how to do X in Helix, Helix config options, or how to set up language servers/themes in Helix.
development
Google Sheets: Read and write spreadsheets.
development
Google Sheets: Read values from a spreadsheet.