You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing requests and this feature hasn't been requested yet
This is a single feature request (not multiple features)
Problem Statement
Currently, permissions (like WebFetch(domain:*)) can only be configured globally in settings.json or settings.local.json. This means if I want one specific agent to auto-approve all website visits, I must either:
Manually approve each domain during agent execution (which defeats the purpose of automation)
Enable global auto-approval for all WebFetch calls across all Claude Code sessions (too permissive)
Pre-populate a list of specific domains (impractical for agents that need to visit arbitrary company websites)
The key issue is that I can't set and forget this agent, as I have to constantly approve visiting the company website.
Proposed Solution
dd support for an auto_approve or permissions field in agent YAML frontmatter that allows agent-specific permission rules:
---
name: my-agentdescription: Agent that needs to fetch arbitrary websitesmodel: sonnetpermissions:
auto_approve:
- "WebFetch(domain:*)"
- "WebSearch:*"
---
This would allow fine-grained control where specific agents can have elevated permissions without affecting the global security posture.
Alternative Solutions
No response
Priority
High - Significant impact on productivity
Feature Category
CLI commands and flags
Use Case Example
Use Case
I have a VC deal analysis agent that needs to visit company websites as part of its workflow. These websites are different every time (whatever company is being analysed). I want this specific agent to auto-approve all WebFetch calls without requiring manual confirmation, but I don't want to enable global WebFetch auto-approval for my entire Claude Code environment.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.
Activity
github-actions commentedon Dec 9, 2025
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
github-actions commentedon Dec 17, 2025
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.