claude-skills/engineering
Ben Fairless 66ea9621dd
fix(models): remove retired model IDs and stale pricing, flip G7 blocking
Clears every reference the new G7 lint flags, then makes it blocking so the
class cannot drift back. audit/engineering-agentic-2026-07 marked the
senior-ml-engineer half of this STILL-OPEN.

Deleted rather than updated:

  - agent-designer/agent_evaluator.py's _define_cost_benchmarks() held
    per-token prices for gpt-4, gpt-3.5-turbo and claude-3 at 2024 rates. The
    result was assigned to self.cost_benchmarks and never read by anything, so
    the method is gone. Cost analysis uses the cost_usd the caller supplies per
    execution log, which is the only figure that can be accurate

Made model-agnostic, following the precedent already set by
senior-prompt-engineer/scripts/prompt_optimizer.py's --price-per-mtok:

  - senior-ml-engineer SKILL.md and llm_integration_guide.md drop both 2024
    price tables and the context-window table (which claimed GPT-4 = 8,192).
    calculate_cost() takes rates as parameters; count_tokens() takes an
    encoding name, since encodings outlive model IDs and
    encoding_for_model() raises KeyError on anything unmapped
  - OpenAIProvider loses its default model, so the caller must pass one
  - llm-cost-optimizer's routing table names tiers, not models

Pinned to current IDs where an example genuinely needs one: SKILL_PIPELINE.md
(claude-opus-4-6 -> claude-opus-5), prompt-governance (claude-sonnet-4-5 ->
claude-sonnet-5), agent-designer README. Both dual-publish copies of the CAIO
pricing move together, so G4 stays green.

TEAM_STRUCTURE_GUIDE.md documented `prompt_optimizer.py --model gpt-4 --task
classification`. That contract no longer exists: there is no --task flag and
`prompt` is a required positional. Replaced with a runnable invocation.

Four references stay, with reasons in the allowlist: two litreview examples
where the retired model is the subject of the literature being reviewed, one
dated Computer Use citation, and the embedding benchmark already labelled a
2024 snapshot.

Assisted-by: Claude Code:claude-opus-5
2026-08-03 08:55:36 +08:00
..
.claude-plugin feat(skills): wave-3 optimization — domain overhauls per newgen audit 2026-06-11 03:58:41 +00:00
.codex feat(skills): wave-3 optimization — domain overhauls per newgen audit 2026-06-11 03:58:41 +00:00
agent-harness fix(productivity): resolve deep-work asset paths + lift meetings agentic signals 2026-07-17 06:17:54 +00:00
agenthub feat(skills): wave-3 optimization — domain overhauls per newgen audit 2026-06-11 03:58:41 +00:00
autoresearch-agent fix(frontmatter): repair 14 unloadable YAML blocks 2026-08-03 08:55:36 +08:00
behuman chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
caveman chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
chaos-engineering feat(tooling): JSON-output sample gate (G9) + --sample fixtures (#654) 2026-06-11 15:29:39 +00:00
claude-coach feat(tooling): JSON-output sample gate (G9) + --sample fixtures (#654) 2026-06-11 15:29:39 +00:00
code-tour chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
collab-proof fix(collab-proof): add trailing newline + attribution block to plugin.json 2026-06-07 04:09:37 +00:00
data-quality-auditor feat(skills): wave-3 optimization — domain overhauls per newgen audit 2026-06-11 03:58:41 +00:00
demo-video chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
docker-development chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
feature-flags-architect chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
grill-me chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
grill-with-docs chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
handoff chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
helm-chart-builder chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
karpathy-coder fix: phantom-path sweep — 888 unresolvable references to zero 2026-06-10 14:33:00 +00:00
kubernetes-operator chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
llm-cost-optimizer fix(models): remove retired model IDs and stale pricing, flip G7 blocking 2026-08-03 08:55:36 +08:00
llm-wiki fix: phantom-path sweep — 888 unresolvable references to zero 2026-06-10 14:33:00 +00:00
minimalist feat(engineering): add minimalist and strict-api skills 2026-07-06 13:05:12 +05:30
prompt-governance fix(models): remove retired model IDs and stale pricing, flip G7 blocking 2026-08-03 08:55:36 +08:00
security-guidance chore(versioning): unify remaining 20 plugins to 2.9.0 2026-05-27 14:25:08 +00:00
skillopt-sleep fix(engineering): require --yes for schedule + close mkdir/chmod race (round-10) 2026-07-11 19:43:30 +00:00
skills fix(models): remove retired model IDs and stale pricing, flip G7 blocking 2026-08-03 08:55:36 +08:00
slo-architect feat(tooling): JSON-output sample gate (G9) + --sample fixtures (#654) 2026-06-11 15:29:39 +00:00
statistical-analyst chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
strict-api feat(engineering): add minimalist and strict-api skills 2026-07-06 13:05:12 +05:30
terraform-patterns chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
universal-scraping-architect polish: PR #838 second-pass nits (non-blocking) 2026-06-11 15:40:45 +00:00
workflow-builder chore(workflow-builder): apply plugin-audit fixes 2026-05-27 14:47:00 +00:00
write-a-skill chore(versioning,docs): normalize stale versions to 2.9.0 + refresh counts 2026-05-27 05:22:59 +00:00
zero-hallucination-coder feat(engineering): add zero-hallucination-coder (hardened from #854) 2026-07-01 02:22:24 +00:00