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 saski/arnesto --skill agent-config-hygienegit clone --depth 1 https://github.com/saski/arnestoWrote 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/saski/arnesto/agent-config-hygiene)<a href="https://agentmods.dev/skills/saski/arnesto/agent-config-hygiene"><img src="https://agentmods.dev/badge/skills/saski/arnesto/agent-config-hygiene/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/saski/arnesto/agent-config-hygiene"><img src="https://agentmods.dev/badge/skills/saski/arnesto/agent-config-hygiene.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.00052 | $0.01002 |
| Opus 5.5 | $0.00021 | $0.00401 |
| Sonnet 5.5 | $0.00010 | $0.00200 |
| Haiku 4.5 | $0.00005 | $0.00100 |
Grade A, and why
agent-config-hygiene 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 18d 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 — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Configuration Hygiene
Audit first. Modify configuration only when the user requests the change or
validates a concrete learning proposal. Proactive detection follows
~/.agents/rules/ai-feedback-learning-loop.md; it does not authorize applying
or publishing inferred instructions. Preserve unrelated worktree changes and
distinguish repository state from mutable local runtime state.
Review workflow
- Identify the instruction surfaces that the active clients actually load: global instructions, repository instructions, directory rules, client wrappers, selected skills, templates, and local runtime configuration.
- Classify each artifact as one of:
- universal invariant;
- repository contract;
- task- or language-specific instruction;
- explicit skill or workflow;
- maintainer documentation;
- mutable local runtime state.
- Measure the always-loaded and routed word counts. Count transitive includes and pointers when they instruct the client to load another file.
- Look for duplicate loading paths, broad triggers, unreferenced rules, machine-specific values in portable rules, and multiple sources of truth.
- Prefer deletion, a narrower trigger, or an existing artifact before adding a new rule, skill, wrapper, or script.
- Put deterministic invariants in the repository's existing validation suite. Keep judgment and trade-off analysis in this skill.
- Run focused checks while iterating and the repository's canonical validation after meaningful changes.
Decision rules
- Always-loaded rules contain only behavior needed across most tasks.
- Repository rules contain only project-specific entry points and invariants.
- Language guidance loads when the task touches that language, not because a vendored example happens to use it.
- Skills load from the active client's catalog. A full inventory is a maintenance artifact, not a routine routing prerequisite.
- Runtime paths, credentials, sessions, trust data, and mutable preferences stay local. Versioned templates define portable defaults without absorbing local runtime state.
- A safety boundary belongs in documentation plus a targeted workflow unless it must affect most tasks.
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.
- 18d ago Changed · +9 lines 7a7d8c654258
- 1mo ago Changed · +26 lines · -8 tokens per session 1f488d00c3fa
- 3mo ago First seen · 59 lines · 60 tokens per session scan A 4ee4a495e52c
agent-config-hygiene is a skill published in the GitHub repository saski/arnesto (7 stars, last pushed 5d ago), licensed Unlicense. It adds 52 tokens to every session and 1,002 once invoked, about $0.0002 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.
agent-config-hygiene compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-config-hygienesaski/arnesto | Skill | 7 | 5d ago | Unlicense | A | 52 | Claude Code, Codex |
| repo-contracts-and-boundariesyfge/agent-harness-skills | Skill | 12 | 12d ago | MIT | A | 41 | Claude Code |
| repo-harness-assessmentyfge/agent-harness-skills | Skill | 12 | 12d ago | MIT | A | 56 | Claude Code |
| work-state-and-deliveryyfge/agent-harness-skills | Skill | 12 | 12d ago | MIT | A | 48 | Claude Code |
| runtime-evidence-and-tracingyfge/agent-harness-skills | Skill | 12 | 12d ago | MIT | A | 39 | Claude Code |
| validation-harness-designyfge/agent-harness-skills | Skill | 12 | 12d ago | MIT | A | 35 | Claude Code |
| readonly-reviewRanvier-Technologies/pixir | Skill | 25 | 2mo ago | MIT | A | 20 | Claude Code, Codex |