audit-agent-settings

audit-agent-settings is a skill for Claude Code, Codex from vinta/hal-9000. It costs 24 tokens per session (1,116 once invoked), scanned A, original, MIT.

A settings audit for Claude Code and Codex that compares your configuration and environment variables with the platforms' current documentation.

In plain words
What is it for?
Use it to inspect agent settings, check them against documented behaviour, receive a ranked list of changes, and apply the ones you choose.
Why use it?
It helps find outdated, invalid, or unused settings and explains which changes fit your actual setup.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Part of the hal-skills plugin — 13 skills shipped together

Good fit Use it to inspect agent settings, check them against documented behaviour, receive a ranked list of changes, and apply the ones you choose.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vinta/hal-9000/audit-agent-settings
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 vinta/hal-9000 --skill audit-agent-settings
Clone the repo
git clone --depth 1 https://github.com/vinta/hal-9000

Made for: Claude Code, Codex.

Or install hal-skills, the plugin that ships this one along with the rest of its 13 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 audit-agent-settings

README.md
[![agentmods](https://agentmods.dev/badge/skills/vinta/hal-9000/audit-agent-settings/github.svg)](https://agentmods.dev/skills/vinta/hal-9000/audit-agent-settings)
Your own site
<a href="https://agentmods.dev/skills/vinta/hal-9000/audit-agent-settings"><img src="https://agentmods.dev/badge/skills/vinta/hal-9000/audit-agent-settings/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 audit-agent-settings

Your own site · 80×15
<a href="https://agentmods.dev/skills/vinta/hal-9000/audit-agent-settings"><img src="https://agentmods.dev/badge/skills/vinta/hal-9000/audit-agent-settings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,116 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 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.00024 $0.01116
Opus 5.5 $0.00010 $0.00446
Sonnet 5.5 $0.00005 $0.00223
Haiku 4.5 $0.00002 $0.00112

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

Security

Grade A, and why

audit-agent-settings scanned grade A with 2 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 20d 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.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- Edit(~/.codex/config.toml)

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- Bash(curl -sfL https://code.claude.com/*)
skills/audit-agent-settings/SKILL.md · 72 lines

How it starts

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

Audit Agent Settings

Scan the platform's docs exhaustively, cross-reference them against the user's real config, deliver a ranked report, and apply what the user picks. Tie every suggestion to a named user fact — tailored, not generic.

Use AskUserQuestion in Claude Code or request_user_input in Codex when available. Use plain text when the tool is unavailable.

1. Pick the targets

Use targets already specified by the user. Otherwise, offer the existing targets with this session's platform first: Claude Code settings, Codex config, or both. Read one reference per target:

Done when every target has its reference loaded.

2. Fetch ground truth

Curl each raw markdown mirror the reference lists into <scratchpad>. <scratchpad> is your session's scratchpad directory, or /tmp when the harness provides none. -f makes a missing page a failed command instead of a silently saved 404 body. These files are the only acceptable source for the scan; the reference's installed-CLI probes verify behavior, they do not replace the files.

Follow the reference's notes on how keys and variables are laid out in those files, and grep them for the full lists. Read the full entry of every key the user sets, since the entries carry the defaults, deprecations, and precedence the index omits.

3. Collect the user's real config

Read every config scope the reference lists, where it exists. When a dotfiles repo is the source of truth, read the repo copy and run git diff on it — uncommitted drift matters in step 6.

Read the platform's instruction files, rules, and memory the reference lists. These carry the workflow signals that make suggestions tailored: plugins, hooks, shell aliases, permission style, model choice, terminal, background-agent habits.

Done when you hold one list of every key and env var the user sets, plus a short profile of how they work.

Read the full file on GitHub · 72 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 20d ago Changed · +13 lines cdd5c45a8b9a
  2. 22d ago Changed · -3 lines e90fce72ca62
  3. 23d ago Changed · -4 lines 89856e77f768
  4. 1mo ago Changed 87ff3fcd7fa3
  5. 1mo ago Changed 50ffd65e65ea
  6. 1mo ago First seen · 66 lines · 24 tokens per session scan A ee152bed9c1b

Subscribe to this mod's changes

audit-agent-settings is a skill published in the GitHub repository vinta/hal-9000 (144 stars, last pushed today), licensed MIT. It adds 24 tokens to every session and 1,116 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-17.

Related

audit-agent-settings compared with skills from other repositories

audit-agent-settings next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audit-agent-settingsvinta/hal-9000Skill144todayMITA24Claude Code, Codex
optimize-python-parallelismcloudguo123/atomlaneSkill1todayMPL-2.0A70Codex
jarvis-setupethanplusai/jarvisSkill1.0k2mo agononeA79Claude Code, Codex
cirqagentlas-ai/agentlas-desktopSkill102d agoApache-2.0A67Claude Code
biopythonagentlas-ai/agentlas-desktopSkill102d agoApache-2.0A76Claude Code
scikit-bioagentlas-ai/agentlas-desktopSkill102d agoApache-2.0A54Claude Code
simpyagentlas-ai/agentlas-desktopSkill102d agoApache-2.0A42Claude Code