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

relayrelay 搜索

Agent Skill

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

总安装

294

周安装

12

GitHub Stars

公开资料未说明

下载量

95
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/sungjunlee/dev-relay --skill relay

简介

relay 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 建议结合原始 README 核验具体用法和功能细节。

SKILL.md

Dev Relay

Execute the plan → dispatch → review cycle. Stop at ready_to_merge unless the user explicitly asks to merge. Follow ALL steps below in order.

Role Defaults

RoleDefaultOverride
Orchestratorunknown until explicitly stampedRELAY_ORCHESTRATOR env
ExecutorCodex--executor flag
Reviewerunknown until explicitly stamped--reviewer flag, RELAY_REVIEWER env

Standard Codex path: stamp RELAY_ORCHESTRATOR=codex and run review through review-runner --reviewer codex. Assigned manifest roles stay immutable; the acting reviewer for a round is recorded separately under review.last_reviewer and the review_apply event.

Step 0: Re-Anchor

Always run before every task — standalone or batch. Ensures current state, not stale context.

  1. git fetch origin — check for divergence from remote
  2. If sprint file exists: re-read it. Check Running Context for new entries from previous tasks. Note completed/in-flight task status changes.
  3. If previous task added Running Context that affects this task, adjust your approach before proceeding.

No sprint file? Just do the git fetch. Takes <5 seconds; never skip this step.

Step 1: Route and Read Context

Gather task details and sprint context:

  1. Task AC (try in order, use first that succeeds):

- Local task file: backlog/tasks/{PREFIX}-{N} - {Title}.md - GitHub: gh issue view <N> - User-provided description (from argument or conversation)

  1. Sprint context (optional): If backlog/sprints/ has an active sprint file, read Running Context and batch info. If no sprint file, proceed without — sprint tracking is skipped.
  2. Fast path vs intake path:

- Bypass intake only when the input is already one relay-ready task, has a stable review anchor, and needs no clarification or decomposition. - Otherwise run relay-intake first, persist a request artifact, and use the generated relay-ready/<leaf-id>.md as the downstream source of truth.

If no issue number, use a descriptive branch name (e.g., feat/<slug>) and skip issue-close in Step 6.

Intake path

If intake is required, persist a single-leaf contract first:

${CLAUDE_SKILL_DIR}/../relay-intake/scripts/persist-request.js --repo . --contract-file /tmp/relay-intake-contract.json --json

Carry these artifacts forward:

  • handoff brief: ~/.relay/requests/<repo-slug>/<request-id>/relay-ready/<leaf-id>.md
  • frozen Done Criteria: ~/.relay/requests/<repo-slug>/<request-id>/done-criteria/<leaf-id>.md
  • linkage: request_id, leaf_id

Step 1.5: Check for in-flight work

Check if this issue already has a PR in progress:

PR_NUM=$(gh pr list --head issue-<N> --json number -q '.[0].number')
  • PR exists and open → skip Steps 2-3, go directly to Step 4 (review)
  • PR exists and merged → update sprint file to [x] (if exists), done
  • PR not found → continue to Step 2

Step 2: Plan

Always build a rubric. Follow relay-plan's process (Steps 1-3 only: read task → build rubric → generate prompt). Do NOT dispatch from relay-plan — Step 3 below handles dispatch.

Rubric depth scales with task size (determined by orchestrator judgment on normalized AC + file scope, not raw issue AC count):

  • S (simple fix, typo, 1-liner): 1-2 factors, skip stress-test
  • M (standard feature): 3-5 factors, skip stress-test
  • L (cross-cutting, multi-file): 4-6 factors + stress-test
  • XL (architecture change): 5-8 factors + stress-test + calibration

Write the dispatch prompt to a temp file (e.g., /tmp/dispatch-<N>.md). If intake ran, the relay-ready handoff brief becomes the task source of truth for planning. Write the rubric YAML to a temp file (e.g., /tmp/rubric-<N>.yaml).

Step 3: Dispatch (relay-dispatch)

${CLAUDE_SKILL_DIR}/../relay-dispatch/scripts/dispatch.js . \
  -b issue-<N> --prompt-file /tmp/dispatch-<N>.md --rubric-file /tmp/rubric-<N>.yaml --timeout 3600

