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.
npx skills add tmj-90/gaffer --skill add-config-optiongit clone --depth 1 https://github.com/tmj-90/gafferWrote 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/skills/tmj-90/gaffer/add-config-option)<a href="https://agentmods.dev/skills/tmj-90/gaffer/add-config-option"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/add-config-option/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/skills/tmj-90/gaffer/add-config-option"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/add-config-option.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.00086 | $0.01208 |
| Opus 5.5 | $0.00034 | $0.00483 |
| Sonnet 5.5 | $0.00017 | $0.00242 |
| Haiku 4.5 | $0.00009 | $0.00121 |
Grade A, and why
add-config-option 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 16d 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 — 84 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add a configuration option
Configuration is the operator's API: everything that varies between deploys while the code stays the same. A new option must be declared once, parsed and validated at startup, defaulted to today's behaviour, and documented from the same place it is defined. Half the incidents that start with "we set the env var" end with "in the wrong process" or "in seconds, not milliseconds".
Steps
- Confirm it should be an option at all. Twelve-factor's test: config is what varies
per deploy (hosts, credentials, limits, feature switches). A value that never differs
between environments is a constant — keep it in code (the
minimalismskill). A credential is not an ordinary option: follow thesecurity-secret-handlingskill. - Find the config spine. Where options are declared (a schema, a settings module, a
config.sh, a typedConfigobject), how precedence works (commonly: CLI flag, then env var, then config file, then default), and whether docs are generated from it. Callsearch_lorefor the convention, and search for existing env reads with the Grep tool (a Bash command mentioningprocess.envis hook-blocked). Add the option THERE; never readprocess.env.Xoros.environfrom a random module. - Name it by the repo's rules. Prefix, casing, scope and unit
(
APP_UPLOAD_TIMEOUT_MS, nottimeout). The unit in the name prevents the classic seconds-vs-milliseconds outage. Never reuse a retired option's name for new meaning. - Parse once, validate at load, fail fast. Convert to a typed value (integer with a
range, enum, URL, duration, path) at startup and exit with a message naming the option
and the bad value. Treat an empty string explicitly (unset or invalid — decide and
test). Booleans accept a documented set (
true/false/1/0), not "anything non-empty". A silently ignored malformed setting is worse than a crash. - Choose the default deliberately. It is what every operator who does not know the option exists will run: it must be safe and preserve current behaviour unless the ticket says otherwise. State why in one comment at the declaration.
- Thread it to every consumer. If a child process, worker, container or dashboard needs the value, pass it explicitly (spawn env, compose file, chart values) with the same precedence. Prove the value arrives at the consumer, not just that it parses.
- Document from the source. Regenerate the reference doc if the repo generates one;
otherwise add a row to the config table in README/docs: name, type, default, unit,
effect, since-version. If the dashboard or an admin UI lists settings, add it through
that existing settings definition, not a parallel form. The safety hook blocks every
.env*file, including.env.example: if the repo keeps one, say in your evidence that it needs the new key added by a human. - Test it: default applied when unset; override honoured; each invalid form rejected
with the named message; precedence (flag beats env) when the repo has layers; the child
process sees it when step 6 applies. Evidence via the
record-evidenceskill (on a resume that call is refused: do not retry; put this, the AC → test map and the smallest-change note in your final message).
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.
- 16d ago Changed · +24 lines 2b5b4cdd262f
- 19d ago First seen · 60 lines · 86 tokens per session scan A f1c7a8e95692
add-config-option is a skill published in the GitHub repository tmj-90/gaffer (2 stars, last pushed 17d ago), licensed Apache-2.0. It adds 86 tokens to every session and 1,208 once invoked, about $0.0003 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-09-28.
Other skills, from other repositories
bulwark-brainstorm
Role-based brainstorming with dual modes: --scoped (sequential Task tool, 5 roles) and --exploratory (Agent Teams peer debate, 4 roles). Use for feasibility assessment and idea validation.
plan-creation
Create structured implementation plans via a 4-role scrum team (Product Owner, Architect, Eng/Delivery Lead, QA/Critic) with optional Agent Teams peer debate mode.
anthropic-validator
Validates Claude Code assets (skills, hooks, agents, commands, MCP servers, plugins) against official Anthropic standards. Fetches latest docs dynamically and produces structured validation reports.
create-subagent
Generates single-purpose Claude Code sub-agents for use via the Task tool. Use when creating dedicated sub-agents, scaffolding agent definitions, or generating agents with diagnostics and permissions setup.
test-audit
Audit test suites for T1-T4 violations using AST analysis, mock detection, and multi-stage synthesis. Invoke when user asks to audit tests, check test quality, find mock violations, review test effectiveness, or inspect test suites for over-mocking. Triggers automatic rewrites when quality gates fail.
code-review
Comprehensive code review with distinct aspect based sections. Use when reviewing code, checking for security issues, finding type safety problems, auditing code quality, or when user asks to review code, PRs or changes. Three-phase workflow runs static tools, LLM judgment, and writes diagnostic log.