Home / Market / optim agent

optim agent

Guide agent-driven parameter optimization for configurable systems with measurable objectives. Use for HPO, inference tuning, simulations, or RL/control experiments.

skill★ 507660 dlgithubCC-BY-4.0 content; MIT code; upstream exceptions applyInstall in CosmosUpstream Source

Documentation & Preview

--- name: optim-agent description: "Guide agent-driven parameter optimization for configurable systems with measurable objectives. Use for HPO, inference tuning, simulations, or RL/control experiments." category: data risk: safe source: community source_repo: Optim-Agent/optim-agent source_type: community date_added: "2026-07-15" author: Optim-Agent tags: [optimization, hyperparameter-optimization, experiments, tuning] tools: [claude, cursor, gemini, codex] license: MIT license_source: "https://github.com/Optim-Agent/optim-agent/blob/main/LICENSE"

---

Optim Agent

Overview

Use this skill to optimize configurable systems against a measurable scalar objective. It helps an agent turn vague tuning requests into bounded experiments with a defined search space, budget, baseline, and evidence-backed recommendation.

When to Use This Skill

Do not use this skill when

Instructions

  1. Define the optimization target in one sentence: maximize or minimize one scalar metric.
  2. List the tunable parameters, valid ranges, types, defaults, and any forbidden combinations.
  3. Establish at least one baseline before proposing agent-guided trials.
  4. Set the budget up front: number of trials, time, compute, money, or dataset subsample.
  5. Run or request trials one at a time unless the user explicitly approves parallel execution.
  6. Record every trial with parameters, metric value, notes, and failure status.
  7. Compare the best result against the baseline and a simple search strategy when possible.
  8. Stop when the budget is exhausted, the improvement plateaus, or the next trial cannot be justified from evidence.
  9. Report the recommended configuration, measured gain, tradeoffs, and any validation still needed before production use.

Examples

Example 1: Hyperparameter optimization

Tune learning rate, regularization, and tree depth for a credit-default model. Track validation AUC for each trial, compare against the default configuration, and recommend the best setting only if it improves the baseline under the agreed trial budget.

Example 2: Inference tuning

Tune retrieval depth, temperature, and reranker threshold for a RAG workflow. Optimize answer quality under a latency or cost ceiling, then report the best configuration with quality, latency, and cost tradeoffs.

Example 3: Simulation or control

Tune controller gains or environment parameters for a simulator. Optimize reward or error while logging failed trials separately so unstable configurations do not bias the recommendation.

Best Practices

Limitations

Additional Resources