Skip to content
Back to skills

Obsidian Rlm Distiller

ASecurity

Distills wiki source files into the three-layer RLM summary structure (summary.md, bullets.md, deep.md) using cheap cloud LLM CLIs. Routes to mini/flash tiers.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
ai-agentspythonbashnode

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned October 3, 2026

npx -y skills add richfrem/agent-plugins-skills --skill obsidian-rlm-distiller --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Obsidian Rlm Distiller?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Obsidian Rlm Distiller
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-obsidian-rlm-distiller/badge)](https://www.skillsdirectory.com/skills/richfrem-obsidian-rlm-distiller)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: obsidian-rlm-distiller
description: Distills wiki source files into the three-layer RLM summary structure (summary.md, bullets.md, deep.md) using cheap cloud LLM CLIs. Routes to mini/flash tiers.
---

# Obsidian RLM Distiller (obsidian-rlm-distiller)

Distills wiki source files into a three-layer RLM summary structure using low-cost cloud LLM CLIs.

## Contents
- [Critical Constraints](#critical-constraints)
- [Dependencies](#dependencies)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)

## Critical Constraints
- Route strictly to mini/flash tier models (`gpt-5-mini`, `claude-haiku-4-5`, `gemini-3-flash-preview`); never use local models.
- Track source file hashes to prevent redundant re-distillation of unchanged notes.
- Every distilled concept must output the standard 3-tier structure (`summary.md`, `bullets.md`, `deep.md`).

## Dependencies

Requires Python 3.8+ and at least one CLI installed: `copilot`, `claude`, or `gemini`.

## Quick start
```bash
# Distill all stale wiki nodes
python3 plugins/obsidian-wiki-engine/scripts/distill_wiki.py --wiki-root <path>

# Distill single named source
python3 plugins/obsidian-wiki-engine/scripts/distill_wiki.py --wiki-root <path> --source arch-docs

# Dry run inspection
python3 plugins/obsidian-wiki-engine/scripts/distill_wiki.py --wiki-root <path> --dry-run
```

## Workflow
1. **Source Discovery**: Scan registered wiki sources and compare hashes against `meta/agent-memory.json`.
2. **Model Routing**: Select lowest-cost available CLI runner (`copilot` -> `claude` -> `agy`).
3. **Multi-Tier Distillation**: Generate 1-paragraph summary, 6-bullet key points, and comprehensive deep summary.
4. **Cache Persistence**: Store outputs in `{wiki_root}/rlm/<concept>/` and update hash registry.

## Verification
```bash
# Verify distillation with dry run
python3 plugins/obsidian-wiki-engine/scripts/distill_wiki.py --wiki-root <path> --dry-run

# Audit skill compliance
python3 plugins/agent-scaffolders/scripts/audit_skill.py plugins/obsidian-wiki-engine/skills/obsidian-rlm-distiller --mode source
```

## References
- [wiki-distillation-guide.md](references/wiki-distillation-guide.md) - Summary schemas, cache colocation, and runner configurations.

Files in this skill

  • SKILL.md3.7 KB
  • evals/evals.json685 B
  • requirements.txt12 B
  • scripts/audit.py25 B
  • scripts/distill_wiki.py32 B
  • scripts/raw_manifest.py32 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.