If intake ran, also pass:

  --request-id <request-id> --leaf-id <leaf-id> --done-criteria-file <done-criteria-path>

While dispatch runs in the background, optionally monitor progress:

git -C <worktree> log --oneline        # new commits
wc -l <stdoutLog>                       # output growth

Wait for completion. Check result:

  • status: "completed" and runState: "review_pending" → proceed to Step 4
  • status: "completed-with-warning" and runState: "review_pending" → executor timed out but made progress; check worktree, proceed to Step 4
  • status: "failed" and runState: "escalated" → inspect the dispatch error / manifest, fix and re-dispatch

Capture the run metadata from dispatch output:

  • runId
  • manifestPath
  • runState

Get PR number:

PR_NUM=$(gh pr list --head issue-<N> --json number -q '.[0].number')

The manifest is written under ~/.relay/runs/<repo-slug>/. This is the shared state surface for later review/merge lifecycle work. Intake linkage is recorded there, but the run lifecycle remains execution-only.

Current scope: dispatch writes the manifest. Review and merge still follow their existing PR-comment and gate-check flow.

If sprint file exists, mark Plan item as in-flight: [~] #42 OAuth2 flow → PR #89 (reviewing)

Step 4: Review (relay-review)

MANDATORY. Do NOT skip this step.

Verify PR exists: gh pr list --head issue-<N>

Invoke relay-review in an isolated context (no planning bias). The review runner manages rounds, PR comments, and manifest updates. See relay-review's Context Isolation section for per-platform mechanisms — adapter scripts handle this automatically when using --reviewer.

  • Phase 1 — Spec Compliance: Done Criteria faithfulness, stubs, security, integration, rubric re-verification. Must pass before Phase 2.
  • Phase 2 — Code Quality: Code review + simplification on changed files. Issues re-dispatch back to Phase 1.
  • Runner: scripts/review-runner.js invokes an isolated reviewer via adapter (built-in: codex, claude), rejects reviewer-written diffs, posts the PR comment, and updates manifest state

The rubric from relay-plan anchors each iteration — prevents context drift across rounds. Safety cap: 20 rounds (most PRs converge in 1-3).

Do NOT review inline — relay-review must run in an isolated context to prevent planning bias.

Step 5: Ready to Merge

If relay-review returns LGTM, the review runner should already have recorded the run as ready_to_merge. Do not mark the sprint task complete yet. Only run relay-merge when the user explicitly wants to land the PR.

Create follow-up issues if discovered during review.

Batch Mode

When multiple independent tasks are ready, dispatch them in parallel instead of sequential relay cycles.

Flow: Plan all → Dispatch all → Review as completed → Merge one-by-one

  1. Plan all tasks — follow Steps 0 through 2 (including 1.5) for each task. Write each dispatch prompt to its own temp file.
  2. Dispatch all — run dispatch.js for each task asynchronously (in the background). Mark all as [~] in sprint file.
  3. Review as completed — as each dispatch finishes, run Step 4 (relay-review). No need to wait for all.
  4. Merge one-by-one — merge each ready PR sequentially only after explicit approval. After each merge, check remaining PRs for conflicts.
  5. Re-anchor — after the batch completes, run Step 0 before starting the next batch.

Merge conflict recovery

If a ready-to-merge PR has conflicts after an earlier merge:

  1. In the worktree: git fetch origin && git rebase origin/main
  2. Re-review the rebased PR (run relay-review again — Phase 1 from scratch)
  3. Merge

Principles

  • When in doubt, run sequentially. Batch mode is an optimization, not the default.
  • Merge order doesn't matter until it does — if conflict arises, rebase the rest.
  • No DAG analysis needed for 3-5 task batches. If tasks touch the same files, run them sequentially.

Summary Checklist

After completing the relay cycle, verify:

  • Issue AC fully implemented (relay-review confirmed)
  • PR has <!-- relay-review --> LGTM comment (or <!-- relay-review-skip --> with reason)
  • PR marked ready_to_merge, or merged and closed if relay-merge was explicitly requested
  • Sprint file updated — if exists (Plan [x], Progress entry with review round count)
  • Follow-up issues created (if applicable)

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude

33.05%
按下载量换算31

Codex

31.96%
按下载量换算30

Cursor

17.29%
按下载量换算16

Gemini CLI

9.95%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills