dist

Commands for packaging and publishing software through the Claude Code Marketplace, Homebrew, PyPI, and curl-based installers. Homebrew is a macOS package manager, PyPI is Python’s package index, and curl installers are shell commands that download and install software.

In plain words
What is it for?
Use it to validate Marketplace plugins, set up or audit Homebrew distribution, and handle PyPI publishing or install-script generation through the related skill.
Why use it?
It organizes release tasks for different distribution channels and provides validation steps before publishing.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/data-wise/craft/dist
Clone the repo
git clone --depth 1 https://github.com/Data-Wise/craft
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,877 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.04877
Opus 5 $0.00000 $0.02439
Sonnet 5 $0.00000 $0.00975
Haiku 4.5 $0.00000 $0.00488

Measured yesterday against content hash ac3a5ecb84aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

dist scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/user/repo/main/install.sh | bash

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> - **What:** 4 commands for packaging and distributing your project (Marketplace, Homebrew/Cask, PyPI, curl installer)
docs/commands/dist.md · 664 lines

How it starts

The opening of the file, as written. The whole thing — 664 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Distribution Commands

⏱️ 10 minutes • 🟡 Intermediate • ✓ Multi-platform packaging

TL;DR (30 seconds)

  • What: 4 commands for packaging and distributing your project (Marketplace, Homebrew/Cask, PyPI, curl installer)
  • Why: Automate release workflows and make your project easy to install across platforms
  • How: Use /craft:dist:marketplace for Claude Code plugins, /craft:dist:homebrew setup for macOS
  • Next: Try /craft:dist:marketplace validate or /craft:dist:homebrew audit to validate your distribution

Craft's distribution commands automate packaging and distribution across Claude Code Marketplace, Homebrew, PyPI, and curl installers.

Note (2026-07 v4 consolidation): /craft:dist:pypi and /craft:dist:curl-install no longer exist as slash commands — both moved to the dist-extras skill. Ask naturally ("publish to PyPI", "generate an install script") instead of running the commands shown below. See skills/distribution/dist-extras/SKILL.md. /craft:dist:homebrew is still a real command.


Commands Overview

Command Purpose Platforms
/craft:dist:marketplace Claude Code marketplace distribution All platforms
/craft:dist:homebrew Homebrew formula automation macOS, Linux
PyPI publishing (moved to dist-extras skill, v4) PyPI package publishing Python (all platforms)
curl-based installer (moved to dist-extras skill, v4) Curl-based installer script All platforms

/craft:dist:marketplace - Marketplace Distribution

Manage Claude Code marketplace listings — generate, validate, test, and publish.

Quick Start

# Validate marketplace config (default)
/craft:dist:marketplace

# Initialize marketplace.json for first time
/craft:dist:marketplace init

# Test local install/uninstall cycle
/craft:dist:marketplace test

# Publish to marketplace
/craft:dist:marketplace publish

Read the full file on GitHub · 664 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 664 lines · 0 tokens per session scan C ac3a5ecb84aa

Subscribe to this mod's changes

dist is a command published in the GitHub repository Data-Wise/craft (4 stars, last pushed 16d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 4,877 tokens. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.