Token导航 LogoToken导航TokenDH.com
研究检索只读github未标认证来源可访问许可证需确认审计通过

rlm-subagentrlm 子 Agent

Agent Skill

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

总安装

312

周安装

13

GitHub Stars

53

下载量

104
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/doubleuuser/rlm-workflow --skill rlm-subagent

简介

rlm-subagent 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用于研究检索类任务,如信息搜集、资料筛选和知识整理。
  • 支持主流 Agent 宿主环境,通过 npx 方式便捷安装。

SKILL.md

Subagent-Driven Execution with Fallback

This skill provides parallel subagent execution for RLM Phase 3 (Implementation), Phase 3.5 (Code Review), and Phase 4 (Testing) with automatic fallback to sequential mode when subagents are unavailable.

Trigger examples

  • Parallelize Phase 3 across independent sub-phases
  • Dispatch an implementer subagent for each SP
  • Run a separate code-reviewer subagent before Phase 4
  • Subagents aren't available; fall back to sequential mode

Quick Reference

ScenarioAction
Multiple independent sub-phasesUse Parallel Mode (subagents)
Single sub-phase or subagents unavailableUse Sequential Mode (fallback)
Code review neededUse Phase 3.5 (subagent or self-review)
Parallel testingUse Phase 4 parallel dispatch

TODO Discipline for Subagents

The Iron Law: NO SUBAGENT COMPLETION REPORT WITHOUT ALL TODOS CHECKED.

Subagent TODO Requirements

Each subagent (implementer, code-reviewer) MUST:

  1. Include ## TODO section in their work output
  2. Check off items as work progresses
  3. Verify ALL items checked before reporting completion

Implementer Subagent TODO Template

## TODO

- [ ] Read and understand assigned SP specification
- [ ] Ask clarifying questions (if any)
- [ ] Write failing test (RED phase)
- [ ] Run test and verify failure
- [ ] Implement minimal code (GREEN phase)
- [ ] Run test and verify pass
- [ ] Refactor while keeping tests green
- [ ] Run integration tests
- [ ] Self-review against plan
- [ ] Document changes made
- [ ] Report completion to controller

Code Reviewer Subagent TODO Template

## TODO

- [ ] Read original plan (Phase 3)
- [ ] Read implementation summary (Phase 3)
- [ ] Review git diff (BASE_SHA..HEAD_SHA)
- [ ] Verify plan alignment
- [ ] Assess code quality
- [ ] Check TDD compliance
- [ ] Categorize issues (Critical/Important/Minor)
- [ ] Document positive findings
- [ ] Render verdict
- [ ] Report review completion

Controller TODO Management

The controller MUST:

  1. Verify subagent outputs include completed TODOs
  2. NOT accept completion reports with unchecked items
  3. Request subagent to complete remaining items

Capability Detection

At start of Phase 3, detect subagent availability:

IF can invoke "agent" or "Task" tool -> Use Parallel Mode
ELSE -> Use Sequential Fallback Mode

Detection rule: If the platform provides a subagent/task primitive, use parallel mode; otherwise fallback to sequential.

Parallel Mode (Subagents Available)

Phase 3: Parallel Sub-Phase Implementation

Controller responsibilities:

  1. Read locked Phase 2 TO-BE plan once
  2. Extract all sub-phases (SP1, SP2, SP3...)
  3. Determine dependencies (independent vs sequential)
  4. Dispatch implementer subagent per independent SP
  5. Two-stage review after each SP completion
  6. Integration testing after all approved

Dispatch pattern:

// Parallel dispatch for independent SPs
await Promise.all([
  Task({ description: "Implement SP1", prompt: implementerPrompt(SP1) }),
  Task({ description: "Implement SP2", prompt: implementerPrompt(SP2) }),
  Task({ description: "Implement SP3", prompt: implementerPrompt(SP3) })
])

Two-stage review:

  1. Spec Review: Verify SP requirements met (plan alignment)
  2. Code Quality Review: Assess code quality, TDD compliance, standards

Phase 3.5: Code Review Subagent

Trigger: After Phase 3 implementation Action: Dispatch agents/code-reviewer.md subagent with:

  • BASE_SHA and HEAD_SHA of changes
  • Phase 2 TO-BE plan for alignment check
  • Severity classification (Critical/Important/Minor)

Review loop: Issues found -> implementer fixes -> re-review

Phase 4: Parallel Testing

Required before dispatching tests:

  • Audit 03-implementation-summary.md against 00-requirements.md and 02-to-be-plan.md
  • Document mismatches and remediation/addenda in Phase 4 artifact

Dispatch pattern:

// Parallel test execution
await Promise.all([
  Task({ description: "Run unit tests", prompt: testPrompt("unit") }),
  Task({ description: "Run integration tests", prompt: testPrompt("integration") }),
  Task({ description: "Run E2E tests", prompt: testPrompt("e2e") })
])

Result aggregation:

  • Collect results from all subagents
  • Summarize pass/fail counts
  • Identify any critical failures

Sequential Fallback Mode (No Subagents)

Trigger: Subagent capability check fails

Characteristics:

  • Execute sub-phases sequentially in main agent context
  • Extended self-review checklist per sub-phase
  • Integration testing between each sub-phase
  • Full context preservation

Fallback trigger flow:

**Subagent Check:** NOT AVAILABLE
**Reason:** [Tool not found / Platform limitation / User request]
**Action:** Using SEQUENTIAL fallback mode

Sequential Execution Pattern

For each SP in [SP1, SP2, SP3...]:
  1. Execute SP implementation
  2. Self-review against plan (extended checklist)
  3. Document in Phase 4 artifact
  4. Run integration tests
  5. Proceed to next SP

