claude-code-permission-triage
БесплатноБез исполняемых скриптовНе проверенDiagnose unexpected, missing, delayed, parked, or misdelivered Claude Code permission prompts and approval cards for subagents, background workers, and Agent…
от daymade★ 1 556 звёзд на GitHubОб этом скилле
Claude Code permission triage
Classify the event before explaining it. A permission-shaped UI can be a normal permission check, a Plan Mode approval, an interactive question, an MCP login, a hook dialog, or a delivery failure. Do not start with profile or model blame.
Scope and handoffs
| Need | Owner |
|---|---|
| Explain why a permission card appeared, did not appear, was delayed, parked, or reached the wrong surface | This Skill |
Change allow, ask, deny, defaultMode, or settings files |
update-config |
Author, change, or configure PreToolUse / PermissionRequest hook behavior |
claude-code-hooks |
| Observe a missing, parked, or misdelivered permission request by comparing expected hook events with the transcript | This Skill |
| Read a session, tool call, hook input, or timeline | read-claude-code-history |
| Decide whether to spawn, wait for, or stop a worker | daymade-agent-discipline |
| Grade evidence, statistics, and counter-tests | daymade-evidence-discipline |
| MCP OAuth or server authentication | The MCP/server authentication owner |
Stop rule
Stop and hand off when the request is only a configuration change, hook change, MCP OAuth flow, or history read.
Missing evidence is not a final unknown. Continue authorized read-only
collection. Stop only when the next step is irreversible, outward-facing,
paid, or requires access the current identity does not have; then name the
missing source and the smallest next action.
Never retry the same failing call, spawn another worker, edit settings, or edit the transcript to make the symptom disappear.
Evidence order
1. Freeze identity
Record:
- event time in UTC and local time;
- Claude Code version;
- entrypoint: CLI, Desktop, VS Code, Web, SDK, or Remote Control;
- launch flag and settings sources, with secrets removed;
- agent-teams enablement and teammate mode;
- session, worker, team, and
tool_use_idas sanitized labels; - repository/project as a synthetic label;
- model and effort as covariates, not causes.
2. Freeze original records
Collect read-only:
- parent and worker transcripts;
- the
Agentspawn input; - team/agent configuration and mailbox state;
- effective settings and CLI flags;
- hook and Notification logs;
- MCP/connector configuration;
- a render/delivery observation when available.
Record path, byte count, and SHA-256 for each load-bearing artifact. Do not rewrite the source.
3. Build the mode timeline
Use record timestamps, never file mtime. Keep these fields separate:
- requested mode at launch;
- mode requested in the spawn call;
- mode observed on the worker;
- mode observed when the event occurred;
- every parent mode switch, with its evidence.
4. Classify the event
Use two independent axes.
| Axis | Values |
|---|---|
| Event surface | permission card; teammate-forwarded request; plan approval; AskUserQuestion; MCP OAuth; Notification; hook dialog; unknown |
| Delivery state | shown and answered; shown and unanswered; emitted but not rendered; parked without a result; held or queued; blocked other messages; succeeded or failed without a card; unknown |
Then classify the worker:
- main session;
- foreground subagent;
- background subagent;
- nested subagent;
- in-process teammate;
- split-pane teammate;
- top-level background session;
- SDK worker;
- unknown.
Do not infer worker type from a display name alone. Use the spawn input, agent-teams state, team config, hooks, and transcript lineage together.
5. Check the expected exceptions first
Before calling this a product defect, rule out:
- explicit
askrules; - deny rules;
- organization connector
ask; AskUserQuestion;- MCP tools marked
requiresUserInteraction; - recognized critical-path
rm/rmdirorDangerous rm operation not ruled out; ExitPlanModeor another plan approval;- cross-session messaging safeguards;
- reads or writes blocked outside the working directories;
PreToolUseorPermissionRequesthook decisions;- a parent or worker mode that was not the mode shown in the UI.
A PermissionRequest hook fires only after a permission decision is needed.
It can answer that request; its presence does not prove the worker inherited
the wrong mode.
Check the current contract
At investigation time, retrieve and record the retrieval date and Claude Code version for these canonical pages:
- Agent Teams permissions: https://code.claude.com/docs/en/agent-teams#permissions
- Subagent permission modes: https://code.claude.com/docs/en/sub-agents#permission-modes
- Permission-mode exceptions: https://code.claude.com/docs/en/permission-modes#actions-no-mode-auto-approves
- PermissionRequest hooks: https://code.claude.com/docs/en/hooks#permissionrequest
The stable rule is that bypassPermissions is not an absolute no-prompt
guarantee. Worker type, spawn time, event time, host surface, and documented
live coupling decide whether a mismatch is expected, a deli
Установить claude-code-permission-triage в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл claude-code-permission-triage?
Diagnose unexpected, missing, delayed, parked, or misdelivered Claude Code permission prompts and approval cards for subagents, background workers, and Agent Team teammates, including Plan Mode interactions. Use for evidence collection, known-issue matching, root-cause classification, and sanitized upstream feedback. Not for editing allow/deny rules, writing hooks, MCP OAuth, or reading conversation history.
Как установить скилл claude-code-permission-triage?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл claude-code-permission-triage запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic