AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Reflect

skill-theaichimera-claude-code-project-intelligence-reflect · by theaichimera

Analyze a progression's documents and update its current position, corrections, and open questions

No reviews yet
0 installs
7 views
0.0% view→install

Install

$ agentstack add skill-theaichimera-claude-code-project-intelligence-reflect

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-theaichimera-claude-code-project-intelligence-reflect)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
4mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Reflect? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

/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:

  1. Identify the project from the current working directory (basename of CWD).
  1. Find the progression. Use the topic argument or list active progressions:

``bash ${CLAUDE_PLUGIN_ROOT:-~/.claude/project-intelligence}/bin/pi-progression-status --project PROJECT [--topic "TOPIC"] ``

  1. 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.

  1. 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?

  1. 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"

  1. 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.

  1. Update the progression.yaml with the results:
  • Set current_position to the CURRENT_POSITION text
  • Update the corrections list
  • Update the open_questions list
  • Update the updated timestamp

Since the progression.yaml is simple YAML, update it by:

  • Reading the API response
  • Using _pi_yaml_set for current_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.

  1. Commit and push to the knowledge repo:

``bash cd ~/.claude/knowledge && git add -A && git commit -m "Reflect: PROJECT/TOPIC" && git push ``

  1. 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.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.