Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Analyze Allows

ASecurity

Analyze Claude Settings and Suggest Global Allows

8 stars
0 votes
0 copies
0 views
Added 9/20/2026
developmentpythongobashnodedockergitdocumentation

Works with

climcp

Security Analysis

A92/100
mediumInstalls packages at runtime which could introduce malicious dependencies

Scanned 9/20/2026

Install to Claude Code

$npx -y skills add tstapler/dotfiles --skill analyze-allows --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Analyze Allows?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Analyze Allows
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tstapler-analyze-allows/badge)](https://www.skillsdirectory.com/skills/tstapler-analyze-allows)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
description: Analyze Claude Settings and Suggest Global Allows
---

# Analyze Claude Settings and Suggest Global Allows

Analyze all `.claude/settings.local.json` files across my projects and home directory to identify permissions that should be promoted to my global `~/.claude/settings.json` config.

## Task

1. **Discover Local Settings Files**
   - Search for all `settings.local.json` files under `~/.claude-squad/` (worktrees)
   - Search for all `settings.local.json` files under `~/` (user projects)
   - Exclude system directories and node_modules

2. **Extract and Aggregate Permissions**
   - Parse each `settings.local.json` file
   - Extract all entries from the `permissions.allow` array
   - Count frequency of each permission across all files
   - Track which projects use each permission

3. **Categorize Permissions by Safety Level**

   **SAFE (Auto-recommend)** - Read-only or non-destructive operations:
   - `Read(*)` patterns for non-sensitive files
   - `Bash(ls:*)`, `Bash(pwd)`, `Bash(which:*)`, `Bash(head:*)`, `Bash(tail:*)`
   - `Bash(go version)`, `Bash(node --version)`, `Bash(python --version)`
   - `Bash(go doc:*)`, `Bash(go list:*)`
   - `Bash(git status)`, `Bash(git log:*)`, `Bash(git show:*)`, `Bash(git diff:*)`
   - `Glob(*)` patterns
   - `Grep(*)` patterns
   - `WebFetch(domain:*)` for documentation sites
   - MCP tools that are read-only (browser_snapshot, get_*, list_*, search_*)

   **MODERATE (Recommend with note)** - Common dev operations, reversible:
   - `Bash(npm install:*)`, `Bash(npm test:*)`, `Bash(npm run:*)`
   - `Bash(go build:*)`, `Bash(go test:*)`, `Bash(go run:*)`
   - `Bash(make:*)`, `Bash(docker:*)`
   - `Bash(git add:*)`, `Bash(git commit:*)`, `Bash(git push:*)`
   - `Bash(curl:*)`, `Bash(jq:*)`
   - `Bash(tmux:*)` commands
   - MCP tools that modify (browser_click, browser_type, create_*, update_*)

   **CAUTION (Show but don't auto-recommend)** - Potentially destructive:
   - `Bash(rm:*)`, `Bash(kill:*)`, `Bash(killall:*)`, `Bash(pkill:*)`
   - `Bash(kubectl delete:*)`
   - `Bash(git reset:*)`, `Bash(git clean:*)`, `Bash(git stash:*)` — can discard or hide local changes
   - Very broad patterns like `Read(///**)` or `Bash(*)`
   - `SlashCommand(*)` patterns

4. **Compare with Existing Global Config**
   - Read `~/.claude/settings.json`
   - Identify which permissions are already in the global allow list
   - Filter out duplicates from recommendations

5. **Generate Recommendations Report**

   Format the output as:

   ```
   ## Permissions Analysis Summary

   - Total local settings files analyzed: X
   - Total unique permissions found: Y
   - Already in global config: Z
   - New recommendations: W

   ## SAFE Permissions (Recommend Adding)

   | Permission | Frequency | Projects |
   |------------|-----------|----------|
   | Bash(go vet:*) | 5 | claude-squad, project-x, ... |

   ## MODERATE Permissions (Consider Adding)

   | Permission | Frequency | Projects | Notes |
   |------------|-----------|----------|-------|
   | Bash(npm run build:*) | 3 | web-app, ui-lib | Build commands |

   ## CAUTION Permissions (Review Carefully)

   | Permission | Frequency | Projects | Risk |
   |------------|-----------|----------|------|
   | Bash(kill:*) | 2 | claude-squad | Process termination |

   ## Suggested Additions to ~/.claude/settings.json

   Copy these safe permissions to add:
   ```json
   [
     "Bash(go vet:*)",
     "Bash(go fmt:*)",
     ...
   ]
   ```
   ```

6. **Output Format Options**
   - If argument `$1` is "json", output machine-readable JSON
   - If argument `$1` is "apply", show the commands to apply changes (but don't execute)
   - Default: Show the markdown report

## Implementation Notes

- Use `find` to locate files, `jq` to parse JSON
- Handle malformed JSON gracefully (skip with warning)
- Normalize permissions (remove trailing whitespace, etc.)
- Sort recommendations by frequency (most common first)
- Shorten project paths in output (show just directory name, not full path)

Attribution

tstaplertstapler
View sourceMore from tstapler →
SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Your tool, in front of Claude Code builders.

3 founder slots · $299/mo · GSC-verified traffic · sponsors can never buy grades.

See placements

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →