Use at the start or resume of any task (especially long or multi-session tasks) to load the lessonbook before acting — read the read-only control rules and approved lessons plus the task's working state, and surface the active constraints for this run. Use when starting/resuming work, picking up a long task, or when continuity across sessions matters. Do not use for one-shot factual lookups with no prior state.
インストール
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Use at the start or resume of any task (especially long or multi-session tasks) to load the lessonbook before acting — read the read-only control rules and approved lessons plus the task's working state, and surface the active constraints for this run. Use when starting/resuming work, picking up a long task, or when continuity across sessions matters. Do not use for one-shot factual lookups with no prior state.
Starting or resuming a task that has prior state, rules, or lessons.
Long / multi-session / multi-stage work where chat context is unreliable.
Procedure
Read control/rules.md (read-only authority — you must obey, cannot edit).
Read control/approved_lessons/index.yaml; pull the lessons relevant to this task by their summaries (load full lesson files only as needed — progressive disclosure).
Read the task's state/tasks/<task_id>/run_state.yaml (working memory — what was believed/done so far; not ground truth) and its correction_journal.md if present.
Produce an active_constraints list (from rules + relevant approved lessons + any journal entries from earlier in this task) and a short relevant_lessons summary.
If state/lessonbook/inbox.md ($LESSONBOOK_INBOX) has UNREVIEWED placeholders left by a PreCompact hook, surface them — they may hold a correction from before a compaction. Hand them to correction-capture to triage.
Any unmet precondition or open question → record it in state/tasks/<task_id>/run_state.yaml (do not silently proceed past it).