fully-automated-prompt-optimization: Command for Claude Code

.claude/commands/eval-runner.md

eval-runner is a command for Claude Code from cisco-foundation-ai/fully-automated-prompt-optimization. It costs 0 tokens per session (550 once invoked), scanned A, original, Apache-2.0.

A command for running evaluations of AI workflows and returning score summaries. An evaluation runs a workflow against test examples to measure how well it performs.

In plain words
What is it for?
Use it to run an evaluation configuration, test a prompt variant, compare results, and review score summaries.
Why use it?
It makes it easier to test prompt changes, compare versions, and see whether a workflow improved. It also reports where the evaluation output was saved.

Command for Claude Code

Written for Claude Code: installed under .claude/.

This is cisco-foundation-ai/fully-automated-prompt-optimization's own configuration. It tells Claude Code how to work on fully-automated-prompt-optimization itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything fully-automated-prompt-optimization configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/eval/run_eval_and_summarize.py \.

Reuse

Borrowing it

Nothing to install: this file belongs to cisco-foundation-ai/fully-automated-prompt-optimization. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cisco-foundation-ai/fully-automated-prompt-optimization/main/.claude/commands/eval-runner.md
Clone the repo
git clone --depth 1 https://github.com/cisco-foundation-ai/fully-automated-prompt-optimization

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for eval-runner

README.md
[![agentmods](https://agentmods.dev/badge/commands/cisco-foundation-ai/fully-automated-prompt-optimization/eval-runner/github.svg)](https://agentmods.dev/commands/cisco-foundation-ai/fully-automated-prompt-optimization/eval-runner)
Your own site
<a href="https://agentmods.dev/commands/cisco-foundation-ai/fully-automated-prompt-optimization/eval-runner"><img src="https://agentmods.dev/badge/commands/cisco-foundation-ai/fully-automated-prompt-optimization/eval-runner/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for eval-runner

Your own site · 80×15
<a href="https://agentmods.dev/commands/cisco-foundation-ai/fully-automated-prompt-optimization/eval-runner"><img src="https://agentmods.dev/badge/commands/cisco-foundation-ai/fully-automated-prompt-optimization/eval-runner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 550 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00550
Opus 5 $0.00000 $0.00275
Sonnet 5 $0.00000 $0.00110
Haiku 4.5 $0.00000 $0.00055

Measured 9d ago against content hash 36859cb0ddaf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

eval-runner scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/eval-runner.md · 75 lines

How it starts

The opening of the file, as written. The whole thing — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.


description: > Run tenant evaluations and return score summaries. TRIGGER when: user wants to run an eval, test a prompt variant, check eval scores, execute an eval config, compare variant performance, or see evaluation results. DO NOT TRIGGER when: user is analyzing existing results (use optimization agent), creating synthetic data (use synthetic-samples), or editing prompts directly.

Eval Runner

Overview

Run a tenant evaluation config and return a concise summary plus the output directory path.

Quick Start

  1. Ensure provider credentials are available (for Baseten, BASETEN_API_KEY).
  2. Create a local eval config from the tracked template (configs are ephemeral and ignored):
mkdir -p tenants/<tenant_id>/configs
cp docs/templates/eval-config.template.json tenants/<tenant_id>/configs/local-<run-name>.json
  1. Run the helper script:
python scripts/eval/run_eval_and_summarize.py \
  --config tenants/<tenant_id>/configs/local-<run-name>.json

This runs python -m hephaestus.cli eval --config ... and prints the evaluation summary plus the output directory.

Common Variations

  • Run directly via CLI:
python -m hephaestus.cli eval --config tenants/<tenant_id>/configs/local-<run-name>.json
  • Override output directory without editing your local config:
python scripts/eval/run_eval_and_summarize.py \
  --config tenants/<tenant_id>/configs/local-<run-name>.json \
  --output-dir tenants/<tenant_id>/evals/tmp/<run-name>
  • Switch config for another prompt variant or dataset:
python scripts/eval/run_eval_and_summarize.py \
  --config tenants/<tenant_id>/configs/local-<other-run>.json

Notes

  • Output locations come from output_dir in config (or --output-dir override) and include summary.md, results.jsonl, and run_config.json.
  • Eval configs should remain local-only in tenants/<tenant_id>/configs/ and are not committed.
  • hephaestus.cli eval --dry-run is intentionally disabled in this repo.

Read the full file on GitHub · 75 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 75 lines · 0 tokens per session scan A 36859cb0ddaf

Subscribe to this mod's changes

eval-runner is a command published in the GitHub repository cisco-foundation-ai/fully-automated-prompt-optimization (107 stars, last pushed today), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 550 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.