rill / pages
CLAUDE.md9 starsChanged 41 days agoMITView on GitHub
Human-facing aggregated documents for repeated reference (wiki page metaphor, ADR-062). Flat directory for single-file pages. Each page has a recipe pair. A page that outgrows one file becomes a book: a pages/{id}/ directory with a _book.md spine (type: book), NN-*.md chapters (type: chapter), the recipe at pages/{id}/_recipe.md, and a derived .view/ reading view built by rill book build {id} (git-ignored; Markdown stays the source of truth). Single-file pages: {id}.md (kebab-case, no date prefix) /distill, /briefing, /eval do not Grep pages/.…
In this repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- templates/AGENTS.mdAGENTS.md
- inbox/CLAUDE.mdCLAUDE.md
- projects/CLAUDE.mdCLAUDE.md
- tasks/CLAUDE.mdCLAUDE.md
- workspace/CLAUDE.mdCLAUDE.md
- briefingSkill
- clip-tweetSkill
- closeSkill
- distillSkill
- evalSkill
- focusSkill
- inspectSkill
- maintainSkill
- morningSkill
- newsletterSkill
- onboardingSkill
- pageSkill
- pluginSkill
- projectSkill
- pulseSkill
- refresh-decisionsSkill
- refresh-projectSkill
- repairSkill
- retrospectiveSkill
- solveSkill
- syncSkill
The file
We split this CLAUDE.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 79
Update the updated field in frontmatter
- Distinctive: line 83
Direct data additions to Pages are prohibited: Write new facts to canonical sources (knowledge/, inbox/) first, then reflect them in Pages.
≈ “Common” is an estimate: at least 1 in 5 of the 29,248 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
pages/ — Materialized View Pages
Human-facing aggregated documents for repeated reference (wiki page metaphor, ADR-062).
Structure
Flat directory for single-file pages. Each page has a recipe pair. A page that outgrows one file becomes a book: a pages/{id}/ directory with a _book.md spine (type: book), NN-*.md chapters (type: chapter), the recipe at pages/{id}/_recipe.md, and a derived .view/ reading view built by rill book build {id} (git-ignored; Markdown stays the source of truth). Single-file pages:
pages/
├── rill-roadmap.md
├── rill-roadmap.recipe.md ← Always paired
├── body-recomposition.md
└── body-recomposition.recipe.mdFilename
{id}.md (kebab-case, no date prefix)
Frontmatter (required fields)
---
created: 2026-03-24T10:00+09:00
type: page # Required
id: body-recomposition # Required, matches filename
name: Body Recomposition Strategy # Required
description: Aggregation of training strategy, diet plan, and weekly log # Required
updated: 2026-03-24T08:00+09:00 # Auto-set
tags: [fitness] # Optional
sources: # Optional, structural sources
- knowledge/notes/body-recomp-basics.md
---Excluded from AI Search
/distill, /briefing, /eval do not Grep pages/. Pages are "user-only Materialized Views" and are not targets for automated AI processing.
Reason: Pages are re-aggregated content, so AI reading them would create information loops.
{id}.recipe.md (Important)
A separate file describing the page's purpose, source hints, and fixed sections:
---
created: 2026-03-24T10:00+09:00
type: recipe
---
# Body Recomposition Strategy — Recipe
## Purpose
(What this page is for)
## Source Hints
- knowledge/notes/body-recomp-*.md
- Deliverables from workspace/2026-03-21-body-recomposition/
## Sections
1. Training strategy
2. Diet plan
3. Weekly logStructure is not prescribed — the AI infers it from the purpose.
Required Rule When Updating Pages (ADR-062)
When updating a file in pages/, you must first Read the corresponding .recipe.md to understand the page's purpose. The recipe describes purpose and source hints, not rigid structure.
Update flow:
- Read
{id}.recipe.mdfirst - Understand the Purpose and Source Hints from the recipe
- Gather necessary information from canonical sources (inbox/, knowledge/, workspace/)
- Edit
{id}.md - Update the
updatedfield in frontmatter
No Direct Editing Principle (D62-5)
Direct data additions to Pages are prohibited. Write new facts to canonical sources (knowledge/, inbox/) first, then reflect them in Pages. Pages are views only.
Writing Style
- Prose-based
- Tables only for comparisons
- Maintain chronological axis
Creating and Updating
/page create {id} # Create new
/page update {id} # Update existingOr scaffold manually with rill mkfile pages --slug {id} --type page.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

