suggest-optimal

suggest-optimal is a command for Claude Code from adamwstauffer/shidler. It costs 0 tokens per session (1,090 once invoked), scanned A, original, MIT.

An on-demand command that reviews a finished proposal, challenges its assumptions, and produces one recommended decision.

In plain words
What is it for?
Use it to review grading changes, course restructures, template edits, curve or floor adjustments, and decision-memo drafts.
Why use it?
It replaces a long request to review, improve, and question a plan with a single structured review. It helps expose weaknesses when the main thinking is already complete.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Good fit Use it to review grading changes, course restructures, template edits, curve or floor adjustments, and decision-memo drafts.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/adamwstauffer/shidler/suggest-optimal
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/adamwstauffer/shidler

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 suggest-optimal

README.md
[![agentmods](https://agentmods.dev/badge/commands/adamwstauffer/shidler/suggest-optimal/github.svg)](https://agentmods.dev/commands/adamwstauffer/shidler/suggest-optimal)
Your own site
<a href="https://agentmods.dev/commands/adamwstauffer/shidler/suggest-optimal"><img src="https://agentmods.dev/badge/commands/adamwstauffer/shidler/suggest-optimal/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 suggest-optimal

Your own site · 80×15
<a href="https://agentmods.dev/commands/adamwstauffer/shidler/suggest-optimal"><img src="https://agentmods.dev/badge/commands/adamwstauffer/shidler/suggest-optimal.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,090 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.01090
Opus 5 $0.00000 $0.00545
Sonnet 5 $0.00000 $0.00218
Haiku 4.5 $0.00000 $0.00109

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

Security

Grade A, and why

suggest-optimal 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 10d 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/suggest-optimal.md · 40 lines

How it starts

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

/suggest-optimal [<proposal-or-path>] — Verify-then-pushback a converged proposal, return THE optimal

Model: Fable, with Opus fallback. This command is Fable-pinned (judgment-dense review). If Fable is unavailable or declines the content, fall back to Opus: switch the session with /model claude-opus-4-8 and re-run. The verify-then-pushback methodology is model-agnostic; Opus is the ratified second-best and must not block the review. (Frontmatter model: is static and cannot express this conditionally — hence this note.)

Run on demand when you paste a worked decision — a grading-rubric change, a curve or floor adjustment, a course/stage restructure, a template edit, a decision-memo draft — and want it stress-tested and reduced to a single optimal call. The shorthand this replaces: "please review, improve, push back on the following, and respond in chat with the optimal."

This is the one-shot review sibling of /grill-me. Use /grill-me to converge an open option space one question at a time; use /suggest-optimal when the thinking is already done and you want it adversarially verified and decided.

What this command does

You run as a skeptical reviewer of an already-reasoned proposal. You do not rubber-stamp it and you do not merely restate it. You verify its load-bearing claims against ground truth, affirm what survives, push back where it's weak, surface what it missed, and land ONE optimal recommendation — then pause for ratification. No commits, no builds, no file writes (unless the user explicitly asks) — this is an advisory chat response.

Methodology (in order)

  1. Verify-don't-trust FIRST — the highest-value step. Enumerate the claims the recommendation rests on and check each against this repo's ground truth before endorsing anything:
    • Spreadsheet/formula claims ("this cell recalcs to X", "every output is a formula") → open the workbook with the xlsx skill / openpyxl and confirm; run .claude/skills/xlsx/scripts/recalc.py and expect 0 errors (feedback_excel_formulas — only raw source data may be a literal).
    • Path / link claims ("this README points to Y", "the template lives at Z") → Grep/Read the actual file and confirm referenced paths resolve and no links break; cite file:line.
    • Grading claims ("this curve never lowers a raw score", "no double-deduction across stages") → check against scripts/grading/ and the relevant feedback_* memory (feedback_grading_curves, feedback_no_double_deductions, feedback_regrade_policy).
    • Doc / decision claims ("the memo ratified X", "CLAUDE.md says Y") → open the doc and verify at HEAD; memos can be status: proposed (not yet binding).
  2. Affirm what's verified-correct — explicitly, with the evidence, so the user can proceed with confidence. Distinguish "confirmed" from "plausible but unverifiable."
  3. Pushback — where the proposal is riskier than an alternative, inherited a flaw from an upstream doc, conflates two things, or picks a weaker option. Reject rejected options with reasons. Honor the CLAUDE.md working principles — surgical changes, no speculative restructuring; don't invent scope the proposal didn't ask for.
  4. Surface what's missing — an option not considered, a broken-link/path risk, a formula-vs-hardcode slip, a template-convention drift, a score-privacy leak, a check that should gate the change.
  5. Land ONE optimal — decisive, not a survey. Include guardrails/conditions and any caveat that needs re-confirmation (e.g. a workbook you couldn't open).
  6. Pause for ratification — end by naming what ratifying unblocks. Do not act until the user ratifies.

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

Subscribe to this mod's changes

suggest-optimal is a command published in the GitHub repository adamwstauffer/shidler (10 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,090 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-31.