optim-agent
Helps your agent fine-tune settings for the best outcomes. Useful for improving system performance, simulations, or experiments.
What it does
This tool helps find the best settings for a system by testing different options and measuring which one works best to achieve a specific goal. It's useful for improving the performance of models, simulations, or other configurable systems.
When to use it
- ✓When you want to adjust the parameters of a machine learning model for better results.
- ✓When optimizing the settings of an AI system for faster or higher quality responses.
- ✓To find the best options in simulations or controlled experiments.
Example of what to ask your AI
“I want to optimize my image classification model. Adjust the 'learning rate' between 0.001 and 0.1 and the 'batch size' between 16 and 64. My goal is to maximize accuracy, with a budget of 50 trials.”
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
Ready-to-paste message
How it works
The tool sets up an experiment with clear boundaries, testing various combinations of the parameters you choose. It measures the outcome of each test, compares it to a starting point, and recommends the best configuration found within your budget.
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 optim-agentOr download just the file:
curl -L https://raw.githubusercontent.com/sickn33/agentic-awesome-skills/main/plugins/agentic-awesome-skills-claude/skills/optim-agent/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
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
- Use when tuning hyperparameters, prompts, inference settings, simulation parameters, quantitative strategies, or RL/control policies.
- Use when the objective can be measured as a scalar score, loss, accuracy, cost, latency, reward, or risk-adjusted metric.
- Use when the user needs a small-budget optimization loop with trial history, comparisons, and stop criteria.
Do not use this skill when
- The objective is purely subjective and cannot be scored consistently.
- The user has not provided permission to run experiments or consume compute/API budget.
- The task is a one-shot implementation, debugging, or code review request with no configurable search space.
Instructions
- Define the optimization target in one sentence: maximize or minimize one scalar metric.
- List the tunable parameters, valid ranges, types, defaults, and any forbidden combinations.
- Establish at least one baseline before proposing agent-guided trials.
- Set the budget up front: number of trials, time, compute, money, or dataset subsample.
- Run or request trials one at a time unless the user explicitly approves parallel execution.
- Record every trial with parameters, metric value, notes, and failure status.
- Compare the best result against the baseline and a simple search strategy when possible.
- Stop when the budget is exhausted, the improvement plateaus, or the next trial cannot be justified from evidence.
- 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
- Keep the first run small; expand only after the loop produces useful signal.
- Prefer parameters with clear operational meaning over arbitrary knobs.
- Treat failed trials as data and record why they failed.
- Validate the final configuration on held-out data, a fresh seed, or a separate scenario before calling it robust.
- Ask before running expensive, long, or externally billed experiments.
Limitations
- This skill does not guarantee a global optimum.
- Results depend on objective quality, noise, search-space design, and experiment reproducibility.
- Use domain review before applying tuned configurations to production, financial, safety-critical, or user-impacting systems.
Additional Resources
FAQ
What is a 'parameter'?
A parameter is a setting you can change in a system to alter its behavior or performance, like the speed of a car or the volume of a sound.
What is a 'measurable objective'?
It's something you can measure with a number, such as the accuracy of a prediction, the response time, or the cost of an operation.
Can I use this for subjective things, like 'make the response more creative'?
No, this tool works best when the objective can be measured with a clear number. For subjective matters, it's harder to define an objective success criterion.
Details
Original description by the author
Guide agent-driven parameter optimization for configurable systems with measurable objectives. Use for HPO, inference tuning, simulations, or RL/control experiments.
Popularity
- GitHub stars
- 48k
- Ranking position
- #3771
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
00-andruia-consultant
Helps your agent start or improve AI projects. It analyzes code, suggests tools, and creates action plans in Spanish.
sickn33/agentic-awesome-skills
007
Lets your agent perform security audits and threat modeling. It's useful for protecting projects against attacks and vulnerabilities.
sickn33/agentic-awesome-skills
10-andruia-skill-smith
Helps your agent create or improve AI tools. It defines how tools work, writes documentation, and validates the structure.
sickn33/agentic-awesome-skills
20-andruia-niche-intelligence
Lets your agent create a summary about a specific industry. It's useful for understanding the context, rules, usage patterns, and risks of a project, using reliable sources.
sickn33/agentic-awesome-skills
Similar skills
agent-architecture-audit
Makes your agent check if everything is working correctly. It finds and fixes problems in AI systems, ensuring they perform as expected.
affaan-m/ECC
agent-eval
Helps your agent compare different AI coding tools. It measures which one is faster, cheaper, and more reliable for specific tasks.
affaan-m/ECC
agent-harness-construction
Makes your agent better understand how to perform tasks. It optimizes the tools and instructions the agent uses to increase its chances of success.
affaan-m/ECC