# Default Perms

> Write default permissions to .claude/settings.json for the current project. Use when setting up a new project or when asked to add default permissions.

- Skill: `markbain/default-perms` (Agent Skill)
- Install (CLI): `npx skillmds@latest add markbain/default-perms`
- Raw SKILL.md: https://api.skillmd.com/api/skills/markbain/default-perms/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: markbain (https://skillmd.com/u/markbain)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/markbain/default-perms

---


# Default Permissions Skill

Write the standard default permissions to `.claude/settings.json` in the current project.

---

## Step 1 — Check for existing settings

Check if `.claude/settings.json` already exists:

```bash
ls .claude/settings.json 2>/dev/null
```

If it exists, read it first so you can merge without overwriting unrelated keys.

## Step 2 — Write permissions

Ensure the `.claude/` directory exists:

```bash
mkdir -p .claude
```

Write (or merge) the following permissions into `.claude/settings.json`:

```json
{
  "permissions": {
    "allow": [
      "Bash(*)",
      "Read(*)",
      "Write(*)",
      "Edit(*)",
      "WebSearch(*)",
      "WebFetch(*)",
      "mcp__plugin_asana_asana__*"
    ]
  }
}
```

If the file already exists, merge the `allow` array — add any missing entries from the list above without removing entries that are already there. Preserve all other existing keys.

## Step 3 — Report

Confirm `.claude/settings.json` has been written and list the permissions now in the allow list.

