Skip to content

Lock and verify: record a skill's declared name, description and allowed tools, and report when they change #176

Open

Description

@obielin

Part of #76. Builds on #174 and #175.

A skill can widen what it is allowed to do without its code changing much, for example by adding Bash to allowed-tools. That change matters more than an edited sentence, so verify should call it out on its own.

What to build

  • lock reads the frontmatter at the top of each SKILL.md and records name, description and allowed-tools in the skill's entry under "declared". Parsing uses the standard library only: the frontmatter block between the opening and closing --- lines, read as simple key: value lines and lists. If Read SKILL.md frontmatter: rate injection in name and description higher, and check allowed-tools #56 has already added a frontmatter reader, reuse it.
  • verify reports, before the file changes:
    • tools added and tools removed from allowed-tools, by name
    • name changed and description changed, showing old and new
  • Added tools count as a change at HIGH, so they stand out in the summary.

Done when

  • Frontmatter recorded by lock
  • Each kind of declared change reported by verify, with tests
  • A skill with no frontmatter still locks and verifies

Before you start, read CONTRIBUTING.md. Comment /assign here to claim the issue.



Generated by Claude Code

Activity

  1. added
    enhancement
    help wanted
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementhelp wanted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions