stratify

stratify is a skill for Claude Code from rjroy/vibe-garden. It costs 88 tokens per session (992 once invoked), scanned A, original, MIT.

A wiki organization tool that groups reference pages into category directories. A wiki is a collection of linked documentation pages.

In plain words
What is it for?
Use it to design categories, move pages when directories become crowded, update the index, and repair links pointing to moved pages.
Why use it?
It makes a large, flat documentation folder easier to scan while preserving page content and repairing links.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the field-guide plugin — 7 skills shipped together

Good fit Use it to design categories, move pages when directories become crowded, update the index, and repair links pointing to moved pages.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rjroy/vibe-garden/stratify
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add rjroy/vibe-garden --skill stratify
Clone the repo
git clone --depth 1 https://github.com/rjroy/vibe-garden

Made for: Claude Code.

Or install field-guide, the plugin that ships this one along with the rest of its 7 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for stratify

README.md
[![agentmods](https://agentmods.dev/badge/skills/rjroy/vibe-garden/stratify.svg)](https://agentmods.dev/skills/rjroy/vibe-garden/stratify)
Your own site
<a href="https://agentmods.dev/skills/rjroy/vibe-garden/stratify"><img src="https://agentmods.dev/badge/skills/rjroy/vibe-garden/stratify.svg" alt="Measured on agentmods" height="20"></a>
Per session 88 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 992 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00088 $0.00992
Opus 5 $0.00044 $0.00496
Sonnet 5 $0.00018 $0.00198
Haiku 4.5 $0.00009 $0.00099

Measured 8d ago against content hash 57c1a5045a54, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

stratify scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

field-guide/skills/stratify/SKILL.md · 66 lines

How it starts

The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Stratify

Reorganize .lore/reference/ into topical category directories once the flat layout stops scanning well. Move pages, keep every link working, and keep the index authoritative.

Stratify changes where pages live, never what they say. Page bodies, frontmatter, fg-type, fg-sources, and fg-evidence all stay untouched except for link path repairs.

Thresholds

  • A directory earns stratification when it holds more than ~12 pages (index.* and dotfiles don't count).
  • Split an overgrown directory into 3-4 groups. As the wiki grows, adjust toward 6-7 top-level categories.
  • Never create a directory that would hold fewer than ~3 pages; leave those pages where they are until siblings accumulate.
  • Apply the rule recursively: a category gets subcategories only when it exceeds the threshold itself. Categories under the threshold stay flat.
  • After the first stratification, later runs are incremental: split only the directories that outgrew the threshold. Don't reshuffle pages that already fit or rename categories without cause — every move has a link-repair cost.

Steps

1. Inventory and design the taxonomy.

Read the index (.lore/reference/index.md, or index.html if that's all there is) and list every page on disk, recursively. Pages may be .md or .html; both move the same way. Note any page on disk the index doesn't list — those are orphans; adopt them into the new index during this run rather than leaving them invisible.

Group pages by topic, not by fg-type — type is already recorded in each page's frontmatter, and a category mixing decisions, lessons, and architecture about the same subject is the point. Derive topics from titles, index descriptions, and tags; skim page bodies only where those are ambiguous. Use short kebab-case directory names.

Present the proposed mapping as a table (category, subcategories, page count) before moving anything, and adjust if the user objects.

2. Survey referrers.

Before moving, find everything that links to pages about to move:

Read the full file on GitHub · 66 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 66 lines · 88 tokens per session scan A 57c1a5045a54

Subscribe to this mod's changes

stratify is a skill published in the GitHub repository rjroy/vibe-garden (6 stars, last pushed 2mo ago), licensed MIT. It adds 88 tokens to every session and 992 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

init-rpm

Project setup and verification. First run creates rpm context for a project. Repeat runs verify that an existing rpm setup matches the latest expected layout and apply safe migrations.

dppdppd/rpm · 48 tokens

backlog

Manage the rpm backlog (long-term project tasks in docs/rpm/future/tasks.org — distinct from Claude's native TaskCreate list, which is session-scoped). Add, list, review, postpone, or complete entries. TRIGGER on natural-language backlog operations — phrasings like "backlog X", "add X to backlog", "add to backlog"…

dppdppd/rpm · 156 tokens

version

Report the installed rpm plugin version. Use when the user asks for the rpm version, plugin version, installed version, or wants to verify which rpm release is loaded.

dppdppd/rpm · 35 tokens

recursive-spine-digest

Use when sweeping all recursive-spine-conforming repos for tracking health — aging deferrals (oldest first), stalled milestones, in-flight by lane, assigned-but-untouched issues, and debts named in closing comments but never filed, plus seedling pollen that never transplanted (hive repos). Reports honest denominators…

slopstopper/recursive-spine · 82 tokens

recursive-spine-scaffold

Use when a repo has (or is getting) the tracking stamp and needs the rest of its spine — interviews for and stamps up to six parts, each optional: a rules codex with a moments map, an ADR directory, a CI gate skeleton, a session-memory convention, a constraints file with its sha-pinned drift gate, and the loop…

slopstopper/recursive-spine · 0 tokens

recursive-spine-bootstrap

Use when installing the recursive-spine tracking convention onto a repo — interviews for modules and dialect, then stamps labels, issue/PR templates, a CLAUDE.md/AGENTS.md tracking section, and cross-project board membership. Idempotent; degrades loudly on missing gh scopes; offers (never forces) plumb-line and…

slopstopper/recursive-spine · 76 tokens