← ClaudeAtlas

automode-configlisted

Author, validate, and migrate Claude Code autoMode blocks at the project level. Models the four official autoMode sections (environment, allow, soft_deny, hard_deny — all arrays of prose rules, with `$defaults` per section). Primary target is .claude/settings.local.json (per-user-per-project, gitignored, classifier-read). Reads ~/.claude/settings.json (user baseline, read-only) and .claude/settings.json (shared, classifier-ignores autoMode) for adoption candidates. Phase 1b is agent-driven: the calling agent reads CLAUDE.md / AGENTS.md / .claude/CLAUDE.md and emits a proposal JSON that flows through the same critique + hash-gate + atomic-write pipeline. Runs `claude auto-mode critique` as the canonical gate. Atomic write under per-file flock with sha256 hash gate. Requires Claude Code 2.1.83+ (auto mode itself; see references/automode_doc_bible.md).
obeone/claude-skills · ★ 3 · Data & Documents · score 70
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