Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

macos-permissions

БесплатноБез исполняемых скриптовНе проверен

Diagnoses TCC denials, Local Network access and stuck Keychain dialogs: Full Disk Access, Screen Recording, Microphone, Camera, Accessibility, Automation. Use…

daymadeот daymade★ 1 556 звёзд на GitHub

Об этом скилле

macOS Permission Dialogs

Observe and classify the reported problem first

The executing agent preserves the user's symptom: a dialog that cannot be clicked, typed into or dismissed needs an interaction diagnosis even when it contains a password field. Do not replace that report with instructions to enter a password.

Read the actual dialog before choosing a subsystem or naming its owner. Use the host's permitted observation tools; when whole-screen observation is authorized and permitted, use capture-screen's full-screen route without raising windows. A refusal to control one protected app neither identifies the unseen dialog nor proves every observation method is unavailable. Respect the refusal's scope; never switch tools to bypass a host restriction or GUI lock.

Observed dialog or failure Route
Confirmed Keychain item access failure, a login keychain password, or a blocked Keychain window Read Keychain recovery
Local Network alert, or a local connection/discovery failure specific to one app or background agent Read Local Network diagnosis; an error string or another process's success does not establish the cause
Privacy resource request or a protected operation failing without a visible dialog Continue with the TCC procedure below
Script, Git hook, or application-specific confirmation Inspect that request through its owning task/tool; do not change TCC or Keychain settings
Content or owner still unknown Keep it unknown; obtain only the missing permitted observation or ask the user for the visible text

These are operator decisions, not an automatic dialog classifier.

TCC diagnosis

macOS gates per-app, per-resource access through TCC (Transparency, Consent, Control). TCC records permission decisions in its databases and controls what a process can do. Several common traps need different fixes:

Trap Symptom Fix lives in
Wrong subject granted Dialog names python3.11/2.1.232/node; you granted that but it still prompts The attribution trap below
Grant doesn't survive Worked, then a binary/uv/CLI update → prompt returns references/uv-fda-trap.md
Silent denial Feature "unavailable", no dialog, grant looks ON references/tcc-mechanics.md § auth_value
Can't read TCC.db Permission denied reading the DB; need FDA to diagnose FDA references/tcc-mechanics.md § SIP

The attribution trap

Reproduce the reported denial first

The executing agent first inspects the original protected operation through its task-owned handle and any retained result. Reuse current evidence for the same resource, requester and execution context. Keep a still-running request within its existing deadline; do not launch a replacement while its terminal state is unknown. When current evidence is missing or stale, issue one bounded read through the actual failing requester and context before choosing a permission repair. A file listing, another terminal, SSH access or a foreground run cannot substitute for that operation. Record the path/resource, requester, context and result; this is a diagnostic step, not a mechanical permission classifier.

If that read now succeeds, report currently accessible; earlier cause unknown and stop permission changes unless a specific required read still fails. Do not call the cause repaired without evidence of the cause and its correction, or add Full Disk Access, change ACLs, reconnect shared mounts or restart a shared host merely to clear a historical error. If it still fails, follow the attribution checks below; Operation not permitted alone does not establish TCC as the cause.

The name in the dialog does not prove who to grant. macOS attributes a request to the responsible process in the process tree, but displays the name of the accessing executable — and for an unsigned binary with no bundle (uv-managed python, per-version CLI, node helpers) that display name is just the last path component, which changes with every version. Granting the displayed name is the mistake that costs the most rounds.

Before touching System Settings, inspect the request and any readable grant state:

# 1. Who is actually requesting — the responsible process in the attribution chain
/usr/bin/log show --last 30m --predicate 'subsystem == "com.apple.TCC"' --info --debug \
  | grep -E 'from Sub:|responsible=|accessing=' | tail -20

# 2. Grant candidates, if this terminal can read the system database
sudo -n sqlite3 '/Library/Application Support/com.apple.TCC/TCC.db' \
  "select service, client, auth_value from access where service='kTCCServiceSystemPolicyAllFiles' and client like '%<name>%';"

Use from Sub: to identify a candidate requester, then verify its exact path and a real protected read before choosing what to authorize. An unreadable TCC.db lea

Полный SKILL.md на GitHub

Установить macos-permissions в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

references/automated-full-disk-access.mdreferences/keychain-dialog-recovery.mdreferences/local-network.mdreferences/tcc-mechanics.mdreferences/uv-fda-trap.md

FAQ

Что делает скилл macos-permissions?

Diagnoses TCC denials, Local Network access and stuck Keychain dialogs: Full Disk Access, Screen Recording, Microphone, Camera, Accessibility, Automation. Use for repeated prompts, background-only LaunchAgent/uv failures, broken grants or FDA automation (权限弹窗 / 授权了没用 / 完全磁盘访问 / 本地网络权限). Checks requester/grants first. Not launchd design (macos-watchdog) or app permission UX (developing-ios-apps).

Как установить скилл macos-permissions?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл macos-permissions запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить macos-permissions с