Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-costco

БесплатноБез исполняемых скриптовНе проверен

Your complete Costco receipt history as data — past the website's 2-year wall, in a local database the site never gives you. Trigger phrases: `get my costco…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Costco — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the costco-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 costco --cli-only
    
  2. Verify: costco-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/costco/cmd/costco-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.

Costco's site shows receipts in 6-month chunks up to 2 years, but the backend serves more. This CLI pulls in-warehouse, gas, and online purchase history over any date range, probes how far back your account actually goes with history-depth, computes spend and item-price-history analytics on the fly, and builds a local SQLite archive (sync) for offline SQL and search.

When to Use This CLI

Use this CLI when an agent or user needs Costco purchase history as structured data: pulling receipts past the 2-year UI cap, archiving line items locally, computing spend or savings totals, or tracking an item's price over time. It is read-only and member-scoped.

Anti-triggers

Do not use this CLI for:

  • Do not use this CLI to place or modify Costco orders — it is read-only.
  • Do not use it to browse the public product catalog or check prices for items you have not purchased.
  • Do not use it for membership signup, returns processing, or any account mutation.

Unique Capabilities

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

Reach past the UI

  • history-depth — Discover how far back your Costco receipts actually go, past the website's 2-year UI cap.

    Reach for this to answer 'can I get receipts older than two years' — it probes the live API boundary instead of trusting the UI.

    costco-pp-cli history-depth --json
    

Local state that compounds

  • spend — Roll up your spend by month, warehouse, or department over a date range.

    Use when an agent needs spend totals or trends the website never computes.

    costco-pp-cli spend --by month --json
    
  • savings — Total the instant savings and coupons you captured over a date range.

    Use to quantify how much Costco deals actually saved you.

    costco-pp-cli savings --since 2024-01-01 --json
    
  • returns-window — Flag recently purchased items still inside a return window you set.

    Reach for this to find what you can still return before a deadline.

    costco-pp-cli returns-window --days 90 --json
    

Spend insight

  • item-history — Track one item's unit price across every receipt over time.

    Pick this to see whether a recurring buy has crept up in price.

    costco-pp-cli item-history "rotisserie chicken" --json
    

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.

Command Reference

Receipt data

  • costco-pp-cli receipts — List in-warehouse, gas, and carwash receipts (--since, --until, --years, --type, --csv)
  • costco-pp-cli receipt get <barcode> — Full line-item detail for one receipt
  • costco-pp-cli orders --warehouse <num> — List online costco.com orders
  • costco-pp-cli counts — Summarize receipt counts and spend by channel

Analytics (novel)

  • costco-pp-cli history-depth — Probe how far back your receipts go
  • costco-pp-cli spend --by <month|warehouse|department> — Roll up spend
  • costco-pp-cli item-history <query> — Track unit price over time
  • costco-pp-cli savings — Total instant savings and coupons captured
  • costco-pp-cli returns-window --days <n> — Items still inside a return window

Local archive

  • costco-pp-cli sync — Fetch receipts into SQLite archive (idempotent)
  • costco-pp-cli search <term> — Search synced line items
  • costco-pp-cli sql <query> — Read-only SQL against the a
Полный SKILL.md на GitHub

Установить pp-costco в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

FAQ

Что делает скилл pp-costco?

Your complete Costco receipt history as data — past the website's 2-year wall, in a local database the site never gives you. Trigger phrases: `get my costco receipts`, `how far back do my costco receipts go`, `costco spend this year`, `costco receipt history past 2 years`, `export my costco purchases`, `use costco`, `run costco`.

Как установить скилл pp-costco?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-costco запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-costco с