self-improvement

Log errors, corrections, and knowledge gaps during AI agent execution.

273|45|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/pskoett/pskoett-ai-skills --skill self-improvement-pskoett
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: self-improvement
Source: https://github.com/pskoett/pskoett-ai-skills/tree/main/skills/self-improvement
Command: npx skills add https://github.com/pskoett/pskoett-ai-skills --skill self-improvement-pskoett

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) and references (resource) components.

What problem does it solve?

This Skill helps capture and learn from errors, user corrections, and knowledge gaps, fostering continuous improvement in AI agent performance and preventing repeated mistakes.

Core Features & Use Cases

  • Error Logging: Records unexpected command failures, API issues, or exceptions.
  • Learning Capture: Logs user corrections, discovered best practices, and knowledge gaps.
  • Skill Extraction: Facilitates the creation of new, reusable skills from valuable learnings.
  • Use Case: After an agent fails to execute a command due to a missing dependency, this skill logs the error, its context, and a suggested fix, preventing future occurrences and potentially creating a new skill for dependency management.

Quick Start

Log the recent command failure as an error entry using the self-improvement skill.

Frequently Asked Questions about self-improvement

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

FAQPage Schema
How do I log errors and user corrections for continuous improvement in AI agents?

To log errors and user corrections for continuous improvement, you can capture unexpected command failures, API issues, and knowledge gaps using structured logging. This records context and suggested fixes, preventing repeated mistakes during AI agent execution.

What is the best way to extract reusable skills from agent feedback and knowledge gaps?

The best way to extract reusable skills from agent feedback is to log discovered best practices and recurring patterns. This facilitates automatic skill extraction and promotes valuable learnings to project memory for future use.

How do I prevent my AI agent from repeating the same command execution mistakes?

To prevent your AI agent from repeating command execution mistakes, you need to capture and log the error context along with a suggested fix. This structured logging integrates with agent hooks for proactive capture and continuous learning.

Can I use agent hooks to automatically capture development insights and feature requests?

Yes, you can use agent hooks to automatically capture development insights and feature requests. The skill integrates with these hooks to proactively monitor and record exceptions, corrections, and knowledge gaps during execution.

Does this error logging approach work without external dependencies for knowledge management?

Yes, this error logging approach works without external dependencies for knowledge management. The skill operates independently to capture learnings, log feature requests, and facilitate skill extraction directly into project memory.

What are the limitations of using structured logging for agent feedback and continuous improvement?

A limitation of using structured logging for agent feedback is that it requires consistent integration with agent hooks to proactively capture errors. Without proper hook setup, automatic skill extraction and promotion to project memory may not function as intended.