/tsk:switch-threadfrom tsk
Move this session from its current tsk thread to a different thread, a different line of work, named explicitly or chosen from a list. The thread left behind stays for its actor to resume. To change the mission of the same line of work, use /tsk:switch-mission. Invoke as /tsk:switch-thread [<thread-id>].
Ships in tsk. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Backs the /tsk:switch-thread command. This skill composes the tsk:detach-thread,
tsk:stop-thread, and tsk:resume-thread skills rather than duplicating their logic. Run
each of those in the steps below, and do not inline their work here.
Resolve the current binding, if any:
tsk thread binding
Exit 1 (no output) means nothing is currently bound. Skip to step 4, because there is nothing to detach or offer to stop.
Detach. Run the tsk:detach-thread skill's steps (tsk thread detach). Keep the
thread ID it printed, because the next two steps need it.
Ask whether the line of work on the thread just left is finished. Use
AskUserQuestion. The default is to keep the thread as it is, so that its actor or
another actor can resume it later. Offer to stop (delete) it only when the line of
work is finished. If the answer is to stop it, run the tsk:stop-thread skill's steps, passing that
thread ID explicitly:
tsk thread stop "<old-thread-id>"
It is already detached, so this only deletes it.
Resolve the target thread.
tsk thread list and tsk mission list once each, and read each candidate's mission
title from the mission list by its mission_id (a null mission_id is a thread with
no mission). Do not run a command for each candidate. Present the
threads as AskUserQuestion options with thread ID, mission title, and
latest_whats_next if present, with free text open for a thread ID not
listed. If the argument named a mission, use it only to pick your suggested
option, not to skip asking.tsk:start-thread instead.Resume. Run the tsk:resume-thread skill's steps for the chosen thread ID. Its
title step sets the session title for the new thread's mission.
Detach and resume write locally and do not push. Stop pushes. The next thread start,
pause or stop publishes the binding change, as does the end of the session and
tsk ledger push. Run tsk ledger push after the switch if another actor must see the
new binding now.
What SKILL.md sets; muted values are Claude Code's defaults
tsk@jimbarritt-claude-plugins is listed by jimbarritt/claude-plugins — review the source before installing
npx claudepluginhub jimbarritt/claude-plugins --plugin tsk12 skills in this plugin
/construct-robotConstruct a new robot. The robot chooses a name of its own in the style of the Culture ships of Iain M. Banks, registers it as a tsk actor, and sets its session title to the name. Invoke explicitly as /tsk:construct-robot, or when asked to name this session or to construct a robot./detach-threadRemove this session or code worktree's binding from its current tsk thread, without deleting the thread. Invoke explicitly as /tsk:detach-thread./pause-threadRecord a continuation state entry for the current thread before ending the session, so a later /tsk:resume-thread (by this actor or another) can pick the work back up. Invoke explicitly as /tsk:pause-thread, always run by the human themselves before /clear.Other plugins' skills for the same job