About t3-code-continue-thread
A skill for moving work from a T3 Code thread into a fresh thread. It resolves the source thread and checkout, then prepares a handoff with the worktree and next action.
Key features
- 01Resolve a T3 Code source thread
- 02Check branch, commit, and worktree
- 03Delegate or create a continuation handoff
Use cases
- 01Recover context from a source thread UUID
- 02Continue branch work after switching threads
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ onmax/ nuxt-skills --skill t3-code-continue-threadAfter installing, type/t3-code-continue-threadin Claude Code to confirm it loaded.
Bundled filesagents/openai.yamlscripts/find_thread.py
Details
From the project READMEUse this skill when work must move from one T3 Code thread into a fresh thread. The input is the source thread UUID (for example a40b36e9-04d9-4a70-9f99-4ecfda1eef4b) and optionally the new focus.
-
Resolve the source thread with the bundled script:
python3 <skill-dir>/scripts/find_thread.py <uuid> --fullThe script reads T3 Code's local databases under
${CODEX_HOME:-$HOME/.codex}and returns JSON containing the thread record, sourcecwd, branch, commit, origin, conversation, and arecommended_worktree. Treat the reportedcwd/worktree as the checkout to inspect first. Comparerecommended_worktree.matches_recordedwith the thread's recorded branch and commit. If it is false, the path has been reused or changed: usematching_worktreeswhen present, otherwise locate or create the checkout for the recorded branch/commit only after the normal agent verifies it. If the path is missing, use the recorded branch and commit to locate an existing git worktree; do not silently switch to an unrelated checkout. A non-zero exit orfound: falsemeans the UUID could not be resolved. -
Delegate continuation context preparation to a subagent when collaboration is available. Give it the script output and the requested focus, and ask it to use the
handoffskill to write a compact continuation handoff. The subagent should preserve the source thread's exact repository, branch, worktree, dirty-file ownership, decisions, proof, blockers, and next action. It must not mutate the source checkout merely to prepare the handoff. -
The subagent's handoff path is the
$handoffconsumed by the normal agent. Report the absolute path explicitly. The normal agent must read that file before acting and then continue from its stated worktree and branch. If delegation is unavailable, create the handoff yourself using thehandoffskill and return its absolute path.
Do not claim the continuation is complete merely because the source thread was found. The continuation is ready only when the handoff exists and names the checkout/worktree and the next concrete action. Never include credentials or private configuration values from the thread transcript in the handoff.