技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
rlm【数据与研究】Process large codebases (>100 files) using the Recursive Language Model pattern. Orchestrates parallel sub-agents to map-reduce across files without context rot. Use when: analyzing large repositories; auditing security or auth across many files; finding patterns across 50+ files; processing large log files or data dumps
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
"Context is an external resource, not a local variable."
You are the Root Node. Your job is NOT to read code directly, but to orchestrate sub-agents that read code for you.
Identify relevant files without loading them into context.
# Find candidate files
grep -rl "pattern" src/ --include="*.ts"
find . -name "*.py" -newer last_check
Split work into atomic units, spawn parallel agents.
Example spawn:
Agent 1: "Read src/api/routes.ts. List all endpoints with their auth decorators."
Agent 2: "Read src/api/users.ts. List all endpoints with their auth decorators."
...
Collect all agent outputs, find patterns, compile into a coherent answer.
If incomplete, recurse: run a second RLM pass on the specific gaps.
Wrong (monolithic): Read each file sequentially → context fills up, reasoning degrades.
RLM Way:
grep -l "@Controller" src/**/*.ts → 20 filesReturn a structured summary:
Excels for: Codebases >100 files, cross-file pattern search, audit tasks, large file analysis.
Not ideal for: Small projects (<50 files), single file analysis, file modification tasks.