agentleFS
89jobrien89jobrien/godmode/skills/self-reflect/SKILL.md

godmode:self-reflect

Skill1 starsChanged 57 days agoMITView on GitHub

Session reflection — review what was accomplished this session, surface patterns and surprises, and write a structured retrospective. Use when asked to "reflect", "self-reflect", "what did we do this session", or at natural session close points.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 10 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When asked to "reflect" or "what did we do today"

    line 19
  2. Distinctive:

    After a significant batch of commits lands (e.g.

    line 20
  3. Distinctive:

    Before cutting a release to sanity-check what actually changed

    line 21
  4. Distinctive:

    Use the Glob tool to list any files in the working scratch dir:

    line 35
  5. Very specific:

    Write to .ctx/godmode/reports/reflect/reflect-<YYYY-MM-DD>.md (overwrite if exists for today):

    line 77
  6. Distinctive:

    Use the Write tool to create the file.

    line 118
  7. Very specific:

    After writing the report, update the report index.

    line 121
  8. Distinctive:

    If any tasks were completed during the session but not marked done:

    line 128
  9. Distinctive:

    If new work was discovered that belongs on the graph:

    line 134
  10. Distinctive:

    Do not invent tasks to fill the graph — only add what was genuinely discovered.

    line 140
  11. Very specific:

    Do not modify source code during reflection — read-only except for the .ctx/ report and task graph state updates.

    line 144
  12. Distinctive:

    Do not rewrite history or amend commits to make the session look cleaner than it was.

    line 146
  13. Distinctive:

    If the session had no commits, say so — an empty "Shipped" section is honest and useful.

    line 147

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Self-Reflect

Review the current session's work and produce a structured retrospective written to .ctx/godmode/reports/reflect/reflect-<YYYY-MM-DD>.md.

When to Use

  • At the end of a working session before handoff
  • When asked to "reflect" or "what did we do today"
  • After a significant batch of commits lands (e.g. post-wave integration)
  • Before cutting a release to sanity-check what actually changed

Step 1: Collect session evidence

Gather the raw material for the reflection:

# Commits since session start (last 24h is a safe proxy; adjust if session spans days)
git log --oneline --since="24 hours ago"

# Files changed across those commits
git diff --stat HEAD~1 HEAD

Use the Glob tool to list any files in the working scratch dir:

Glob: pattern=".ctx/_WORKING_DIR/*"

Current task graph state — use godmode task list:

godmode task list

Outstanding blocked tasks:

godmode task list --json | rg blocked

Also read .ctx/HANDOFF.*.yaml if present — it captures intent from session start.

Step 2: Identify what was accomplished

From the commit log and diff stat, extract:

  • Shipped: concrete changes that landed (commits, features, fixes, TODOs added)
  • Unfinished: tasks still running or pending, files modified but not committed
  • Discarded / pivoted: things started but abandoned (check git stash list)

Step 3: Surface patterns and surprises

Answer these questions honestly based on the evidence:

  1. What took longer than expected? — look for repeated edits to the same file, or multiple fix-up commits on the same topic.
  2. What went smoothly? — first-pass successes, clean test runs, no hook failures.
  3. What was discovered that wasn't in the original plan? — TODOs added, unexpected coupling found, agents that surfaced issues not on the task graph.
  4. What would speed up the next session? — missing tools, unclear specs, slow feedback loops, friction points.

Step 4: Write the retrospective

Write to .ctx/godmode/reports/reflect/reflect-<YYYY-MM-DD>.md (overwrite if exists for today):

# Session Reflection — <YYYY-MM-DD HH:MM>

## Shipped

- <bullet per commit or logical change group>

## Unfinished

- <pending tasks, uncommitted changes, stashed work>
  - None if graph is clean and worktree is clean.

## Patterns & Surprises

### Took longer than expected

- <finding or "nothing notable">

### Went smoothly

- <finding>

### Discovered mid-session

- <unexpected finding, new TODO, coupling, etc.>

### Next session speedups

- <concrete suggestion — a missing test, a flaky tool, an unclear spec>

## Task graph snapshot

<paste output of `godmode task list`>

## Open questions

- <anything unresolved that the next session should address first>

Use the Write tool to create the file. Print a short summary (Shipped / Unfinished / Top insight) to stdout as well.

After writing the report, update the report index. Read .ctx/godmode/reports/godmode-reports.index.json, add the filename to categories.reflect.files (if not already present), and write it back with the Write tool.

Step 5: Update task graph (if applicable)

If any tasks were completed during the session but not marked done:

godmode task done <id> --commit <sha> --notes "<brief>"

If new work was discovered that belongs on the graph:

godmode task add "<title>" --crate-name <crate>

Do not invent tasks to fill the graph — only add what was genuinely discovered.

Guardrails

  • Do not modify source code during reflection — read-only except for the .ctx/ report and task graph state updates.
  • Do not rewrite history or amend commits to make the session look cleaner than it was.
  • If the session had no commits, say so — an empty "Shipped" section is honest and useful.
  • The reflection is for the next session's benefit, not performance review. Be precise, not flattering.
  • Never write (fill in next session) or any deferred placeholder. Every section must contain actual content from this session. If a section genuinely has nothing to report, write - Nothing notable. — not a deferral. Deferred placeholders make the reflection useless to the next agent.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.