Skip to content

Repository files navigation

claude-permissions

claude-permissions.injaeryou.dev

Generate a Claude Code .claude/settings.json permissions file by picking modules — like gitignore.io, but for permissions.

claude-permissions — pick modules, merge rules, ship .claude/settings.json

Usage

  1. Open the site, select modules, download settings.json.
  2. Save it as .claude/settings.json in your project root (or ~/.claude/settings.json for all projects).

Deny rules always win over allow in Claude Code, so merging modules is safe.

Already have a settings.json?

Don't overwrite it — merge. Either paste a prompt into Claude Code (swap in your own selection URL):

Fetch https://claude-permissions.injaeryou.dev/git,npm,bash and merge its permissions into my .claude/settings.json — union the allow/ask/deny arrays, keep every other key.

or install the plugin and run /claude-permissions:setup — it detects your stack and merges automatically.

See the official docs for rule syntax and evaluation order: Claude Code — Permissions.

Claude Code plugin

Install the plugin and Claude detects your stack, picks modules, and writes the settings file itself:

/plugin marketplace add injaeryou/claude-permissions
/plugin install claude-permissions@claude-permissions

Then run /claude-permissions:setup — or just ask: "set up permissions for this project".

Policy

Modules follow one philosophy:

  • allow — read-only operations (file reads, git status, gh pr list, LSP queries).
  • ask — anything that mutates local state (edits, git commit) or touches the outside world (git push, gh pr create, arbitrary WebFetch).
  • deny — destructive or secret-leaking operations (git push --force, rm -rf, reading .env / keys, gh auth token).

Deny always wins over allow, so stacking modules never weakens a deny.

API

Base URL: https://claude-permissions.injaeryou.dev

Endpoint Returns
/<name>,<name>,… merged settings.json — curl gets JSON, a browser gets the UI with the same selection
/api/list every module — name, category, description, rule counts
/api/modules/<name>.json one module's raw allow / ask / deny rules
# gitignore.io-style generation from the CLI — same URL also works in a browser
curl -s https://claude-permissions.injaeryou.dev/git,npm,bash > .claude/settings.json

curl -s https://claude-permissions.injaeryou.dev/api/list

Contributing

CONTRIBUTING.md

About

Generate a Claude Code .claude/settings.json permissions file by picking modules — like gitignore.io, but for permissions

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Contributors

Languages