Skip to main content

skillcard

grade python status license CI

Quality score cards for Agent Skills. Point it at a SKILL.md, get a beautiful score card and a README badge — plus a list of exactly what to fix to level up.

给 Agent Skill(SKILL.md)生成质量评分卡和 README 徽章——让"晒分数"成为技能包生态的社交货币。

Skill Quality Card


What you get

$ skillcard examples/01-excellent.md

Grade: A  (100.0/100)
  Structure              100
  Trigger accuracy       n/a
  Boundary robustness    n/a
  Instruction clarity    n/a
  Output verifiability   n/a
  Security               clean

card:  skillcard-report/card.png
badge: skillcard-report/badge.svg
json:  skillcard-report/result.json

Three files in ./skillcard-report/:

File What
card.png 680×620 shareable score card — big letter grade, dimension bars, security status
badge.svg shields.io-compatible static badge for your README
result.json Machine-readable result with judge model + prompt hash for reproducibility

Embed the badge in your README:

![skill score](skillcard-report/badge.svg)

Install

pip install git+https://github.com/6xy16/skillcard.git

Usage

# Basic run (L1 structure + L3 security gate)
skillcard path/to/SKILL.md

# Skip LLM review explicitly
skillcard path/to/SKILL.md --no-llm

# Custom output directory
skillcard path/to/SKILL.md --out my-report

# Print JSON to stdout
skillcard path/to/SKILL.md --json

Enable L2 LLM paper review (optional). Install the LLM dependency, then configure the endpoint:

pip install "skillcard[llm] @ git+https://github.com/6xy16/skillcard.git"
export SKILLCARD_API_KEY=sk-...
export SKILLCARD_MODEL=gpt-4o-mini        # optional
export SKILLCARD_BASE_URL=https://...     # optional, any OpenAI-compatible endpoint

How it works

Three layers:

L1 — Structure (deterministic, always on)

10 checks: frontmatter validity, core fields, description length (CJK-aware), vague words, trigger clarity, examples, size, recommended fields, structured body, output verifiability.

L2 — Paper review (LLM judge, optional)

Auto-generates 10 probe requests (should-trigger / borderline / should-not-trigger) and scores 4 dimensions: trigger accuracy, boundary robustness, instruction clarity, output verifiability.

L3 — Security gate (always on)

Scans for prompt-injection and judge-gaming patterns. Not a scored dimension — it's a gate:

  • 0 hits → grade is whatever your quality score says
  • 1 hit → grade capped at B
  • 2 hits → grade capped at D
  • 3+ hits → straight F

Security can't be "bought back" by high quality scores.


Why

The skills ecosystem has millions of indexed skills and zero quality standards. Existing tools are internal linters for developers. skillcard is different: the output is the product — a card worth sharing, a badge worth embedding, and a clear list of what to fix next.

技能包生态有百万级存量,但没有质量标准。现有工具都是给开发者自用的内部工具。skillcard 反过来:输出物本身就是产品——一张值得分享的评分卡,一个值得贴在 README 上的徽章,一份告诉你下一步怎么改的修复清单。


Grades

A (90+) B (80+) C (70+) D (60+) F (<60) — the letter grade is the hero of the card.


Roadmap

  • v0.1 (this) — static checks + paper review, PNG card, static badge, improvement suggestions
  • v0.2 — real agent runs (headless harness), dynamic badge endpoint, multi-model comparison
  • v0.3 — batch scoring, diff between versions, opt-in leaderboard

License

MIT

Metadata

Release files for skillcard 0.1.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 skillcard 0.1.0
File Size Uploaded Provenance Actions
skillcard-0.1.0.tar.gz 22.1 kB Without provenance Details for skillcard-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for skillcard 0.1.0
File Interpreter ABI Platform Actions
skillcard-0.1.0-py3-none-any.whl Python 3 none any Details for skillcard-0.1.0-py3-none-any.whl

Total release size: 41.4 kB

Release files / skillcard-0.1.0.tar.gz

Download URL skillcard-0.1.0.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
03617e36c612b2d4cbd5381c750fc8caf756fd9891bad32d959e4b037d5bcaee
BLAKE2b-256 checksum
How to use checksums
4c3c616f3a705316224d8ff4eba8a3156a13d77abaeadf684bfc4e36c092c9cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / skillcard-0.1.0-py3-none-any.whl

Download URL skillcard-0.1.0-py3-none-any.whl
Size 19.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5394a9e6275a98973b351e15d45fa7b366a692f720feb5fcf735ca5904f31369
BLAKE2b-256 checksum
How to use checksums
4549c7f7641e09d1090e3798c7f7df73cd219c850b2e2d36f6aa3da6f168d076
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for skillcard 0.1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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