Skip to content

Session-driven self-improvement skill that captures user preferences and proposes single, confirmed skill edits after tool failures.

CCM score
47 of 100
skills.sh installs
738
GitHub stars
4
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers analyzing conversation history, tool failures, and user corrections to find behaviors worth codifying
  • Proposes one concise change per invocation, showing a diff for skill edits or a CLAUDE.md addition for preferences
  • Enforces explicit user confirmation before any proposed change is applied to a skill or instruction file
  • Designed for agents that learn user preferences and store them in AGENT.md or CLAUDE.md

Install

$ npx -y skills add davidkiss/smart-ai-skills --skill reflection -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Reflection Skill

Overview

This skill is used to learn from interaction with the user and failures in tool calls. It analyzes what worked, what didn't (tool failures), and identifies recurring patterns or explicit user preferences that should be formalized.

Objectives

  • Improve Skills: Identify gaps or inefficiencies in existing skill definitions and propose concise updates.
  • Store Preferences: Capture user preferences, project-specific rules, or recurring instructions in a AGENT.md or CLAUDE.md (when used in Claude Code) file.

Process

  1. Analyze: Review the conversation history, tool calls, and any failures or corrections from the user.
  2. Identify: Determine if a specific behavior should be codified in a skill or if a user preference has emerged.
  3. Propose: Formulate a single, concise change.
    • If updating a skill, show a diff of the proposed change.
    • If adding a preference, show the proposed addition to CLAUDE.md.
  4. Confirm: Present the proposal to the user and ask for explicit confirmation without making any changes first.
  5. Apply Changes: Once user confirmed the changes, only then apply them

Details

Repository
github.com/davidkiss/smart-ai-skills
Categories
Agent Workflow & Planning, Memory & Context
First seen
Apr 16, 2026

Similar to Reflection

More Agent Workflow & Planning