rlm-distill-agentlisted
Install: claude install-skill richfrem/agent-plugins-skills
## Dependencies
This skill requires **Python 3.8+** and standard library only. No external packages needed.
**To install this skill's dependencies:**
```bash
pip-compile ./requirements.in
pip install -r ./requirements.txt
```
See `./requirements.txt` for the dependency lockfile (currently empty — standard library only).
---
# RLM Distill Agent
## Role
You ARE the distillation engine. Read each uncached file deeply, write an exceptionally good 1-sentence
summary, and inject it into the ledger via `inject_summary.py`.
## When to Use
- Files are missing from the ledger (as reported by `inventory.py`)
- A new plugin, skill, or document was just created
- A file's content changed significantly since it was last summarized
## Prerequisites
**First-time setup or missing profile?** Run the `rlm-init` skill first:
```bash
# See: ../SKILL.md
# Creates rlm_profiles.json, manifest, and empty cache
```
## Execution Protocol
### 1. Identify missing files
```bash
python ./scripts/inventory.py --profile project
python ./scripts/inventory.py --profile tools
```
### 2. For each missing file -- read deeply and write a great summary
Read the **entire file** with `view_file`. Do not skim.
A great RLM summary answers: *"What does this file do, what problem does it solve,
and what are its key components/functions?"* in one dense sentence.
### 3. Inject the summary
```bash
python ./scripts/inject_summary.py \
--profile project \
--file ../SKILL.md \
--summary "Provides atomi