self-improving-agent-skills

Optimize agent skill definitions through an execute-diagnose-mutate loop.

Updated Jul 23, 2026
One-click install
npx skills add https://github.com/rahulgupta2018/agent-skills --skill self-improving-agent-skills
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: self-improving-agent-skills
Source: https://github.com/rahulgupta2018/agent-skills/tree/main/skills/self-improving-agent-skills
Command: npx skills add https://github.com/rahulgupta2018/agent-skills --skill self-improving-agent-skills

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires fastapi, uvicorn, google-genai, google-adk, pydantic, python-multipart, and includes scripts (resource) components.

What problem does it solve?

This Skill solves the challenge of manually tuning and refining agent prompts by automating the entire evaluation and improvement lifecycle, ensuring your skills reach their target performance pass rate without constant human intervention.

Core Features & Use Cases

  • Automated Optimization Loop: Executes a multi-agent workflow (Executor, Analyst, Mutator) to test, diagnose, and surgically improve skill prompts.
  • Evidence-Based Mutation: Applies targeted changes based on failure analysis, keeping only those that demonstrably improve performance scores.
  • Use Case: If you have a code-reviewer skill that frequently misses security vulnerabilities, this Skill will automatically generate test cases, identify the root cause of the misses, and apply specific prompt edits to improve its detection accuracy.

Quick Start

Use the self-improving-agent-skills skill to evaluate and optimize the provided code-reviewer skill folder until it reaches a 90 percent pass rate.

Frequently Asked Questions about self-improving-agent-skills

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

FAQPage Schema
How do I automate prompt optimization for agent skills?

Automated prompt optimization for agent skills is handled by a multi-agent workflow that executes test scenarios, diagnoses failures, and applies targeted mutations to improve performance against binary evaluation criteria.

What is the best way to improve agent performance using Google ADK?

The best way to improve agent performance using Google ADK is deploying an execute-diagnose-mutate loop that generates test cases, analyzes failures, and applies evidence-based mutations to skill definitions until target pass rates are reached.

Does this automated skill optimization work with FastAPI and uvicorn?

Yes, automated skill optimization works with FastAPI and uvicorn, which are required dependencies alongside Google ADK and Gemini API access to coordinate the Executor, Analyst, and Mutator agents.

How do I iteratively evaluate and refine agent prompts?

To iteratively evaluate and refine agent prompts, the system targets existing skill folders, runs them against generated test scenarios, and keeps only those prompt mutations that demonstrably improve evaluation scores.

Why does my code-reviewer agent miss security vulnerabilities during prompt evaluation?

Missing security vulnerabilities during prompt evaluation often stems from imprecise prompt definitions, which the Analyst agent identifies by diagnosing root causes of failures and instructing the Mutator agent to apply surgical edits for better detection accuracy.

Do I need Gemini API access to run multi-agent skill evaluation?

Yes, you need Gemini API access to run multi-agent skill evaluation, as the Executor, Analyst, and Mutator agents require both Google ADK and Gemini API access to coordinate the automated optimization loop.