reflect

reflect is a skill for Claude Code, Codex from mubit-ai/claude-plugins. It costs 19 tokens per session (764 once invoked), scanned A, original, Apache-2.0.

A session-review skill that asks Mubit to extract lessons from the current run. Mubit is the system described here that records activity and lessons.

In plain words
What is it for?
Reviewing a completed run, reporting its lesson IDs, types, and scopes, and checking broader lessons when requested.
Why use it?
Lessons collected automatically may remain visible only in the current run, so this explicit review can move eligible lessons toward wider use.

Skill for Claude CodeCodex

Part of the mubit-memory plugin — 13 skills, 1 agent, 13 hooks, 1 MCP server shipped together

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/mubit-ai/claude-plugins/reflect
Any agent
npx skills add mubit-ai/claude-plugins --skill reflect
Clone the repo
git clone --depth 1 https://github.com/mubit-ai/claude-plugins

Made for: Claude Code, Codex.

Or install mubit-memory, the plugin that ships this one along with the rest of its 13 skills, 1 agent, 13 hooks, 1 MCP server.

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 reflect

README.md
[![agentmods](https://agentmods.dev/badge/skills/mubit-ai/claude-plugins/reflect.svg)](https://agentmods.dev/skills/mubit-ai/claude-plugins/reflect)
Your own site
<a href="https://agentmods.dev/skills/mubit-ai/claude-plugins/reflect"><img src="https://agentmods.dev/badge/skills/mubit-ai/claude-plugins/reflect.svg" alt="Measured on agentmods" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 764 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 $0.00019 $0.00764
Opus 5 $0.00010 $0.00382
Sonnet 5 $0.00004 $0.00153
Haiku 4.5 $0.00002 $0.00076

Measured yesterday against content hash 5ea73ee9fe34, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

reflect 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 yesterday.

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.

integrations/claude-code/skills/reflect/SKILL.md · 54 lines

How it starts

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

Reflect over the current run — POST /v2/control/reflect {run_id} — and report the extracted lessons[] back to the user: lesson_id, lesson_type, and scope for each, one line apiece. If the response is empty, say so plainly; an empty reflect is a real answer, not an error. Use mubit_lessons afterwards when the user wants the standing catalogue rather than what this run just produced.

mubit_lessons answers three different questions off its one scope argument, and asking the wrong one is how a healthy store reads as empty:

  • no scope — this run's lessons, plus every lesson stored above run scope by any run. The honest default, and the right one for "what do we know here".
  • scope: "run" — this run alone. What this session has banked so far.
  • scope: "session" / "global" — only the lessons that have travelled, from every run the key can see. Read a zero here as a real zero rather than as a fault.

Every answer carries a mubit_lessons_guard note saying what was shown and how many matched. When it says partial: true, report the result as partial and quote no total — there is none.

Why the explicit call exists at all

Mubit already extracts lessons on its own, in the background, as it ingests. It does that perfectly well — and then stops there. Lessons extracted that way keep the scope they were extracted at, typically run, and a run-scoped lesson is invisible to the next session.

The consequence is concrete: the store can look busy, lessons accumulating steadily, while nothing ever crosses the boundary into a future session. Widening a lesson's scope is reserved for the explicit reflect path — this skill, and the one SessionEnd issues.

Widening is still gradual once a lesson is on that path. Rules are never scope-promoted, since they are enforced as written; anything else has to establish itself before it travels. Expect lessons to widen over several sessions, not on the first reflect.

When to invoke it

session-end.mjs already reflects once per session, on the way out, with the same run id. That covers routine hygiene. Invoke this skill for a mid-session checkpoint — a long session that has just finished a real chunk of work, a debugging arc that ended in something worth keeping, or the point where the user is about to compact and wants the lessons banked first. Do not call it every few turns: it is an LLM-backed extraction pass over the run, and calling it on a run that has barely changed costs time and returns the same lessons.

Read the full file on GitHub · 54 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. yesterday Changed · +12 lines 5ea73ee9fe34
  2. 5d ago First seen · 42 lines · 19 tokens per session scan A 7b90889f404a

Subscribe to this mod's changes

reflect is a skill published in the GitHub repository mubit-ai/claude-plugins (13 stars, last pushed yesterday), licensed Apache-2.0. It adds 19 tokens to every session and 764 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

media-ingest

Ingest video, audio, PDF, book, screenshot, and GitHub repo content into the brain. Multi-format handling with entity extraction and backlink propagation. Covers video-ingest, youtube-ingest, and book-ingest subtypes.

garrytan/gbrain · 52 tokens

mem0-oss-to-platform

Plan and then execute a migration of a project from the mem0 open-source / self-hosted SDK (the local Memory class) to the mem0 Platform / hosted / managed SDK (the MemoryClient class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS/self-hosted to the hosted API — e.g.…

mem0ai/mem0 · 273 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

agent-memory

../../../engineering/agent-memory/skills/agent-memory/SKILL.md.

alirezarezvani/claude-skills · 0 tokens

memory

Use when the user asks to remember, recall, forget, update, search, or inspect durable OpenSquilla memory, including profile facts in USER.md and long-term notes in MEMORY.md or memory//.md.

opensquilla/opensquilla · 44 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens