Ritual types
| Type | Prefix | Purpose |
|---|---|---|
| Planning | ritual-planning-* | Prepare Captive notes from templates |
| Reflection | ritual-reflection-* | Archive Captive notes to Periodic |
Actions vs Rituals
Actions are one-shot skills triggered on demand. Rituals are scheduled and recurring.| Aspect | Actions | Rituals |
|---|---|---|
| Trigger | On demand | Scheduled |
| Frequency | As needed | Daily/weekly/etc |
| Purpose | Discrete task | System maintenance |
| Prefix | None | ritual- |
Creating an action
-
Create skill folder:
.claude/skills/{action-name}/ -
Add
SKILL.mdwith frontmatter: -
Write clear
descriptionso Claude knows when to use it -
Test:
claude skill run create-project --args "Project Name"
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 |
| Learning | Record observations for self-improvement |
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,@_assistant-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/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 |
Learning phase patterns
Self-learning rituals include a Learning 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
- Creating Custom Assistants - Skill architecture and creation
- Templates - Template structure and contracts
- How Ada Works - Complete ritual command reference