taguchi

taguchi is a skill for Claude Code from lexfrei/ccc. It costs 174 tokens per session (4,338 once invoked), scanned A, original, BSD-3-Clause.

A test-planning tool that uses a Taguchi orthogonal array, a structured selection of experiments, to test several settings together. TDD means test-driven development; this tool instead focuses on choosing efficient debugging or tuning runs.

In plain words
What is it for?
Use it for debugging, tuning, or reproducing a problem involving at least three independently changeable factors, when full testing is expensive.
Why use it?
Changing one setting at a time becomes impractical when there are many possible factors and each run is slow. The planned combinations help identify individual factors and two-factor interactions with fewer runs.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the doe plugin — 4 skills shipped together

Good fit Use it for debugging, tuning, or reproducing a problem involving at least three independently changeable factors, when full testing is expensive.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lexfrei/ccc/taguchi
View source ↗ lexfrei/ccc
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.

Any agent
npx skills add lexfrei/ccc --skill taguchi
Clone the repo
git clone --depth 1 https://github.com/lexfrei/ccc

Made for: Claude Code.

Or install doe, the plugin that ships this one along with the rest of its 4 skills.

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 taguchi

README.md
[![agentmods](https://agentmods.dev/badge/skills/lexfrei/ccc/taguchi/github.svg)](https://agentmods.dev/skills/lexfrei/ccc/taguchi)
Your own site
<a href="https://agentmods.dev/skills/lexfrei/ccc/taguchi"><img src="https://agentmods.dev/badge/skills/lexfrei/ccc/taguchi/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 taguchi

Your own site · 80×15
<a href="https://agentmods.dev/skills/lexfrei/ccc/taguchi"><img src="https://agentmods.dev/badge/skills/lexfrei/ccc/taguchi.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 174 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,338 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00174 $0.04338
Opus 5.5 $0.00070 $0.01735
Sonnet 5.5 $0.00035 $0.00868
Haiku 4.5 $0.00017 $0.00434

Measured 1mo ago against content hash efb9ff4d8245, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

taguchi 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 1mo ago.

The scan reads SKILL.md. This mod also ships 9 executable files (scripts/analyze.py, scripts/arrays.py, scripts/design.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/doe/skills/taguchi/SKILL.md · 233 lines

How it starts

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

Replace one-factor-at-a-time debugging with a designed experiment. An orthogonal array covers every pair of factor levels in a handful of runs, so any behavior caused by one factor or by a two-factor interaction is guaranteed to show up in at least one run. 11 binary factors need 12 runs instead of 2048.

Every run changes several factors at once. That feels wrong to debugging intuition — resist the urge to "change only one thing". The analysis is column-wise (compare all runs where factor X was at level 1 vs level 2), not row-wise, and the balance of the array is what makes that comparison fair.

Step 0 — gate

Confirm all of these before proceeding; otherwise use the cheaper tool and say so:

  • 3+ candidate factors. One factor → plain bisection. Two factors → just run the 2×2 (4 runs).
  • Runs are expensive. If a run is seconds, brute-force the full factorial instead.
  • Factors are independently settable. If setting A=2 forces B=2, merge them into one factor.
  • At most ~11 factors — that is the 2-level ceiling; 3-level factors cap out at 7 (plus one 2-level) in L18. More than that means the suspect list was never narrowed — shrink it first (the shrink skill in this plugin), then design the array for the survivors.
  • The array has to be meaningfully cheaper than the factorial. Three 2-level factors are 4 runs against 8 — a 2x saving that does not pay for the ceremony or for confounding interactions. Below roughly 3x, run the factorial and read the interactions directly; design.py prints the ratio and says so.

Sibling skills cover the neighboring shapes: an expected single culprit among many boolean toggles → shrink; level counts that fit no array below → pairwise; optimizing knobs rather than hunting a culprit → tune.

Step 1 — factors and levels

Build the factor table with the user (or from the debugging context). Force every factor to 2 or 3 discrete levels:

  • Boolean or on/off → 2 levels.
  • Versions → current vs suspected-bad (2 levels), add a third only if a middle version genuinely discriminates.
  • Continuous values (timeout, batch size, memory limit) → the two extremes of the plausible range; a midpoint only as a third level.
  • A factor nobody can articulate a level for is not a factor — drop it or fix it at its current value.
  • A factor you can observe but not set (region, node shape, neighbor load) is a covariate, not a column: record its value for every run and check it during analysis (step 5).

Read the full file on GitHub · 233 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. 1mo ago First seen · 233 lines · 174 tokens per session scan A efb9ff4d8245

Subscribe to this mod's changes

taguchi is a skill published in the GitHub repository lexfrei/ccc (11 stars, last pushed 14d ago), licensed BSD-3-Clause. It adds 174 tokens to every session and 4,338 once invoked, about $0.0007 per session on Opus 5.5. 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.

Related

Other skills, from other repositories

systematic-debugging

4-phase root cause debugging: understand bugs before fixing.

NousResearch/hermes-agent · 16 tokens

langsmith-observability

LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.

davila7/claude-code-templates · 45 tokens

test-failure-explorer

Import and query an existing Vitest 3.2 JSON report to explore test failures, file-level errors and original diagnostic evidence.

QwenLM/qwen-code · 32 tokens

experimental-code-coverage-local-debugger

Runs code coverage locally via Universal Test Runner (UTR) or helper scripts, mimicking LUCI trybots. Activate when CQ tryjobs fail or underreport coverage, to test local GN/recipe repairs before uploading, or to debug hermetic crashes.

chromium/chromium · 59 tokens

verify-omnigent

Drive Omnigent the way a user does and prove a behavior with recorded evidence, using an isolated server, runner, and mock model plus a feature map of every user entry point. Load before reproducing a user-facing bug, before claiming a fix works, or when reviewing whether a change covered every surface (session vs.…

omnigent-ai/omnigent · 100 tokens

cli-e2e

Write, modify, or debug Docker-based Composio CLI end-to-end tests under ts/e2e-tests/cli, including binary invocation, fixture isolation, output assertions, and package manifests. Use for CLI E2E test suites only; use cli-command for CLI source implementation.

ComposioHQ/composio · 62 tokens