rlm-subagent

Coordinate parallel RLM sub-phase execution with sequential fallback and two-stage reviews.

4|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/try-works/rlm-workflow-acp --skill rlm-subagent-try-works
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rlm-subagent
Source: https://github.com/try-works/rlm-workflow-acp/tree/main/skills/rlm-subagent
Command: npx skills add https://github.com/try-works/rlm-workflow-acp --skill rlm-subagent-try-works

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Coordinate parallel sub-phase execution for Recursive Language Model (RLM) workflows with automatic fallback to sequential mode when subagents are unavailable.

Core Features & Use Cases

  • Parallel Subphase Execution: Dispatch independent subphases (SP1, SP2, SP3, ...) to implementer subagents and run them concurrently when possible.
  • Two-Stage Review: After each subphase completion, perform plan alignment and code-quality review before proceeding.
  • Sequential Fallback: If subagents are unavailable, automatically switch to sequential execution within the main agent context, preserving context and enforcing extended self-review and inter-subphase testing.
  • Code Review Subagent: Trigger a dedicated code-review subagent in Phase 3.5 with BASE_SHA/HEAD_SHA and TO-BE plan for alignment.
  • Artifact Generation: Produce Phase 4 artifacts detailing pre-test audits and execution results.

Quick Start

Install and run the rlm-subagent skill to orchestrate parallel SP execution with fallback to sequential mode when subagents are unavailable.

Frequently Asked Questions about rlm-subagent

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I coordinate parallel subphase execution in an RLM workflow?

Parallel subphase execution in an RLM workflow is coordinated by dispatching independent subphases like SP1, SP2, and SP3 to implementer subagents concurrently. Two-stage reviews for plan alignment and code quality are performed after each subphase completion before final integration testing.

What happens to parallel task execution when subagents are unavailable?

When subagents are unavailable, parallel task execution automatically falls back to sequential mode within the main agent context. This fallback preserves context and enforces extended self-review and inter-subphase testing to maintain strict TDD discipline and auditable progress.

How do I enforce TDD discipline during parallel code dispatch?

TDD discipline during parallel code dispatch is enforced through explicit subagent prompts, TODO verification, and artifact-based reporting. A dedicated code-review subagent is triggered with BASE_SHA and HEAD_SHA to ensure alignment with the TO-BE plan.

When should I switch from parallel to sequential mode for subagent workflows?

You should switch from parallel to sequential mode when parallelization is not justified or subagents are unsupported. Sequential mode maintains workflow integrity by enforcing extended self-review and inter-subphase testing within the main agent context.

How does two-stage code review work for independent subphases?

Two-stage code review for independent subphases works by performing plan alignment and code-quality checks sequentially after each subphase completes. A dedicated code-review subagent is triggered in Phase 3.5 using BASE_SHA and HEAD_SHA references against the TO-BE plan.

What artifacts are generated for testing and progress auditing?

Phase 4 artifacts are generated to detail pre-test audits and execution results for progress auditing. These artifact-based reports ensure auditable progress tracking alongside the strict TDD discipline enforced throughout the subagent workflow.