Skip to content

Auto-approve DeepWork skills in Claude Code settings#104

Closed
Copilot wants to merge 5 commits intomainfrom
copilot/auto-approve-deepwork-skills
Closed

Auto-approve DeepWork skills in Claude Code settings#104
Copilot wants to merge 5 commits intomainfrom
copilot/auto-approve-deepwork-skills

Conversation

Copy link
Contributor

Copilot AI commented Jan 21, 2026

DeepWork-generated skills required manual permission approval in Claude Code on each invocation. This adds automatic permission grants to .claude/settings.json during sync.

Changes

Core implementation:

  • Added sync_skill_permissions() method to AgentAdapter base class (default no-op)
  • Implemented in ClaudeAdapter to append Skill(name:*) entries to permissions.allow
  • Integrated into sync workflow: collects skill names during generation, syncs after hooks

Behavior:

  • Preserves existing permissions
  • Idempotent (prevents duplicates)
  • Platform-specific (Claude only; Gemini has no skill permission system)

Example

After running deepwork install --platform claude, .claude/settings.json now includes:

{
  "permissions": {
    "allow": [
      "Skill(deepwork_jobs:*)",
      "Skill(deepwork_jobs.define:*)",
      "Skill(deepwork_jobs.implement:*)",
      ...
    ]
  }
}

Skills are immediately usable without permission prompts.

Original prompt

Skills that deepwork creates should automatically be approved for permissions in the local .claude (claude can do this for sure)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 4 commits January 21, 2026 20:32
Co-authored-by: ncrmro <8276365+ncrmro@users.noreply.github.com>
Co-authored-by: ncrmro <8276365+ncrmro@users.noreply.github.com>
Co-authored-by: ncrmro <8276365+ncrmro@users.noreply.github.com>
Co-authored-by: ncrmro <8276365+ncrmro@users.noreply.github.com>
Copilot AI changed the title [WIP] Add automatic approval for deepwork skills permissions Auto-approve DeepWork skills in Claude Code settings Jan 21, 2026
Copilot AI requested a review from ncrmro January 21, 2026 20:37
@nhorton
Copy link
Contributor

nhorton commented Jan 22, 2026

Already merged this

@nhorton nhorton closed this Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants