AgentStack
SKILL verified MIT Self-run

Reflect

skill-onurpolat05-alba-reflect · by onurpolat05

Cross-session pattern analysis - find recurring themes, derive rules

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

Install

$ agentstack add skill-onurpolat05-alba-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.

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

ALBA Reflect

Analyze recent session logs, errors, and learnings to find patterns and suggest improvements.

When to Use

  • After several work sessions (weekly recommended)
  • When the same problems keep appearing
  • To discover workflow improvements
  • To propose new rules based on observed patterns

Process

Step 1: Gather Data

Read recent files (last 7 days or last 5 sessions):

memory/daily/*.md          # Session logs
memory/knowledge/errors.md # Error patterns
memory/knowledge/learnings.md # Accumulated insights

Use Glob to find daily logs, then read the most recent ones.

Step 2: Analyze Patterns

Look for:

Recurring errors:

  • Same error appearing 2+ times → needs a prevention rule
  • Errors with "Status: Unresolved" → need attention

Workflow patterns:

  • Tasks that repeat across sessions → candidate for automation (skill)
  • Manual steps done every session → candidate for hook
  • Decisions made repeatedly → candidate for rule

Time sinks:

  • Topics that consumed lots of session time
  • Context-switching patterns
  • Blockers that persisted across sessions

Growth areas:

  • Skills improving over time
  • New tools or techniques adopted
  • Knowledge gaps identified

Step 3: Generate Report

Output format:

# Reflection Report - [Date Range]

## Sessions Analyzed: [N]

## Recurring Patterns
1. [Pattern]: Observed [N] times. Impact: [High/Medium/Low]
2. ...

## Suggested Rules
- **Rule:** [description]
  **Reason:** [pattern that triggered this]
  **File:** `.claude/rules/[suggested-name].md`

## Suggested Skills
- **Skill:** [description]
  **Reason:** [repeated workflow]

## Unresolved Issues
- [Issue]: First seen [date], still active

## Key Insights
- [Insight 1]
- [Insight 2]

## Recommendations
1. [Action item]
2. [Action item]

Step 4: Offer Actions

After presenting the report, ask:

  • "Want me to create any of the suggested rules?"
  • "Should I build a skill for [repeated workflow]?"
  • "Want me to mark resolved errors in errors.md?"

Only act with user approval.

Constraints

  • Read-only analysis unless user approves actions
  • Don't modify existing memory files without permission
  • Be specific in suggestions - vague advice isn't useful
  • Include evidence (which sessions, which errors) for each pattern

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.