Skip to main content

TraceMantle

Validate agent skills and check the evidence behind a release.

CLI reference · Report a bug or request a feature

CI status PyPI version Python versions MIT license
Contents
  1. About the project
  2. Getting started
  3. Usage
  4. Integrations
  5. Contributing
  6. License and contact

About the project

TraceMantle is a Python CLI and library for checking agent skill bundles before they are committed or released. It provides:

  • Skill validation: checks SKILL.md frontmatter, file references, size limits and compatibility advice against the Agent Skills specification.
  • Bundle tracking: hashes skill files and packaged resources so helper changes are detected too.
  • Evidence checks: imports evaluator results and compares bundles against trusted policies. Missing, stale or incompatible evidence blocks the gate.

TraceMantle analyzes files; it does not execute skills or evaluators. Static checks and imported model judgments do not prove that a skill works in a live agent.

Getting started

Requires Python 3.10 or later. Install in a virtual environment:

python -m venv .venv
source .venv/bin/activate
python -m pip install tracemantle==1.6.1
tracemantle --version

Version 1.6.1 corrects dependency discovery across Markdown headings and rejects numeric overflow in evidence imports. See the changelog and implementation ledger for behavior and verification.

On Windows PowerShell, activate with .venv\Scripts\Activate.ps1. Replacing SkillCheck? Follow the migration guide before installing.

Usage

Validate a skill, scan a directory, or inspect a bundle:

tracemantle path/to/SKILL.md
tracemantle path/to/skills/ --strict --format json
tracemantle path/to/SKILL.md --analyze-graph
tracemantle manifest path/to/skill --format json

Validation exits 0 when it passes and nonzero on errors; --strict also fails on warnings. Text, JSON and GitHub annotation output are supported.

For release evidence, use import-evidence and compare with a trusted base revision and approved evidence. The evidence workflow covers setup, supported imports and runnable examples.

Configure defaults in tracemantle.toml or [tool.tracemantle] in pyproject.toml. Explicit CLI flags take precedence. Token counting uses an offline estimate by default; optional tiktoken counting must be selected explicitly.

See the CLI and configuration reference, compatibility profiles and input limits for details.

Integrations

Use the composite GitHub Action pinned to a release:

- uses: moonrunnerkc/tracemantle@v1.6.1
  with:
    path: skills/

Action inputs control validation and reporting. Versions before 1.6.0 contain the older SkillCheck implementation. A pre-commit hook, Python API and installed skill are also included.

Contributing

1407 tests cover validation, CLI integrations, bundle identity and evidence checks. CI runs Python 3.10 through 3.13 on Linux, macOS and Windows, plus optional-tokenizer and clean package-install checks.

See CONTRIBUTING.md for development setup and verification. Submit fixes through pull requests; use issues for bugs and proposals. Changes are recorded in the changelog.

License and contact

MIT. Maintained by moonrunnerkc, Aftermath Technologies Ltd.

Download files

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

Source Distribution

tracemantle-1.6.1.tar.gz (479.8 kB view details)

Uploaded Source

Built Distribution

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

tracemantle-1.6.1-py3-none-any.whl (147.3 kB view details)

Uploaded Python 3

File details

Details for the file tracemantle-1.6.1.tar.gz.

File metadata

  • Download URL: tracemantle-1.6.1.tar.gz
  • Upload date:
  • Size: 479.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tracemantle-1.6.1.tar.gz
Algorithm Hash digest
SHA256 bc755e358264b578bfbc387e1d6f2a30c5af81e1663501680f511493a6953b0c
MD5 831463917382d79ac3154ee1c00af28d
BLAKE2b-256 6d49214d7f67a2cbc7003a8f6c39565b8cd751c24c4e91b867009cc1d17fd9da

See more details on using hashes here.

Provenance

The following attestation bundles were made for tracemantle-1.6.1.tar.gz:

Publisher: release.yml on moonrunnerkc/tracemantle

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

File details

Details for the file tracemantle-1.6.1-py3-none-any.whl.

File metadata

  • Download URL: tracemantle-1.6.1-py3-none-any.whl
  • Upload date:
  • Size: 147.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tracemantle-1.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93d3bec4201319bd6769482de6cf592372f08915ce164bffb4f7d3cefc7348f6
MD5 49f7eeb51f8ae21bb62fc6b6ea3aa56a
BLAKE2b-256 9f883ba58cf9224b7161d5bd85acdcbf2cc86f65c8bf8bb59f838d6c19dd3b70

See more details on using hashes here.

Provenance

The following attestation bundles were made for tracemantle-1.6.1-py3-none-any.whl:

Publisher: release.yml on moonrunnerkc/tracemantle

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

Release history Release notifications | RSS feed

This release

1.6.1 This release

2 files

1.6.0

2 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