reflect

reflect is a skill for Codex from sysangel/brain-mcp. It costs 82 tokens per session (556 once invoked), scanned A, original, MIT.

A memory-consolidation workflow for a personal knowledge store whose source of truth is Markdown files. It reviews recent sessions, extracts lasting facts, refreshes the search index, compacts the store, suggests skills, and commits changes.

In plain words
What is it for?
Useful for nightly or on-demand memory reflection, reviewing important recent work, distilling facts, and maintaining the brain repository.
Why use it?
It turns scattered session history into durable, searchable notes and keeps the derived index up to date.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Useful for nightly or on-demand memory reflection, reviewing important recent work, distilling facts, and maintaining the brain repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sysangel/brain-mcp/reflect
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 sysangel/brain-mcp --skill reflect
Clone the repo
git clone --depth 1 https://github.com/sysangel/brain-mcp

Made for: Codex.

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/sysangel/brain-mcp/reflect/github.svg)](https://agentmods.dev/skills/sysangel/brain-mcp/reflect)
Your own site
<a href="https://agentmods.dev/skills/sysangel/brain-mcp/reflect"><img src="https://agentmods.dev/badge/skills/sysangel/brain-mcp/reflect/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 reflect

Your own site · 80×15
<a href="https://agentmods.dev/skills/sysangel/brain-mcp/reflect"><img src="https://agentmods.dev/badge/skills/sysangel/brain-mcp/reflect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 556 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.00082 $0.00556
Opus 5.5 $0.00033 $0.00222
Sonnet 5.5 $0.00016 $0.00111
Haiku 4.5 $0.00008 $0.00056

Measured 1mo ago against content hash c8d6cda15c16, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/codex/reflect/SKILL.md · 51 lines

How it starts

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

Reflect

Run Brain's canonical consolidation workflow against the hosted brain (MCP server brain; connect with codex mcp login brain if it asks for sign-in) while making the current Codex session explicit. Codex conversations are not pushed into Brain's episode store, so this session's facts only get in through you.

Workflow

  1. Read skills/reflect-run/SKILL.md from the brain repository (on GitHub at OWNER/brain, or any checkout) completely before taking any reflection action. That is the canonical full pass; skills/reflect/SKILL.md is a Claude-only fire-and-forget launcher and is not what Codex runs.
  2. Treat that file's numbered steps and guardrails as the operational source of truth: claim, window, digests, distill, state notes, compact, proposals, complete, report. Every step is a brain MCP tool call.
  3. Apply the Codex adaptations below. Where they do not apply, follow the canonical workflow exactly.

Codex adaptations

  • Ignore the canonical skill's Claude-only context and model frontmatter. Work in the current Codex agent. Do not delegate merely to emulate context: fork.
  • Before distilling, review the current conversation directly for durable decisions, corrections, preferences, project state, and next actions that would change future behavior.
  • Apply the canonical memory bar to current-session material. Prefer refreshing the project's state note (state_write) with verifiable commit, test, or file evidence. Do not create a session digest or invent a session id unless that session exists in the brain (session_episodes returns it).
  • Keep facts derivable from source code or git out of ordinary memories; use the state note for current evidence and point to a handoff (handoff_latest) when detailed implementation history already exists.
  • Always finish with reflect_complete on the claim you took, even when nothing was worth keeping.

Completion

Return the canonical compact report and additionally state:

Read the full file on GitHub · 51 lines

Files

What ships with it

1 file 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. 1mo ago Changed · -115 lines · +23 tokens per session c8d6cda15c16
  2. 3mo ago First seen · 166 lines · 59 tokens per session scan A 74bf252db48e

Subscribe to this mod's changes

reflect is a skill published in the GitHub repository sysangel/brain-mcp (3 stars, last pushed 1mo ago), licensed MIT. It adds 82 tokens to every session and 556 once invoked, about $0.0003 per session on Opus 5.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

reflect compared with skills from other repositories

reflect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reflectsysangel/brain-mcpSkill31mo agoMITA82Codex
memory-triagemem0ai/mem0Skill70k6d agoApache-2.0A58Claude Code
mem0mem0ai/mem0Skill70k6d agoApache-2.0A181Claude Code
mem0-vercel-ai-sdkmem0ai/mem0Skill70k6d agoApache-2.0A146Claude Code, Codex
mem0-statusmem0ai/mem0Skill70k6d agoApache-2.0A44Claude Code, Codex
mem0-tourmem0ai/mem0Skill70k6d agoApache-2.0A47Claude Code, Codex
mem0-climem0ai/mem0Skill70k6d agoApache-2.0A177Claude Code, Codex