Token导航 LogoToken导航TokenDH.com
研究检索可写文件github未标认证来源可访问许可证需确认审计提醒

xurlxurl 文档

Agent Skill

xurl 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,612

周安装

152

GitHub Stars

314

下载量

1,265
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:xurl(xurl 文档)
来源仓库:https://github.com/xuanwo/xurl
仓库路径:skills/xurl
安装命令:
npx skills add https://github.com/xuanwo/xurl --skill xurl
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/xuanwo/xurl --skill xurl

简介

用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 支持基于关键词、任务场景或来源线索进行信息筛选与匹配。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 建议确认权限范围和维护状态,避免触发联网或文件读写操作。
  • xurl 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

When to Use

Trigger this skill when the user's intent involves any AI agent conversation — past, present, or to be created. Examples of natural language triggers:

  • Gives an agents:// URI, provider shorthand (provider/...), or a bare thread/session ID
  • "Read/show/open this thread/session/conversation..."
  • "What did I discuss with [agent] about...?"
  • "Summarize my last [agent] session"
  • "What was I working on in [agent]?"
  • "Search my agent history for..."
  • "Find the conversation where I fixed the auth bug"
  • "Continue my [agent] conversation about..."
  • "Send this to [agent] for review" / "Ask [agent] to..."
  • "What subagents were spawned in that thread?"
  • "Compare what different agents suggested"
  • "Check if I've discussed X before across agents"

[agent] can be any AI coding agent name (e.g. codex, claude, copilot, cursor, etc.). xurl supports a growing list of providers — just try it. If a provider is not yet supported, xurl will return a clear error.

When NOT to Use

  • General questions about AI agents that don't involve their conversation data
  • Tasks fully within the current agent session with no cross-agent context needed
  • Questions about agent capabilities rather than their conversation history

URI Assembly Guide

You are responsible for constructing the correct xurl command from the user's input. The user will rarely give a complete agents:// URI — you must assemble it.

Decision Flow

User input → What do I have? → What do I need? → Construct URI → Run xurl

Step 1: Identify the operation

User wants to...OperationRequired info
Find/list/search conversationsQueryprovider OR path; optional keyword
Read/show/summarize a conversationReadprovider + conversation ID
Inspect metadata or list childrenDiscoverprovider + conversation ID
Start a new conversationWrite (create)provider; optional role
Continue an existing conversationWrite (append)provider + conversation ID

Step 2: Resolve missing information

You haveYou're missingAction
NothingProvider + IDQuery by path: xurl 'agents://.?q=<keyword>' to search current project across all providers
Provider onlyConversation IDQuery the provider: xurl <provider> or xurl '<provider>?q=<keyword>', then pick from results
Bare thread ID onlyProviderQuery by path with the ID as keyword: xurl 'agents://.?q=<id_fragment>'; or ask the user which provider
Provider + keywordConversation IDSearch: xurl '<provider>?q=<keyword>', pick matching ID from results
Provider + IDNothingReady — construct URI directly

Step 3: Construct and run

Assemble the URI: agents://<provider>/<conversation_id> (or shorthand <provider>/<conversation_id>).

Examples

User says: *"Read thread 019c871c-b1f9-7f60-9c4f-87ed09f13592"* → You have a bare ID but no provider. Search: xurl 'agents://.?q=019c871c', identify the provider from results, then: xurl <provider>/019c871c-b1f9-7f60-9c4f-87ed09f13592

User says: *"What did I discuss about refactoring in codex?"* → You have provider (codex) + keyword (refactoring). Search: xurl 'codex?q=refactoring', pick the best match, then read: xurl codex/<id>

User says: *"Summarize my last copilot session"* → You have provider (copilot). List recent: xurl copilot, take the first result, then read: xurl copilot/<id>

User says: *"Have codex review this patch"* → Write operation with provider (codex). Create: xurl codex -d "Review this patch" (or with role: xurl codex/reviewer -d "Review this patch")

User says: *"Check if I've discussed the migration across any agent"* → Cross-agent search. Query: xurl 'agents://.?q=migration'

Prerequisites

Verify xurl is installed before running any command:

xurl --version

If not found, install via the method matching the user's environment:

brew tap xuanwo/tap && brew install xurl   # Homebrew
cargo install xurl-cli                      # Cargo / Rust
uv tool install xuanwo-xurl                 # Python / uv
npm install -g @xuanwo/xurl                 # npm / Node

Workflows

1. Query — Find Conversations

List recent threads from a provider:

xurl codex

Search by keyword with optional limit (default 10):

xurl 'agents://codex?q=refactor&limit=5'

Search by project directory (across providers):

xurl 'agents://.?q=migration'                      # current directory
xurl 'agents:///Users/alice/work/repo?limit=5'     # absolute path
xurl 'agents://~/work/repo?providers=codex,claude'  # filter providers

Query by role:

xurl codex/reviewer

Query results include reduced thread metadata (e.g. payload.git.branch, cwd) for quick inspection.

2. Read — Display a Conversation

xurl codex/<conversation_id>

Output is Markdown: YAML frontmatter (metadata) followed by numbered timeline sections (User/Assistant message pairs).

Save to file:

xurl -o /tmp/conversation.md codex/<conversation_id>

3. Discover — Inspect Metadata and Children

xurl -I codex/<conversation_id>

Returns frontmatter with flattened metadata and discovery links (subagents, entries). Use returned URIs for drill-down:

xurl codex/<main_id>/<child_id>

4. Write — Start or Continue Conversations

Create:

xurl codex -d "Start a new conversation"
xurl codex/reviewer -d "Review this patch"

Append:

xurl codex/<conversation_id> -d "Continue with the next step"

With provider CLI parameters:

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

Payload from file or stdin:

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

Multi-Step Patterns

Find and read a conversation: xurl 'codex?q=<keyword>' → pick ID → xurl codex/<id>

Explore subagents: xurl -I codex/<id> → find child links → xurl codex/<id>/<child_id>

Cross-agent project search: xurl 'agents://.?q=<keyword>' → read from whichever provider matches

Resolve a bare thread ID: xurl 'agents://.?q=<id_fragment>' → identify provider → xurl <provider>/<id>

Command Reference

xurl [OPTIONS] <URI>
FlagPurpose
-I, --headFrontmatter/discovery only (cannot combine with -d)
-d, --data <DATA>Write payload; repeatable; -d "text", -d @file, -d @-
-o, --output <PATH>Write output to file

Multiple -d values are newline-joined. Path-scoped URIs are read/query only (not valid write targets).

URI Quick Reference

[agents://]<provider>[/<token>[/<child_id>]][?<query>]
PatternOperationExample
<provider>Query recentxurl codex
<provider>?q=...Keyword searchxurl 'codex?q=bug'
<provider>/<id>Read conversationxurl codex/<uuid>
<provider>/<role>Role-scoped queryxurl codex/reviewer
<provider>/<id>/<child>Read subagentxurl codex/<uuid>/<child>
<provider> + -dCreate conversationxurl codex -d "..."
<provider>/<role> + -dCreate with rolexurl codex/reviewer -d "..."
<provider>/<id> + -dAppend to conversationxurl codex/<id> -d "..."
/abs/path or . or ~Path-scoped queryxurl 'agents://.?q=test'

Token resolution: <token> is parsed as session ID first; if that fails, treated as role name.

Query parameters: q=<keyword>, limit=<n> (default 10), providers=<name,...> (path-scoped only). In write mode, extra params are forwarded as --<key> <value> to the provider CLI.

Failure Handling

xurl returns clear error messages. Act on them directly:

ErrorRecovery
command not found: xurlInstall using Prerequisites section
command not found: <agent>The provider CLI is not installed. Install and authenticate it, then retry
Unknown/unsupported providerThe provider may not be supported yet. Suggest the user file an issue at https://github.com/xuanwo/xurl/issues
Write to path-scoped URIPath URIs are read-only. Use a provider-scoped URI instead
Operation unsupported (role create, write, drill-down, etc.)Not all providers support all operations. xurl's error message will say what's unsupported. Try without the unsupported feature, or suggest filing an issue

When xurl returns any unexpected error, show the error to the user and suggest filing an issue at https://github.com/Xuanwo/xurl/issues if the feature should be supported.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.19%
按下载量换算483

Claude

28.37%
按下载量换算359

Cursor

18.49%
按下载量换算234

Gemini CLI

9.69%
按下载量换算123

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

可写文件

该 Skill 可能写入或修改本地文件,使用前需要确认目标目录和修改范围。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills