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).

Technical/Codingtechnicalcoding
by AgentVoltv1.0.0Published 1y ago1 install
Free to sign up · every skill included with AgentVolt Pro

Before & after

Same prompt, same agent — the only difference is the skill.

PromptAllow read/test/git but require approval for installs and deletes.
Beforegeneric AI agent
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?
Afterwith Cowork Permissions Settings Wizard
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

SKILL.md
---
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)
Sign up to view, copy, and install the full skill

More development skills

View all Development skills →