rlm-harness

Orchestrates multi-agent workflows with model routing, replanning loops, and budget governance.

5|Updated Jun 13, 2026
One-click install
npx skills add https://github.com/PatriotAi/ai-lab --skill rlm-harness-patriotai
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: rlm-harness
Source: https://github.com/PatriotAi/ai-lab/tree/main/melania-skills-ecosystem/skills/rlm-harness
Command: npx skills add https://github.com/PatriotAi/ai-lab --skill rlm-harness-patriotai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve? Complex multi-step tasks often waste expensive frontier-model calls on trivial steps or fail silently when plans go stale. This Skill runs a meta-orchestration loop where a strong reasoning model acts as conductor while sub-agents run on the cheapest suitable models, with dynamic replanning and budget guards. ## Core Features & Use Cases - RLM Conductor Policy: Assigns planning, judging, and synthesis to the strongest reasoning model while routing worker steps to the cheapest fit per step profile. - Plan-Execute-Verify-Replan Loop: Self-correcting control cycle with convergence criteria, completion guards, and targeted replanning instead of pushing through gaps. - Cost/Quality Governor: Hard budget ceilings per request, task, and run with abort-with-partial-result behavior instead of silent quality degradation. - Recipe Registry: On-demand playbooks for heavy processes including deep research, security audit, competitive analysis, red-team, codebase audit, and benchmarking. - Use Case: Run a full security audit of a codebase where the conductor decomposes the attack surface, cheap long-context workers scan components in parallel, and a strong model judges severity and synthesizes remediation. ## Quick Start Ask the AI to run a deep research or security audit on your target and let the harness plan, delegate to sub-agents, verify results, and replan until convergence.

Frequently Asked Questions about rlm-harness

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

FAQPage Schema
How do I orchestrate multiple AI agents for a complex task?▼

Use a conductor pattern where the strongest reasoning model plans and decomposes the task, then spawns sub-agents on cheaper models for parallel execution. A verify-and-replan loop checks cumulative results against the goal and triggers targeted replanning when gaps appear.

How to reduce LLM costs without losing output quality?▼

Route each step to the cheapest model class that passes its quality gate, reserving the strong model for planning, judging, and synthesis. Router research shows roughly 14-26% of calls to a strong model retain about 95% of quality, with budget ceilings enforced before each call.

When should I not use multi-agent orchestration?▼

Skip orchestration for simple one-step Q&A or a single model call, where overhead adds cost without benefit. It is also not a substitute for runtime provider failover, topology mechanics, or intent-to-skill routing, which belong to dedicated skills.

What happens when the task budget limit is reached?▼

The harness aborts with a partial result and an honest report of what was completed. It never silently reduces output scope or quality to fit the budget, since economy applies to the process, not the result.

Can the security audit recipe produce working exploits?▼

No. The security audit and red-team recipes are defensive-only: they identify vulnerabilities and provide remediation for each finding. Requests to produce working exploits or malware are refused through the safety-compliance gate.