reflect
Skill9 starsChanged 9 months agoMITView on GitHub
Analyze a progression's documents and update its current position, corrections, and open questions
- Commits and pushes
105 other projects use a version of this.
Adopted by
Most recently taken up by
- PickleBoxer/pstacktheir own version, first seen Oct 6, 2026
- t0ddharris/compound-marketingtheir own version, 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 · 0
None found.
Wrote their own version · 105
- 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
95 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.
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 2 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 98 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
If TOPIC is omitted, reflect on all active progressions for the current project.
- Very specific: line 19
When the user invokes /reflect:
- Distinctive: line 23
Find the progression: Use the topic argument or list active progressions:
- Very specific: line 32
Read progression.yaml to get the document list, then read each .md file in order.
- Very specific: line 65
Use $EPISODIC_OPUS_MODEL (or claude-opus-4-6 default) with extended thinking enabled.
- Very specific: line 70
Update the corrections list
- Very specific: line 72
Update the updated timestamp
“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 - Reflect on a Progression
Analyze all documents in a knowledge progression and update the progression.yaml metadata with a synthesized current position, list of corrections, and open questions.
Usage
/reflect [TOPIC]
If TOPIC is omitted, reflect on all active progressions for the current project.
Instructions
When the user invokes /reflect:
- Identify the project from the current working directory (
basenameof CWD). - Find the progression. Use the topic argument or list active progressions:
${CLAUDE_PLUGIN_ROOT:-~/.claude/project-intelligence}/bin/pi-progression-status --project PROJECT [--topic "TOPIC"] - Read all documents in the progression. The progression directory is at:
Read~/.claude/knowledge/PROJECT/progressions/TOPIC_SLUG/progression.yamlto get the document list, then read each.mdfile in order. Call the Anthropic API to analyze the full progression. Use this prompt structure:
System: You are analyzing a knowledge progression — a sequence of documents that tracks evolving understanding of a topic. Some documents may correct earlier ones. Your job is to synthesize the CURRENT state of understanding. User: Here is a knowledge progression on the topic: "{topic}" [Document 00: title (type)] {content} [Document 01: title (type)] {content} ... Analyze this progression and produce: 1. CURRENT_POSITION: A 2-3 sentence summary of the current best understanding, accounting for all corrections and updates. What do we know NOW? 2. CORRECTIONS: A bullet list of what was wrong in earlier documents and what corrected it. Format: "Doc NN claimed X, but Doc MM showed Y" 3. OPEN_QUESTIONS: A bullet list of unresolved questions or areas that need further investigation. Return as structured text with clear headers.Use
$EPISODIC_OPUS_MODEL(orclaude-opus-4-6default) with extended thinking enabled. Budget:$EPISODIC_SYNTHESIZE_THINKING_BUDGETtokens.Update the progression.yaml with the results:
- Set
current_positionto the CURRENT_POSITION text - Update the
correctionslist - Update the
open_questionslist - Update the
updatedtimestamp
Since the progression.yaml is simple YAML, update it by:
- Reading the API response
- Using
_pi_yaml_setforcurrent_position(via sourcing the lib) - For list fields (corrections, open_questions), rewrite the file section
Or more simply, just edit the file directly with the correct YAML formatting.
- Set
- Commit and push to the knowledge repo:
cd ~/.claude/knowledge && git add -A && git commit -m "Reflect: PROJECT/TOPIC" && git push - Report the results to the user:
- Current position summary
- Number of corrections found
- Open questions listed
Example
User: /reflect ECS Task Placement
Reflecting on progression: ECS Task Placement Strategy (5 documents)...
Current Position:
The ECS tasks are using spread placement with AZ constraints,
costing $12K/yr in cross-AZ traffic. Binpack strategy would save ~$8K/yr.
Corrections:
- Doc 01 claimed $387K DynamoDB cost, but Doc 03 (CUR validation)
showed actual cost is $3.9K/yr
Open Questions:
- Would binpack affect availability during AZ failures?
- What's the latency impact of same-AZ placement?
Updated: ~/.claude/knowledge/myapp/progressions/database-migration/progression.yamlGuidelines
- Read ALL documents in order. Don't skip any — corrections only make sense in context.
- Be specific in the current position. Reference actual numbers, resources, and findings.
- Corrections should trace the chain. "Doc 01 said X, Doc 03 corrected to Y" — not just "Y is correct."
- Open questions should be actionable. "What is the cost?" not "More investigation needed."
- This is an expensive operation (Opus + extended thinking). Don't run it after every single document — wait until 2-3 new documents have been added, or when the user explicitly asks.
Privacy Note
This command sends the full text of all documents in the progression to the Anthropic API for analysis. Do not include credentials, API keys, or sensitive PII in progression documents if you do not want them sent to the API. This is the same pattern as session summarization — user-controlled content sent to a trusted API provider.
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.

