Diagnoses unexpected, missing, delayed, parked, or misdelivered Claude Code permission prompts and approval cards for subagents, background workers, and Agent Team teammates.
Ships in daymade-claude-code. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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.
| 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 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.
Record:
tool_use_id as sanitized labels;Collect read-only:
Agent spawn input;Record path, byte count, and SHA-256 for each load-bearing artifact. Do not rewrite the source.
Use record timestamps, never file mtime. Keep these fields separate:
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:
Do not infer worker type from a display name alone. Use the spawn input, agent-teams state, team config, hooks, and transcript lineage together.
Before calling this a product defect, rule out:
ask rules;ask;AskUserQuestion;requiresUserInteraction;rm/rmdir or Dangerous rm operation not ruled out;ExitPlanMode or another plan approval;PreToolUse or PermissionRequest hook decisions;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.
At investigation time, retrieve and record the retrieval date and Claude Code version for these canonical pages:
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 delivery defect, a mode
inheritance defect, or unresolved.
Search before writing a root-cause story. Record the query, date, matched issues, considered issues, and ruled-out issues.
Seed issues, last verified 2026-11-21:
| Issue | Symptom family |
|---|---|
| #26479 | Agent Teams teammate ignores bypass and project permission state |
| #104869 | in-process teammate permission request is not rendered and parks |
| #104870 | pending teammate request blocks lead message delivery |
| #107910 | one open teammate prompt blocks all teammate messages |
| #108380 | background/nested subagent prompts despite bypass |
| #105736 | session falls back from auto/bypass after spawning a subagent |
Re-search open, closed, duplicate, and maintainer comments at investigation time. Related delivery-blocking issues are not independent root causes; do not double-count them.
Useful query shapes:
repo:anthropics/claude-code is:issue "Agent Teams" teammate bypassPermissions
repo:anthropics/claude-code is:issue "Waiting for team lead approval"
repo:anthropics/claude-code is:issue "background subagent" bypassPermissions
repo:anthropics/claude-code is:issue "Plan Mode" permission prompt
repo:anthropics/claude-code is:issue PermissionRequest teammate
When reporting frequency:
tool_use_id;0 as 0 within the covered evidence surface, never never happened.permissionDecision.source=user_* identifies the decision source. It does not
prove that a new card was rendered or that the user clicked a new prompt.
Count visible prompts only with independent render/delivery evidence.
Before a negative conclusion, check the lead main view, teammate pane, agent/task status, Notification/debug logs, form responses, image attachments, and thread replies. Unchecked surfaces remain explicit blind spots.
Use exactly four sections.
## Facts
## Inferences
## Unknowns
## Next steps
Bind every load-bearing fact to a timestamp, sanitized identity,
tool_use_id, version, and evidence path or public URL. Separate observation
from mechanism. Give one safe next action with an owner and stop condition.
Classify the result as one of:
Recommend an upstream issue only when all are true:
If the parent changed mode before the event, bind the conclusion to worker type and timing. An in-process teammate with a documented next-turn mode check can support a mode-inheritance or demotion defect when the observed mode conflicts with that contract. For split-pane, background, nested, or SDK workers without an explicit live-coupling rule, record the result as unresolved and collect the next discriminating evidence; do not label it a teammate permission defect from the parent switch alone.
Symptom:
Time and timezone:
Claude Code version:
Entrypoint:
Agent teams enabled / teammate mode:
Worker type:
Requested mode:
Spawn-time mode:
Observed event-time mode:
Event surface:
Delivery state:
tool_use_id:
Minimal synthetic repro:
Expected:
Actual:
Official contract:
Related issues:
Evidence available:
Blind spots:
Impact and workaround:
Never place session IDs, team IDs, absolute paths, customer or project names, user names, tokens, raw settings, mailbox JSON, or unredacted screenshots in a public repository or issue.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
22 skills in this plugin
/agent-web-search-setupFixes web search on an agent whose model backend can't run it: a relay/reseller proxying Claude or Codex returns empty instead of failing. Use when web search returns nothing, a model insists a shipped product doesn't exist, someone wants to give an agent internet access, or the user is on a third-party base URL, relay, or 中转站. Diagnoses which built-in tools are dead, removes them, and installs a working replacement./claude-code-hooksWrites, tests, registers and debugs Claude Code hooks (PreToolUse, PostToolUse, SessionStart, Stop) that turn a rule the model keeps breaking into a hard gate. Use when the user wants to block or intercept a tool call, add a guard rail, fix a misfiring hook, or says 拦截 / 守卫 / 钩子 — including "make it stop doing X"./claude-code-ops-router/daymade-claude-code:claude-code-permission-triagefrom daymade-claude-code
npx claudepluginhub daymade/claude-code-skills --plugin daymade-claude-codeOther plugins' skills for the same job