원클릭으로
reflect
Analyze a progression's documents and update its current position, corrections, and open questions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Analyze a progression's documents and update its current position, corrections, and open questions
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | reflect |
| description | Analyze a progression's documents and update its current position, corrections, and open questions |
| user_invocable | true |
Analyze all documents in a knowledge progression and update the progression.yaml metadata with a synthesized current position, list of corrections, and open questions.
/reflect [TOPIC]
If TOPIC is omitted, reflect on all active progressions for the current project.
When the user invokes /reflect:
Identify the project from the current working directory (basename of 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:
~/.claude/knowledge/PROJECT/progressions/TOPIC_SLUG/
Read progression.yaml to get the document list, then read each .md file 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 (or claude-opus-4-6 default) with extended thinking enabled.
Budget: $EPISODIC_SYNTHESIZE_THINKING_BUDGET tokens.
Update the progression.yaml with the results:
current_position to the CURRENT_POSITION textcorrections listopen_questions listupdated timestampSince the progression.yaml is simple YAML, update it by:
_pi_yaml_set for current_position (via sourcing the lib)Or more simply, just edit the file directly with the correct YAML formatting.
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:
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.yaml
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.
Switch Claude Code to a different project folder with full context reload
Search episodic memory - sessions, progressions, and documents across all projects
Quick reference card for all Project Intelligence commands
Track evolving understanding of a topic through a sequence of documents
Save the current conversation insight as a reusable skill in the knowledge repo
Discover all installed plugins, skills, and commands available in this environment