Skip to content

fix: add missing model declarations to 9 skill-source frontmatter files#37

Open
xiaolai wants to merge 1 commit intoagenticnotetaking:mainfrom
xiaolai:fix/nlpm-missing-model-declarations
Open

fix: add missing model declarations to 9 skill-source frontmatter files#37
xiaolai wants to merge 1 commit intoagenticnotetaking:mainfrom
xiaolai:fix/nlpm-missing-model-declarations

Conversation

@xiaolai
Copy link
Copy Markdown

@xiaolai xiaolai commented Apr 21, 2026

Automated audit: This PR was generated by NLPM, a natural language programming linter, running via claude-code-action. Please evaluate the diff on its merits.

Bug

Nine skill-source files (refactor, ralph, verify, learn, reflect, reduce, rethink, reweave, and skills/help) declare allowed-tools in their frontmatter but omit the model field.

Without model, Claude Code cannot select the correct inference tier and falls back to the ambient model — which may be a different tier than what the skill was designed for. This is particularly important for skills like verify and reflect that perform semantic reasoning and benefit from a consistent, explicitly declared model.

All 10 meta-skills in the skills/ directory already declare model: sonnet or model: opus. The skill-source layer is the single gap.

Fix

Added model: sonnet to the frontmatter of all 9 affected files, consistent with the convention already established in the skills/ meta-layer. sonnet is appropriate for all these operational skills; upgrade to opus is straightforward if deeper reasoning is desired for any individual skill.

Files changed

  • skill-sources/refactor/SKILL.md
  • skill-sources/ralph/SKILL.md
  • skill-sources/verify/SKILL.md
  • skill-sources/learn/SKILL.md
  • skill-sources/reflect/SKILL.md
  • skill-sources/reduce/SKILL.md
  • skill-sources/rethink/SKILL.md
  • skill-sources/reweave/SKILL.md
  • skills/help/SKILL.md

Nine skill-source files declared allowed-tools but omitted the model
field. Without it Claude Code cannot select the right inference tier
and falls back to the ambient model, which may differ from the
intended tier.

Co-Authored-By: Claude Code <noreply@anthropic.com>
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.

2 participants