Cowork Permissions Settings Wizard
Ask Claude to add the common safe permissions to settings.json (read, tests, git ops, dev server) and gate the risky stuff (installs, deletes, network calls).
Before & after
Same prompt, same agent — the only difference is the skill.
The permissions system in Claude Code lets you control what actions the AI can take without prompting you. You can allow certain categories of commands like reading files, running tests, or git operations, and require approval for riskier actions. Setting up a configuration file for this would let you work faster while maintaining security. There are different permission levels you can assign. Would you like me to explain the options?
SETTINGS.JSON PERMISSIONS CONFIGURATION
FILE: .claude/settings.json (checked into repo; all team members inherit these rules)
{
"permissions": {
"allow": [
"bash:read",
"bash:grep",
"bash:find",
"bash:git:status",
"bash:git:log",
"bash:git:diff",
"bash:npm:test",
"bash:npm:run:dev",
"read:/**",
"edit:/**",
"write:src/**",
"write:tests/**"
],
"require_approval": [
"bash:npm:install",
"bash:npm:uninstall",
"bash:npm:publish",
"bash:git:push",
"bash:git:reset",
"bash:rm",
"bash:mv",
"delete:/**",
"write:.env**",
"write:package.json",
"network:fetch",
"network:post"
],
"deny": [
"bash:sudo",
"bash:chmod",
"bash:chown",
"read:.env**",
"read:.github/workflows/**",
"delete:./**"
]
}
}
WHAT THIS DOES:
ALLOW (no prompt): Read any file, grep for symbols, run tests, check git status/history, edit source files, start dev server. AI works fast without interruption.
REQUIRE_APPROVAL (must confirm): Install dependencies, push to remote, delete files, modify .env files, make network calls. Human decision gate prevents mistakes.
DENY (blocked always): Sudo commands, file permission changes, reading secrets, accessing CI workflows.
THE TRAP AVOIDED: -dangerously-skip-permissions flag removes all gates. Instead, this config lets AI be useful AND safe by gatekeeping risky operations only.
TEAM SETUP: Commit settings.json to repo. Include .env in deny list. Each developer inherits the same rules when they clone. No per-developer configuration drift.
DEVELOPMENT FRICTION: Reading takes 0 seconds (allowed). Running tests takes 0 seconds. Git push takes 2 seconds (human confirms). Deleting takes 2 seconds (human confirms). Trade-off: 2x approval prompts for 100x more autonomy on daily tasks.
VERIFY: Run claude permissions list to see what's currently configured.About this skill
name: cowork-permissions-settings-wizard description: Ask Claude to add the common safe permissions to settings.json (read, tests, git ops, dev server) and gate the risky stuff (installs, deletes, network calls).
Cowork Permissions Settings Wizard
What This Does
The creator explains the -dangerously-skip-permissions flag is a trap and shows the middle path: use /permissions or edit settings.json to allow safe actions (read, run tests, start dev server, git ops) while forcing approval for installs, deletes, and outbound API calls.
What You Get
- Auto-generated allow list
- deny list for risky commands (rm, deletes)
- git-committed settings.json for team sync
- /permissions helper prompt
- environment file protection (.env in deny)
Customize
- allow_read: read files freely
- allow_tests: run tests without approval
- allow_git: commit, push, branch
- deny_paths: env, secrets, credentials folders
- ask_on_network: force approval on outbound calls
Sample Output
settings.json contains a bash-read allow list plus a deny list for env files and rm-rf, letting Claude work fast without deleting production.
Target Audience
Any developer working with Claude Code who wants safe autopilot
SKILL.md preview
---
name: cowork-permissions-settings-wizard
description: Use this skill when a developer wants Claude Code configured with safe default permissions while gating installs, deletes, and network calls behind approval.
version: 1.0.0
category: Technical/Coding
author: AgentVolt
license: proprietary
tags:
- technical
- coding
- standard
---
# Cowork Permissions Settings Wizard
Configures Claude Code's settings.json with safe default permissions while gating installs, deletes, and outbound network calls behind approval.
## When to use
… (sign up to view the full skill)More development skills
View all Development skills →Multi-Instance Terminal Cowork Juggle
Run several Claude Code instances in iTerm tabs and juggle between them like a Starcraft player: plan on one, execute on another, remote SSH on a third.
Validation-Loop CLAUDE.md Auto-Learner
Any time Claude Code messes up on your codebase, ask it to fix the mistake and then update CLAUDE.md so it never does that again, without editing rules by hand.
Point-Don't-Dump Skill Refactor
Restructure any bloated skill.md into a lean YAML front matter router that points at reference files, so Claude loads knowledge only when needed.
Business Automation Stack
A connected set of agents that handle the repetitive ops work — follow-ups, summaries, and handoffs.