native-threads
Installation
SKILL.md
Native threads in the Claude desktop app
This mirrors Codex's thread tools with the desktop app's own session tools. It needs the mcp__ccd_session_mgmt__* and mcp__ccd_sidebar__* tools, which only desktop Code sessions have. Load them with ToolSearch first.
Create (one Enter per chat)
- For each thread, open a new native chat with its folder and a cheap setup message, one at a time (the app shows one new-chat screen at a time):
open "claude://code/new?folder=<url-encoded absolute path>&q=<url-encoded text>"via Bash (build the URL with python urllib.parse.urlencode). Useq=Thread setup for <title>. Reply with just: ready. - Tell the user, in one line, to press Enter in the new chat. Wait for them, then open the next link.
- Find the new chat:
list_sessions(newest first), match on cwd and recency, take itslocal_...id.
Configure
set_session_titletoThread | <title>(orThread | <plan> | NN <phase>for plan phases).set_session_modelwith an id from the picker (the tool lists valid ids on error, e.g.claude-haiku-4-5-20251001,claude-sonnet-5-5,claude-opus-5-5), andset_session_effortif needed. Both apply from the chat's next turn, which is why the setup message comes first.create_grouponce (reuse an existing group fromlist_groups, e.g.Threadsor<plan> Build) andmove_sessionsthe new chats into it.