xurl

Use xurl to read, discover, and write AI agent conversations through agents:// URIs.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "xurl" with this command: npx skills add xuanwo/xurl/xuanwo-xurl-xurl

When to Use

  • User gives agents://... URI.
  • User gives shorthand URI like codex/... or codex?....
  • User asks to list/search provider threads.
  • User asks to query role-scoped threads like agents://codex/reviewer.
  • User asks to read or summarize a conversation.
  • User asks to discover child targets before drill-down.
  • User asks to start or continue conversations for providers.

Installation

Pick up the preferred ways based on current context:

Homebrew

Install via Homebrew tap:

brew tap xuanwo/tap
brew install xurl
xurl --version

Upgrade via Homebrew:

brew update
brew upgrade xurl

Cargo Env

Install via Cargo:

cargo install xurl-cli
xurl --version

Upgrade xurl installed by Cargo:

cargo install xurl-cli --force
xurl --version

Python Env

install from PyPI via uv:

uv tool install xuanwo-xurl
xurl --version

Upgrade xurl installed by uv:

uv tool upgrade xuanwo-xurl
xurl --version

Node Env

Temporary usage without install:

npx @xuanwo/xurl --help

install globally via npm:

npm install -g @xuanwo/xurl
xurl --version

Upgrade xurl installed by npm:

npm update -g @xuanwo/xurl
xurl --version

Core Workflows

1) Query

List latest provider threads:

xurl agents://codex
# equivalent shorthand:
xurl codex

Keyword query with optional limit (default 10):

xurl 'agents://codex?q=spawn_agent'
xurl 'agents://claude?q=agent&limit=5'

Role-scoped query (session-first, role-fallback):

xurl agents://codex/reviewer
# equivalent shorthand:
xurl codex/reviewer

2) Read

xurl agents://codex/<conversation_id>
# equivalent shorthand:
xurl codex/<conversation_id>

3) Discover

xurl -I agents://codex/<conversation_id>

Use returned subagents or entries URI for next step. OpenCode child linkage is validated by sqlite session.parent_id.

3.1) Drill Down Child Thread

xurl agents://codex/<main_conversation_id>/<agent_id>

4) Write

Create:

xurl agents://codex -d "Start a new conversation"
# equivalent shorthand:
xurl codex -d "Start a new conversation"

Append:

xurl agents://codex/<conversation_id> -d "Continue"

Create with query parameters:

xurl "agents://codex?cd=%2FUsers%2Falice%2Frepo&add-dir=%2FUsers%2Falice%2Fshared&model=gpt-5" -d "Review this patch"

Create with role URI:

xurl agents://codex/reviewer -d "Review this patch"

Payload from file/stdin:

xurl agents://codex -d @prompt.txt
cat prompt.md | xurl agents://claude -d @-

Command Reference

  • Base form: xurl [OPTIONS] <URI>
  • -I, --head: frontmatter/discovery only
  • -d, --data: write payload, repeatable
    • text: -d "hello"
    • file: -d @prompt.txt
    • stdin: -d @-
  • -o, --output: write command output to file
  • --head and --data cannot be combined
  • multiple -d values are newline-joined

URI Reference

URI Anatomy (ASCII):

[agents://]<provider>[/<token>[/<child_id>]][?<query>]
|------|  |--------|  |---------------------------|  |------|
 optional   provider         optional path parts        query
 scheme

Component meanings:

  • scheme: optional agents:// prefix; omitted form is treated as shorthand
  • provider: provider name
  • token: main conversation id or role name
  • child_id: child/subagent id
  • query: optional key-value parameters

Token resolution (agents://<provider>/<token>):

  1. Parse <token> as session id first.
  2. If session-id parsing fails, treat <token> as role.

Common URI patterns:

  • agents://<provider>: discover recent conversations
  • agents://<provider>/<conversation_id>: read main conversation
  • agents://<provider>/<role>: role-scoped thread query or role-based create with -d
  • agents://<provider>/<conversation_id>/<child_id>: read child/subagent conversation
  • agents://<provider>?k=v with -d: create
  • agents://<provider>/<conversation_id> with -d: append

Role create behavior by provider:

  • codex: supported ([agents.<role>] in ~/.codex/config.toml mapped to --config)
  • claude: supported (--agent <role>)
  • opencode: supported (--agent <role>)
  • amp: returns clear error (non-interactive role create unsupported)
  • gemini: returns clear error (non-interactive role create unsupported)
  • pi: returns clear error (role create unsupported)

Query parameters:

  • q=<keyword>: filter discovery results by keyword. Use when searching conversations by topic.
  • limit=<n>: cap discovery results (default 10). Use when you want fewer or more results.
  • <key>=<value>: in write mode (-d), forwarded as --<key> <value> to the provider CLI.
  • <flag>: in write mode (-d), forwarded as --<flag> to the provider CLI.

Failure Handling

command not found: <agent>

Install the provider CLI, then complete provider authentication before retrying.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

xurl

No summary provided by upstream source.

Repository SourceNeeds Review
General

turl

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

xurl

No summary provided by upstream source.

Repository SourceNeeds Review
General

xurl

No summary provided by upstream source.

Repository SourceNeeds Review