reflect
Skill0 starsChanged 4 months agoMITView on GitHub
Triage staged learnings in .claude/knowledge/pending.md and promote the genuinely high-confidence ones into core-rules.md / conventions.md / bugs-and-fixes.md or the right SKILL.md — safely, with dedup, backups, and (when git is on) a commit. Use when the SessionStart banner reports pending learnings, when the user runs /reflect, or after a session that contained notable corrections or decisions.
172 other projects use a version of this.
Adopted by
Most recently taken up by
- Yeachan-Heo/oh-my-claude-sisyphustheir own version, first seen Nov 8, 2026
- Loner1024/skillstheir own version, first seen Nov 8, 2026
- caidanw/skillstheir own version, first seen Nov 8, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Nov 8, 2026
- endqwerty/endstacktheir own version, first seen Nov 8, 2026
- tristanphvn/keeltheir own version, first seen Nov 8, 2026
Used with
Projects with it also use poteto-help, setup-pstack 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.
ianclearySkillpoteto-help
Guides users through pstack setup, /poteto-mode, and picking the skill, playbook, or principle for a task. Type /poteto-help with a question.
Also in 14 projects that use this
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 24 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 19 projects that use this
ianclearySkillprinciple-explain-the-number
Apply before you trust, report, or act on a number you measured: a speedup, a regression, a throughput, a latency, or an eval result. Find what limits it, and rule out that it measured something other than the work you think.
Also in 26 projects that use this
jaydubya818Skillautomate-me
Use when the user wants working preferences captured in a reusable mode skill.
Also in 39 projects that use this
jaydubya818Skillpoteto-mode
Use when non-trivial work should follow the smallest rigorous Jstack workflow.
Also in 27 projects that use this
- +6 more from jaydubya818
Other versions172 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 172
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- github/gh-aw★ 5.6ksame name
- backnotprop/pstack★ 3.8ksame name
- github/squad★ 3.4ksame name
- rilldata/rill★ 3ksame name
- microsoft/waza★ 1.5ksame name
- llama-farm/llamafarm★ 837same name
- haddock-development/claude-reflect-system★ 373same name
- egregore-labs/egregore★ 293same name
162 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 repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/00-defer-to-agents-md.mdcCursor rule
- bootstrap-stackSkill
- distillSkill
- extract-versionSkill
- learnSkill
- seed-updateSkill
The file
We split this skill into the rules it gives an agent
8 rules. 0 are common, 1 is distinctive, and 7 are very specific to this project.
0
Common
Most of the 163 edited versions we read keep these.
1
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 32
Default to rejecting when unsure — a wrong rule is worse than a missing one.
- Very specific: line 33
Deduplicate: if a candidate restates something already in core-rules.md / conventions.md, skip it (or tighten the existing entry instead of …
- Very specific: line 42
When you add a bullet under Learned rules in core-rules.md, append a provenance tag so the loop is measurable later: - <rule> <!-- …
- Very specific: line 48
Before editing a file, copy it to <file>.bak (gitignored).
- Very specific: line 53
If the repo is a git repo, stage the changed knowledge/rules/skills files and commit: docs(knowledge): reflect — <short summary>.
- Very specific: line 56
Mirror to AGENTS.md: if you promoted anything into Learned rules, run mise run mirror-rules (or python scripts/mirror_rules.py).
- Very specific: line 67
Keep core-rules.md tight (aim < ~40 rules).
- Very specific: line 68
If pending.md is empty and the conversation had no corrections, say so and stop.
“Common” is measured: kept by at least 6 in 10 of the 163 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 — promote staged learnings safely
You are folding the project's recent experience into its durable memory. This is the review gate that keeps auto-capture honest: nothing becomes a rule without your judgment, and every change is reversible.
Inputs
.claude/knowledge/pending.md— candidates staged by theSessionEndhook (each a###entry taggedHIGH/MED).- The current conversation (additional corrections the hook may have missed).
Procedure
- Read
pending.mdand skim the recent conversation. Build a list of candidate learnings. - Judge each candidate against three tests — keep only if it passes all:
- Specific — names a concrete behavior, file, command, or convention (not "write good code").
- Reusable — will matter again in future sessions, not a one-off for this task.
- Actionable — you can phrase it as a directive the next session can follow. Default to rejecting when unsure — a wrong rule is worse than a missing one.
- Deduplicate: if a candidate restates something already in
core-rules.md/conventions.md, skip it (or tighten the existing entry instead of adding a new one). Route each surviving learning to exactly one home:
- Behavior directive / "always|never" →
.claude/rules/core-rules.md→ Learned rules. - Project naming/pattern/anti-pattern →
.claude/knowledge/conventions.md. - A gotcha + its fix →
.claude/knowledge/bugs-and-fixes.md(one table row). - A repeatable multi-step procedure → suggest
/distill <name>to make it a skill. - A durable architecture fact/decision →
.claude/knowledge/architecture.md.
When you add a bullet under Learned rules in
core-rules.md, append a provenance tag so the loop is measurable later:- <rule> <!-- YYYY-MM-DD s:<session-id-prefix> -->.- Behavior directive / "always|never" →
- Edit bounded & small (the SkillOpt principle): make the minimal edit that captures the learning. Keep each rule one or two lines. Don't bloat files — prune stale/contradicted rules in the same pass.
- Back up & record:
- Before editing a file, copy it to
<file>.bak(gitignored). - Append a one-line entry to
.claude/knowledge/session-log.md(- YYYY-MM-DD · <what was learned/changed>). - Move processed
###entries out ofpending.mdinto.claude/knowledge/.archive/pending-<date>.md(create the dir; it's gitignored). - If the repo is a git repo, stage the changed knowledge/rules/skills files and commit:
docs(knowledge): reflect — <short summary>. If not a git repo, skip the commit silently.
- Before editing a file, copy it to
- Mirror to AGENTS.md: if you promoted anything into Learned rules, run
mise run mirror-rules(orpython scripts/mirror_rules.py). It regenerates the<!-- BEGIN learned (generated) -->block inAGENTS.mdfromcore-rules.mdso Cursor / Copilot / Codex see the same rules. IncludeAGENTS.mdin the commit from step 6. - Report a short summary: what you promoted, where, and what you rejected (and why).
Safety rails
- Never promote a candidate that contradicts an existing rule without flagging the conflict to the user and asking which wins.
- Never edit
.claude/settings.json, hooks, or permissions from this skill. - Keep
core-rules.mdtight (aim < ~40 rules). If it grows past that, consolidate. - If
pending.mdis empty and the conversation had no corrections, say so and stop.
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.

