session-retrospective

session-retrospective is a skill for Claude Code from EndogenAI/dogma. It costs 136 tokens per session (2,446 once invoked), scanned A, original, Apache-2.0.

A session-review process for turning lessons from completed work into durable instructions and improvements for future agents.

In plain words
What is it for?
Use it to collect new patterns, compare them with existing guidance, identify missing instructions, route updates to the right agents, and record the results.
Why use it?
It prevents useful discoveries from remaining only in a conversation and being lost after the session ends.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents; mentions AGENTS.md.

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.

agentmods
npx agentmods add skills/endogenai/dogma/session-retrospective
Any agent
npx skills add EndogenAI/dogma --skill session-retrospective
Clone the repo
git clone --depth 1 https://github.com/EndogenAI/dogma

Made for: Claude Code.

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-retrospective

README.md
[![agentmods](https://agentmods.dev/badge/skills/endogenai/dogma/session-retrospective.svg)](https://agentmods.dev/skills/endogenai/dogma/session-retrospective)
Your own site
<a href="https://agentmods.dev/skills/endogenai/dogma/session-retrospective"><img src="https://agentmods.dev/badge/skills/endogenai/dogma/session-retrospective.svg" alt="Measured on agentmods" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,446 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00136 $0.02446
Opus 5 $0.00068 $0.01223
Sonnet 5 $0.00027 $0.00489
Haiku 4.5 $0.00014 $0.00245

Measured 5d ago against content hash 9a5c75c03bd0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

session-retrospective 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 5d 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.

.github/skills/session-retrospective/SKILL.md · 190 lines

How it starts

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

Session Retrospective — Insight Discovery and Substrate Encoding

This skill enacts the Endogenous-First axiom from MANIFESTO.md: new knowledge discovered during a session must flow back into the substrate, not remain as ephemeral chat context. It is governed by AGENTS.md § Per-Phase Execution Checklists and § Session-End Closing Steps. This skill is the session-level enactment of Issue #82 (Dogma Neuroplasticity — back-propagation protocol).

Read docs/guides/session-management.md and docs/guides/workflows.md before deviating from any step below.


Beliefs & Context

This skill implements the back-propagation protocol: new patterns discovered interactively must be encoded durably before they can influence future sessions.

Implements: Issue #82 — Dogma Neuroplasticity — back-propagation protocol

Governed by:

  • AGENTS.md § Per-Phase Execution Checklists — retrospective runs as the close step after the final phase
  • MANIFESTO.md Endogenous-First axiom — endogenous knowledge compounds; chat-only knowledge evaporates

Used by:

  • Executive Orchestrator (runs retrospective at session close)
  • Executive Fleet (receives agent/skill encoding gaps)
  • Executive Docs (receives AGENTS.md / guide encoding gaps)
  • Orchestrator (commits via terminal after Review approval)
  • Review agent (validates additions before commit)

Companion skill: session-management — retrospective runs during Session Close phase (Step 5 of that skill)

Encoding circuit — the complete back-propagation loop this skill enacts:

Sprint observation → Retrospective harvest → Gap-analysis → Routing plan → Issue seed → Workplan → Phase delegation → Commit

Steps 2–4 map to this skill's Harvest, Gap-Analyse, and Route steps; steps 5–8 execute in subsequent sessions from the routing plan. The circuit closes only when a commit lands — scratchpad notes alone do not close it. The highest-leverage point is step 3: a routing entry missing the Section field causes re-scoping at step 6 or 7, costing tokens that a complete entry at step 3 would have eliminated.

Read the full file on GitHub · 190 lines

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. 5d ago First seen · 190 lines · 136 tokens per session scan A 9a5c75c03bd0

Subscribe to this mod's changes

session-retrospective is a skill published in the GitHub repository EndogenAI/dogma (2 stars, last pushed 12d ago), licensed Apache-2.0. It adds 136 tokens to every session and 2,446 once invoked, about $0.0007 per session on Opus 5. 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

Other skills, from other repositories

memoryguard

Local-first MCP memory backend and governance console for coding agents. Auto-organize, quarantine, supersede, and rollback shared memories across multiple agents.

irisxc4/memoryguard · 32 tokens

pact-recall

Search PACT's vector memory for relevant bugs, solutions, research, and feedback.

jonathanmr22/pact · 16 tokens

pmm-development-auditor

Audit Persistent Mind Model architecture, code changes, validators, event relationships, projections, identity and commitment behavior, retrieval, and documented guarantees against the current repository. Use when reviewing or implementing PMM changes, investigating fabricated or unsupported claims and citations…

scottonanski/persistent-mind-model-v1.0 · 89 tokens

para-memory-files

File-based memory system using Tiago Forte's PARA method. Use this skill whenever you need to store, retrieve, update, or organize knowledge across sessions. Covers three memory layers: (1) Knowledge graph in PARA folders with atomic YAML facts, (2) Daily notes as raw timeline, (3) Tacit knowledge about user patterns.…

CES-Ltd/TitanClip · 117 tokens

Cortex

Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…

danielmiessler/LifeOS · 196 tokens

task-agent-eliza-bridge

Use when spawning a Claude Code, Codex, Gemini, Aider, or other CLI task agent whose work needs parent Eliza runtime context. Covers the read-only loopback bridge for character, room, memory, and active workspace state.

elizaOS/eliza · 55 tokens