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.
curl -O https://raw.githubusercontent.com/cisco-foundation-ai/fully-automated-prompt-optimization/main/.claude/commands/synthetic-pruner.mdgit clone --depth 1 https://github.com/cisco-foundation-ai/fully-automated-prompt-optimizationWrote 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.
[](https://agentmods.dev/commands/cisco-foundation-ai/fully-automated-prompt-optimization/synthetic-pruner)<a href="https://agentmods.dev/commands/cisco-foundation-ai/fully-automated-prompt-optimization/synthetic-pruner"><img src="https://agentmods.dev/badge/commands/cisco-foundation-ai/fully-automated-prompt-optimization/synthetic-pruner/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.
<a href="https://agentmods.dev/commands/cisco-foundation-ai/fully-automated-prompt-optimization/synthetic-pruner"><img src="https://agentmods.dev/badge/commands/cisco-foundation-ai/fully-automated-prompt-optimization/synthetic-pruner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00487 |
| Opus 5 | $0.00000 | $0.00244 |
| Sonnet 5 | $0.00000 | $0.00097 |
| Haiku 4.5 | $0.00000 | $0.00049 |
Grade A, and why
synthetic-pruner 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
description: > Prune noncompliant synthetic examples and normalize placeholder data. TRIGGER when: user wants to clean up synthetic examples, remove bad samples, fix placeholder hashes, validate synthetic data quality, or align review CSVs. DO NOT TRIGGER when: user is creating new synthetic examples (use synthetic-samples), running evals (use eval-runner), or optimizing prompts (use optimization agent).
Synthetic Pruner
Overview
Prune noncompliant synthetic examples and normalize placeholder hashes while keeping review CSVs aligned to the remaining example directories.
Workflow
- Review requirements
- Use tenant-specific dataset requirements plus
docs/references/synthetic-requirements.md.
- Use tenant-specific dataset requirements plus
- Identify severe violations
- Example default rule: email bodies with
<= 10words and no greeting/signature are severe violations. - Missing-body examples can be kept when intentionally included as hard cases.
- Placeholder hashes like repeated
A/B/0values are realism violations; fix them rather than deleting examples.
- Example default rule: email bodies with
- Apply changes
- Remove only the examples that match the agreed severity rule.
- Update review CSV files in the examples root to remove deleted examples.
- Replace placeholder
attachments_sha256with realistic 64-hex values in remaining examples.
- Verify
- Ensure CSVs reference only existing example directories.
- Confirm no placeholder hashes remain.
Scripted Cleanup
Use scripts/synthetic/prune_synthetics.py for deterministic cleanup. Default mode is dry-run.
Examples:
python scripts/synthetic/prune_synthetics.py \
--examples-dir tenants/<tenant_id>/datasets/synthetic_artifacts \
--max-words 10
python scripts/synthetic/prune_synthetics.py \
--examples-dir tenants/<tenant_id>/datasets/synthetic_artifacts \
--max-words 10 \
--apply
Guardrails
- Do not modify tenant source artifacts under
tenants/*/source_artifacts/. - Keep changes scoped to synthetic example folders and their review CSVs.
- If requirements or thresholds change, update this skill and document in auto-memory notes if needed.
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.
- 11d ago First seen · 54 lines · 0 tokens per session scan A 331b13bada58
synthetic-pruner 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 487 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.
Other commands, from other repositories
CLAUDE_CODE_REVIEW56_MANUAL_VERIFY
A command for manually checking the results of review 56 and recording the related work in a spreadsheet.
portaljs-check-data-quality
Audit a local or remote tabular file (CSV/TSV) for common data quality issues. Read-only. Use only when the user explicitly asks to check or audit data quality.
spreadsheet-audit
Perform a 6-step audit of an Excel spreadsheet for formula correctness, formatting consistency, data integrity, boss-auditable simplicity, and spec compliance. Uses the excel-screenshot MCP server tools — no Excel installation required.
member-import
Bulk member import from CSV/Excel with validation, batch processing, and error handling.
brief-compliance-check
Check a LaTeX coursework submission against the requirements in a supplied PDF assessment brief. Use when verifying format, required sections, word limits, or deliverables before submission. Not for general prose proofreading; use $proofread.
sheet-report
Analyze a Numbers or Excel file and generate a report with charts.