session-reflection

session-reflection is a skill for Claude Code from metraton/gaia. It costs 0 tokens per session (2,101 once invoked), scanned A, original, MIT.

A process for reviewing a completed work session and updating the project's saved plans, tasks, approvals, and notes.

In plain words
What is it for?
Use it when closing substantial work or when asked to reflect on a session and reconcile what happened with the project's durable records.
Why use it?
It prevents decisions, unresolved issues, and ownership details from being lost when a session ends.

Skill for Claude Code

Written for Claude Code: PreCompact hook event. Also seen: mentions Claude Code; mentions OpenCode.

Part of the gaia plugin — 43 skills, 9 agents, 12 hooks shipped together

Good fit Use it when closing substantial work or when asked to reflect on a session and reconcile what happened with the project's durable records.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/metraton/gaia/session-reflection
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add metraton/gaia --skill session-reflection
Clone the repo
git clone --depth 1 https://github.com/metraton/gaia

Made for: Claude Code.

Or install gaia, the plugin that ships this one along with the rest of its 43 skills, 9 agents, 12 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for session-reflection

README.md
[![agentmods](https://agentmods.dev/badge/skills/metraton/gaia/session-reflection/github.svg)](https://agentmods.dev/skills/metraton/gaia/session-reflection)
Your own site
<a href="https://agentmods.dev/skills/metraton/gaia/session-reflection"><img src="https://agentmods.dev/badge/skills/metraton/gaia/session-reflection/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for session-reflection

Your own site · 80×15
<a href="https://agentmods.dev/skills/metraton/gaia/session-reflection"><img src="https://agentmods.dev/badge/skills/metraton/gaia/session-reflection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,101 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.02101
Opus 5.5 $0.00000 $0.00840
Sonnet 5.5 $0.00000 $0.00420
Haiku 4.5 $0.00000 $0.00210

Measured 23d ago against content hash 02bc7dbd7d2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

session-reflection scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 23d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/session-reflection/SKILL.md · 164 lines

How it starts

The opening of the file, as written. The whole thing — 164 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Session Reflection

Session reflection is everything the session lived, contrasted against what belongs to each project, until no loop is left dangling. It recovers the whole arc, reconciles it against the durable corpus in both directions, and leaves every item — settled or open — with an owner a later session can find.

Upstream are the transcript, the specialist contracts, and the injected digest. Downstream is memory curation: reflection ends when the corpus is correct. Compaction is a separate act: it is safe at any time and needs no reflection first, because the PreCompact hook rebuilds the session's in-flight state from the database (see "Compacting").

Process

  1. Recover the whole arc. Scan from the session opening for accepted and rejected proposals, deferrals, closures, user corrections, and specialist reactions — recency is not weight, an early settled choice still stands. Include cross_layer_impacts, open_gaps, and failure_report findings even where the user never reacted: they are observations about Gaia, not conversational agreements. reference.md holds the full recovery pass.
  2. Reconcile in both directions. For each initiative the session touched, read its live corpus — gaia memory get-relevant --initiative=<key> returns that whole pending set uncapped, with bodies — and ask: what did this session produce with no home yet, and what already-open pending did it close, advance, or invalidate? A topic search only answers whether your own phrasing has a row; the closure you owe is usually phrased in terms that predate the session that solved it. Read briefs, plans, tasks, and approvals the same way — a conversation cannot close an object the substrate still shows open. A session that produced any Gaia improvement touched gaia_system by definition, whatever project it was nominally working on — sweep it too. reference.md holds the reverse-sweep mechanics and the objective-state checks that verify a SKIP.
  3. Classify disjointly. Separate settled decisions and learnings, genuinely open work, and Gaia improvements. A user correction any user would want is a Gaia improvement, not a settled preference of his: only his difference becomes his row. When closure is uncertain, classify as open; a lost pending costs more than an extra review. For anything about Gaia itself, memory/SKILL.md's ownership test decides the initiative — gaia_system for an observed failure or friction, project-scoped gaia for a decision to build or change something.
  4. Give every item a home, and know what the home does. The pending worklist that returns to the user each session selects class=thread with status carry_forward or open only — an anchor still reaches a dispatched agent as held knowledge, but never comes back as work. Filing live work as an anchor hides it; filing settled knowledge as a thread turns the worklist into noise. SKIP is a home only when you name the canonical object that owns the item — already-canonical work is referenced, never copied.
  5. Adjudicate against the exception boundary. The boundary table lives in memory/SKILL.md ("Process" step 5) — this is a pointer to it, not a copy. Most operations are decided and executed directly; only the rows the boundary marks "ask first" or "veto" wait on the user.
  6. Run the curation, closures included. Materialize the step 2 closures alongside the new rows; reclassify and append are non-mutative, so nothing but omission keeps a resolved thread open. A closing arc that passes the milestone test in reference.md uses checkpoint, one atomic write; an ordinary close does not.
  7. State the resume point. One line naming what the next session picks up — a pointer, not a container: everything it names already has a row.

Read the full file on GitHub · 164 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 23d ago Changed · +3 lines 02bc7dbd7d2c
  2. 1mo ago Changed · +40 lines e170ae2cc753
  3. 1mo ago Changed 6789368c9927
  4. 2mo ago Changed ac8259ff4114
  5. 3mo ago First seen · 121 lines · 0 tokens per session scan A 7a46288f7a22

Subscribe to this mod's changes

session-reflection is a skill published in the GitHub repository metraton/gaia (4 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,101 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

session-reflection compared with skills from other repositories

session-reflection next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
session-reflectionmetraton/gaiaSkill4todayMITA0Claude Code
context-driven-developmentIbrahim-3d/orchestrator-supaconductorSkill3842mo agoAGPL-3.0A40Claude Code
knowledge-managerIbrahim-3d/orchestrator-supaconductorSkill3842mo agoAGPL-3.0A54Claude Code
context-loaderIbrahim-3d/orchestrator-supaconductorSkill3842mo agoAGPL-3.0A32Claude Code
handoffbiggora/dev-teamSkill521d agononeA57Claude Code
compound-memoryqGolem/orcSkill58mo agoMITA9Claude Code
half-cloneqGolem/orcSkill58mo agoMITB10Claude Code