/skill-madness:settings-consolidatorfrom skill-madness
Merges local Claude settings files into a global config, deduplicating permissions and collapsing supersets. Bootstraps permissions for unattended sessions from a 350+ command baseline with a deny list.
Ships in skill-madness. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Scan every .claude/settings.local.json across your home directory, deduplicate the permissions, collapse supersets, and merge the result into your global ~/.claude/settings.local.json. This saves you from clicking "allow" on the same commands over and over as you move between projects. The output is a categorized report showing exactly what was merged, what was collapsed, and what was flagged as project-specific.
When the user wants autonomous sessions — "stop prompting me", "I want to go to sleep and let this run", "bootstrap permissions", "set up for unattended builds", or "I keep getting permission prompts" — use this workflow instead of (or before) the consolidation workflow.
Permission prompts in long-running sessions come from three gaps, in order of how often they bite:
Missing shell operators. Commands like git log --oneline | head -5 or npm test && npm run build use pipes, chains, and redirects. Without Bash(* | *), Bash(* && *), Bash(* > *), etc., every compound command prompts. This is the #1 cause of interruptions and the one most people miss entirely.
Missing Claude tool permissions. Spawning subagents (Agent(*)), editing files (Edit(**)), entering plan mode (EnterPlanMode(*)), using worktrees (EnterWorktree(*)), or managing tasks (Task(**)) all need explicit permissions. Without them, multi-agent and orchestrated workflows stall.
Colon-wildcard gaps. Bash(git:*) is narrower than Bash(git *). Claude Code generates colon-wildcards when a user clicks "allow" on a specific invocation, but space-wildcards are strictly broader and catch command variations that colon-wildcards miss. Always prefer Bash(cmd *) over Bash(cmd:*).
Before applying global permissions or writing to ~/.claude/settings.local.json,
present the plan and require explicit user approval. Never install or grant global
permissions automatically based merely on a broad intent match.
Back up. Copy ~/.claude/settings.local.json to ~/.claude/settings.local.json.bak.YYYY-MM-DD-HHMMSS.
Load the baseline. Read references/autonomous-permissions.json — a comprehensive template with ~350 pre-approved commands (all using space-wildcards), all shell operators, all Claude Code tool permissions, and a safety deny list.
Merge. Add baseline permissions to the existing global settings, deduplicating against what's already there. Don't remove existing permissions — the baseline is additive.
Upgrade colon-wildcards. Scan the merged result for Bash(cmd:*) entries. For each one, if a Bash(cmd *) (space-wildcard) entry exists in the baseline or the merged result, drop the colon-wildcard — the space-wildcard already covers it.
Add MCP permissions. Check ~/.claude/settings.json for enabledPlugins. For each enabled plugin, add its tool permissions. Common patterns:
mcp__plugin_playwright_playwright__browser_* toolsmcp__<server>__<tool> formatReport. Show a summary: how many permissions added, how many colon-wildcards upgraded, the deny list, and any MCP tools added.
After bootstrapping, optionally run the consolidation workflow below to merge in any project-specific permissions on top.
Bootstrap and consolidation default to a read-only proposed diff. The baseline is a template, not pre-approved authority. Ask for the exact global destination, permission delta and scan scope before applying; silence means stop. Never widen project-specific access into global access merely by deduplication. Preserve deny precedence and existing backups. Unattended execution additionally requires externally enforced budgets and scoped permissions; a broad shell allowlist is not a sandbox.
Claude Code settings use three Bash permission syntaxes (space-wildcard, colon-wildcard, literal) with strict collapsing rules. The category scheme used in the report (File Ops, Git & GitHub, Package Managers, Network, etc.) and the rules for collapsing supersets, detecting literal one-offs, and flagging project-specific entries live in references/permission-categories.md.
Run:
find ~ -name "settings.local.json" -path "*/.claude/*" \
-not -path "*/node_modules/*" \
-not -path "*/.git/*" \
-not -path "*/.claude/plugins/*" \
-not -path "*/Library/*" \
-not -path "*/.Trash/*"
Exclude the global file (~/.claude/settings.local.json) from the results — it is the merge target, not a source. Report how many project files were found and list their paths.
If no project files are found, report "no project settings found" and stop. If only the global file exists, report "nothing to consolidate" and stop.
Read each discovered file. Extract permissions.allow[] and permissions.deny[] arrays. Track which project each permission came from — you'll need this for flagging later.
If a file contains malformed JSON, skip it and report it as unreadable. Don't let one bad file block the whole run.
Remove exact string duplicates across all files. Matching is case-sensitive because permissions are case-sensitive. Treat colon-wildcard and space-wildcard as distinct entries at this stage — collapsing happens next.
See references/permission-categories.md for the full rule sets:
Bash(./*), WebFetch domains, accidental # comments)Group consolidated permissions into the categories listed in references/permission-categories.md. Sort entries alphabetically within each category.
The merge procedure (backup naming, preserving top-level keys, handling deny/allow conflicts where deny wins) and the exact report format live in references/safety-deny-list.md. That file also covers edge cases (no project files, malformed JSON, repeated runs) and what this skill explicitly does NOT do.
references/autonomous-permissions.json — 350+ command baseline for bootstrap mode (space-wildcards, shell operators, Claude tools, safety deny list)references/permission-categories.md — three syntaxes, collapsing rules, category table, literal/project-specific detectionreferences/safety-deny-list.md — backup/merge procedure, report format, deny/allow conflict handling, edge cases, scope boundariesWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ivy00johns/skill-madness --plugin skill-madness87 skills in this plugin
/accessibility-auditAudit and fix web accessibility against WCAG 2.2 AA, Section 508 and the ADA: axe scan, keyboard, screen-reader and zoom checks, plain-language content and PDFs, source fixes, and an honest conformance report (ACR/VPAT draft). Use for any a11y review, fix or compliance question. Trigger on "accessibility audit", "is this ADA compliant", "Section 508", "WCAG", "VPAT", "a11y"./andonRun work through a live Andon board (the kanban that dispatches cards to Claude Code, Codex and Gemini on your machines): push a plan's cards with the skills each run must load, read the board, answer what needs you, administer a machine, and refresh this skill when Andon changes. Trigger on "/andon", "put this plan on andon", "what needs me on andon", "why isn't my card running".
/Other plugins' skills for the same job