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 obeone/claude-skills --skill automode-configgit clone --depth 1 https://github.com/obeone/claude-skillsWrote 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/obeone/claude-skills/automode-config)<a href="https://agentmods.dev/skills/obeone/claude-skills/automode-config"><img src="https://agentmods.dev/badge/skills/obeone/claude-skills/automode-config/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/obeone/claude-skills/automode-config"><img src="https://agentmods.dev/badge/skills/obeone/claude-skills/automode-config.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.00068 | $0.01661 |
| Opus 5.5 | $0.00027 | $0.00664 |
| Sonnet 5.5 | $0.00014 | $0.00332 |
| Haiku 4.5 | $0.00007 | $0.00166 |
Grade B, and why
automode-config scanned grade B with 1 finding 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 2mo 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 directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
(`~/.claude/settings.json`) and the shared file (`.claude/settings.json`) How it starts
The opening of the file, as written. The whole thing — 148 lines — stays where its author put it; the contents beside it link to each section on GitHub.
automode-config
Write target is .claude/settings.local.json. The user file
(~/.claude/settings.json) and the shared file (.claude/settings.json)
are read for adoption candidates, never written without an explicit
opt-in flag plus a re-confirmation.
Three files
| File | Path | Classifier reads autoMode? |
This skill | Mode |
|---|---|---|---|---|
| User baseline | ~/.claude/settings.json |
yes | read-only (write only via --hoist) |
0600, warn on 0644 |
| Project local | .claude/settings.local.json |
yes | read + write, the main target | 0600 |
| Project shared | .claude/settings.json |
no | read for adoption; write needs --write-shared |
0644 |
Four sections
autoMode has exactly four array fields, all holding prose rules,
not Tool(specifier) patterns. There is no ask bucket and no plain
deny bucket; those belong to permissions.
environment: trust signals (repos, buckets, domains, services).allow: exceptions overridingsoft_denyfor the same target.soft_deny: destructive actions, overridable byallowor stated user intent.hard_deny: unconditional. Not lifted byallow, by stated intent, or by--dangerously-skip-permissions.
Each section accepts the literal "$defaults" to splice Anthropic's
curated baseline in at that position. Omitting it replaces that
section's baseline end-to-end, per section, independently. The skill
preserves the sentinel verbatim and never expands it; it warns on every
write that drops it.
Procedure
# 1. See what the three files currently say, and what the project implies.
uv run scripts/inspect_automode.py
uv run scripts/scan_project.py --json
# 2. Build a proposal (see below), self-critique it until it stops
# changing, then dry-run it for the canonical hash.
uv run scripts/apply_automode.py --proposal proposal.json --mode auto --dry-run
# 3. Commit with that hash as the gate predicate.
uv run scripts/apply_automode.py --proposal proposal.json --mode auto \
--approved-canonical-hash <sha256>
What ships with it
60 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.
- assets/automode_loaded.json 2.0 KB
- assets/critique_help_snapshot.txt 193 B
- assets/critique_sample.md 2.2 KB
- assets/dropped_rules.yaml 1.7 KB
- assets/heuristics.yaml 4.2 KB
- commands/automode-edit.md 9.5 KB
- README.md 11 KB
- references/automode_doc_bible.md 16 KB
- references/canonicalization.md 3.3 KB
- references/cli.md 7.0 KB
- references/critique_workflow.md 9.9 KB
- references/mental_model.md 7.0 KB
- references/migration.md 12 KB
- references/recovery.md 4.4 KB
- references/self_critique.md 3.6 KB
- references/three_files.md 5.1 KB
- references/verification.md 6.7 KB
- scripts/_canonical.py 6.4 KB runs code
- scripts/_lint_rules.py 45 KB runs code
- scripts/_locks.py 6.3 KB runs code
- scripts/_paths.py 4.7 KB runs code
- scripts/apply_automode.py 75 KB runs code
- scripts/inspect_automode.py 6.7 KB runs code
- scripts/scan_project.py 13 KB runs code
- tests/conftest.py 2.1 KB runs code
- tests/fixtures/canonical/_generate.py 5.7 KB runs code
- tests/fixtures/canonical/in_00.json 65 B
- tests/fixtures/canonical/in_01.json 72 B
- tests/fixtures/canonical/in_02.json 5 B
- tests/fixtures/canonical/in_03.json 49 B
- tests/fixtures/canonical/in_04.json 14 B
- tests/fixtures/canonical/in_05.json 135 B
- tests/fixtures/canonical/in_06.json 4.0 KB
- tests/fixtures/canonical/in_07.json 129 B
- tests/fixtures/canonical/in_08.json 3 B
- tests/fixtures/canonical/in_09.json 11 B
- tests/fixtures/canonical/in_10.json 14 B
- tests/fixtures/canonical/in_11.json 10 B
- tests/fixtures/canonical/in_12.json 67 B
- tests/fixtures/canonical/in_13.json 5 B
- tests/fixtures/canonical/in_14.json 6 B
- tests/fixtures/canonical/in_15.json 253 B
- tests/fixtures/canonical/in_16.json 5 B
- tests/fixtures/canonical/in_17.json 145 B
- tests/fixtures/canonical/in_18.json 108 B
- tests/fixtures/canonical/in_19.json 3 B
- tests/fixtures/canonical/in_20.json 544 B
- tests/fixtures/canonical/in_21.json 79 B
- tests/fixtures/canonical/in_22.json 7 B
- tests/fixtures/canonical/in_23.json 143 B
- tests/fixtures/canonical/in_24.json 88 B
- tests/fixtures/canonical/in_25.json 6 B
- tests/fixtures/canonical/in_26.json 5 B
- tests/fixtures/canonical/in_27.json 3 B
- tests/fixtures/canonical/in_28.json 216 B
- tests/fixtures/canonical/in_29.json 71 B
- tests/fixtures/canonical/in_30.json 275 B
- tests/fixtures/canonical/in_31.json 233 B
- tests/fixtures/canonical/in_32.json 7 B
- tests/fixtures/canonical/in_33.json 4 B
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.
- 2mo ago Changed · +11 lines 5f44246aa44c
- 3mo ago First seen · 137 lines · 68 tokens per session scan B c8a1a12fbb52
automode-config is a skill published in the GitHub repository obeone/claude-skills (4 stars, last pushed 11d ago), licensed MIT. It adds 68 tokens to every session and 1,661 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
automode-config compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| automode-configobeone/claude-skills | Skill | 4 | 11d ago | MIT | B | 68 | Claude Code, Codex |
| semgrepsiva01c/claude-plugins | Skill | 16 | 29d ago | MIT | A | 169 | Claude Code |
| github-actionssiva01c/claude-plugins | Skill | 16 | 29d ago | MIT | A | 86 | Claude Code |
| gitlab-cisiva01c/claude-plugins | Skill | 16 | 29d ago | MIT | A | 88 | Claude Code |
| docker-composesiva01c/claude-plugins | Skill | 16 | 29d ago | MIT | A | 100 | Claude Code |
| docker-modelsiva01c/claude-plugins | Skill | 16 | 29d ago | MIT | A | 97 | Claude Code |
| git-worktreesiva01c/claude-plugins | Skill | 16 | 29d ago | MIT | A | 132 | Claude Code |