reflect

reflect is a command for coding agents from Michael-OvO/obsidian-knowledge-agent. It costs 17 tokens per session (314 once invoked), scanned A, original, MIT.

A command that reviews recent work and records lessons in a project journal, then suggests lasting updates to the project’s rules, examples, or reusable playbooks.

In plain words
What is it for?
Use it after a session to inspect changes, append a dated lesson, update conventions or examples, and propose a new workflow for a recurring kind of task.
Why use it?
It turns corrections and useful discoveries from a coding session into guidance that can improve future sessions, while requiring review before committing rule changes.

Command

Part of the obsidian-knowledge plugin — 1 skill, 12 commands, 2 hooks 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 commands/michael-ovo/obsidian-knowledge-agent/reflect
Clone the repo
git clone --depth 1 https://github.com/Michael-OvO/obsidian-knowledge-agent

Or install obsidian-knowledge, the plugin that ships this one along with the rest of its 1 skill, 12 commands, 2 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 reflect

README.md
[![agentmods](https://agentmods.dev/badge/commands/michael-ovo/obsidian-knowledge-agent/reflect.svg)](https://agentmods.dev/commands/michael-ovo/obsidian-knowledge-agent/reflect)
Your own site
<a href="https://agentmods.dev/commands/michael-ovo/obsidian-knowledge-agent/reflect"><img src="https://agentmods.dev/badge/commands/michael-ovo/obsidian-knowledge-agent/reflect.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 314 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.00017 $0.00314
Opus 5 $0.00009 $0.00157
Sonnet 5 $0.00003 $0.00063
Haiku 4.5 $0.00002 $0.00031

Measured 5d ago against content hash d7514589181b, 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 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.

plugins/obsidian-knowledge/commands/reflect.md · 22 lines

What it actually says

Run Phase 7 (Reflect & Evolve) from .agents/self-evolution.md.

  1. Review what changed this session: git --no-pager status and git --no-pager diff on the vault, the conversation, and especially any corrections the user made (corrections are the highest-value signal).
  2. Append a dated entry to .agents/learned/journal.md (append-only — never rewrite past entries). Create .agents/learned/ first if it does not exist.
  3. Identify durable lessons (ones that would change a future run). For each, pick the right home:
    • a preference/override → edit .agents/learned/conventions.md (consolidate; keep it a tight rule set, not a changelog);
    • a classification judgment → add/update a row in .agents/learned/examples.md;
    • a whole new input shape → write a playbook to .agents/learned/skills/<kebab-name>.md with a trigger: line and steps.
  4. The journal entry can be committed freely. For conventions.md / examples.md / skills/ changes, show the proposed diff, summarize each change in one line with the motivating journal entry, and let me approve before committing.
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 · 22 lines · 17 tokens per session scan A d7514589181b

Subscribe to this mod's changes

reflect is a command published in the GitHub repository Michael-OvO/obsidian-knowledge-agent (206 stars, last pushed 2mo ago), licensed MIT. It adds 17 tokens to every session and 314 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 commands, from other repositories