Ritual types
| Type | Prefix | Purpose |
|---|---|---|
| Planning | ritual-planning-* | Prepare Captive notes from templates |
| Review | ritual-review-* | Archive Captive notes to Periodic |
Creating a ritual
-
Create skill folder:
.claude/skills/ritual-{type}-{period}/ -
Add
SKILL.mdwith frontmatter: - Document the ritual flow and outcomes
-
Test:
claude skill run ritual-planning-weekly
Ritual structure
Rituals follow a three-phase pattern:| Phase | Purpose |
|---|---|
| Setup | Load directives, calendar, vault files, validate prerequisites |
| Core | Interactive session, compose artifacts, persist |
| Reflection | Record observations for self-learning |
Template contracts
Each ritual has atemplate-contract.md defining:
- Which template it uses
- Required sections
- Optional sections
- Section update rules
Agent instructions
When building or modifying rituals, follow these patterns extracted from existing rituals.Phase execution
Each phase follows a consistent pattern:- Load — Read required files at phase start
- Process — Transform data, interact with user if needed
- Update — Write changes to target file
- Transition — Explicit “Proceed to [Next Phase]” statement
File operations
- Always read before write. Never assume file state.
- Write the entire file back, not partial updates.
- Use “Replace
## Section” language to clarify intent. - Read templates from
00_Brain/Systemic/Templates/
Interactive vs non-interactive phases
Interactive phases (like Check-In):- Gather information through conversation
- Adapt phrasing from insights
- Ask one natural question, not checklists
- Follow up once if something is missing
- Present, do not negotiate
- Synthesize context into narrative
- No interaction—let user absorb
Skill invocation
Rituals invoke other skills by name for reusable operations:_ are internal—not user-invocable via /skillname.
Context loading order
Load context in this order:- Skills — Invoke
_resolve-dates,_fetch-calendar - Configuration — Read
00_Brain/Systemic/Directives/user-profile.md,00_Brain/Systemic/Directives/ai-personality.md - Semantic knowledge — Read
00_Brain/Semantic/planning-daily/insights.md - Planning context — Read
00_Brain/Captive/Week.md,00_Brain/Captive/Month.md,00_Brain/Captive/Quarter.md - Derived context — Glob and read files referenced by calendar (e.g.,
02_Areas/People/*.mdfor 1:1s)
Validation gates
Setup phases should validate prerequisites:Template contract awareness
Rituals update specific H2 sections. Document which phases update which sections:| Phase | Updates |
|---|---|
| Daily Brief | ## Daily Brief |
| Meetings | ## Meetings |
| Journal | ## Journal |
Reflection phase patterns
Self-learning rituals include a Reflection phase that:- Diff analysis — Compare
00_Brain/Captive/Today.mdagainst00_Brain/Systemic/Templates/Captive/today.md - Session review — Analyze user interaction patterns
- Auto-cluster — Group observations by semantic similarity
- Auto-graduate — Monitor clusters for maturity criteria
- Crystallize — User synthesizes insight when cluster graduates
- Template evolution — Apply insights to templates
00_Brain/Synthetic/planning-daily/observations.md with this format:
user-modification, skill-generated, session-interaction
Persona guidance
Give the agent a clear persona at phase start:You’re an eager executive assistant about to help plan the day. You’ve already seen the calendar. You know what sessions follow.This shapes tone, initiative level, and interaction style.
Related
- Skills — Skill architecture and creation
- Templates — Template structure and contracts
- Rituals reference — Complete ritual command reference