[BUG] Skill.md parse error for: `!`, `?`

Resolved 💬 3 comments Opened Dec 26, 2025 by marcvanheerdenbain Closed Dec 30, 2025

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When trying to invoke a skill with this SKILL.md definition:

---
name: fayling
description: A test skill that won't parse
---

# Fayling - a skill that fails to parse
- `!`, `?` this line causes the parsing error

## Instructions 
Lorem ipsum

What Should Happen?

The skill should be loaded without error

Error Messages/Logs

⏺ /fayling
  ⎿  Error: Bash command permission check failed for pattern "!`, `": This command requires approval

Steps to Reproduce

  1. Create a skill with this definition:
---
name: fayling
description: A test skill that won't parse
---

# Fayling - a skill that fails to parse
- `!`, `?` this line causes the parsing error

## Instructions 
Lorem ipsum
  1. Run claude code and prompt: "use the fayling skill"
  1. Observe the bash error:

Error: Bash command permission check failed for pattern "!, ": This command requires approval

Claude Model

Opus

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.0.76 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