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

.claude/commands/synthetic-samples.md

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

A command for creating realistic made-up examples to expand an AI evaluation dataset. It supports scenarios such as phishing, credential theft, malware delivery, benign messages, and false positives.

In plain words
What is it for?
Use it to create synthetic test cases, add hard cases, increase evaluation coverage, and prepare review CSVs for labeling.
Why use it?
It adds edge cases and difficult examples without using real customer data. This broadens testing while keeping source artifacts untouched and producing files for review.

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 →

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/synthetic-samples.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 synthetic-samples

README.md
[![agentmods](https://agentmods.dev/badge/commands/cisco-foundation-ai/fully-automated-prompt-optimization/synthetic-samples/github.svg)](https://agentmods.dev/commands/cisco-foundation-ai/fully-automated-prompt-optimization/synthetic-samples)
Your own site
<a href="https://agentmods.dev/commands/cisco-foundation-ai/fully-automated-prompt-optimization/synthetic-samples"><img src="https://agentmods.dev/badge/commands/cisco-foundation-ai/fully-automated-prompt-optimization/synthetic-samples/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 synthetic-samples

Your own site · 80×15
<a href="https://agentmods.dev/commands/cisco-foundation-ai/fully-automated-prompt-optimization/synthetic-samples"><img src="https://agentmods.dev/badge/commands/cisco-foundation-ai/fully-automated-prompt-optimization/synthetic-samples.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 1,001 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.01001
Opus 5 $0.00000 $0.00500
Sonnet 5 $0.00000 $0.00200
Haiku 4.5 $0.00000 $0.00100

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

Security

Grade A, and why

synthetic-samples 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 12d 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/synthetic-samples.md · 70 lines

How it starts

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


description: > Create realistic synthetic examples for eval dataset augmentation. TRIGGER when: user wants to create synthetic test cases, add edge cases, augment eval datasets, expand test coverage, create hard cases, or generate new evaluation examples. DO NOT TRIGGER when: user is pruning/cleaning existing synthetic data (use synthetic-pruner), running evals (use eval-runner), or optimizing prompts (use optimization agent).

Synthetic Samples

Scope

  • Create realistic synthetic examples under a tenant synthetic examples root (for example, tenants/<tenant_id>/datasets/synthetic_artifacts/).
  • Keep customer/source artifacts untouched (tenants/*/source_artifacts/).
  • Produce review CSVs for model-assisted labeling.
  • Keep all content synthetic and non-attributable. No real customer names, domains, or IPs.

Quick Start Workflow

  1. Pick a scenario type: benign, phishing, credential theft, BEC, malware delivery, or false positive.
  2. Choose a naming pattern and create the example directory.
  3. Populate context files using the templates below.
  4. Write Summary.pdf.txt with explicit labels that match CSV heuristics.
  5. Add/refresh labels_review.csv or hard_labels_review.csv entries.

Standard Example Structure

Each example directory should include:

  • Prompt.pdf.txt (placeholder or template reference)
  • Context - Tools.pdf.txt (copy from a tenant baseline example if available)
  • Context - Stealth Watch.pdf.txt
  • Context - Email Body.pdf.txt or Context - No Email Body.pdf.txt
  • Summary.pdf.txt (explicit label language)

Naming

  • Regular: Example N - <Descriptor>
  • Hard cases: Hard Example N - <Descriptor>

Labeling Workflow

  1. Propose labels in a CSV (labels_review.csv or hard_labels_review.csv).
  2. Keep labels aligned with Summary.pdf.txt text so existing heuristics extract GT.
  3. If a file is removed, update both CSVs so row counts and filenames stay aligned.

Read the full file on GitHub · 70 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. 12d ago First seen · 70 lines · 0 tokens per session scan A db43af23350d

Subscribe to this mod's changes

synthetic-samples is a command published in the GitHub repository cisco-foundation-ai/fully-automated-prompt-optimization (107 stars, last pushed yesterday), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,001 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.