explaining-permissions
/explaining-permissions
Wyjaśnia, dlaczego Claude Code zapytał o polecenie Bash, zezwolił na nie lub je odrzucił, i wskazuje nieskuteczne lub ryzykowne reguły uprawnień.
- Autor
- GillMacedo ↗
- Repozytorium
- permwhy ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 04.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 04.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Wyjaśnia, dlaczego Claude Code zapytał o polecenie Bash, zezwolił na nie lub je odrzucił, i wskazuje nieskuteczne lub ryzykowne reguły uprawnień.
Oryginalny opis (EN)
Explains why Claude Code prompted for, allowed or denied a Bash command, and finds ineffective or risky permission rules. Use when the user asks why a permission prompt appeared, why an allow rule doesn't work, or wants their permission settings audited.
Jak działa
- Why did this command prompt?
- Audit the rules
- Reading another settings file
- What to tell the user
Podgląd SKILL.md
---
name: explaining-permissions
description: Explains why Claude Code prompted for, allowed or denied a Bash command, and finds ineffective or risky permission rules. Use when the user asks why a permission prompt appeared, why an allow rule doesn't work, or wants their permission settings audited.
---
# Explaining permissions
Run the bundled script. Don't work the answer out by hand, because compound commands, wrappers and rule order are easy to get wrong.
## Why did this command prompt?
Run:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/permwhy.py" explain "<the exact command>"
Report the decision, the reason and which subcommand caused it. If the decision is `prompt`, suggest the narrowest rule that would allow that subcommand. Only suggest a rule the user would be comfortable running unattended.
## Audit the rules
Run:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/permwhy.py" lint
It exits 1 when it has findings. Summarize them most serious first, and ask before editing any settings file.
## Reading another settings file
Pass `--settings <path>` before the subcommand. Repeat it for several files. Without it, the script reads the user file and the project's two files.
## What to tell the user
- The result is an approximation of Claude Code's documented behavior, and Claude Code has the final say.
- Permission rules match command text, so they are not a security boundary. A sandbox is.
Wersje
W bazie nie ma innych skilli o nazwie explaining-permissions.
Migawka bazy z 13.11.2026 · wersja paczki 7d03ae9a0874 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 1 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100allow-agent-commands
Dodaje lub zmienia dozwolone polecenia w konfiguracji uprawnień agentów OpenCode i Claude Code, np. gdy użytkownik chce przestać być pytany o dane polecenie. - 90claude-permissions
Stosuje konwencje Esposter dla reguł uprawnień Claude Code w .agents/settings.local.json, gdy edytujesz settings.local.json lub debugujesz, dlaczego polecenie nadal pyta o zgodę. - 100koopa-claude-permissions
Wyjaśnia mechanizm uprawnień Claude Code: chronione ścieżki, tryby uprawnień, pierwszeństwo reguł allow, ask i deny oraz kontrakt hooka PreToolUse permissionDecision, przy nieoczekiwanych monitach i zawieszonym claude -p. - 84audit-permission-grants
Audytuje uprawnienia Claude Code w ustawieniach pod kątem przenośności i trwałości w trybie auto, wskazując ścieżki zależne od maszyny i martwe reguły wtyczek. - 100claude-permissions-optimizer
Optymalizuje uprawnienia Claude Code: znajduje bezpieczne polecenia Bash w historii sesji i automatycznie dodaje je do settings.json, aby ograniczyć liczbę próśb o zgodę. - 100claude-permissions-optimizer
Optymalizuje uprawnienia Claude Code: znajduje bezpieczne polecenia Bash w historii sesji i automatycznie dodaje je do settings.json, aby ograniczyć liczbę próśb o zgodę.