Return to Skillex

Packs

Versioned guidance with publisher identity, verified distribution, and explicit activation scope.

Authorized versions of guidance

Packs are part of Skillex. They combine related skills with a version, publisher identity, compatibility requirements, and rules describing where the guidance applies. Distribution needs to establish who is authorized to publish a pack and which exact content belongs to an approved version.

The registry model binds a release to reviewed source, a permitted publisher namespace, and a signed manifest that identifies the released bytes. A consumer can then verify the version it receives against an independently trusted signing identity. This gives people and agents a basis for accepting distributed guidance without relying on a filename, version label, or download location alone.

The signed registry publishing pipeline has an example release in place. Its consumer verification and installation contract is being integrated with Skillex’s existing local-pack resolution. The distribution flow below describes that contract; the local manifest example later on describes the existing activation mechanism.

Publisher identity and review

Registry pack names begin with a verified GitHub user or organization handle, followed by ecosystem, scope, and name. For example, atheory-ai.javascript.tool.example identifies the publisher namespace as well as the subject of the pack. Registry review checks the contributor’s right to use that handle, reserved names, and look-alike identities.

The registry distinguishes canonical core guidance maintained by ATHEORY, official guidance from approved upstream organizations, and community guidance from other verified publishers. These tiers communicate ownership and review expectations. Signing establishes the authorized release identity; the tier helps a consumer decide whether that source fits its policy.

Each version passes automated content and schema checks and human review before publication. CI builds the release artifact from the reviewed source. The release process also produces signing material and build provenance, so the published artifact can be connected to the workflow that produced it.

Signed manifests and exact content

The registry manifest identifies each pack version, its compatibility, and the release archive’s SHA-256 digest. A cosign signature binds the manifest to an expected release workflow identity through GitHub Actions OIDC. The signature bundle carries the certificate and transparency-log evidence needed for verification.

The trusted signer identity and Sigstore root must arrive through an independently trusted channel, such as the engine package or explicitly configured organizational policy. A registry cannot establish its own authority by supplying a new verification identity alongside the content being verified.

The consumer contract has five stages:

  1. Obtain the registry manifest and signature bundle.
  2. Verify the manifest against the required signer identity and trusted root.
  3. Select a compatible version allowed by policy and check whether it has been revoked.
  4. Fetch the archive and compare its SHA-256 with the digest in the verified manifest.
  5. Validate archive contents before making the pack available to local resolution.

A failed signature or mismatched digest rejects the release before its contents become installed guidance. The digest identifies exact bytes; the verified signature establishes who authorized the manifest containing that digest. Per-release build provenance adds evidence about how the artifact was produced. The manifest and digest checks remain the essential distribution boundary.

Updates, revocation, and registry policy

Approval of one version must not silently authorize arbitrary future content under the same name. A new release goes through review and publication again, and a consumer must verify the newly selected version. Compatibility and policy constrain which releases are eligible.

The registry design includes signed revocation information for withdrawn versions. Consumers must check authenticated revocation state before installing or refreshing a release. Offline verification can establish the integrity of cached signed material; detecting a newly withdrawn version requires sufficiently current revocation information.

Multiple registries introduce another boundary. Their order can determine which eligible source is selected, while publisher trust determines who may authorize that namespace. The federation contract preserves the required ATHEORY signing root for atheory-ai.* even when a different registry serves the content. A mirror can serve an authorized release; changing the source must not grant permission to impersonate its publisher.

Policy can further limit eligible tiers, licenses, ecosystems, or scopes. Private registries and broader federation remain development work. The important contract is that source precedence, publisher authorization, compatibility, and consumer policy all participate in resolution.

Content safety and execution authority

Registry skill packs are restricted to documentation and metadata formats: .md, .yaml, .yml, .json, and .txt. The distribution contract excludes install hooks and executable payloads. Extraction also rejects unsafe archive entries, including symlinks and absolute paths.

Text can still influence an agent’s actions. Automated checks and human review address suspicious instructions, hidden characters, misleading identities, and overly broad activation. A valid signature establishes that content belongs to an authorized release; it cannot establish that every instruction is correct or harmless.

An agent must apply guidance within the user’s request and existing permissions. Installing a pack grants no additional tool authority, credentials, or right to override higher-priority instructions. Where a local pack suggests MCP capabilities, trusted user or enterprise configuration remains responsible for transport and credential authorization.

Local activation

A project, package, or module can also keep skills and activation rules alongside its code. A framework community can distribute guidance with a dependency, while a repository retains its own conventions.

Project-local packs activate during registry refresh when matching files, dependencies, or detector values are present. This determines applicability. It does not establish the signed publisher authorization described above: a local manifest and an authorized registry release enter the system through different trust boundaries.

Manifest locations

Skillex discovers project-local manifests at:

skillex/pack.yaml
skillex/packs/*/pack.yaml

Skill paths are relative to the manifest. Activation rules describe the relevant context; scope determines where the guidance applies.

Example: Docker guidance

This example follows the documented manifest format:

name: docker
version: 1.0.0
description: Docker guidance for repositories with Dockerfiles.

detectors:
  docker:
    matches:
      - file:
          path: Dockerfile

skills:
  - file: docker.md
    activate-when:
      detector: docker
    scope: subtree

The referenced docker.md contains the guidance. A co-located docker.test.md can describe validation scenarios. Refresh builds the registry from the manifest and workspace facts; an agent then queries for applicable skills.

Activation and scope

Activation determines whether a pack’s guidance enters the applicable set for the current workspace. Scope determines where an activated skill applies. Keeping these separate allows a repository to recognize a technology without making its instructions relevant to every file.

A detector can establish a workspace fact, such as the presence of a Dockerfile. The activation rule refers to that fact. The declared scope then bounds the skill’s use. A successful detection does not establish that the skill fits every Docker-related task; its content and metadata still need to describe the work it covers.

Maintaining distributed guidance

Guidance shipped with a package can evolve alongside that package’s interface. Repository-local guidance can retain team conventions alongside the source. Resolution needs to preserve the relevant version and boundary when both sources are present.

Changing a manifest, dependency, detector input, or skill requires a registry refresh before queries can reflect the new state. Validation should include both positive and negative scenarios: when a skill should be selected, and when a nearby scope or unrelated task should exclude it. This tests applicability rather than merely confirming that a manifest can be read.

Packs make the conditions for guidance inspectable. Their usefulness depends on accurate rules and instructions, and on an actor reading the selected material before applying it.

Resolution and use

The Skillex technical guide explains indexing, version and scope resolution, query commands, and a complete selection example. The Skillex project page provides installation and setup.

The pack registry documentation explains release signing, publisher review, and distribution policy. The engine documentation defines the local manifest fields and activation behaviour.

Further reading