⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

v1.8.0

tracemantle

moonrunnerkc@moonrunnerkc⭐ 26 stars· last commit 11d ago· 2 open issues

Validates and scores SKILL.md files against the agentskills.io specification; use when linting skills for cross-agent compatibility, description quality, or capability graph structure.

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐⭐ 26 on GitHubGitHub ↗

Growing

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

TraceMantle

TraceMantle checks SKILL.md files for developers who write or maintain agent skills, finding invalid frontmatter, missing files, and portability problems before commit or CI. Optional evidence tracking helps you check whether earlier results still apply after a skill or its helpers change.

Quick start

Requires Python 3.10 or later. Create an isolated environment and install the published release:

python -m venv .venv
source .venv/bin/activate
python -m pip install tracemantle==1.8.0
tracemantle hello/SKILL.md

Use the path to your own skill in the last command. On Windows PowerShell, activate with .venv\Scripts\Activate.ps1. Need a first file? Copy the small getting-started example.

Basic validation runs locally with no account, evaluator, signing key, or evidence policy. The default token estimate is offline.

Read the result

The getting-started example produces:

✔ PASS  hello/SKILL.md
            · info              description.quality-score  Description quality score: 95/100.

Checked 1 file: 1 passed, 0 failed

This file has no validation errors. The score is heuristic advice. For failures, fix the reported rule at the named file and line, then rerun. Passing file validation does not prove that a skill behaves correctly in a live agent.

Scan a directory with tracemantle skills/. Errors return a nonzero exit code; add --strict to fail on warnings too. Use --format json for structured results or --help for options.

Optional evidence checks

Use evidence checks when a release needs approved results or you need to detect helper changes that invalidate earlier results. The evidence workflow distinguishes manual approval from protected automation and neutral JSON imports.

Per-check maintenance reuse remains experimental. In the maintainer SARIF study, TraceMantle and a simple cache made the same justified skips, but both were slower than fresh execution.

Task guides

Contribute · Report an issue · Changelog · MIT license

// HOW IT'S BUILT

// FILES

2 files shipped with this skill. Inline text is the catalog copy. The upstream link is the source repository.

  • skills/tracemantle/SKILL.md4.9 KBb44329b505ccupstream ↗
    ---
    name: tracemantle
    description: Validates and scores SKILL.md files against the agentskills.io specification; use when linting skills for cross-agent compatibility, description quality, or capability graph structure.
    version: "1.8.0"
    author: "moonrunnerkc, Aftermath Technologies Ltd"
    ---
    
    TraceMantle is a local static analyzer for SKILL.md files. It validates frontmatter structure, scores advisory description features, checks file references, and extracts a capability graph from heading and backtick-reference patterns. Run it before committing a skill, plugging it into CI, or publishing to a skill registry.
    
    ## Prerequisites
    
    - path - the SKILL.md file or directory to validate
    - prompt.txt - optional file path for a saved agent prompt (critique or graph extraction)
    - response.json - optional file path for an agent-provided JSON response
    
    ## Validate a skill
    
    Pass `path` to `tracemantle` for a full structural check against the agentskills.io specification. Validates name constraints, description quality, body sizing, file references, and cross-agent compatibility. The `validation report` is written to stdout. Exit codes: 0 no errors, 1 errors found, 2 input error (missing file), 3 symbolic passed but semantic critique flagged errors.
    
    ```bash
    tracemantle <path>
    tracemantle <path> --format json
    ```
    
    ## Review a skill with an agent
    
    tracemantle generates a structured critique prompt for `path` and ingests `response.json` as the agent's reply. Save the emitted prompt to `prompt.txt`. The merged `validation report` combines symbolic diagnostics and semantic findings from the critique.
    
    ```bash
    tracemantle <path> --emit-critique-prompt > prompt.txt
    ```
    
    Hand `prompt.txt` to your agent. The agent returns JSON. Save the response as `response.json`, then ingest it.
    
    ```bash
    tracemantle <path> --ingest-critique response.json
    ```
    
    Pass `--critique-agent codex` or `--critique-agent cursor` to select a prompt variant tuned for that platform. The critique JSON schema is identical across all agent targets.
    
    ## Extract a capability graph
    
    tracemantle extracts the `capability graph` from heading structure and backtick references in the body of `path`. Use `prompt.txt` for emitted graph prompts and ingest `response.json` from your agent for richer extraction.
    
    Run graph analysis using the heuristic extractor (no agent needed):
    
    ```bash
    tracemantle <path> --analyze-graph
    ```
    
    For richer extraction, emit the graph prompt, run it through your agent, and ingest the response:
    
    ```bash
    tracemantle <path> --emit-graph-prompt > prompt.txt
    tracemantle <path> --ingest-graph response.json
    ```
    
    Print the graph to stdout:
    
    ```bash
    tracemantle <path> --emit-graph
    tracemantle <path> --emit-graph --format json
    ```
    
    When both heuristic and agent graphs are available, tracemantle compares them and emits `graph.contradiction.heuristic_disagreement` at error severity for agent-claimed edges that the heuristic does not confirm.
    
    ## Check validation history
    
    Append a record to the `validation ledger` for each `--history` run on `path`. The validation history uses immutable per-run records outside the skill bundle, under its parent evidence directory. Legacy history is read without being moved or deleted.
    
    ```bash
    tracemantle <path> --history
    tracemantle <path> --show-history
    tracemantle <path> --show-history --format json
    ```
    
    Each record stores a timestamp, TraceMantle version, bundle/configuration digests, validation modes and per-file results. Comparable prior passing records can produce a history regression warning. Legacy text hashes alone do not establish revision equivalence.
    
    ## Compare release evidence
    
    Use `path` with the manifest command to identify skill content and all packaged resources. Import evaluator output into a selected evidence store outside the bundle. Compare baseline and candidate bundles with policy and approved evidence from a trusted base commit. Missing evidence blocks release as unknown; imported model judgments are not proof of observed skill invocation. TraceMantle does not run agents or imported checkers.
    
    ```bash
    tracemantle manifest <bundle> --format json
    tracemantle compare <baseline> <candidate> --trusted-root <trusted-repo> --base-revision <full-commit-sha> --format json
    ```
    
    Ordinary validation needs no evaluator, account, evidence store or policy. Passing static validation does not prove live agent behavior.
    
    Available since 1.7.0: import canonical records with the neutral input format. Schema-2 policies can authorize scoped automation keys to approve complete records for a protected run without recurring digest commits. Existing schema-1 digest approval and additional signature requirements retain their meaning. The evidence workflow guide documents deployment and migration.
    
    ## Outputs
    
    - validation report - diagnostic output written to stdout
    - capability graph - graph of capabilities, inputs, and outputs extracted from the skill body
    - validation ledger - immutable validation records outside the evaluated bundle
    
  • README.mdupstream ↗

    Contents are not inlined in the catalog. Open the upstream file.

Plain-text copy, no login: /skill-bundles/moonrunnerkc-tracemantle-skills-tracemantle.md

// REPO STATS

26 stars
2 open issues
Last commit: 11d ago