Automated summary
Analyzes all documents in a knowledge progression and updates progression.yaml with a synthesized current position, corrections, and open questions.
Strengths
- Automatically synthesizes a series of documents into a current understanding
- Tracks corrections across document history with clear references
- Updates and version-controls progression metadata in YAML
Limitations
- Requires an existing progression with ordered documents
- Relies on Anthropic API with costly model and extended thinking
- Local changes must be pushed to a Git repository for persistence
When you have multiple documents in a progression and need a consolidated current state with identified corrections and open questions.
For ad-hoc analysis of a single document or when no structured progression exists.
Security analysis
CautionThe skill uses git and API calls for legitimate knowledge management, and includes a privacy note warning against including secrets. However, automatic git push and API upload of entire progression content introduce risk of accidental data exposure, requiring caution.
- •Automatically commits and pushes all changes to a remote git repository, which could leak sensitive data if not properly reviewed.
- •Uses shell commands (git, pi-progression-status) and may source external libraries (_pi_yaml_set).
- •Sends full progression documents to an external API (Anthropic), relying on user to exclude secrets.
Examples
/reflect ECS Task Placement/reflectname: reflect description: Analyze a progression's documents and update its current position, corrections, and open questions user_invocable: true
/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:
~/.claude/knowledge/PROJECT/progressions/TOPIC_SLUG/Read
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.yaml
Guidelines
- 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.
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/reflect-on-a-progression-mm5t8c6a/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/reflect-on-a-progression-mm5t8c6a' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/reflect-on-a-progression-mm5t8c6a/download' --output '.skill-downloads/reflect-on-a-progression-mm5t8c6a/SKILL.md.part' && mv '.skill-downloads/reflect-on-a-progression-mm5t8c6a/SKILL.md.part' '.skill-downloads/reflect-on-a-progression-mm5t8c6a/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/reflect-on-a-progression-mm5t8c6a/SKILL.md' && test -s '.skill-downloads/reflect-on-a-progression-mm5t8c6a/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/reflect' && cp -R '.skill-downloads/reflect-on-a-progression-mm5t8c6a' '.claude/skills/reflect'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/reflect-on-a-progression-mm5t8c6a'openskills read 'reflect-on-a-progression-mm5t8c6a'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/reflect-on-a-progression-mm5t8c6a/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
Supabase Docs Authoring
Documentation
Write, edit, and review Supabase documentation content including guides, tutorials, reference docs, and partials. Follow style guides and MDX/TOML validation rules.
Create Architecture Decision Record
Documentation
Create a new Architecture Decision Record with sequential numbering, register it in the AgentDB graph, and link related ADRs.
Plan update with deep research
Documentation
Updates a plan document by launching parallel subagents to analyze a topic across all compiler passes, then consolidates findings into the plan doc.