Agent skill · AI & Agents

rlm

Process large codebases (>100 files) using the Recursive Language Model pattern. Treats code as an external environment, using parallel background agents to map-reduce complex tasks without context rot.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill rlm --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.0.0
Declared author: ClawFu
Path: skills/ai-llm/rlm/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Recursive Language Model (RLM) Skill ## Core Philosophy **"Context is an external resource, not a local variable."** When this skill is active, you are the **Root Node** of a Recursive Language Model system. Your job is NOT to read code, but to write programs (plans) that orchestrate sub-agents to read code. ## Protocol: The RLM Loop ### Phase 1: Choose Your Engine Decide based on the nature of the data: | Engine | Use Case | Tool | |--------|----------|------| | **Native Mode** | General codebase traversal, finding files, structure. | `find`, `grep`, `bash` | | **Strict Mode** | Dense data analysis (logs, CSVs, massive single files). | `python3 ~/.claude/skills/rlm/rlm.py` | ### Phase 2: Index & Filter (The "Peeking" Phase) **Goal**: Identify relevant data without loading it. 1. **Native**: Use `find` or `grep -l`. 2. **Strict**: Use `python3 .../rlm.py peek "query"`. * *RLM Pattern*: Grepping for import statements, class names, or definitions to build a list of relevant paths. ### Phase 3: Parallel Map (The "Sub-Query" Phase) **Goal**: Process chunks in parallel using fresh contexts. 1. **Divide**: Split the work into atomic units. - **Strict Mode**: `python3 .../rlm.py chunk -

What's inside
Steps it walks through
  1. Core Philosophy
  2. Protocol: The RLM Loop
  3. Phase 1: Choose Your Engine
  4. Phase 2: Index & Filter (The "Peeking" Phase)
  5. Phase 3: Parallel Map (The "Sub-Query" Phase)
  6. Phase 4: Reduce & Synthesize (The "Aggregation" Phase)
  7. Critical Instructions
  8. Example Workflow: "Find all API endpoints and check for Auth"
  9. Recovery Mode
  10. What Claude Does vs What You Decide
  11. Skill Boundaries
  12. This skill excels for:
  13. This skill is NOT ideal for:
  14. Skill Metadata
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the rlm skill do?

Process large codebases (>100 files) using the Recursive Language Model pattern. Treats code as an external environment, using parallel background agents to map-reduce complex tasks without context rot.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill rlm --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going