rlm

rlm is a skill for Claude Code from mifunedev/openharness. It costs 235 tokens per session (2,584 once invoked), scanned A, original, Apache-2.0.

A method for answering questions about files, folders, or logs that are too large to load into an agent’s context at once. It splits the material into addressable pieces, sends relevant pieces to separate workers, and combines their structured answers.

In plain words
What is it for?
Use it to search and analyze large logs, directories, or documents, investigate only relevant chunks, and gather answers from multiple focused sub-tasks.
Why use it?
It avoids filling the agent’s context with irrelevant data and makes large-artifact analysis fit within a bounded amount of work. A separate selection step compares competing answers.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents.

Good fit Use it to search and analyze large logs, directories, or documents, investigate only relevant chunks, and gather answers from multiple focused sub-tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mifunedev/openharness/rlm
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mifunedev/openharness --skill rlm
Clone the repo
git clone --depth 1 https://github.com/mifunedev/openharness

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rlm

README.md
[![agentmods](https://agentmods.dev/badge/skills/mifunedev/openharness/rlm/github.svg)](https://agentmods.dev/skills/mifunedev/openharness/rlm)
Your own site
<a href="https://agentmods.dev/skills/mifunedev/openharness/rlm"><img src="https://agentmods.dev/badge/skills/mifunedev/openharness/rlm/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rlm

Your own site · 80×15
<a href="https://agentmods.dev/skills/mifunedev/openharness/rlm"><img src="https://agentmods.dev/badge/skills/mifunedev/openharness/rlm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 235 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,584 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 42
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 122
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 171
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 172
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00235 $0.02584
Opus 5.5 $0.00094 $0.01034
Sonnet 5.5 $0.00047 $0.00517
Haiku 4.5 $0.00023 $0.00258

Measured 1mo ago against content hash dbd5e9ab4359, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rlm scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/__tests__/query-context.test.mjs, scripts/query-context.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.oh/skills/rlm/SKILL.md · 174 lines

How it starts

The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.

rlm — context-as-environment decomposition

The /rlm skill is Layer B of the harness RLM integration (the plan: .claude/plans/there-s-a-whole-snappy-crayon.md § Layer B). It answers a query over an artifact too large to ingest by treating that artifact as an environment the root agent addresses — grep/slice/chunk-map — rather than a blob it reads into its context window. It then recurses sub-agent calls over the narrowed chunks under a bounded budget, and aggregates their structured returns, routing competing candidate answers through /weigh.

Single responsibility. /rlm owns decomposition; /weigh owns selection. They compose: /rlm fans sub-calls out over chunks, /weigh scores/selects among the candidate answers a chunk yields. This skill never re-implements selection — it calls /weigh.

Reuse, don't reinvent (load-bearing). The recursion substrate already exists:

Substrate Owner How /rlm uses it
Recursion loop /spec execute each story re-reads disk = the REPL step — owned by the active implementation owner, never split into another session
Isolated recursion branches .worktrees/ (the /worktrees skill) depth-2 sub-trees fork here — reused by reference, never edited
Recursion budget /delegate (.oh/skills/delegate/SKILL.md) the Max depth N / Max children per level M / Step budget S triple — references/recursion-budget.md points at it and adds a per-run token ceiling
Chunk-map primitive scripts/query-context.mjs (US-004, this skill) partitions the artifact without ingesting it
Candidate selection /weigh scores competing per-chunk answers

Do not edit /spec execute's task cycle or anything under .worktrees/. /rlm is a consumer of both. The only genuinely new substrate this skill adds is query-context.mjs and this procedure.

When to use

  • /rlm <artifact> "<query>" to answer a question over an artifact too large to read whole (a big log under crons/.cron.log, a large corpus file, a whole directory).
  • As a sub-step of /weigh when the cohort being sampled spans a large artifact that must itself be decomposed before sampling.

Read the full file on GitHub · 174 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed dbd5e9ab4359
  2. 1mo ago First seen · 174 lines · 235 tokens per session scan A 19cd4979dc51

Subscribe to this mod's changes

rlm is a skill published in the GitHub repository mifunedev/openharness (37 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 235 tokens to every session and 2,584 once invoked, about $0.0009 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

remember

Review the current conversation and capture valuable knowledge — best practices, coding conventions, architecture decisions, workflows, and user feedback — into persistent memory (AGENTS.md) or reusable skills. Use when the user says: (1) remember this, (2) save what we learned, (3) update memory, (4) capture…

langchain-ai/deepagents · 71 tokens

coding-prefs

Read the user's coding preferences from /memory/coding-prefs.md before making non-trivial style decisions, and append new preferences when the user gives durable feedback.

langchain-ai/deepagents · 36 tokens

data-visualization

Use for creating publication-quality charts and multi-panel analysis summaries. Triggers when tasks involve visualizing data, plotting results, creating charts, or producing visual reports from analysis output.

langchain-ai/deepagents · 40 tokens

cuml-machine-learning

Use for GPU-accelerated machine learning on tabular data using NVIDIA cuML. Triggers when tasks involve classification, regression, clustering, dimensionality reduction, or model training on datasets.

langchain-ai/deepagents · 43 tokens

social-media

Drafts engaging social media posts, writes hooks, suggests hashtags, creates thread structures, and generates companion images. Use when the user asks to write a LinkedIn post, tweet, Twitter/X thread, social media caption, social post, or repurpose content for social platforms.

langchain-ai/deepagents · 58 tokens

blog-post

Writes and structures long-form blog posts, creates tutorial outlines, and optimizes content for SEO with cover image generation. Use when the user asks to write a blog post, article, how-to guide, tutorial, technical writeup, thought leadership piece, or long-form content.

langchain-ai/deepagents · 58 tokens