Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计异常

rlm-orchestratorRLM 协调器

Agent Skill

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

总安装

346

周安装

14

GitHub Stars

46

下载量

109
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/belumume/claude-skills --skill rlm-orchestrator

简介

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

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

SKILL.md

RLM-Style Recursive Orchestrator

Implement the orchestrator pattern from RLM research to handle arbitrarily large contexts and complex multi-part tasks. The main conversation acts as the recursive coordinator, spawning depth-1 subagents and aggregating results.

Core Principle

"No single language model call should require handling a huge context." — RLM Research (arXiv:2512.24601)

Since Claude Code subagents cannot spawn children (architectural limit), the main conversation becomes the "recursion stack," enabling functional depth >1.

When to Use This Skill

Ideal for:

  • Tasks requiring >100K tokens of context
  • Multi-file analysis or refactoring
  • Research tasks with many sources
  • Batch processing with independent partitions
  • Any task showing signs of context rot (degraded recall, repeated mistakes)

Not ideal for:

  • Simple single-file changes
  • Tasks requiring tight sequential dependencies
  • Quick exploratory questions

The RLM Orchestration Pattern

Main Session (orchestrator/recursion stack)
    │
    ├─[DECOMPOSE]─ Analyze task, identify independent partitions
    │
    ├─[SPAWN BATCH 1]──┬── Subagent A (fresh 200K context) → summary
    │                  ├── Subagent B (fresh 200K context) → summary
    │                  └── Subagent C (fresh 200K context) → summary
    │
    ├─[AGGREGATE]─ Combine results, identify gaps
    │
    ├─[SPAWN BATCH 2]──┬── Subagent D (uses batch 1 results) → summary
    │                  └── Subagent E (uses batch 1 results) → summary
    │
    ├─[AGGREGATE]─ Final combination
    │
    └─[COMPLETE]─ Return unified result

Orchestration Protocol

Phase 1: Task Analysis and Decomposition

Before spawning any subagents, analyze the task:

  1. Estimate context requirements

- Count files/sources to process - Estimate tokens (~4 bytes per token) - If <50K tokens total, consider direct execution

  1. Identify partition boundaries

- Find natural divisions (files, sections, topics) - Ensure partitions are independent (no cross-dependencies) - Aim for 3-7 partitions per batch (Claude Code limit: ~10 concurrent)

  1. Define aggregation strategy

- How will partition results combine? - What format should subagent outputs use? - What information must propagate between batches?

Phase 2: Subagent Dispatch

For each batch of partitions:

  1. Prepare subagent prompts using the template in references/subagent-prompt-template.md
  2. Spawn subagents in parallel using the Task tool: Task(subagent_type="general-purpose", description="[partition description]", prompt="...") Task(subagent_type="Explore", description="[research partition]", prompt="...")
  3. Use appropriate subagent types:

- Explore - For read-only research, file discovery - general-purpose - For tasks requiring code changes - Plan - For architecture/design work

  1. Run in background when appropriate:

- Set run_in_background=true for long-running tasks - Check results via TaskOutput or Read on output file

Phase 3: Result Aggregation

When subagents complete:

  1. Collect all results - Read summaries from each subagent
  2. Validate completeness - Check for error indicators:

- "could not find", "unable to", "failed to" - Missing expected outputs - Incomplete coverage of partition

  1. Merge results using appropriate strategy:

- Union: Combine all findings (research tasks) - Synthesis: Create unified narrative (analysis tasks) - Reduce: Aggregate metrics (measurement tasks)

  1. Identify gaps - What wasn't covered? What needs follow-up?

Phase 4: Iteration (if needed)

If gaps exist:

  1. Create follow-up partitions for uncovered areas
  2. Include previous batch context in new subagent prompts
  3. Spawn next batch with refined focus
  4. Repeat until complete or max iterations reached

Emerged Strategies (from RLM Research)

Encode these strategies in subagent prompts:

Peeking

