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.'
105 other projects use a version of this, 1 of them edited.
Adopted by
Most recently taken up by
- PickleBoxer/pstacktheir own version, first seen Oct 6, 2026
- t0ddharris/compound-marketingedited, first seen Oct 5, 2026
- uzairansaruzi/p3-stacktheir own version, first seen Oct 5, 2026
- jonmumm/skillstheir own version, first seen Oct 4, 2026
- backnotprop/pstacktheir own version, first seen Oct 4, 2026
- creedants/pstack-t3their own version, first seen Oct 3, 2026
Used with
Projects with it also use make-bot-ui, principle-attack-the-premise 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.
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 8 projects that use this
TheOnlyFusionCubeSkillprinciple-attack-the-premise
Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.
Also in 10 projects that use this
TheOnlyFusionCubeSkillprinciple-test-behavior-not-implementation
Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.
Also in 10 projects that use this
shishivSkillsetup-pstack
Configure pstack delegation against the active Pi host. Use for /skill:setup-pstack, "configure pstack models", or checking delegation readiness.
Also in 13 projects that use this
finograficSkillfigure-it-out
Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies.
Also in 19 projects that use this
shishivSkillautomate-me
Use for \"automate me\", \"create/update/refresh my -mode skill\", \"turn/capture my preferences or working style into a skill\", or wanting agents to follow how the user works. Drafts or revises a personal -mode skill via create-skill + unslop, optionally pulling fresh evidence from recent transcripts.
Also in 16 projects that use this
- +1 more from shishiv
Other versions105 projects use a version of this.
Word for word · 0
None found.
Edited · 1
- t0ddharris/compound-marketing★ 192% same
Wrote their own version · 104
- github/gh-aw★ 5.3ksame name
- microsoft/Generative-AI-for-beginners-dotnet★ 3.1ksame name
- NeoLabHQ/context-engineering-kit★ 1.7ksame name
- backnotprop/pstack★ 991same name
- llama-farm/llamafarm★ 837same name
- haddock-development/claude-reflect-system★ 380same name
- egregore-labs/egregore★ 291same name
- zylMozart/ClaudeTeam★ 235same name
- Azure/fleet★ 226same name
- akitaonrails/my-skills★ 205same name
94 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
- reflectSkill
- skill-auditSkill
- startSkill
- briefSkill
- devils-advocateSkill
- 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 98 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 98 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.

