Subagents don't inherit file permissions granted in parent session
Resolved 💬 2 comments Opened Jan 14, 2026 by holive Closed Jan 14, 2026
Description
When a user grants permission to edit a file in the main session, subagents spawned via the Task tool don't inherit that permission. They prompt for the same permission again.
Steps to reproduce
- Start a Claude Code session
- Attempt to edit a file (e.g.,
skill.md) - Grant permission when prompted
- Spawn a subagent (e.g., Plan agent) that needs to read/edit the same file
- Subagent prompts for permission again, even though it was just granted seconds before
Expected behavior
Subagents should inherit permissions already granted in the parent session for the duration of that session.
Actual behavior
Each subagent requires separate permission grants for the same files, even when the parent session already has permission.
Environment
- Claude Code CLI
- Observed during plan mode with Task tool subagents
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