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★ 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:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install costco --cli-only - Verify:
costco-pp-cli --version - Ensure the reported install directory is on
$PATHfor 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 --jsonsavings— 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 --jsonreturns-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 receiptcostco-pp-cli orders --warehouse <num>— List online costco.com orderscostco-pp-cli counts— Summarize receipt counts and spend by channel
Analytics (novel)
costco-pp-cli history-depth— Probe how far back your receipts gocostco-pp-cli spend --by <month|warehouse|department>— Roll up spendcostco-pp-cli item-history <query>— Track unit price over timecostco-pp-cli savings— Total instant savings and coupons capturedcostco-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 itemscostco-pp-cli sql <query>— Read-only SQL against the a
Установить pp-costco в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
ReadBashFAQ
Что делает скилл 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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic