Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
aws avatar

Agents Optimize

  • 863 installs
  • 2.2k repo stars
  • Updated August 4, 2026
  • aws/agent-toolkit-for-aws

>.

About

>. Measure and improve your AgentCore agent's quality through evaluation, monitoring, and observability. The agents-optimize skill documents workflows, constraints, and examples from SKILL.md for agent-assisted execution.

  • Measure and improve your AgentCore agent's quality through evaluation, monitoring, and observability.
  • You want to know if your agent is giving good answers
  • You want to set up continuous quality monitoring in production
  • You want to add a quality gate to your CI/CD pipeline
  • You want to understand agent behavior through logs, metrics, and traces

Agents Optimize by the numbers

  • 863 all-time installs (skills.sh)
  • +221 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #419 of 2,203 Security skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
At a glance

agents-optimize capabilities & compatibility

Capabilities
measure and improve your agentcore agent's quali · you want to know if your agent is giving good an · you want to set up continuous quality monitoring · you want to add a quality gate to your ci/cd pip
Use cases
documentation
From the docs

What agents-optimize says it does

>
SKILL.md
npx skills add https://github.com/aws/agent-toolkit-for-aws --skill agents-optimize

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs863
repo stars2.2k
Last updatedAugust 4, 2026
Repositoryaws/agent-toolkit-for-aws

How do I apply agents-optimize using the workflow in its SKILL.md?

>

Who is it for?

Developers following the agents-optimize skill for the tasks it documents.

Skip if: Tasks outside the agents-optimize scope described in SKILL.md.

When should I use this skill?

User mentions agents-optimize or related triggers from the skill description.

What you get

Working agents-optimize setup aligned with the documented patterns and constraints.

  • caching configuration
  • concurrency limits
  • observability setup

Files

SKILL.mdMarkdownGitHub ↗

optimize

Measure and improve your AgentCore agent's quality through evaluation, monitoring, and observability.

When to use

  • You want to know if your agent is giving good answers
  • You want to set up continuous quality monitoring in production
  • You want to add a quality gate to your CI/CD pipeline
  • You want to understand agent behavior through logs, metrics, and traces
  • You want to set up CloudWatch dashboards or X-Ray tracing

Do NOT use for:

  • Debugging a specific broken agent (wrong answers, errors) → use agents-debug
  • Production security hardening (IAM, auth) → use agents-harden

Input

$ARGUMENTS can be:

  • An eval goal: "add a quality gate", "set up monitoring"
  • An observability goal: "set up CloudWatch dashboard", "understand my traces"
  • A specific evaluator: "llm-as-a-judge", "code-based"
  • Empty — the skill will guide based on project context

Process

Step 0: Verify CLI version

Run agentcore --version. This skill requires v0.9.0 or later.

Step 1: Read project context

Read agentcore/agentcore.json to understand existing evaluators, online eval configs, and agent setup.

If agentcore/agentcore.json is not found:

"This skill requires an AgentCore project. Use agents-get-started to create one."

Step 2: Determine the workflow

Developer intentAction
Measure quality, add evaluator, run eval, CI/CD gate, online monitoringLoad `references/evals.md` and follow its workflow
Set up observability, CloudWatch, X-Ray, logs, metrics, dashboardsLoad `references/observability.md` and follow its workflow
Understand or reduce AgentCore costsLoad `references/cost.md`
Both — "I want to understand and improve my agent"Start with observability setup, then add evals

Step 3: Follow the loaded reference

The reference file contains the full procedure. Follow it step by step.

Cross-references

  • After setting up evals, suggest agents-harden for production readiness
  • If eval results reveal agent issues, suggest agents-debug for root cause analysis
  • If the developer needs to add capabilities first, suggest agents-build

Output

Depends on the workflow — see the loaded reference for specific outputs.

Quality criteria

  • Evaluator configuration uses only valid CLI flags
  • Online eval sampling rate is appropriate (not 100% in production without discussion)
  • CI/CD quality gate has a clear pass/fail threshold
  • Observability setup includes both tracing and logging
  • The developer understands the eval data delay: ~10 seconds put-to-get, end-to-end — one ingestion step covers both trace reads and eval queries; there is no separate indexing wait

Related skills

FAQ

What does agents-optimize do?

>

When should I use agents-optimize?

Invoke when >.

Is agents-optimize safe to install?

Review the Security Audits panel on this page before installing in production.

Securityappsec

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.