reflect

reflect is a skill for Claude Code, Codex from t0ddharris/claude-code-skills. It costs 63 tokens per session (1,622 once invoked), scanned A, original, MIT.

A self-review procedure for analyzing a conversation and proposing updates to the skill instructions that were used.

In plain words
What is it for?
Use it after feedback, at the end of a brief, or when asked to reflect and improve a skill.
Why use it?
It captures corrections and successful patterns so the same mistakes need not be repeated in later sessions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

Good fit Use it after feedback, at the end of a brief, or when asked to reflect and improve a skill.

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

Made for: Claude Code, 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/t0ddharris/claude-code-skills/reflect/github.svg)](https://agentmods.dev/skills/t0ddharris/claude-code-skills/reflect)
Your own site
<a href="https://agentmods.dev/skills/t0ddharris/claude-code-skills/reflect"><img src="https://agentmods.dev/badge/skills/t0ddharris/claude-code-skills/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/t0ddharris/claude-code-skills/reflect"><img src="https://agentmods.dev/badge/skills/t0ddharris/claude-code-skills/reflect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,622 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.00063 $0.01622
Opus 5.5 $0.00025 $0.00649
Sonnet 5.5 $0.00013 $0.00324
Haiku 4.5 $0.00006 $0.00162

Measured 1mo ago against content hash 187b03333664, 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.

.agents/skills/reflect/SKILL.md · 162 lines

How it starts

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

Reflect: Self-Improving Skills

Scan the current conversation for signals (corrections, approvals, patterns) and propose updates to the skill files that were invoked during the session. Every correction should only need to happen once.

Step 1: Identify Skills Used

Scan the conversation for skill invocations. Look for:

  • Explicit /skill-name calls
  • Skill tool invocations (the Skill tool being called)
  • Agent delegations that loaded a skill

If no skills were used this session, check whether the corrections apply to:

  • General behavior → suggest a CLAUDE.md or memory update instead
  • A specific skill that should have been used → note the routing gap
  • Neither → report "no learnings to extract" and stop

Step 2: Extract Signals

Scan the full conversation for three signal types:

HIGH confidence (explicit corrections):

  • User said "no," "don't," "never," "stop," "wrong," "not that"
  • User rejected output and asked for a different approach
  • User provided a specific rule ("always do X," "use Y not Z")
  • User flagged an error, bad pattern, or bad output

MEDIUM confidence (validated patterns):

  • User approved output without pushback ("yes," "perfect," "looks good," accepted without changes)
  • A non-obvious approach worked and the user confirmed it
  • User's positive reaction to a specific technique or format

LOW confidence (observations):

  • Patterns that seemed to work but weren't explicitly validated
  • Ambiguous signals worth reviewing later

Not a signal, skip these:

  • One-time contextual decisions (e.g., "make this one shorter" doesn't mean all future outputs should be shorter)
  • Task-specific details that don't generalize beyond this session
  • Things already documented in the skill file, CLAUDE.md, or memory
  • Corrections to factual or biographical content (those belong in a dedicated facts/context file, not skills)
  • Preferences already captured in the session brief's carried-forward sections

Step 3: Read the Target Skill Files

For each skill identified in Step 1, read its SKILL.md. Check:

  • Does a ## Learnings section exist at the bottom? If not, it will be created.
  • Is this learning already captured? Don't duplicate.
  • Does this learning contradict an existing learning or rule? Flag the conflict for the user to resolve.

Read the full file on GitHub · 162 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. 1mo ago First seen · 162 lines · 63 tokens per session scan A 187b03333664

Subscribe to this mod's changes

reflect is a skill published in the GitHub repository t0ddharris/claude-code-skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 63 tokens to every session and 1,622 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

Other skills, from other repositories

baoyu-youtube-transcript

A tool for downloading the written captions, subtitles, chapter information, speaker labels, and cover image from a YouTube video using its URL or ID.

JimLiu/baoyu-skills · 107 tokens

baoyu-comic

A tool for creating original educational comics that explain knowledge or ideas through multiple illustrated panels. It supports different art styles and tones and can create several comics in one batch.

JimLiu/baoyu-skills · 61 tokens

baoyu-diagram

Create professional, dark-themed SVG diagrams of any type — architecture diagrams, flowcharts, sequence diagrams, structural diagrams, mind maps, timelines, illustrative/conceptual diagrams, and more. Use this skill whenever the user asks for any kind of technical or conceptual diagram, visualization of a system…

JimLiu/baoyu-skills · 146 tokens

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens

spring-boot-team-harness

Adds a shared agent harness to a Maven Spring Boot 4 project so every teammate's Claude Code or Codex session works under the same rules. It writes AGENTS.md (read by both tools), a committed .claude/settings.json, ./mvnw verify gates that fail on null-safety bugs (NullAway with JSpecify), module-boundary breaches…

a-pavithraa/springboot-skills-marketplace · 158 tokens

playwright-frontend

For frontend engineers authoring UI — how to make components reliably locatable by tests and AI agents. Covers the official Playwright locator priority, semantic/accessible markup first, and how to add valid, unique, stable data-testid attributes (naming convention, uniqueness in lists, stability rules) for React…

testdino-hq/playwright-skill · 92 tokens