Sample the beginning of context to understand structure before deep processing.
Before analyzing fully, first peek at the structure:
1. Read first 50 lines of each file
2. Identify file types and organization
3. Then proceed with targeted analysis

Grepping

Use pattern-based filtering to narrow context before semantic processing.
Use Grep to filter before reading:
1. Search for relevant patterns: `Grep(pattern="error|exception|fail")`
2. Read only matching files fully
3. This reduces context consumption by 80%+

Partition + Map

Break context into chunks, process in parallel, then aggregate.
This task uses partition+map strategy:
1. You handle partition [X] of [N]
2. Your partition covers: [specific scope]
3. Return findings in this format: [format spec]
4. Orchestrator will aggregate all partition results

Summarization

Extract condensed information for parent decision-making.
Return a structured summary, not raw data:
- Key findings (3-5 bullet points)
- Specific file:line references
- Confidence level (high/medium/low)
- Gaps or uncertainties

Token Budget Management

Track token consumption across the orchestration:

ComponentEstimated TokensNotes
Main conversation200K maxReserve 50K for orchestration
Per subagent200K maxFresh context each
Subagent overhead~20KSystem prompt + tools
Summary return~2-5KPer subagent result

Budget formula:

Effective capacity = (Main 150K usable) + (N subagents × 180K usable each)
For 5 subagents: 150K + 900K = ~1M effective tokens

Integration with Existing Skills

This skill works with:

  • superpowers:brainstorming - Use first to decompose complex problems
  • superpowers:writing-plans - Create task partition structure
  • superpowers:dispatching-parallel-agents - Detailed parallel dispatch patterns
  • superpowers:subagent-driven-development - For implementation tasks
  • ralph-loop - For autonomous iteration within partitions

Example: Large Codebase Analysis

# Task: Analyze security vulnerabilities across 500 files

## Phase 1: Decomposition
- Partition by directory: src/, lib/, tests/, config/
- Each partition: ~125 files, ~50K tokens
- Aggregation: Union of findings with deduplication

## Phase 2: Dispatch (Batch 1)
- Subagent A: src/ directory - authentication code
- Subagent B: lib/ directory - utility functions
- Subagent C: config/ directory - configuration files
- Subagent D: tests/ directory - test coverage gaps

## Phase 3: Aggregate
- Combine all vulnerability findings
- Cross-reference duplicates
- Prioritize by severity

## Phase 4: Follow-up (if needed)
- Deep dive on critical findings
- Verify false positives

Troubleshooting

Subagent returns incomplete results:

  • Check if partition was too large (reduce scope)
  • Verify subagent had appropriate tools
  • Retry with more specific instructions

Aggregation produces conflicts:

  • Subagents may find contradictory information
  • Spawn a "resolver" subagent to investigate conflicts
  • Or present both findings with uncertainty markers

Context still rotting in main session:

  • You're keeping too much in the main context
  • Delegate more aggressively to subagents
  • Trust summaries instead of raw data

Hitting concurrent subagent limit:

  • Queue batches: 10 concurrent max
  • Wait for batch completion before spawning next
  • Consider if fewer, larger partitions would work

Quick Start Template

For any large task, start with:

I'll use RLM orchestration for this task.

**Task Analysis:**
- Total scope: [X files / Y sources / Z components]
- Estimated tokens: [rough estimate]
- Natural partitions: [list 3-7 independent parts]

**Orchestration Plan:**
1. Batch 1: [partitions A, B, C] - parallel Explore subagents
2. Aggregate: [strategy]
3. Batch 2 (if needed): [follow-up partitions]

**Subagent assignments:**
- Subagent A: [specific scope and instructions]
- Subagent B: [specific scope and instructions]
...

Proceeding with Phase 1...

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.25%
按下载量换算36

Claude

27.97%
按下载量换算30

Cursor

19.72%
按下载量换算21

Gemini CLI

9.78%
按下载量换算11

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/belumume/claude-skills --skill rlm-orchestrator 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

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

来源信息

继续浏览同类 Skills