Skip to content

Add a security rule for creating agent skills #110

Description

@thomas-bartlett

Summary

Add a model-agnostic CodeGuard rule for securely creating and modifying agent skills.

Skills can control tools, files, networks, credentials, and agent behavior, so they should be treated as security-sensitive artifacts.

Related discussion: #43

Proposed guidance

The rule should cover:

  • Using only necessary tools and permissions.
  • Making filesystem, network, shell, and credential access explicit.
  • Avoiding hidden instructions and unsafe commands.
  • Documenting the skill's purpose, inputs, outputs, and dependencies.
  • Reviewing skills before publishing or installing them.

Acceptance criteria

  • A new source rule is added.
  • Relevant examples are included.
  • Validation and existing tests pass.
  • Generated formats and documentation are updated as needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type

    Projects

    Status
    Needs Decision

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions