Skip to main content

Agent Skill Infrastructure

From dev to ops: quality check, behavior test runner, and version awareness for Agent Skills.

CI Python 3.12+ License: MIT

Install

# PyPI (recommended)
pip install agent-skill-infra

# With LLM judge support (requires Anthropic API key)
pip install agent-skill-infra[llm]

# From source
git clone https://github.com/Liber1917/agent-skill-infra.git
cd agent-skill-infra
uv sync

CLI Commands

skill-test — Behavior Test Runner

Run evals.json test suites against skills with multi-dimension judgment.

# Run tests
skill-test run tests/fixtures/evals.json

# Output as JSON
skill-test run tests/fixtures/evals.json --output json

# Use mock adapter (no Agent runtime needed)
skill-test run tests/fixtures/evals.json --adapter mock

Judge types: keyword, schema, llm, flow, snapshot

skill-quality — Quality Assessment

Score your SKILL.md against helloandy 8-dimension framework.

# Quick quality check
skill-quality /path/to/skill/SKILL.md

# JSON output
skill-quality /path/to/skill/SKILL.md --output json

# With agent-skill-linter integration
skill-quality /path/to/skill/SKILL.md --lint

# With security scan (requires cisco-scanner)
skill-quality /path/to/skill/SKILL.md --security

skill-version — Version Awareness

Track changes, detect regressions, and roll back safely.

# See what changed between versions
skill-version diff /path/to/skill --old-ref HEAD~3 --new-ref HEAD

# Diff + security analysis
skill-version check /path/to/skill --security

# Roll back to previous version
skill-version rollback /path/to/skill --target-ref HEAD~1 --yes

# Store and compare baselines
skill-version baseline store /path/to/skill case-1 output.txt
skill-version baseline detect /path/to/skill case-1 output.txt

Modules

Module CLI Description
quality_check skill-quality 8-dimension scoring, linter integration, security
test_runner skill-test evals.json runner, 5 judge types, snapshot testing
version_aware skill-version diff, rollback, regression, security diff

Development

# Install dev dependencies
uv sync

# Run tests (162+)
uv run pytest

# Lint & format
uv run ruff check .
uv run ruff format .

# Type check
uv run pyright

# Build
uv build

License

MIT

Metadata

Release files for agent-skill-infra 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for agent-skill-infra 0.3.0
File Size Uploaded
agent_skill_infra-0.3.0.tar.gz 76.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agent-skill-infra 0.3.0
File Interpreter ABI Platform
agent_skill_infra-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 123.9 kB

Release files / agent_skill_infra-0.3.0.tar.gz

Download URL agent_skill_infra-0.3.0.tar.gz
Size 76.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ecaf661f5181c7c92712f5eac9e3bcb1935d058900629d1d5bcbded4dee71656
BLAKE2b-256 checksum
How to use checksums
e41400d3c8c2a4d3a3a9a3964a0a679599b99eeee701c8385406ad53b04e296a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 1, 2026.

Transparency log

Release files / agent_skill_infra-0.3.0-py3-none-any.whl

Download URL agent_skill_infra-0.3.0-py3-none-any.whl
Size 47.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eec50feac88321845c64842886b467b63e7fbf25f258294d461fcb1ddda9435e
BLAKE2b-256 checksum
How to use checksums
16f3fb2e8e21ff32f96b15b1c0576f84c8b093bd70b72a196440be27bc1b6e58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 1, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page