public/SKILLS/Utility & Automation/clawfu-mcp-skills/SKILL.md
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.
npx skillsauth add eric861129/skills_all-in-one rlmInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
"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.
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 |
Goal: Identify relevant data without loading it.
find or grep -l.python3 .../rlm.py peek "query".
Goal: Process chunks in parallel using fresh contexts.
python3 .../rlm.py chunk --pattern "*.log" -> Returns JSON chunks.background_task to launch parallel agents.
background_task(agent="explore", prompt="Analyze chunk #5 of big.log: {content}...")Goal: Combine results into a coherent answer.
background_task (via background_output).cat * or read more than 3-5 files into your main context at once.background_task for reading/analyzing file contents when the file count > 1.rlm.py for programmatic slicing of large files that grep can't handle well.rlm.py) to scan them and output a summary.Wrong Way (Monolithic):
read src/api/routes.tsread src/api/users.tsRLM Way (Recursive):
grep -l "@Controller" src/**/*.ts -> Returns 20 files.background_task(prompt="Read src/api/routes.ts. Extract all endpoints and their @Auth decorators.")background_task(prompt="Read src/api/users.ts. Extract all endpoints and their @Auth decorators.")If background_task is unavailable or fails:
| Claude handles | You provide | |---------------|-------------| | Orchestrating parallel agents | Initial query and success criteria | | Chunking large files for processing | Judgment on result quality | | Synthesizing results from subagents | Final interpretation and action | | Writing filtering scripts | Validation of completeness | | Managing context isolation | Decision on when to stop recursing |
name: rlm
category: meta
version: 2.0
author: GUIA
source_expert: Recursive Language Model pattern
difficulty: advanced
mode: cyborg
tags: [rlm, large-codebase, parallel-agents, map-reduce, context-management]
created: 2026-02-03
updated: 2026-02-03
development
Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like "what if...", "what would happen if...", "what are the possibilities", "explore scenarios", "scenario analysis", "possibility space", "what could go wrong", "best case / worst case", "risk analysis", "contingency planning", "strategic options", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.
development
Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
development
Use when challenging ideas, plans, decisions, or proposals using structured critical reasoning. Invoke to play devil's advocate, run a pre-mortem, red team, or audit evidence and assumptions.
tools
Core skill for the deep research and writing tool. Write scientific manuscripts in full paragraphs (never bullet points). Use two-stage process with (1) section outlines with key points using research-lookup then (2) convert to flowing prose. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), for research papers and journal submissions.