Claude
Skills
Sign in
Back

pp-harris-teeter

Included with Lifetime
$97 forever

Printing Press CLI for Harris Teeter. Harris Teeter grocery shopping API discovered from the logged-in web app

Web Dev

What this skill does

<!-- GENERATED FILE — DO NOT EDIT.
     This file is a verbatim mirror of library/commerce/harris-teeter/SKILL.md,
     regenerated post-merge by tools/generate-skills/. Hand-edits here are
     silently overwritten on the next regen. Edit the library/ source instead.
     See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->

# Harris Teeter — Printing Press CLI

## Prerequisites: Install the CLI

This skill drives the `harris-teeter-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:
   ```bash
   npx -y @mvanhorn/printing-press-library install harris-teeter --cli-only
   ```
2. Verify: `harris-teeter-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.3 or newer):

```bash
go install github.com/mvanhorn/printing-press-library/library/commerce/harris-teeter/cmd/harris-teeter-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.

## When Not to Use This CLI

Do not activate this CLI for requests that require creating, updating, deleting, publishing, commenting, upvoting, inviting, ordering, sending messages, booking, purchasing, or changing remote state. This printed CLI exposes read-only commands for inspection, export, sync, and analysis.

## Unique Capabilities

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

### Browser-backed reachability
- **`auth login --chrome`** — Read Harris Teeter session cookies from the already logged-in Chrome session, falling back through agent-browser/browser-use when standalone cookie tools are missing.

  _Use this first when the CLI reports auth errors or a browser session has changed._

  ```bash
  harris-teeter-pp-cli auth login --chrome
  ```

### Store-context grocery reads
- **`products search`** — Search Harris Teeter products using the browser-observed Atlas search endpoint with location, fulfillment method, and LAF/modality headers.

  _Use this to inspect current store-specific grocery results from a terminal or agent workflow._

  ```bash
  harris-teeter-pp-cli products search --query milk --location-id 09700096 --page-size 5 --json --no-input
  ```
- **`products get`** — Fetch full product, offer, nutrition, inventory, and variant projections by UPC/GTIN through the logged-in Atlas product endpoint.

  _Use this when an agent needs exact item metadata without scraping a rendered product page._

  ```bash
  harris-teeter-pp-cli products get --upc 0007203673813 --json --no-input
  ```

### Account-aware savings
- **`coupons`** — List Harris Teeter digital coupons from the authenticated web endpoint, including optional UPC filtering.

  _Use this to check available savings before building a grocery list._

  ```bash
  harris-teeter-pp-cli coupons --page-size 5 --json --no-input
  ```
- **`cart`** — Inspect the authenticated Harris Teeter cart and shopping-list surfaces without exposing mutating checkout or order actions.

  _Use this when an agent needs to understand the current cart state without changing it._

  ```bash
  harris-teeter-pp-cli cart --json --no-input
  ```

## HTTP Transport

This CLI uses Chrome-compatible HTTP transport for browser-facing endpoints. It does not require a resident browser process for normal API calls.

## Discovery Signals

This CLI was generated with browser-observed traffic context.
- Capture coverage: 166 API entries from 889 total network entries
- Protocols: rest_json (75% confidence)
- Auth signals: bearer_token — headers: Authorization; api_key — query: filter.keyword, key
- Generation hints: browser_http_transport, requires_protected_client, weak_schema_confidence
- Candidate command ideas: create_EdClXAWAB — Derived from observed POST /qB1py7FxiRxje/xBaRro/nGmSVUVg/N3irhr9NJ5N5cQ/dW1ccAkbBg/G3J/EdClXAWAB traffic.; create_dont_forget_usual_products — Derived from observed POST /atlas/v1/recommendations/v1/dont-forget-usual-products traffic.; create_echoData — Derived from observed POST /clickstream/v1/echoData traffic.; create_events — Derived from observed POST /clickstream/v1/events traffic.; create_preferences — Derived from observed POST /atlas/v1/modality/preferences traffic.; create_prioritized_carousels — Derived from observed POST /atlas/v1/search/v1/prioritized-carousels traffic.; create_qESoJeGYu — Derived from observed POST /qB1py7FxiRxje/xBaRro/nGmSVUVg/p8irhr9N/Ph5ncAkbBg/V3l/qESoJeGYu traffic.; create_realtimeconversion — Derived from observed POST /track/realtimeconversion traffic.
- Caveats: empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.; empty_payload: API-looking request returned an empty or null payload; schema confidence is weak.

## Command Reference

**account** — Inspect logged-in customer preferences and membership state.

- `harris-teeter-pp-cli account enrollments` — List membership enrollments and benefits for the current account.
- `harris-teeter-pp-cli account preferences` — List customer preferences for the logged-in account.

**cart** — Inspect the logged-in account cart.

- `harris-teeter-pp-cli cart` — List carts for the current logged-in Harris Teeter account.

**coupons** — List available digital coupons and coupon-product links.

- `harris-teeter-pp-cli coupons` — List available digital coupons, optionally filtered by UPC.

**lists** — Inspect Harris Teeter shopping lists.

- `harris-teeter-pp-cli lists get` — Get a shopping list by ID.
- `harris-teeter-pp-cli lists list` — List shopping lists for the current logged-in account.

**products** — Search Harris Teeter products, look up item details, and inspect search facets.

- `harris-teeter-pp-cli products get` — Get full product, offer, nutrition, inventory, and variant details by UPC/GTIN.
- `harris-teeter-pp-cli products related-tags` — Get related search tags for a query and location.
- `harris-teeter-pp-cli products search` — Search products for a store location and fulfillment method.
- `harris-teeter-pp-cli products suggestions` — Get search suggestions for a query and location.
- `harris-teeter-pp-cli products visual-navigations` — Get visual navigation categories shown on search pages.

**recommendations** — Inspect personalized grocery recommendations from the web app.

- `harris-teeter-pp-cli recommendations better-for-you` — Get better-for-you product recommendations.
- `harris-teeter-pp-cli recommendations purchase-history-homepage` — Get homepage purchase-history shortcuts for the logged-in account.
- `harris-teeter-pp-cli recommendations start-my-cart` — Get the Start My Cart product recommendations shown on the homepage.

**stores** — Find Harris Teeter stores and store metadata.

- `harris-teeter-pp-cli stores` — Find store

Related in Web Dev