AGENT SKILL

rituals

One batch interview that captures your day's facts — workdays, focus file, prep commands, integrations — and writes ~/.clutch/rituals.md for the morning and close-of-day anchors.

License 许可
MIT
所属仓库
yuvalraz/clutch
最近更新
2026-11-12
Stars
★ 3
Forks
0

01 前言 Front Matter

name
rituals
description
One batch interview that captures your day's facts — workdays, focus file, prep commands, integrations — and writes ~/.clutch/rituals.md for the morning and close-of-day anchors.
when_to_use
Use when the user says "/clutch:rituals", "set up my rituals", "set up my morning", or "change my ritual config".
disable-model-invocation
true

03 SKILL.md 正文

Rituals

The morning and close-of-day anchors carry fixed opinions about how a day opens and closes. What they cannot carry is your facts: which days you work, where your focus file lives, what to read before anything else. This skill asks for those facts once, in one batch, and writes them to ~/.clutch/rituals.md. After that, /clutch:morning and /clutch:eod stand on them without asking again.

Rituals runs only when you fire it. Never runs unbidden, and nothing it writes makes anything else fire on its own — the anchors fire when you fire them.

Procedure

Step 1: Load what exists

Read ~/.clutch/rituals.md if it is there. On a re-run this is the whole point: show current values as defaults, ask only what the user wants to change, and edit it in place. Never start from blank when a config exists.

Step 2: Ask in one batch

Same batch-not-drip rule as /clutch:interview: ask everything at once, never a drip of one question at a time. Ignoring a question is a legal answer — an ignored question keeps its current value or stays unset.

The batch covers:

  • Workdays — which days count. The close-of-day anchor uses this to pick the next workday.
  • State dir — an optional directory the rituals read and write (notes, focus files, whatever holds your day). Skippable.
  • Focus file — where the day's focuses live, relative to the state dir.
  • Per ritual (morning and close-of-day) — the anchor time (display only; nothing fires on its own), an optional prep command to run and read first, any extra steps to weave in, and any close-out steps to end on.
  • Integrations — freeform: a calendar tool, a task board, anything the day prep should check when reachable.
  • Review conventions — optional: the file review sessions read their conventions from and append new ones to. Skippable.

Step 3: Write the config

Write ~/.clutch/rituals.md in this shape. The section names are fixed; everything inside is loose — the reader is the ritual itself, not a parser. Placeholder values below; yours replace them:

# Rituals

## Shared
- workdays: <your work week>
- state dir: <a directory your day lives in>
- focus file: <path to the day's focuses, relative to state dir>
- integrations: <a calendar tool, a task board — freeform bullets>
- review-conventions: <path to your review conventions file>

## Morning
- time: <your anchor time — display only>
- prep: <a command to run and read first>
### Extra steps
- <your own lines, woven in before the close>
### Close-out
- <your own sync or commit steps>

## EOD
- time: <your anchor time>
- prep: <a command to run and read first>
### Extra steps
### Close-out

Recognized keys: workdays, state dir, focus file, time, prep, review-conventions, plus freeform integrations: bullets under Shared. Anything else you write in the file is carried into the ritual as context, never treated as an error. The file is yours: hand-edit it any time, and a re-run of this skill respects what it finds. Keys you leave unset stay unset — the rituals ask once when they first need it and offer to write the answer back here, so nothing is asked twice.

/clutch:ops reads an optional ## Ops section you write by hand; this skill never asks for it and keeps it on a re-run. Under ### Delegation, each line is - <level>: <what it covers>, with level L3, L2, L1, L0 or Noise. L3 asks for a yes every time, L2 does a chore and logs it, L1 drafts for your yes, L0 is named only when it touches the critical path, and Noise is never shown. Anything the policy does not name is L3, and the L2 list starts empty: only you add to it. List at L2 only a chore you have done yourself at least once. A production change, a direct send, a merge or a delete stays L3 whatever this list says. An Auto line, - Auto: <channel> — <what to post>, names a channel a process reads, such as a review-request queue; ops posts there without a yes, logs it, and an @-mention the line does not name still waits for your yes. Under ### Windows, the approval window times, 24-hour, comma or line separated; the default is 11:00 and 16:30, used when the section is absent, empty or holds no valid time. A window opens on the first ops sweep at or after its time; nothing fires on its own. Under ### Buckets, optional, - work: <terms> and - personal: <terms> name words that mark a tablet item as work or personal; ops reads them when it files the tablet inbox, only for an item that does not read clearly on its own; an unclear item that matches neither stays unsure.

## Ops
### Delegation
- L1: <inbound you want drafted for your yes>
- L0: <inbound to name only when it touches the critical path>
- Noise: <inbound never to show>
- L2:
- Auto: <channel> — <what to post>
### Windows
- 11:00, 16:30
### Buckets
- work: <your team, your product>
- personal: <home, family>

Your focus file may hold a ## Critical path: one ### block per delivery, each step a - [ ] or - [x] line, and a blocked step ending in waits on: <who>. The first ops sweep of a day opens with a brief built from it.

## Critical path
### Launch the export
- [x] Draft the spec
- [ ] Legal review waits on: Ada Example
- [ ] Ship the flag

Step 4: Confirm

Show the written file, then name the next thing: resume the ritual that sent you here, or fire /clutch:morning at your next day-open.

What this skill does NOT do

  • Run on its own, or write config nobody asked for
  • Make any ritual fire by itself — the anchors are pull-only
  • Enforce a strict format — unrecognized lines are context, not errors
  • Drip questions one at a time — one batch, then write

04 同仓库更多 Skills