Skip to main content

The quality gate for Agent Skills — validate, secure, conflict-detect, and test skills across their full lifecycle

Project description

skill-guard

The quality gate for Agent Skills.

PyPI version License Python 3.11+

skill-guard is a CLI tool that validates, secures, and governs Agent Skills across their full lifecycle — from contribution to production monitoring.

The Problem

Agent Skills are powerful. They're also ungoverned. As soon as more than one person contributes skills to a shared agent, things break in hard-to-diagnose ways:

  • A new skill's description overlaps with an existing one → agent picks the wrong skill half the time
  • Skills with dangerous scripts get merged because nobody reviewed the scripts/ directory
  • Nobody knows what skills are installed, who owns them, or whether they still work
  • A skill passes every test in isolation but fails when the real agent uses it with 25 other skills loaded

skill-guard is the quality gate that catches these problems before they reach production.

What It Does

ONBOARDING (pre-merge, in CI):
  skill-guard validate   → format compliance + quality scoring
  skill-guard secure     → scan for dangerous patterns  
  skill-guard conflict   → detect trigger overlap with existing skills
  skill-guard test       → inject into staging agent, run evals
  skill-guard check      → run all four as a single gate

ONGOING (post-merge, scheduled):
  skill-guard monitor    → re-run evals, detect drift, manage lifecycle
  skill-guard catalog    → searchable registry of approved skills

Quick Start

pip install agentskill-guard

# Initialize in your skills repo
skill-guard init

# Validate a skill
skill-guard validate ./skills/my-skill/

# Check for security issues
skill-guard secure ./skills/my-skill/

# Check for conflicts with existing skills
skill-guard conflict ./skills/my-skill/ --against ./skills/

# Run the full gate (validate + secure + conflict)
skill-guard check ./skills/my-skill/ --against ./skills/

Installation

# Core (static analysis — no agent required)
pip install agentskill-guard

# With embedding-based conflict detection
pip install agentskill-guard[embeddings]

Requires Python 3.11+.

Documentation

What skill-guard Does NOT Do

  • Does not replace Anthropic's skill-creator for writing skills
  • Does not host or serve skills — skills live in your repo
  • Does not modify skills — it reports issues, authors fix them
  • Does not require a database or server — the catalog is a YAML file in your repo

Contributing

See CONTRIBUTING.md. We welcome contributions of all kinds.

License

Apache 2.0. See LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skill_guard-0.4.2.tar.gz (53.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skill_guard-0.4.2-py3-none-any.whl (44.8 kB view details)

Uploaded Python 3

File details

Details for the file skill_guard-0.4.2.tar.gz.

File metadata

  • Download URL: skill_guard-0.4.2.tar.gz
  • Upload date:
  • Size: 53.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for skill_guard-0.4.2.tar.gz
Algorithm Hash digest
SHA256 c910cbcc78bd5dbf30ab2721c4ae3e5703b70268cf7a051f007384c436289e49
MD5 a053159853aa8b4589859ae1b5db56ad
BLAKE2b-256 7273ca33e46dba87d607f48a435f7c5634fc24e8f929247b52cad3edbf093ad3

See more details on using hashes here.

Provenance

The following attestation bundles were made for skill_guard-0.4.2.tar.gz:

Publisher: publish.yaml on vaibhavtupe/skill-guard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file skill_guard-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: skill_guard-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 44.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for skill_guard-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 75f70b28417dfd884f3bf3fcbeac56ce8e91b5f638aeacc6371e2e04152bb40c
MD5 e4a99ba11a16f184f7de0462ed1be8e2
BLAKE2b-256 0f5db974e4a8dfbf12e19021337b7d6305ca24a4a781f61fd9d58fd6553b6cf7

See more details on using hashes here.

Provenance

The following attestation bundles were made for skill_guard-0.4.2-py3-none-any.whl:

Publisher: publish.yaml on vaibhavtupe/skill-guard

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page