ClaudeCodeMod

All shelves / Mods / Workflow

session-switcher

By ha-ptt0601

session-switcher is a Claude Code workflow mod by ha-ptt0601.

Draws a Sessions button above the prompt that opens a sidebar of this project's sessions, worktrees included, and resumes the one you pick.

Draws

Install

The marketplace name is cc-mods.

In Claude Code
/plugin install session-switcher --marketplace ha-ptt0601/cc-mods
Open the repo

It runs inside the Claude Code process. The side panel is only what the author's README names. Read the repo before you install, or run claude plugin validate on the plugin folder.

Version
0.4.1
Repo stars
4
Last change
2026-10-10

What it can reach

  • Draws in the session
  • Runs a command when you press

Answer y to add the marketplace, then pick the user scope. /sessions opens the pane and /sessions close hides it. A session with no custom title, AI title, or typed prompt is left out. To run it from a clone: claude --plugin-dir ./session-switcher.

The marketplace, cc-mods, holds ha-ptt0601's two mods, session-switcher and file-tree; each installs on its own. Getting back to an earlier session is why this page files it under workflow. session-saver, by hamzafer, saves where you left off with /park and draws the note when that session resumes. cc-mod-park, by GGGODLIN, parks a session, then draws a button in a new session in that folder to resume it. This one lists every titled session of the project and of its git worktrees, searches them by name, and resumes the one you pick with a number key or Enter. In the source, the pick runs Claude Code's resume command with that session's id.

Demo

The author's drawing of session-switcher with example data: in a session, /sessions answers Sessions: press 1-9 or Enter to resume, a Sessions (8) button sits above the prompt, and the Sessions pane on the right has Refresh, Close, a search field, the open session at the top, and seven more numbered sessions, with Fix login redirect highlighted.
From the author's repo.

What it hooks into

  • session.startWhen a session starts
  • command.runWhen you run its slash command/sessions
  • ui.renderDraws into the sessionAbovePromptPane

Read from the on() calls in its hook modules. Open its source under Files to check what each one does.

Slash commands 1

  • /sessionsOpen this project's sessions and pick one to resume (close: hide it)

Files

The author's source, 3 files. They load when you open them.

Facts

Author
ha-ptt0601
Category
Workflow
Marketplace
cc-mods
Repo
ha-ptt0601/cc-mods
Folder
session-switcher
Version
0.4.1
Repo stars
4
Last change
2026-10-10
Language
TypeScript
Files
6

Other mods in Workflow

jumphp-livedavidnurdinFor JumPHP games, opens a pane beside the chat with the bin/jumphp test checks as they run, the game's screen live, its game tests, and Claude's screenshots.ciHula-Hoop-AIShows the latest GitHub Actions run for your branch in the hint line under the prompt, passing, running, or failing, and toasts its link when a run finishes.focus-timerHula-Hoop-AIRuns a focus timer in a band above the prompt with a progress bar, the round, and turns finished, with pause, skip, and stop, and a long break every fourth.worktreesHula-Hoop-AIShows repo@branch and its listening ports in the hint line under the prompt, and a /worktrees pane that lists every worktree and removes the finished ones.openspec-tuiintent-driven-devOpens a side pane for an OpenSpec change: its steps from Explore to Archive, the artifact Claude is writing, the task in progress, and every active change.workkitITW-Creative-WorksHolds a commandHolds a git commit until the full test suite has passed on what is committed, and guards each step of a GitHub Issues pipeline that an agent crew works.cairnjmgirardHolds a commandDraws the milestone in flight above the prompt as a plan, implement, and review track with a percent, opens a /cairn-pane, and holds merges and force-pushes.agent-panelkoomaiSends one question to a panel of Claude subagents at the models and efforts you pick, shows each seat live in a /panel-view pane, and writes a verdict page.watchtowerlazygophersOpens a pane of the session's last 50 agent returns and main replies, newest first, each folded to a preview you click to open. The README is in Chinese.check-ledgerLeeHigma0201Shows the last real check and how many files changed since on the status line, with /evidence and a tool Claude reads before it says tested.mod-scoutLeeHigma0201Scans your last 14 days of transcripts, ranks the mods you would use most in a pane, and asks Claude to design the top ones with a bundled skill.resume-nudgeLeeHigma0201Drafts a pick-up prompt in the prompt box, with a toast, when a session reopens after a restart cut a turn off. Enter sends it; /resume-here sends it for you.
All 396 in Workflow