Skip to main content

Turn published npm, PyPI, and Go packages into clean Markdown for agent supply-chain review before install.

Project description

pkgmd

Turn published npm, PyPI, and Go packages into clean Markdown for agent supply-chain review before install.

License: MIT PyPI Python Claude Code LinkedIn

Installation · Usage · Claude Code Skill · Ecosystems · pkgmd.com


What it does

Every package release is a black box until you open it. pkgmd downloads the published artifact, extracts it, and renders the full source tree as a single Markdown file your agent can read, review, and reason about — before the package ever touches your environment.

Recent supply-chain compromises on Axios, LiteLLM, and Trivy showed that even trusted packages can be compromised at the release level. This tool gives your agent the artifact, not just the metadata.


Installation

pipx install pkgmd

Or with pip:

pip install pkgmd

Usage

pkgmd ingest npm react
pkgmd ingest pypi requests==2.32.3
pkgmd ingest go rsc.io/quote@v1.5.2
pkgmd diff npm react 18.2.0 18.3.0

Leave version blank to resolve the latest published release. Output is written to a .md file in the current directory, or to stdout with -o -.


Claude Code Skill

Install the package-inspect skill to have Claude automatically inspect packages before installing them:

npx @anthropic-ai/claude-code add-skill arsolutioner/pkgmd

The skill teaches Claude to run pkgmd ingest before any npm install, pip install, go get, or equivalent command, and review the digest for signs of compromise.


Supported Ecosystems

Ecosystem Spec format Example
npm name@version react@18.2.0
PyPI name==version requests==2.32.3
Go module@version rsc.io/quote@v1.5.2

License

MIT

Project details


Download files

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

Source Distribution

pkgmd-0.1.0.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

pkgmd-0.1.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

Details for the file pkgmd-0.1.0.tar.gz.

File metadata

  • Download URL: pkgmd-0.1.0.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pkgmd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3ba1f946dd1fb6ce078110cb421967deaf82fb23f8e13eb72a65752e2ad204c0
MD5 e3cb99138481ed54eae2ca1391e2ca4b
BLAKE2b-256 64df32fb6487c8ac9de68b2004bb91c381a636db9ce32864e51071da44af518a

See more details on using hashes here.

File details

Details for the file pkgmd-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pkgmd-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for pkgmd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 485a6dbec94c00b7733c42f8af15c4813be2cba996066b5b2aea7450d8e8894a
MD5 0c3a3bb865c13d08ac3161a0b894b02c
BLAKE2b-256 65ad9d82ca42d62fbd70943009300a25c3dfd7d1663c746f5c2930938a8b6d83

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page