anthropics / anthropics/claude-code

update-config skill generates Write() rules instead of Edit() rules

Open Beginner friendly
#94,318 0 comments 0 reactions 0 assignees View on GitHub
area:permissions area:skills bug
Dominant language
Python
Stars
145k
Forks
23.1k
PR merge metrics
PR metrics pending

Description

The update-config skill generates permission rules using Write() when it should use Edit() for file-editing operations.

When configuring allow rules for file paths (e.g. for handoff file locations), the skill generates rules like:
```
Write(~/Documents/Claude/handoffs/**)
```

But permission checks only validate against Edit() rules. This causes a mismatch and generates a warning:
> Permission allow rule: Write(...) is not matched by file permission checks — only Edit(path) rules are.

The fix is for update-config to generate Edit() rules instead of Write() rules for file-editing operations.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the update-config skill and the code or template that generates file-path permission rules. Reproduce the handoff-path example, then verify that file-editing operations produce Edit() rules and no longer trigger the stated permission-check warning.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
70/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.