install-permissions

install-permissions is a command for Claude Code from IvanLutsenko/awac-ai-agent-plugins. It costs 26 tokens per session (1,484 once invoked), scanned B, original, MIT.

A command that adds Crashlytics and selected Git read-only operations to Claude Code's permission allowlist. Crashlytics is a service for collecting and investigating app crashes.

In plain words
What is it for?
Use it to prepare settings so crash-reporting investigations can read crash data and repository history without approving each allowed operation.
Why use it?
It prevents repeated permission prompts while keeping write, authentication, and destructive operations excluded.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the crashlytics plugin — 10 skills, 5 commands, 5 agents shipped together

Good fit Use it to prepare settings so crash-reporting investigations can read crash data and repository history without approving each allowed operation.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add IvanLutsenko/awac-ai-agent-plugins
Claude Code
/plugin install crashlytics

Made for: Claude Code.

Or install crashlytics, the plugin that ships this one along with the rest of its 10 skills, 5 commands, 5 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for install-permissions

README.md
[![agentmods](https://agentmods.dev/badge/commands/ivanlutsenko/awac-ai-agent-plugins/install-permissions/github.svg)](https://agentmods.dev/commands/ivanlutsenko/awac-ai-agent-plugins/install-permissions)
Your own site
<a href="https://agentmods.dev/commands/ivanlutsenko/awac-ai-agent-plugins/install-permissions"><img src="https://agentmods.dev/badge/commands/ivanlutsenko/awac-ai-agent-plugins/install-permissions/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for install-permissions

Your own site · 80×15
<a href="https://agentmods.dev/commands/ivanlutsenko/awac-ai-agent-plugins/install-permissions"><img src="https://agentmods.dev/badge/commands/ivanlutsenko/awac-ai-agent-plugins/install-permissions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,484 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.01484
Opus 5.5 $0.00010 $0.00594
Sonnet 5.5 $0.00005 $0.00297
Haiku 4.5 $0.00003 $0.00148

Measured 3mo ago against content hash b3579e15710e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

install-permissions scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

- label: "User-level (~/.claude/settings.json)"
plugins/crashlytics/commands/install-permissions.md · 167 lines

How it starts

The opening of the file, as written. The whole thing — 167 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Install Crashlytics permissions

Adds the Crashlytics plugin's read-only Bash and MCP tools to your settings.json allowlist so /crashlytics:crash-report runs without permission prompts.

What gets added — strictly read-only operations:

  • git: status, log, blame, diff, show, fetch, branch, remote, ls-tree, ls-files, rev-parse, merge-base
  • crashlytics scripts (validate-report.py, fetch-crash-data.py, check-prerequisites.sh)
  • MCP read tools: crashlytics_get_*, crashlytics_list_*, crashlytics_batch_get_events, crashlytics_get_report, firebase_get_*, firebase_list_*

What is NEVER added — write/auth/destructive operations:

  • git push, git commit, git reset, git rebase, git clean
  • crashlytics_update_issue, crashlytics_create_note, crashlytics_delete_note
  • firebase_login, firebase_logout, firestore_*, auth_*, storage_*, messaging_*, realtimedatabase_*, remoteconfig_*

Step 1: Choose scope

AskUserQuestion:
  questions:
    - question: "Where to install the allowlist?"
      header: "Scope"
      options:
        - label: "User-level (~/.claude/settings.json)"
          description: "Applies in every project. Recommended if you use the plugin in multiple repos."
        - label: "Project-level (.claude/settings.local.json)"
          description: "Only this project. Safer if you don't want global allowance."
      multiSelect: false

If User-level → SETTINGS_PATH = ~/.claude/settings.json. If Project-level → SETTINGS_PATH = .claude/settings.local.json (mkdir -p .claude if missing).

Step 2: Read current settings

Bash: test -f {SETTINGS_PATH} && echo EXISTS || echo NEW
Read tool: {SETTINGS_PATH}   # if EXISTS

If NEW:
  CURRENT = { "permissions": { "allow": [] } }
Else:
  CURRENT = <parsed JSON>
  Ensure permissions.allow exists, default to []

Step 3: Compute the diff

SAFE_SET = [
    # git read-only
    "Bash(git status:*)",
    "Bash(git log:*)",
    "Bash(git blame:*)",
    "Bash(git diff:*)",
    "Bash(git show:*)",
    "Bash(git fetch:*)",
    "Bash(git ls-tree:*)",
    "Bash(git ls-files:*)",
    "Bash(git rev-parse:*)",
    "Bash(git merge-base:*)",
    "Bash(git branch:*)",
    "Bash(git remote:*)",
    "Bash(git config --get:*)",

    # crashlytics scripts
    "Bash(${CLAUDE_PLUGIN_ROOT}/scripts/check-prerequisites.sh:*)",
    "Bash(python3 ${CLAUDE_PLUGIN_ROOT}/scripts/validate-report.py:*)",
    "Bash(python3 ${CLAUDE_PLUGIN_ROOT}/scripts/fetch-crash-data.py:*)",

    # generic safe utils used by the plugin
    "Bash(test -f:*)",
    "Bash(touch .claude/crashlytics-prereqs-ok)",

    # MCP — read-only Crashlytics
    "mcp__plugin_crashlytics_firebase__crashlytics_get_issue",
    "mcp__plugin_crashlytics_firebase__crashlytics_batch_get_events",
    "mcp__plugin_crashlytics_firebase__crashlytics_list_events",
    "mcp__plugin_crashlytics_firebase__crashlytics_get_report",
    "mcp__plugin_crashlytics_firebase__crashlytics_list_notes",

    # MCP — read-only Firebase project info
    "mcp__plugin_crashlytics_firebase__firebase_get_environment",
    "mcp__plugin_crashlytics_firebase__firebase_list_apps",
    "mcp__plugin_crashlytics_firebase__firebase_get_project",
    "mcp__plugin_crashlytics_firebase__firebase_list_projects",
    "mcp__plugin_crashlytics_firebase__firebase_get_sdk_config",
]

EXISTING = set(CURRENT["permissions"]["allow"])
TO_ADD   = [r for r in SAFE_SET if r not in EXISTING]

Read the full file on GitHub · 167 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 167 lines · 26 tokens per session scan B b3579e15710e

Subscribe to this mod's changes

install-permissions is a command published in the GitHub repository IvanLutsenko/awac-ai-agent-plugins (6 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 1,484 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

install-permissions compared with commands from other repositories

install-permissions next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
install-permissionsIvanLutsenko/awac-ai-agent-pluginsCommand6todayMITB26Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code