Skip to main content

logion-skillmap

Deterministic package-map inference engine for Logion.

This package depends on PyYAML as its single runtime dependency. It infers a PackageMap from repository trees by checking for:

  1. An explicit logion-package-map.yaml at the repo root (author map).
  2. A .claude-plugin/plugin.json or .claude-plugin/marketplace.json manifest (plugin manifest).
  3. SKILL.md / skill.md files (skill scan).

Installation

pip install logion-skillmap

Package map schema

The map is nested (package + components); capabilities is a mapping keyed by capability name:

version: 1
package:
  slug: my-package
components:
  capabilities:
    pr-review:
      entrypoint: skills/pr-review/SKILL.md
      capabilities_manifest: skills/pr-review/course/capabilities.yaml
      dependencies:
        - capability: diff-reading
          reason: "delegates hunk parsing"
    diff-reading:
      entrypoint: skills/diff-reading/SKILL.md
  runtime:
    include: ["skills/**"]
    entrypoint: skills/pr-review/SKILL.md
  source:
    include: ["src/**"]
    exclude: ["**/node_modules/**"]
  evals:
    commands:
      verify: "npm test"   # stored, never executed by this package

Usage

from logion_skillmap import (
    check_unknown_keys_raw,
    infer,
    parse_package_map,
    validate_package_map,
)

# Parse an author-provided map (raises TypeError only for non-mapping YAML).
pm = parse_package_map(yaml_text)

# Validate: check_unknown_keys_raw needs the raw mapping; validate_package_map
# covers everything derivable from the parsed model. Both return MapWarnings.
import yaml

warnings = check_unknown_keys_raw(yaml.safe_load(yaml_text))
warnings += validate_package_map(pm)

# Or infer a map deterministically from a repository tree.
result = infer(tree_entries, read_blob_callback)  # optional: slug=...

Metadata

Release files for logion-skillmap 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 logion-skillmap 0.1.0
File Size Uploaded Provenance Actions
logion_skillmap-0.1.0.tar.gz 13.7 kB With provenance Details for logion_skillmap-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 30.7 kB

Release files / logion_skillmap-0.1.0.tar.gz

Download URL logion_skillmap-0.1.0.tar.gz
Size 13.7 kB
Tags Source
SHA-256 checksum
How to use checksums
54d4d5c7239ce094ed72c74636ce697981860d30818c4c8ba2e75387cfd7ba80
BLAKE2b-256 checksum
How to use checksums
3476148dfa0f478b19d0eafe799ce893b8ff9722edd67b280e2126e8f97d80a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 22, 2026.

Transparency log

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

Download URL logion_skillmap-0.1.0-py3-none-any.whl
Size 17.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b64ebd4af75d76991e8da9a97daac4d38fbfbc4af4c33ac839136c71c3ff0c14
BLAKE2b-256 checksum
How to use checksums
4769f82d0f3a753a46f9bf14002e3806acbd9f48a19705080ca2d92a0cecc61b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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 Jul 22, 2026.

Transparency log

Security for logion-skillmap 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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for logion_skillmap-0.1.0.tar.gz

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 Jul 22, 2026.

Transparency log

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 Full 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