askill
self-reflect

self-reflectSafety 95Repository

Reflects on the current session to identify failures, inefficiencies, and improvement opportunities. Use at session end to extract learnings.

15 stars
1.2k downloads
Updated 3/6/2026

Package Files

Loading files...
SKILL.md

Self-Reflect

Reflect on the current session to extract learnings and improvements.

Goals

GoalMethod
Failure AnalysisReview tool errors and retries
Efficiency ReviewFind redundant or wasteful steps
Pattern ExtractionDiscover reusable workflows
Knowledge GapsNote missing skills or context

What to Look For

Failures

  • Tool calls that errored
  • Multiple retries of same action
  • User corrections or clarifications
  • Misunderstood requirements

Inefficiencies

  • Read file multiple times unnecessarily
  • Overly large edits that could be smaller
  • Commands that could be combined
  • Backtracking on approach

Patterns

  • Multi-step workflows worth automating
  • Repeated prompt structures
  • Common tool sequences

Categorize Findings

CategoryAction
Tool MisuseUpdate AGENTS.md with pattern
Missing SkillCreate new skill
Repeated StepsCreate prompt template
Edge CaseAdd to skill or guardrail

Output Files

FilePurpose
agent/skills/<name>/Multi-step workflows
agent/prompts/<name>.mdReusable prompt templates
AGENTS.mdProject-specific rules
agent/APPEND_SYSTEM.mdUniversal agent manifesto

APPEND_SYSTEM.md Format

New sections use numbered Roman headings with Against or For stance (## N. Against X or ## N. For X). Prose paragraphs, no bullet lists, no bold markers, no indented context blocks. Declarative statements in first person. General principles, no project-specific tool names or examples. Read existing sections before adding new ones — match the style exactly.

Common Issues

Edit Failures

PatternLearning
"Could not find"Always read file before editing
Multiple edit retriesUse smaller, targeted edits
Wrong whitespaceMatch exact indentation/quotes

Bash Failures

PatternLearning
grep exit 1Use grep ... || true
Command not foundCheck available tools first
Permission deniedNote required permissions

Workflow Issues

PatternLearning
Asked same questionClarify requirements upfront
Backtracked on designPlan before implementing
Missed edge caseAdd to skill checklist

Reflection Output

## Session Summary

**Task:** [What was accomplished]

**Failures:**

- [Tool/approach that failed and why]

**Inefficiencies:**

- [Steps that could be optimized]

**Learnings:**

- [New patterns or knowledge gained]

**Improvements:**

- [ ] [Concrete change to make]

Related Skills

  • self-improve: Analyze historical sessions for patterns
  • skill-authoring: Write discovered skills

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

75/100Analyzed 3/8/2026

Well-structured reflection skill with clear goals, categorization tables, format guidelines, and output template. Covers failures, inefficiencies, and patterns comprehensively. Slightly penalized for internal path references (agent/skills/) and generic tags, but the core methodology is solid and reusable. Bonus for including trigger guidance, structured format, and being in dedicated skills folder.

95
85
65
78
78

Metadata

Licenseunknown
Version-
Updated3/6/2026
Publisherknoopx

Tags

github-actionsprompting