Skip to content
Skillpedia
Agents48k · #2052

agent-orchestration-improve-agent

Makes your AI agent better. It analyzes how the agent performs, adjusts instructions, and makes continuous improvements. Helps to have a more efficient agent.

What it does

This tool helps improve the performance of existing AI assistants. It analyzes how they are working, adjusts the instructions they receive, and makes continuous improvements.

When to use it

  • ✓When an AI assistant isn't responding well.
  • ✓To analyze why an AI assistant made a mistake.
  • ✓To test different versions of instructions for an AI assistant.

Example of what to ask your AI

“Improve how the sales assistant responds to questions about our products.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-orchestration-improve-agent/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/agent-orchestration-improve-agent/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The tool collects data on the assistant's performance, identifies problems, and applies improvements to the instructions. It then tests the changes to ensure everything is working better.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add sickn33/agentic-awesome-skills --skill agent-orchestration-improve-agent

Or download just the file:

curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/agent-orchestration-improve-agent/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Agent Performance Optimization Workflow

Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.

[Extended thinking: Agent optimization requires a data-driven approach combining performance metrics, user feedback analysis, and advanced prompt engineering techniques. Success depends on systematic evaluation, targeted improvements, and rigorous testing with rollback capabilities for production safety.]

Use this skill when

  • Improving an existing agent's performance or reliability
  • Analyzing failure modes, prompt quality, or tool usage
  • Running structured A/B tests or evaluation suites
  • Designing iterative optimization workflows for agents

Do not use this skill when

  • You are building a brand-new agent from scratch
  • There are no metrics, feedback, or test cases available
  • The task is unrelated to agent performance or prompt quality

Instructions

  1. Establish baseline metrics and collect representative examples.
  2. Identify failure modes and prioritize high-impact fixes.
  3. Apply prompt and workflow improvements with measurable goals.
  4. Validate with tests and roll out changes in controlled stages.

Execution boundaries

Do not run hosted evaluations, delegate, message teams, configure recurring reports or deploy merely because a phase names them. Follow the user's existing authorization and actual host workflow. Keep traces private/redacted, cap cost and steps, isolate candidate changes, and require supported exact-version checks. parallel-test-runner and named agent roles are not bundled; use a real harness or report the gap.

Safety

  • Avoid deploying prompt changes without regression testing.
  • Roll back quickly if quality or safety metrics regress.

Phase 1: Performance Analysis and Baseline Metrics

Analyze supplied traces and available metrics. Named roles below are optional roles, not installed executables or permission to delegate.

1.1 Gather Performance Data

Use: context-manager
Task: analyze the authorized trace window using actual available tools
No analyze-agent-performance command is bundled.

Collect metrics including:

  • Task completion rate (successful vs failed tasks)
  • Response accuracy and factual correctness
  • Tool usage efficiency (correct tools, call frequency)
  • Average response time and token consumption
  • User satisfaction indicators (corrections, retries)
  • Hallucination incidents and error patterns

1.2 User Feedback Pattern Analysis

Identify recurring patterns in user interactions:

  • Correction patterns: Where users consistently modify outputs
  • Clarification requests: Common areas of ambiguity
  • Task abandonment: Points where users give up
  • Follow-up questions: Indicators of incomplete responses
  • Positive feedback: Successful patterns to preserve

1.3 Failure Mode Classification

Categorize failures by root cause:

  • Instruction misunderstanding: Role or task confusion
  • Output format errors: Structure or formatting issues
  • Context loss: Long conversation degradation
  • Tool misuse: Incorrect or inefficient tool selection
  • Constraint violations: Safety or business rule breaches
  • Edge case handling: Unusual input scenarios

1.4 Baseline Performance Report

Generate quantitative baseline metrics:

Performance Baseline:
- Task Success Rate: [X%]
- Average Corrections per Task: [Y]
- Tool Call Efficiency: [Z%]
- User Satisfaction Score: [1-10]
- Average Response Latency: [Xms]
- Token Efficiency Ratio: [X:Y]

Phase 2: Prompt Engineering Improvements

Apply advanced prompt optimization techniques using prompt-engineer agent.

2.1 Chain-of-Thought Enhancement

Implement structured reasoning patterns:

Use: prompt-engineer
Technique: chain-of-thought-optimization
  • Add explicit reasoning steps: "Let's approach this step-by-step..."
  • Include self-verification checkpoints: "Before proceeding, verify that..."
  • Implement recursive decomposition for complex tasks
  • Collect concise decision explanations and observable tool traces, not hidden chain-of-thought

2.2 Few-Shot Example Optimization

Curate high-quality examples from successful interactions:

  • Select diverse examples covering common use cases
  • Include edge cases that previously failed
  • Show both positive and negative examples with explanations
  • Order examples from simple to complex

…

FAQ

What are 'baseline metrics'?

These are the numbers that show how the AI assistant is currently performing, before any improvements are made. For example, how often it gets things right or wrong.

What is 'prompt engineering'?

It's the art of writing the instructions (prompts) for the AI clearly and effectively, so it better understands what to do and produces the best results.

What are 'regression tests'?

These are tests to ensure that when an improvement is made, something that was already working well doesn't stop working.

Details

Original description by the author

Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.

repo: sickn33/agentic-awesome-skills

Popularity

GitHub stars
48k
Ranking position
#2052
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills