reflect

reflect is a skill for Claude Code from koolamusic/claudefiles. It costs 36 tokens per session (1,001 once invoked), scanned B, original, MIT.

A review skill that examines the current conversation for reusable lessons and turns them into edits to existing skills.

In plain words
What is it for?
Use it after non-trivial work to identify improvements to coding or workflow guidance.
Why use it?
It helps preserve useful lessons instead of losing them when a conversation ends.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: reads .claude/ paths; mentions subagents.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/you/proj.

Part of the pstack plugin — 50 skills, 2 agents shipped together

Good fit Use it after non-trivial work to identify improvements to coding or workflow guidance.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add koolamusic/claudefiles
Claude Code
/plugin install pstack

Made for: Claude Code.

Or install pstack, the plugin that ships this one along with the rest of its 50 skills, 2 agents.

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/koolamusic/claudefiles/reflect/github.svg)](https://agentmods.dev/skills/koolamusic/claudefiles/reflect)
Your own site
<a href="https://agentmods.dev/skills/koolamusic/claudefiles/reflect"><img src="https://agentmods.dev/badge/skills/koolamusic/claudefiles/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/koolamusic/claudefiles/reflect"><img src="https://agentmods.dev/badge/skills/koolamusic/claudefiles/reflect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,001 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00036 $0.01001
Opus 5.5 $0.00014 $0.00400
Sonnet 5.5 $0.00007 $0.00200
Haiku 4.5 $0.00004 $0.00100

Measured 1mo ago against content hash 5a19f97e90a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

reflect scanned grade B with 1 finding 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Before fanning out, find this conversation's transcript under `~/.claude/projects/<slug>/`, where `<slug>` is the workspace's absolute path with every `/` and `.` turned into `-` (so `/home/you/proj` becomes `-home-you-p
plugins/pstack/skills/reflect/SKILL.md · 68 lines

How it starts

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

Reflect

Mine the current conversation for durable learnings, then route them into skill edits.

Invoke when the user says "reflect" or "/reflect". Skip when the conversation is trivial, off-topic, or already covered by an existing skill the parent followed correctly. One-offs are not learnings.

1. Locate the active transcript

Before fanning out, find this conversation's transcript under ~/.claude/projects/<slug>/, where <slug> is the workspace's absolute path with every / and . turned into - (so /home/you/proj becomes -home-you-proj). Do not glob across ~/.claude/projects/*/. That crosses workspace boundaries and reads private chats from unrelated projects.

ls -t ~/.claude/projects/<slug>/*.jsonl ~/.claude/projects/<slug>/*/subagents/*.jsonl 2>/dev/null | head -10

That covers the session (<id>.jsonl) and subagent (<parent>/subagents/agent-<child>.jsonl) layouts. For each candidate, read the first JSONL line. Take the file whose message.content[0].text contains the conversation's opening user prompt. If none matches, pass a tight digest of the session instead.

2. Spawn three reviewers in parallel

One message, three Agent tool calls, subagent_type: "general-purpose". Reviewers need MCP access to look up the tickets, chat threads, and observability traces the transcript references, and the general-purpose agent keeps it.

Each reviewer and the synthesizer name a role from the model table in the poteto-mode skill.

Lens Role model Prompt template
Judgment reflect judgment, divergent, synthesizer inherit the parent (omit) references/judgment-reviewer.md
Tooling reflect tooling sonnet references/tooling-reviewer.md
Divergent reflect judgment, divergent, synthesizer inherit the parent (omit) references/divergent-reviewer.md

Pass each template verbatim, substituting the transcript path or digest where marked. Reviewers return findings in their final report.

Read the full file on GitHub · 68 lines

Files

What ships with it

4 files 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 First seen · 68 lines · 36 tokens per session scan B 5a19f97e90a5

Subscribe to this mod's changes

reflect is a skill published in the GitHub repository koolamusic/claudefiles (118 stars, last pushed 1mo ago), licensed MIT. It adds 36 tokens to every session and 1,001 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.

Related

reflect compared with skills from other repositories

reflect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
reflectkoolamusic/claudefilesSkill1181mo agoMITB36Claude Code
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill330k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill14kyesterdayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144ktodayMITA95Claude Code