Skip to main content

Aptitude Publisher

PyPI GitHub Python uv CLI

Review-first CLI for validating and publishing Aptitude skills.


Install

Install the published package as a CLI tool:

uv tool install aptitude-publisher
aptitude-publisher --help

Run it without a persistent install:

uvx aptitude-publisher --help

The package installs this console command:

  • aptitude-publisher
  • aptitude-publisher-mcp

Configure Registry Access

Publisher uploads require a registry publish token:

export APTITUDE_PUBLISH_TOKEN=publisher-token

The packaged CLI and MCP server use https://api.aptitude-registry.dev by default. For local development or a self-hosted registry, override it:

export APTITUDE_REGISTRY_URL=http://127.0.0.1:8000

Relationship and existing-skill checks can also use a read token:

export APTITUDE_READ_TOKEN=reader-token

Performance Evaluation

Automatic Upskill case generation and evaluation currently use one OpenAI model: gpt-4.1-mini. Set OPENAI_API_KEY before inspection; do not configure multiple UPSKILL_MODELS values for publisher evaluation.

export OPENAI_API_KEY=...
export UPSKILL_PROVIDER=openai
export UPSKILL_MODELS=gpt-4.1-mini

MCP Server

Run the local stdio MCP server directly from PyPI:

uvx aptitude-publisher mcp

For a persistent installation, use aptitude-publisher mcp or the direct aptitude-publisher-mcp executable. The process waits for an MCP host; it does not display the guided terminal wizard.

{
  "mcpServers": {
    "aptitude-publisher": {
      "command": "uvx",
      "args": ["aptitude-publisher", "mcp"],
      "env": {
        "APTITUDE_PUBLISH_TOKEN": "replace-with-publish-token"
      }
    }
  }
}

aptitude_publisher_inspect_skill runs the local evaluation pipeline and writes .publisher_artifacts/ trace files. aptitude_publisher_publish_skill reruns that evaluation and can mutate registry state, so it requires an explicit slug, publish intent, and confirm_upload=true. Credentials are read only from the server environment and are never accepted as tool inputs. Admin batch upload and remote HTTP transport are outside the MCP v1 surface.


Usage

Launch the guided publisher wizard:

aptitude-publisher

Inspect a skill folder before publishing:

aptitude-publisher inspect /path/to/skill

Run the full local flow and stop before upload:

aptitude-publisher publish /path/to/skill --dry-run

Publish a skill to the configured registry:

aptitude-publisher publish /path/to/skill --intent create_skill

Upload multiple skills concurrently with an admin-scoped registry token:

export APTITUDE_ADMIN_TOKEN=admin-token
aptitude-publisher admin-batch-upload /path/to/skill-a /path/to/skill-b --intent create_skill

Batch upload runs local scans and uploads in the background with a visible progress bar, then prints only a final summary. It defaults to --scan-profile fast, --trust-tier verified, and --artifact-origin verified; pass --scan-profile full for deeper pre-upload checks. When an admin token is set, the guided wizard also offers a batch-upload path that accepts one directory containing skill folders and starts immediately with those defaults.

Publish a new version of an existing skill:

aptitude-publisher publish /path/to/skill --intent publish_version

Override identity fields when needed:

aptitude-publisher publish /path/to/skill \
  --slug my-skill \
  --version 1.0.0 \
  --publisher-identity my-team

Skill Folder Contract

A publish-ready source is a local skill folder with a required SKILL.md file. The publisher reads the SKILL.md frontmatter for registry identity, version, metadata, schemas, and relationships.

Generated files under .publisher_artifacts/ are local trace artifacts. They are not source files to author, and they are excluded from the immutable upload bundle.


What Works Today

  • guided inspect, publish, and admin batch-upload wizard
  • skill-root discovery from local folders or explicit paths
  • registry identity derivation from SKILL.md frontmatter
  • create-skill and publish-version intent handling
  • relationship normalization and registry existence alerts
  • metadata extraction for public skill facts and generated estimates
  • SKILL.md contract validation
  • LLM Guard security scanning over skill text and companion files
  • Upskill-backed performance evaluation when configured
  • weighted publish ranking and block/allow decisions
  • deterministic tar.zst bundle creation
  • registry upload with multipart artifact delivery
  • admin batch upload with summary-only output

Source

Source and contributor documentation live in the project repository:

https://github.com/aptitude-stack/publisher

Download files

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

Source Distribution

aptitude_publisher-0.1.13.tar.gz (71.3 kB view details)

Uploaded Source

Built Distribution

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

aptitude_publisher-0.1.13-py3-none-any.whl (85.9 kB view details)

Uploaded Python 3

File details

Details for the file aptitude_publisher-0.1.13.tar.gz.

File metadata

  • Download URL: aptitude_publisher-0.1.13.tar.gz
  • Upload date:
  • Size: 71.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for aptitude_publisher-0.1.13.tar.gz
Algorithm Hash digest
SHA256 98c236edcfaafdae19514ddf3331b63ef2927ad5dde8319db5488d99275e2c84
MD5 cef739c14bf1c9298e13b9a4b0fdafa4
BLAKE2b-256 3f2d5cc0f6997d9a3f74e939991d7fbedcb56eb53f6b64371b3db31e24efb572

See more details on using hashes here.

File details

Details for the file aptitude_publisher-0.1.13-py3-none-any.whl.

File metadata

  • Download URL: aptitude_publisher-0.1.13-py3-none-any.whl
  • Upload date:
  • Size: 85.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for aptitude_publisher-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 9304aa39da2f172bf0006c342f1ba7f06ad4de714567fca885879f4197b61635
MD5 d037d3339b1c2e92a94eadb3b4824829
BLAKE2b-256 50d5eeabc3f628e88c498917e57064b8e4c456e7b61ec82b15bb8649d0bfb94b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

This release

0.1.13 This release

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.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