Skip to content
cccskills
FreePublished on GitHub

fork

Start or end a forked session for exploring rabbit holes without losing the main conversation's context.

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md2.1 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

Fork

/fork start

Capture the current context and branch off into a new session.

  1. Snapshot: write a markdown file to /tmp/fork-<timestamp>.md containing:
    • Goal: what we're working on
    • Plan: current plan or approach (if any)
    • Progress: what's been done so far (commits, files changed)
    • Pending: what's left to do
    • Context: key decisions, constraints, or gotchas discovered along the way
    • Git state: current branch, last commit SHA, dirty files
  2. Rename this session: run /rename to give the current session a descriptive name (e.g., "feat: auth middleware") so it's easy to find later.
  3. Instruct the user: print the file path and a ready-to-paste prompt for the new session:
FORKED SESSION — fork file: /tmp/fork-<timestamp>.md

Read the fork file for context on what I was working on. I need to explore: <describe the rabbit hole>.

This is a forked session. Keep track of all findings, commits, and decisions — when done, the user will call `/fork end` to write a summary back to the fork file so the original session can pick it up.

Also remind them:

  • Run /rename Fork: <topic> in the new session to tag it
  • Run /fork end when done — it writes findings back to the fork file
  • Then resume the original session with claude --continue

/fork end

Wrap up a rabbit hole session and write findings back to the fork file.

  1. Locate: find the fork file from the session context (it was read at the start of this session).
  2. Summarize: append a ## Findings section to the fork file containing:
    • Result: what was discovered or resolved
    • Commits: any commits made during the investigation (SHAs + messages)
    • Impact on original work: how this affects the plan or pending work from the parent session
  3. Instruct the user: remind them to resume the original session with claude --continue and reference the fork file.

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

amend

Free

Amend the last commit with current changes and/or an updated message.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

commit

Free

Stage changes and create a commit with a conventional commit message.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

cook

Free

Full autopilot — plan, implement, and polish a task end-to-end.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

diff

Free

Fetch and display diffs for various scopes (PR, commit, branch, staged, working tree). Used by other skills that need to analyze changes.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

Execute a plan file — parse phases, spawn parallel subagents, handle failures.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

plan

Free

Structured design intake for non-trivial tasks. Asks clarifying questions and produces a design proposal.

The English summary is being prepared. Showing the original description.

simonepri/ifttt-lint29Updated Sep 29, 2026

See all skills by simonepri

Report a problem with this skill