retro-agent-instructions

Identifies friction in AI-assisted sessions and proposes atomic documentation updates.

Updated Oct 15, 2021
One-click install
npx skills add https://github.com/toqoz/config --skill retro-agent-instructions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: retro-agent-instructions
Source: https://github.com/toqoz/config/tree/main/home/agents/skills/retro-agent-instructions
Command: npx skills add https://github.com/toqoz/config --skill retro-agent-instructions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the accumulation of recurring errors and instruction gaps by providing a structured feedback loop to refine agent behavior over time.

Core Features & Use Cases

  • Friction Detection: Systematically identifies instruction contradictions, missing context, and repeated corrections.
  • Atomic Proposals: Generates evidence-based, concise improvements for instruction files like CLAUDE.md or AGENTS.md.
  • Use Case: If you find yourself repeatedly correcting the agent on how to format commit messages, use this skill to propose a permanent rule change that prevents the error in all future sessions.

Quick Start

Invoke the retro-agent-instructions skill to analyze the recent session for friction and propose a structural improvement to the project instructions.

Frequently Asked Questions about retro-agent-instructions

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

FAQPage Schema
How do I stop an AI agent from making the same mistakes in repeated sessions?

To stop recurring AI agent errors, you need structured instruction refinement that formalizes feedback from session friction into durable project rules. This skill analyzes session logs to identify repeated corrections and generates atomic updates for instruction files like CLAUDE.md to prevent future occurrences.

What is the best way to update project instructions based on observed agent friction?

The best way to update project instructions is through systematic evaluation of session friction signals against defined criteria. This skill identifies contradictions and missing context, then proposes evidence-based, concise improvements to formalize agent behavior rules and close instruction gaps.

How do I add permanent formatting rules to CLAUDE.md or AGENTS.md after correcting an agent?

To add permanent rules to CLAUDE.md or AGENTS.md, analyze recent session logs for friction signals like repeated corrections. This skill generates concise, atomic proposals for structural improvements, embedding the formatting rule directly into your instruction files to apply across all future sessions.

Can I use session logs to automatically generate documentation updates for AI workflows?

Yes, you can use session logs to generate documentation updates for AI workflows. This skill systematically evaluates session logs against friction criteria to identify instruction gaps, producing actionable and atomic documentation updates that refine agent behavior over time without manual rule writing.

When should I refine agent instructions instead of just correcting errors during the session?

You should refine agent instructions when you observe recurring errors, repeated corrections, or instruction contradictions during a session. If friction signals indicate missing context that affects long-term workflow optimization, formalizing these improvements prevents the agent from repeating the same mistakes in future interactions.

Does this approach work for both project-specific and user-scope instruction files?

Yes, this approach works for both project-specific and user-scope instruction files. The skill targets the iterative refinement of instruction files at either scope, systematically evaluating session logs to generate atomic updates that prevent recurring errors across your specific configuration.