Run GEPA prompt optimization over a workflow eval suite and write an optimized prompt artifact. Run `smithers optimize --help` for usage details.
Scanned 9/2/2026
Install to Claude Code
npx -y skills add smithersai/smithers --skill smithers-optimize --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Smithers Optimize?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/smithersai-smithers-optimize)More formats (shields.io, HTML) on the badges page.
---
name: smithers-optimize
description: Run GEPA prompt optimization over a workflow eval suite and write an optimized prompt artifact. Run `smithers optimize --help` for usage details.
requires_bin: smithers
command: smithers optimize
---
# smithers optimize
Run GEPA prompt optimization over a workflow eval suite and write an optimized prompt artifact.
## Arguments
| Name | Type | Required | Description |
|------|------|----------|-------------|
| `workflow` | `string` | yes | Workflow ID (from `smithers workflow list`) or path to a .tsx workflow file |
## Options
| Flag | Type | Default | Description |
|------|------|---------|-------------|
| `--cases` | `string` | | JSON or JSONL eval case file |
| `--suite` | `string` | | Stable suite ID used in run IDs and report paths |
| `--provider` | `string` | `openai-api` | GEPA patch generator provider |
| `--model` | `string` | | Optimizer model for provider-backed GEPA |
| `--artifact` | `string` | | Write the optimized prompt artifact to this path |
| `--reportDir` | `string` | | Directory for baseline and optimized eval reports |
| `--minImprovement` | `number` | `0.000001` | Minimum required absolute score improvement |
| `--maxCases` | `number` | | Run only the first N cases |
| `--concurrency` | `number` | `1` | Number of eval cases to run at once |
| `--maxConcurrency` | `number` | | Per-workflow max task concurrency |
| `--root` | `string` | | Tool sandbox root directory |
| `--log` | `boolean` | `true` | Enable NDJSON event log file output |
| `--logDir` | `string` | | NDJSON event logs directory |
| `--allowNetwork` | `boolean` | `false` | Allow bash tool network requests |
| `--maxOutputBytes` | `number` | | Max bytes a single tool call can return |
| `--toolTimeoutMs` | `number` | | Max wall-clock time per tool call in ms |
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!