automode-configlisted
Install: claude install-skill obeone/claude-skills
# automode-config
A skill for authoring, validating, and migrating `autoMode` blocks
for **project-level** Claude Code permissions. The skill writes by
default to `.claude/settings.local.json` (per-user-per-project,
gitignored, read by the classifier). It reads two adjacent files —
`~/.claude/settings.json` and `.claude/settings.json` — and surfaces
their state without mutating them unless the user explicitly opts in.
## Out of scope
- Multi-project orchestration. The skill operates on the cwd's
project only.
- Auto-`chmod` of pre-existing `~/.claude/settings.json` mode 0644.
Warn-only; the user fixes it manually if they agree.
- Capturing real critique output from the binary into
`assets/critique_sample.md`. Hand-crafted is the v0.1.0 fixture;
real-binary capture is v0.2.0.
- A `--lint` mode for `.claude/settings.json` non-`autoMode`
sections. This skill is autoMode-only.
- Retry-on-network-failure logic. The user re-runs.
## Mental model: three files and four sections
| File | Path | Classifier reads `autoMode`? | Skill behaviour | Mode |
|---|---|---|---|---|
| **User baseline** | `~/.claude/settings.json` | yes | Read-only by default. Optional `--hoist <rule>` moves a rule from local to user. | 0600 (warn if 0644) |
| **Project local** ← primary | `.claude/settings.local.json` | yes | Read + write (flock, atomic, backups, hash gate). **The skill's main target.** | 0600 |
| **Project shared** | `.claude/settings.json` | no (for `autoMode` only — other sectio