Command Palette

Search for a command to run...

UnylyUnyly
Back to skills

pp-walmart

FreeNo executable scriptsNot checked

Printing Press CLI for Walmart. Reads via orchestra GraphQL. Cart changes are link-only: cart link prints one affil.walmart.com add-to-cart URL for the user…

mvanhornby mvanhorn★ 2,170 GitHub stars

About this skill

Walmart — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the walmart-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install walmart --cli-only
    
  2. Verify: walmart-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/commerce/walmart/cmd/walmart-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Purchase history, grocery search, product and store lookups, cart view and slot listing, plus a cart link builder that prints one Walmart add-to-cart URL for you to open. The CLI never mutates the cart or checks out.

When Not to Use This CLI

Do not activate this CLI for checkout, ordering, purchasing, order changes, cart mutations, slot reservations, or switching between Pickup and Delivery; it cannot do them. To add items, run cart link and give the user the URL to open in their own browser.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

  • orders list — PurchaseHistoryV3 persisted query with --type in-store/online, --status completed/in-progress, --search and cursor paging; read-only.
  • orders get — getOrder line items (name, item id, quantity, line price) plus subtotal, tax, fees and total; customer, address and payment fields are never emitted.
  • search — Parses the server-rendered search page for price, unit price, aisle, availability and pickup/delivery fulfillment at the session's store.
  • orders list — Client refuses non-GET requests and denylisted cart/checkout/slot/order mutations, and stops (no retry) on PerimeterX 412/418/429/456 or /blocked.
  • product get — ItemById persisted query: price, unit price, stock, pickup/delivery/shipping status and seller; shopper location fields are never emitted.
  • store list — nearByNodes query for a ZIP: store id, distance, address, pickup types and hours; view only, never sets a store.
  • cart view — getCart GET with a supplied cart id: items, mode, store and slot-reserved flag; MergeAndGetCart and every cart mutation stay blocked.
  • search — --filter type:value (e.g. brand:Great Value), --sort and --list-filters from the page's sort/filter facets.

HTTP Transport

This CLI uses standard HTTP transport with HTTP/2 disabled for browser-facing endpoints. It does not require a resident browser process for normal API calls.

Recipes

Build a grocery add-to-cart link

walmart-pp-cli cart link 51259338:1 44391152:1 14584700257:1

Check session health

walmart-pp-cli doctor

Command Reference

account — Account landing data used to verify the session, read only

  • walmart-pp-cli account — Account landing page (accountLandingPage persisted query)

orders — Walmart purchase history (online and in-store), read only

  • walmart-pp-cli orders detail — One order with line items and price details (getOrder persisted query)
  • walmart-pp-cli orders history — Purchase history page (PurchaseHistoryV3 persisted query)
  • walmart-pp-cli orders items — Recently purchased items across orders (ItemHistory persisted query)

Shopping commands (hand-built; customer names, addresses, phones and payment data are never emitted)

Link-only writes: reads call orchestra GraphQL. cart link <item[:qty]>… builds https://affil.walmart.com/cart/addToCart?items=id|qty,… and prints it (optional --open / --launch opens the user's default browser). The link ADDS/increments qty on the existing browser cart. It also works signed out: items go into a guest cart and carry over into the account cart when you sign in. There is no cart update/remove, no slots reserve, and no CDP/browser driver. Never checkout or switch Pickup/Delivery.

Read only: orders list|get, search, product get, store list, cart view, slots list [--available].

Cart link (mcp:read-only; prints a URL; does not call the cart API):

  • cart link <item[:qty]>… / cart add … — print one affiliate add-to-cart URL (ADDS to the existing browser cart; works signed out as a guest cart that carries over on sign-in, or signed in); --open / --launch opens the default browser; extra items can go in one comma-separated --items value (th
Full SKILL.md on GitHub

Install pp-walmart in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

Allowed tools

Tools this skill is permitted to call.

Read
Bash

Bundled files

.golangci.yml.goreleaser.yaml.manuscripts/20261009-032035/proofs/link-only-acceptance.md.manuscripts/20261009-032035/proofs/phase5-acceptance.json.manuscripts/20261009-032035/research/NOTES.md.manuscripts/20261009-032035/research/research.json.printing-press-patches/.gitkeep.printing-press-patches/walmart-auth-full-cookie-session.json.printing-press-patches/walmart-cart-slot-commands.json.printing-press-patches/walmart-cookie-fidelity.json.printing-press-patches/walmart-doctor-probes.json.printing-press-patches/walmart-link-only-cart.json.printing-press-patches/walmart-live-reads-and-cookie-expiry-contracts.json.printing-press-patches/walmart-metadata-attribution.json.printing-press-patches/walmart-orchestra-trace-headers.json.printing-press-patches/walmart-read-only-guard.json.printing-press-patches/walmart-readonly-narrative-commands.json.printing-press-patches/walmart-request-fidelity.json.printing-press-patches/walmart-session-check.json.printing-press-patches/walmart-shop-readonly-commands.json.printing-press-pii-polish.json.printing-press-release.json.printing-press.jsonAGENTS.mdCHANGELOG.mdCLAUDE.mdLICENSEMakefileNOTICEREADME.mdapify-actor-audit-report.jsoncmd/walmart-pp-cli/main.gocmd/walmart-pp-mcp/http_auth_test.gocmd/walmart-pp-mcp/main.gogo.modgo.suminternal/cache/cache.gointernal/cli/agent_context.gointernal/cli/api_discovery.gointernal/cli/auth.go

FAQ

What does the pp-walmart skill do?

Printing Press CLI for Walmart. Reads via orchestra GraphQL. Cart changes are link-only: cart link prints one affil.walmart.com add-to-cart URL for the user to open. CLI never mutates the cart; never checkout.

How do I install the pp-walmart skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the pp-walmart skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare pp-walmart with