Sequential Review Pattern

Phase 3.5 equivalent:

  • Main agent performs extended self-review
  • Use comprehensive checklist from agents/code-reviewer.md
  • Document findings in Phase 3.5 artifact

Subagent Prompts

Implementer Subagent

File: agents/implementer.md

Key requirements:

  • Self-contained context (full SP text provided)
  • TDD discipline enforcement
  • Question-before-work protocol
  • Self-review checklist before completion

Usage:

You are an Implementer Agent. Implement this sub-phase:

**SP Text:** [full sub-phase text]
**BASE_SHA:** [commit SHA]
**Context:** [relevant files]

Follow the process in agents/implementer.md

Code Reviewer Subagent

File: agents/code-reviewer.md

Key requirements:

  • Plan alignment verification
  • Code quality assessment
  • Severity classification (Critical/Important/Minor)
  • Clear verdict (Approved / Changes Required)

Usage:

You are a Code Reviewer Agent. Review this implementation:

**Plan:** [Phase 3 TO-BE]
**Git Range:** [BASE_SHA..HEAD_SHA]
**Implementation:** [Phase 4 summary]

Follow the process in agents/code-reviewer.md

Artifact Documentation

Phase 4 artifact must include:

## Pre-Test Implementation Audit
- Requirements alignment (`00-requirements.md`): [summary + evidence]
- Plan alignment (`02-to-be-plan.md`): [summary + evidence]
- Mismatches and remediation/addenda: [details]

## Execution Mode
- **Mode:** Parallel / Sequential
- **Subagents Used:** [names and counts]
- **Fallback Reason:** [if applicable]

## Sub-phase Results
- SP1: [status] - [subagent name or "main agent"]
- SP2: [status] - [subagent name or "main agent"]
...

## Review Results
- SP1 Review: [status] - [reviewer name or "self-review"]
- SP2 Review: [status] - [reviewer name or "self-review"]
...

Phase 3.5 artifact (if used):

## Review Scope
- Git range: [BASE_SHA..HEAD_SHA]
- Execution Mode: Parallel (subagent) / Sequential (self-review)
- Reviewer: [subagent name / self]

## Issues Found
- Critical: [count]
- Important: [count]
- Minor: [count]

## Verdict
[APPROVED / APPROVED WITH NOTES / CHANGES REQUIRED]

Phase 4 artifact must include:

## Pre-Test Implementation Audit
- Requirements alignment (`00-requirements.md`): [summary + evidence]
- Plan alignment (`02-to-be-plan.md`): [summary + evidence]
- Mismatches and remediation/addenda: [details]

## Execution Mode
- **Mode:** Parallel / Sequential
- **Test Suites:**
  - Unit: [subagent name] / Main agent
  - Integration: [subagent name] / Main agent
  - E2E: [subagent name] / Main agent

## Results Summary
- Total execution time: [X] minutes
- Estimated sequential time: [Y] minutes
- Speedup: [Z]x

Decision Tree

Starting Phase 4
  |
  v
Subagent available? --NO--> SEQUENTIAL MODE
  |                         - Execute SPs sequentially
  |                         - Extended self-review
  |                         - Document as sequential
 YES
  |
  v
3+ independent SPs? --NO--> SEQUENTIAL MODE
  |                         - Single sub-phase
  |                         - No parallelism benefit
 YES
  |
  v
PARALLEL MODE
- Dispatch implementer per SP
- Two-stage review
- Integration after all done

Quality Maintenance

Both modes enforce:

  • TDD discipline
  • Artifact locking
  • Gate compliance
  • Integration testing

Parallel Mode advantages:

  • Fresh context per sub-phase
  • Independent verification
  • Faster execution (3-5x)

Sequential Mode advantages:

  • No subagent dependency
  • Simpler coordination
  • Full context accumulation

Common Patterns

Pattern 1: Multi-Domain Feature

Scenario: Feature touches API, UI, and database

Phase 2 TO-BE plan:

## Sub-phases
- SP1: API changes (backend/)
- SP2: UI changes (frontend/)
- SP3: Database migration (migrations/)

Phase 4 execution:

  • SP1, SP2, SP3 dispatched in parallel (independent domains)
  • Each implementer works on isolated files
  • Integration testing after all complete

Pattern 2: Sequential Dependencies

Scenario: SP2 depends on SP1 output

Phase 3 execution:

  • Dispatch SP1 -> wait -> review -> approve
  • Dispatch SP2 (with SP1 context) -> wait -> review -> approve
  • Sequential, not parallel

Pattern 3: High-Risk Change

Scenario: Critical auth system change

Phase 3: Implement with TDD Phase 3.5: Mandatory code review Phase 4: Parallel testing (unit + integration + E2E)

Troubleshooting

Subagent fails to complete

  • Check if prompt was self-contained
  • Verify BASE_SHA was provided
  • Review logs for errors
  • Retry with clearer instructions

Integration tests fail after parallel SPs

  • Check for file conflicts between SPs
  • Verify no shared mutable state
  • Review commit history for ordering issues

Sequential mode too slow

  • Consider breaking into more granular SPs
  • Check if platform supports subagents
  • Verify tool detection is working

References

  • Main workflow: SKILL.md
  • Implementer subagent: agents/implementer.md
  • Code reviewer subagent: agents/code-reviewer.md
  • Artifact templates: references/artifact-template.md

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

38.22%
按下载量换算40

Claude

27.61%
按下载量换算29

Cursor

16.78%
按下载量换算17

Gemini CLI

8.82%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills