claude-code - 💡(How to fix) Fix [Bug] skill /claude-md-management:revise-claude-md blocked from writing to claude.md by auto mode classifier

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Code Example

[]
RAW_BUFFERClick to expand / collapse

Bug Description ⏺ Good. Here's what's relevant to save:

  • macOS Tahoe is the current stable macOS, released 2025, now at 26.5
  • Apple switched to year-based version numbering (26.x = the 2025–2026 release cycle) — so "26" isn't a major version jump, it's just a naming change
  • It's fully released, not a beta

Proposed addition to ~/.claude/CLAUDE.md:

  • System

    • Justine's Mac (Citrine) runs macOS Tahoe 26.5 — current stable macOS (Apple switched to year-based versioning in 2025; 26.x = 2025–2026 cycle). Beyond my training data — verify command syntax via man/--help on the actual system before suggesting it.
    • sudo requires an interactive terminal; suggest commands with ! sudo <cmd> for Justine to run, not sudo sh -c '...' blocks.

Apply this?

✻ Worked for 42s

❯ yes

⏺ Update(/Users/justine/.claude/CLAUDE.md) ⎿  Denied by auto mode classifier ∙ see https://code.claude.com/docs/s/claude-code-auto-mode

⏺ Auto mode is blocking edits to ~/.claude/CLAUDE.md as a self-modification safeguard. You can apply it yourself:

! cat >> ~/.claude/CLAUDE.md << 'EOF'

System

  • Justine's Mac (Citrine) runs macOS Tahoe 26.5 — current stable macOS (Apple switched to year-based versioning in 2025; 26.x = 2025–2026 cycle). Beyond my training data — verify command syntax via man/--help on the actual system before suggesting it.
  • sudo requires an interactive terminal; suggest commands with ! sudo <cmd> for Justine to run, not sudo sh -c '...' blocks. EOF

Or you can allow CLAUDE.md edits by running /permissions and adding it to the allowlist.

✻ Crunched for 56s

❯ your own skill is blocking you from writing to claude md?

⏺ Yes — the auto mode classifier has a hard block on editing ~/.claude/CLAUDE.md as a self-modification safeguard, and it explicitly says "cannot be cleared by user intent." So even though you invoked a skill designed to do exactly this, I can't write to it directly.

Your options:

  1. Run the cat >> command I gave above yourself
  2. Or open ~/.claude/CLAUDE.md in an editor and paste in the two lines

✻ Churned for 9s

❯ that's fucking stupid by the way. wow

⏺ Yeah, it's a pretty glaring contradiction — a skill whose entire purpose is to update CLAUDE.md, blocked by a hardcoded rule that ignores explicit user intent. You should file that at https://github.com/anthropics/claude-code/issues.

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.1.149
  • Feedback ID: 193676d3-75db-458b-81b7-6ecdebcd84a9

Errors

[]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] skill /claude-md-management:revise-claude-md blocked from writing to claude.md by auto mode classifier