reflect

Convert recurring user corrections into a proposed rule or skill update.

1|Updated May 15, 2026
One-click install
npx skills add https://github.com/mslshao/claude-harness --skill reflect-mslshao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reflect
Source: https://github.com/mslshao/claude-harness/tree/main/dotclaude/skills/reflect
Command: npx skills add https://github.com/mslshao/claude-harness --skill reflect-mslshao

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps prevent the same mistake from happening repeatedly by converting recurring user corrections into a single, targeted improvement to the underlying rule, skill, or agent file.

Core Features & Use Cases

  • Two-strike correction handling: Detects when a current correction matches a prior correction in memory and treats it as a pattern worth addressing structurally.
  • Targeted rule updates: Routes the issue to the correct file, checks whether related guidance already exists, and proposes either a refinement or a focused addition.
  • Safe governance workflow: Presents a diff for approval before applying changes and updates memory only after the user confirms the resolution.
  • Use Case: If an assistant keeps repeating a prose habit like using the wrong tone or over-verifying in the same way, this Skill proposes a concise update to the relevant CLAUDE.md section so the behavior changes at the source.

Quick Start

Let the reflect skill review a repeated correction and propose one precise edit to the most relevant rule or behavior file.

Frequently Asked Questions about reflect

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I stop an AI assistant from repeating the same behavior mistakes?

To stop repeated AI behavior mistakes, you can convert recurring user corrections into a single targeted update to the underlying rule, skill, or agent definition file. This changes the behavior at the source instead of requiring manual correction each time.

How do I update a CLAUDE.md file to fix recurring prompt behavior automatically?

Updating a CLAUDE.md file to fix recurring prompt behavior involves detecting repeated corrections, routing the issue to the correct file, and generating a unified diff proposal. The proposed edit is then presented for user approval before being applied.

What is a two-strike correction handling workflow for prompt governance?

A two-strike correction handling workflow for prompt governance detects when a current correction matches a prior correction in memory. It then treats this repetition as a behavioral pattern worth addressing structurally through a targeted rule update.

Can I refine existing agent rules without accidentally duplicating guidance?

You can refine existing agent rules without duplicating guidance by performing a full-file review and collision checking for existing coverage. The system evaluates whether related guidance already exists before proposing either a refinement or a focused addition.

How does memory matching work when tuning AI writing style or workflow rules?

Memory matching for tuning AI writing style and workflow rules works by comparing a current user correction against prior corrections stored in memory. When a match is found, it triggers a structural rule proposal rather than a temporary behavioral fix.