turl
Original:🇺🇸 English
Translated
Use the turl CLI to resolve Amp, Codex, Claude, or OpenCode thread URIs and print thread content in markdown or raw records.
9installs
Sourcexuanwo/turl
Added on
NPX Install
npx skill4agent add xuanwo/turl turlTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →turl
Use this skill when you need to read a thread file by URI.
Installation
Install from package via :
turlxuanwo-turluvbash
uv tool install xuanwo-turl
turl --versionWhen to Use
- The user gives an ,
amp://...,codex://...,codex://threads/..., orclaude://...URI.opencode://... - The user asks to inspect, view, or fetch thread content.
Input
- A thread URI in one of these forms:
codex://<session_id>codex://threads/<session_id>amp://<thread_id>claude://<session_id>opencode://<session_id>
Commands
Default output (filtered markdown with user/assistant messages):
bash
turl codex://019c871c-b1f9-7f60-9c4f-87ed09f13592Raw JSONL output:
bash
turl codex://019c871c-b1f9-7f60-9c4f-87ed09f13592 --rawClaude thread example:
bash
turl claude://2823d1df-720a-4c31-ac55-ae8ba726721fCodex deep-link example:
bash
turl codex://threads/019c871c-b1f9-7f60-9c4f-87ed09f13592OpenCode thread example:
bash
turl opencode://ses_43a90e3adffejRgrTdlJa48CtEAmp thread example:
bash
turl amp://T-019c0797-c402-7389-bd80-d785c98df295Agent Behavior
- If the user does not request , use default markdown output first.
--raw - If the user requests exact records, rerun with .
--raw - Return the command output directly.
- Do not infer or reinterpret thread meaning unless the user explicitly asks for analysis.
- The output could be long, redirect to temp files and read/grep it later.
Failure Handling
- Surface stderr as-is.
turl - Common failures include invalid URI format and missing thread files.