reflect
Skill17 starsChanged 5 months agoMITView on GitHub
Learn from a correction by proposing permanent changes to skills, agents, references, or rules. PROACTIVELY invoke this skill whenever the user corrects a mistake, points out something wrong, says "no not that", "that's wrong", "fix it", "think about this", "double check this", or otherwise indicates an agent or the orchestrator did something incorrectly — even if the user doesn't explicitly ask for /reflect. Also performs a thorough audit of the surrounding subsystem to find latent issues the correction reveals.
186 other projects use a version of this.
Adopted by
Most recently taken up by
- andrewsoonqn/skillstheir own version, first seen Nov 29, 2026
- romerma/mstacktheir own version, first seen Nov 29, 2026
- mlschodkowski/skillstheir own version, first seen Nov 29, 2026
- MondayNotAGoodDay/skillstheir own version, first seen Nov 29, 2026
- sodejm/copilot-operation-plugin-for-securitytheir own version, first seen Nov 29, 2026
- sirius-cc-wu/sirius-skillstheir own version, first seen Nov 29, 2026
Used with
Projects with it also use setup-pstack, make-bot-ui and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
bnemaSkillsetup-pstack
Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.
Also in 29 projects that use this
eryzerzSkillmake-bot-ui
Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.
Also in 22 projects that use this
jaydubya818Skillpoteto-mode
Use when non-trivial work should follow the smallest rigorous Jstack workflow.
Also in 34 projects that use this
jaydubya818Skillautomate-me
Use when the user wants working preferences captured in a reusable mode skill.
Also in 47 projects that use this
- +8 more from jaydubya818
Other versions186 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 186
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- github/gh-aw★ 5.7ksame name
- backnotprop/pstack★ 5.4ksame name
- github/squad★ 3.5ksame name
- rilldata/rill★ 3ksame name
- microsoft/waza★ 1.5ksame name
- osmlab/name-suggestion-index★ 893same name
- llama-farm/llamafarm★ 837same name
- haddock-development/claude-reflect-system★ 373same name
176 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository33 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- abilitiesSkill
- ai-instructionsSkill
- archetypesSkill
- build-skillSkill
- canon-npcsSkill
- chartsSkill
- countSkill
- creator-apiSkill
- factionsSkill
- image-genSkill
- itemsSkill
- japanese-romanizationSkill
- locationsSkill
- mapsSkill
- name-filter-settingsSkill
- narrative-eventsSkill
- npcsSkill
- npc-type-reviewSkill
- npc-typesSkill
- orchestratorSkill
- premade-charactersSkill
- questsSkill
- realmsSkill
- regionsSkill
- review-npcsSkill
- settingsSkill
- skillsSkill
- story-startsSkill
- traitsSkill
- triggersSkill
- world-backgroundSkill
- world-loreSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 7 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 168 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Read the full conversation to find every correction the user made — not just the most recent one.
- Distinctive: line 31
Read all of them: Not just the obvious target — read the full subsystem.
- Distinctive: line 68
Pre-flight check: Before presenting proposals, verify each one against the project's configuration rules (no world-specific content in …
- Distinctive: line 72
Wait for the user to approve changes.
- Distinctive: line 77
Precise changes, broad investigation: Read widely but edit narrowly.
- Distinctive: line 78
Keep it generic: Never encode world-specific content into skills, agents, or references.
- Very specific: line 79
No examples: Use formats with [placeholders] and descriptive rules, never examples — examples introduce bias.
- Distinctive: line 81
Don't drop what works: When rewriting a rule, diff the new text against the old.
“Common” is measured: kept by at least 6 in 10 of the 168 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Reflect
Analyze the current conversation to identify what went wrong, then audit the entire relevant subsystem for related weaknesses. A correction is a signal — it reveals not just one mistake but a class of potential failures. Your job is to trace the thread and find everything it connects to.
Workflow
Phase 1: Identify the Correction
Read the full conversation to find every correction the user made — not just the most recent one. Multiple corrections often share root causes. Distill each one:
- What happened — the observable failure
- What should have happened — the expected behavior
- The underlying cause — why the system allowed this to happen (not just "the rule was missing" but "the skill doesn't address this category of concern at all")
Phase 2: Audit the Subsystem
This is where /reflect earns its keep. A correction doesn't exist in isolation — it points to a weakness in a subsystem. Audit the full chain that produced the failure:
- Map the subsystem. Identify every file involved in the workflow that failed:
- The skill that governed the agent's behavior
- The agent definition that dispatched the work
- The reference documentation the agent relied on
- Any rules that constrained the orchestrator
- Any scripts that ran as part of the flow
- CLAUDE.md if the orchestrator itself was involved
- Read all of them. Not just the obvious target — read the full subsystem. The correction might point at the skill, but the real gap might be in the agent's chaining rules, or in a reference that's missing a field annotation.
- Ask diagnostic questions as you read each file:
- Does this file address the category of concern the correction revealed, or just adjacent ones?
- Are there similar gaps? If a field was undocumented, are other fields also undocumented?
- Are instructions ambiguous in ways that could produce different failures of the same kind?
- Are there implicit assumptions that should be explicit rules?
- Does the agent know when to do something but not when not to?
- Are cross-references between files consistent? Does the agent mention capabilities the skill doesn't explain?
Phase 3: Determine Targets
Classify each file as one of:
- Skill (
SKILL.md) — agent produced wrong output due to missing or unclear rules - Agent (
.claude/agents/*.md) — delegation, chaining, or agent behavior was wrong - Reference (
references/*.md) — schema documentation was incorrect or incomplete - Rule (
.claude/rules/*.md) — orchestrator's own behavior was wrong - Script (
.claude/scripts/*.js) — hook script has a bug or missing logic - CLAUDE.md — orchestrator's core instructions need adjustment
Phase 4: Propose Changes
Present findings in two tiers:
Tier 1 — Direct Fix The change that addresses the user's explicit correction. Describe exactly what to change, where, and why.
Tier 2 — Discovered Improvements Issues found during the audit that the user didn't explicitly flag but that the correction revealed. For each:
- What the issue is
- Why the correction made it visible (the connection)
- The proposed change
Both tiers require explicit approval before applying. Present Tier 1 first, then Tier 2 as "While auditing the subsystem, I also found..."
Display format: For every proposal, show the old text and new text as a pair of rendered blockquotes so the user can visually compare them. Do not use inline text or markdown code blocks.
Pre-flight check: Before presenting proposals, verify each one against the project's configuration rules (no world-specific content in generic skills, no examples, preserve existing conventions). If a proposal violates these rules, rework it before presenting — don't rely on the user to catch it.
Phase 5: Apply with Approval
Wait for the user to approve changes. Apply approved edits using the Edit tool — never Write to overwrite entire files. The user may approve Tier 1 but want to discuss Tier 2, or approve some Tier 2 items but not others.
Principles
- One correction, thorough audit. The correction is the starting point, not the boundary. Follow the thread through the full subsystem.
- Precise changes, broad investigation. Read widely but edit narrowly. Each proposed change should be minimal and targeted, even though the investigation spans multiple files.
- Keep it generic. Never encode world-specific content into skills, agents, or references. Frame corrections as universal rules or formats.
- No examples. Use formats with
[placeholders]and descriptive rules, never examples — examples introduce bias. - Preserve existing conventions. Match the style and structure of the file being edited. Read it first.
- Don't drop what works. When rewriting a rule, diff the new text against the old. If the original rule correctly required something, the new version must still require it — even if the framing changes.
- Explain the connection. For every Tier 2 finding, explain how the original correction led you to it. Unrelated improvements don't belong here — save them for a separate conversation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

