Daily reflection

From CarlosCaPe/octorato · View interactive version

Daily reflection is an AI agent skill from the GitHub repository CarlosCaPe/octorato. Honest end-of-session retro, errors first, that distills the lesson into brain memory. Triggers on 'que aprendiste hoy?', 'reflexiona', '/reflect', 'what did you learn today', 'how would you be better tomorrow'.

How to use this skill

Skill file

Daily Reflection: retro that becomes a reflex

The operator asks this as a ritual. The point is not to feel good; it is to get

better, and to make the lesson stick so tomorrow-me actually changes. A

reflection that stays as words is wasted. It only counts when it lands in memory

as a reflex (the operator's transcend-the-marionette doctrine: every string

pulled once should become a permanent reflex).

The discipline (non-negotiable)

  1. Source it from the ACTUAL session. Re-read what happened this session. No

generic "I learned to communicate better" filler. Cite the real moment

(file, PR, the exact thing the operator caught).

  1. Mistakes first. The valuable part is where I failed, not where I shone.

Lead with the correction the operator had to make. If the retro has no honest

failure in it, it is flattery, not reflection. Surface it.

  1. No flattery, no hedging. Connector stance: state what is true from what

happened, with the evidence. "I burned trust twice by saying verified before I

looked" beats "I learned the importance of verification."

  1. The why threads to the product. For each lesson, say WHY it matters, and

trace it to the one thing that makes the tool worth more than a guessing one:

trust. Most failures chip that.

The three questions (the output)

  1. ¿Qué aprendí hoy? The 1-3 real lessons, each with the moment that taught it.
  2. ¿Qué haría mañana para ser mejor, y por qué? Concrete behavior changes (not

"try harder"), each with its why. Prefer a mechanism/reflex over willpower: a

friction that recurred is a missing reflex, not a discipline failure.

  1. (implicit) ¿Qué de esto debe volverse permanente? Pick the single sharpest

reusable lesson and write it to memory.

Hours to the ledger (same re-read, second output)

The retro already re-reads the session against its evidence (commits, messages,

commands run). That re-read is also a time sheet, so it produces two outputs, not

one. Before the memory step, log the session's hours per arm in the time ledger

the company brain declares (its company/ config names the tool and how it is

reached, for example an invoicing SaaS over MCP). One entry per arm and day, the

duration as a conservative figure, and the evidence in the notes (commit hashes,

message ids, command ids), the same receipts the retro just collected. If the

company brain declares no ledger, skip this step and say so in the retro.

Why here: this is the one ritual that runs before the sync, so nothing ships

with its hours unrecorded, and the reconstruction costs nothing extra. Why a

figure with evidence and not a stopwatch: the brain's stance is receipts over

recall, and an hour that points at a commit survives an audit; an hour typed

from memory does not. A session that dies without closing logs nothing; that

gap is a reflex for a session-end hook, not a discipline to remember.

The step that makes it count: write the lesson to memory

This is what separates this skill from "a nice answer":

  1. Distil the sharpest lesson into a one-fact memory file under the brain memory

dir (projects/<id>/memory/), type: feedback (a discipline correction) or

type: lesson (a technical gotcha). Include Why + How to apply + the

two failure smells that should trigger it next time. Link related memories with

[[name]].

  1. Add a one-line pointer in MEMORY.md.
  2. python3 ~/.claude/scripts/memory_sync.py push so it persists cross-machine.
  3. Before writing, check for an existing memory that already covers it. Update

that file rather than duplicating.

  1. Close the ritual with the canonical sync: run /ai-sync (the

~/.local/bin/ai-sync runner) so any public brain changes from the session

reconcile with the remote in the same beat. The link is two-way: /ai-sync

runs this reflection before syncing, and this reflection ends by syncing.

If the co-tenancy guard aborts (another live session on the brain tree),

report that and leave the sync to the surviving session; never override it.

A reflection without this step is half-done. The operator will catch it.

What NOT to do

the one thing that was almost a mistake.

reusable techniques). This writes a behavior/discipline MEMORY.

Relationship to other skills

skill. Use when the lesson is a how-to worth reusing.

Use for the "how should I act better" question. They compose: a session can

produce both a draft skill and a discipline memory.

reflection first when the session did substantive work; this skill closes by

running the sync. Publish and learn travel together.

transcend-the-marionette for the reflex-over-willpower stance.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.