reflect
Skill2 starsChanged 5 months agoMITView on GitHub
Analyze the current conversation for corrections, approvals, and patterns, then propose updates to the skill files that were used. Trigger with /reflect or automatically at end of /brief. Use when the user says 'reflect,' 'learn from this,' 'update the skill,' or 'remember this for next time.'
187 other projects use a version of this, 1 of them edited.
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 versions187 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- t0ddharris/compound-marketing★ 192% same
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 repository10 other files it gives its agents.
- briefSkill
- devils-advocateSkill
- skill-auditSkill
- startSkill
- briefSkill
- devils-advocateSkill
- reflectSkill
- skill-auditSkill
- startSkill
- sync-skillsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
14 rules. 0 are common, 12 are distinctive, and 2 are very specific to this project.
0
Common
Most of the 169 edited versions we read keep these.
12
Distinctive
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
If no skills were used this session, check whether the corrections apply to:
- Distinctive: line 91
Add learnings that weren't detected
- Distinctive: line 110
Write as actionable rules, not session logs ("Always X" not "Todd said to do X")
- Distinctive: line 111
Keep each entry to one sentence.
- Very specific: line 115
After applying updates, scan the full ## Learnings section.
- Very specific: line 126
When invoked as Step 2.5 of the /brief workflow:
- Distinctive: line 127
Run after the brief is written, before the git question
- Distinctive: line 128
Keep output concise: just the signals table and proposed changes
- Distinctive: line 130
If no learnings were detected, say so in one line and move on
- Distinctive: line 135
Run the full flow above
- Distinctive: line 136
Ask the user about git separately (commit the skill updates?)
- Distinctive: line 149
Before proposing any learning, ask yourself:
- Distinctive: line 152
Is it already captured?: Check the skill file, CLAUDE.md, memory, and session brief.
- Distinctive: line 155
If a session produced no generalizable learnings, that's fine.
“Common” is measured: kept by at least 6 in 10 of the 169 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: 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-namecalls - 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
## Learningssection 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.
Step 4: Propose Updates
Present proposed changes in this format. Always label each proposed update with a letter (A, B, C...) so the user can approve or reject individual items by letter.
## Reflect: Session [N] Learnings
### Signals Detected
- **[HIGH]** [What happened] → [Proposed rule]
- **[MEDIUM]** [What happened] → [Proposed rule]
### Proposed Skill Updates
**[skill-name]:**
- **(A)** [HIGH] Add: "[actionable rule]"
- **(B)** [MEDIUM] Add: "[pattern description]"
**[other-skill-name]:**
- **(C)** [HIGH] Add: "[actionable rule]"
### Skipped (already captured)
- [Any signals that are already in the skill or CLAUDE.md]
### No Changes (if applicable)
- [Why no updates are warranted this session]Letters run continuously across skills (A, B, C...) so the user can say "approve A and C, skip B" without ambiguity.
STOP and wait for user approval before making any changes.
The user can:
- Accept all proposed changes (Y / approve all)
- Accept some, reject others by letter ("A and C" / "skip B")
- Modify the wording of any proposed change
- Add learnings that weren't detected
- Reject everything (no changes made)
Step 5: Apply Approved Changes
Append approved learnings to the skill's ## Learnings section at the bottom of SKILL.md:
## Learnings
<!-- Updated by /reflect. Promote stable patterns to the main skill body. -->
- **[HIGH]** Rule description here. *(Session N, YYYY-MM-DD)*
- **[MEDIUM]** Pattern description here. *(Session N, YYYY-MM-DD)*Format rules:
- One line per learning, prefixed with confidence tag
- Include session number and date for traceability
- Write as actionable rules, not session logs ("Always X" not "Todd said to do X")
- Keep each entry to one sentence. If it needs more, it's too complex for a learning: promote it directly to the main skill body instead.
Step 6: Graduation Check
After applying updates, scan the full ## Learnings section. If any learning:
- Has been present for 5+ sessions without being contradicted
- Is HIGH confidence
- Applies broadly (not an edge case)
Suggest promoting it into the main skill body (the relevant framework, principles, or guidelines section). Once promoted, remove it from ## Learnings to keep the section lean.
Tell the user which learnings are candidates for graduation and where in the skill body they'd go. Apply only with approval.
When Called from /brief
When invoked as Step 2.5 of the /brief workflow:
- Run after the brief is written, before the git question
- Keep output concise: just the signals table and proposed changes
- Skill updates are committed together with the brief in one commit
- If no learnings were detected, say so in one line and move on
When Called Standalone (/reflect)
When invoked directly:
- Run the full flow above
- Ask the user about git separately (commit the skill updates?)
Scope Boundaries
This skill does NOT:
- Modify factual or biographical content files (those are managed separately, outside this skill)
- Modify
CLAUDE.md(use/revise-claude-mdfor that; but DO suggest CLAUDE.md updates if a learning is cross-cutting) - Modify memory files (the memory system is separate)
- Auto-commit without user approval
- Extract learnings when no skills were used (suggests alternatives instead)
Quality Gate
Before proposing any learning, ask yourself:
- Is this generalizable? Would this apply in the next 5 sessions, not just this one?
- Is this actionable? Can a future session follow this rule without ambiguity?
- Is it already captured? Check the skill file, CLAUDE.md, memory, and session brief.
- Is it the right home? Skill-specific → skill file. Cross-cutting → suggest CLAUDE.md. Factual/biographical → suggest a dedicated facts/context file.
If a session produced no generalizable learnings, that's fine. Say "no new learnings detected" and move on. Not every session teaches something new. Forcing weak learnings into skills degrades them over time.
Learnings
<!-- Updated by /reflect. Promote stable patterns to the main skill body. -->- [HIGH] Each run, scan the memory directory for thematic clusters (3+ related feedback/gotcha memories): propose graduating the theme into a dedicated skill. (Session 4 (Apexfall), 2026-07-06, per Todd)
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.

