/shopping-aggregator:shopping-aggregatorfrom shopping-aggregator
Compares prices, evaluates deals, finds cheapest hotels/flights, and executes purchases on instruction. Handles buy intent parsing, landed cost calculation, seller tier evaluation, coupon testing, and buy/wait timing decisions.
Ships in shopping-aggregator. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Compare purchases using current evidence and the price/coverage rules below. Delegate retrieval, history and side research to available tools; this skill adds only the shopping layer (intent, landed cost, seller tiers, coupon tests, the time axis) and never rebuilds what those tools already do. Reasons and rejected alternatives for these rules: PHILOSOPHY.md.
Resolve reference/ and scripts/ relative to this file and run scripts/
commands from this directory (resolve a linked skill directory first). The
repository's tools/ commands, used only by a source refresh, run from the
repository root two levels up. Discover and probe tools on the current host.
Use this for comparison, deal value or buy/wait decisions. A chosen retailer or
policy lookup needs only a direct read.
Route supplier discovery, arbitrage/FBA sourcing, market
sizing, category competition, SEO and social sentiment to market-intel. When
a request combines a purchase with research, own the purchase and delegate the
research question.
Flights use air travel. Hotels use lodging: reach a selected confirmation page only to verify total, taxes, cancellation and parking, then hand off. Stop before entering personal/payment data, reserving inventory, or completing a purchase. Rental cars, rail, cruises and package tours need a separate workflow.
Capture these fields before delegating; resolve material ambiguities with the user.
Start from the buyer's companion (CONFIG.md): python scripts/verify_config.py prints the one it selected, and python scripts/config_cli.py show the effective configuration. For someone else, pass --config-dir <their companion> to every scripts/ command of the run; environment variables do not carry between tool calls. When the configuration loads, prefill from the profile and ask only for what it leaves open or null; otherwise ask for every field below. An instruction in the conversation overrides the profile for this run only. Change a profile only when its owner states a new fact: git -C <companion> pull --rebase, python scripts/config_cli.py set profile <pointer> <value>, commit, push. Name the profile_id in the report header.
| Field | Required detail |
|---|---|
| Product | Brand, model, specification, quantity and condition |
| Region | Buying/shipping market; cross-border origin and destination where relevant |
| Budget and urgency | Spending limit, delivery deadline, willingness to wait |
| Sensitivity | Warranty, returns, refurbishment, seller reputation and authenticity needs |
| Existing access | Accounts, memberships and their perks (member price, cash back, free shipping), store credit, extensions and connected sources that can be used |
Flights and hotels also need the intake fields their shards list; never ask for a passport number to compare fares.
Produce [matched domains | in-scope channel classes | depth cap].
Use the source index to select from the 14 domains,
then read only the matching reference/domains/<domain>.md files. Flight
intents always load the air-travel shard before the first fetch.
Read channel classes to enumerate in-scope channels. Even a channel without a domain shard needs its listed route and caveats; never drop it or create a shard during a purchase.
Choose a depth and maintain its running counts. Stop fan-out and synthesize at any hard cap. Quick is the default for a mainstream in-stock SKU in one region.
| Depth | Max subagents | Max rounds | Max verifiers | Use |
|---|---|---|---|---|
| quick | 3 | 1 | 1 | One mainstream SKU without history needs |
| standard | 6 | 2 | 3 | Multiple retailers and material channel spread |
| deep | 12 | 3 | 5 | Explicit comprehensive research or a purchase of at least profile /risk/deep_depth_usd (default $500) |
Declare the scope before collection and the achieved coverage (#12) in the report; a limited search cannot claim a market-wide minimum.
Discover tools on the current host; a connected health indicator is insufficient. Run a small functional read. Failed or authentication-needed tools are unavailable. Read source reliability when choosing a route.
| State | Evidence | Action |
|---|---|---|
| S1 anonymous | A real anonymous read succeeds | Collect and grade |
| S2 session-gated | A user-provided session could expose the content | Main-session login handoff |
| S3 structural | A session cannot fix the block, dead source or closed API | Typed coverage gap; stop retries |
An empty marketplace search is not "no inventory" until the #11 control query passes. Never infer S1 or S3 from HTTP status or a tool's name.
Prefer the free ④ browser route when it can answer the question. Paid APIs earn
their cost for needed history, scale or access. The ①②③④ route legend is in the
source index. Read tool index, then only the selected
reference/tools/<slug>.md, and installation guidance
only when setup is needed, verifying current instructions and cost first.
A missing source does not stop all research: use an available alternative and
state the gap. When the buyer names a tool its doc marks ⚠ Avoid (Honey, for
example), say so and why before using anything it surfaces. Never expose keys,
credential files or authentication state in transcripts or reports.
Use connected browser/source tools for selected retailer reads, available aggregates for discovery, and Keepa/Camelcamelcamel or regional tools for history.
For model work use llmcall.call(prompt, mode="agent") (judgments use its
default mode) without provider pins; review guidance
covers independence. A missing reviewer is a declared gap, and a reviewer's
recalled prices are E3 leads.
Workers return bounded evidence units as the evidence schema defines them; reduce those units instead of copying raw pages into the main context, and add a combiner above about five workers.
A fresh verifier with no prior verdict re-opens every selected offer behind a ranked E1/L1 claim and confirms price, variant, stock, seller, timestamp and grade; a worker's self-check is not verification. Run browser work sequentially unless contexts are verifiably isolated; never share a page or address tabs by index.
Read login handoff before any S2 channel. Finish S1
work first, then batch every S2 channel into one main-session request and pause
until the user resumes. The agent never enters credentials or codes, scans QR
codes or creates accounts; a timeout is neither consent nor refusal. After login,
re-run the control query, read only product content, and change nothing (orders,
bids, messages, settings) without a fresh per-action instruction. Record a decline
as session-gated-declined and an unattended run as session-gated-unattended.
Compare identical variants on the actual fulfillment promise. Landed cost is
sticker plus shipping, tax and duty, less verified checkout discounts; delayed
cashback is shown separately, never deducted. Every tax, duty, shipping and FX
input cites a dated row from sales tax,
shipping,
cross-border duty, the private rate table of a
forwarder the profile names (duty_inclusive: true means no duty line on top) or
FX sourcing, or is labelled (assumed);
an assumption cannot support an unqualified lowest-total claim. The tax row is the
profile's /ship_to/state unless the buyer names another destination. Confirm
current duty treatment and checkout charges live, never from a remembered
threshold; without a verified FX rate keep the source currency and mark the
conversion UNVERIFIED.
Price flights as the air travel shard says:
taxes, bags, seats and payment/FX fees, checked with scripts/flight_cost.py;
unknown fare terms make offers non-comparable.
Rank each offer at its best achievable discount stack (#16), built and marked as
the evidence schema defines it: every discount
available to this buyer now, looked for on the page, after selecting each purchase
path, in the cart and on coupon and deal sites, with discount_checked recording
where. Only cart-tested lines reduce the ranked total; value paid later sits beside
it and store credit is never a discount.
Test coupons in the cart/confirmation flow without submitting an order; state
what was actually applied and any stacking conditions. Exclude marketplace
offers below the profile's risk cutoffs (default 95 percent rating or 500
ratings) unless the user accepts the risk.
A wait recommendation requires history evidence or an explicit low-confidence
label.
Keep these IDs stable; the evidence schema and report template cite them.
[fetched YYYY-MM-DD HH:MM TZ];
an undated entry is unverified. State the report snapshot time.variant_key; other material
claims need two sources or confidence: low - single source.session-gated-declined,
session-gated-unattended, structurally-unreachable, tool-outage, or
not-attempted. Never substitute evidence from a different channel.price_unavailable row.Retail product orders only, on the buyer's explicit per-action instruction; lodging
and flights stay hand-off. Read purchase execution
first and follow it: buy the #16 stack, respect the profile's accounts[] checkout
permission and purchase_defaults, verify every discount line on the final page
before the single submit, and record each order action with
python scripts/ledger.py append purchases --row-file - --config-dir <root>.
Use the report template for intent, timestamp, ranking, history, coupons, Risks & counter-evidence, sources and final Coverage gaps. The headline price is the #16 stack; show the discount lines that produce it. Check each applicable guardrail before delivery. Claims of booking, model execution or source verification require evidence that the action occurred.
Append each source outcome and every in-scope channel gap by piping one JSON row to python scripts/ledger.py append live-runs --row-file - --config-dir <companion> (ledgers defines the row and the per-machine lanes). Fix and re-append an invalid row; report any other refusal in the reply with the observations. Never write a row file or an observation into this repository: there is no public fallback.
A coverage_gap row carries the same typed gap_reason (#9) as the report;
detail never replaces it. Never copy a real order, route, quote or verdict into
public code or docs; examples are generated and synthetic.
Load only what a step names: the source index, then the matching domain and tool shards, and each other reference file under its step's condition; never a whole directory. For recurring alerts recommend an existing price tracker; this skill runs one comparison at a time and never an unattended purchase loop.
When a run finds a shard wrong, or the owner asks for a refresh, follow the
refresh protocol: fix the shard with its
evidence, keep tombstones, run python tools/verify_matrix.py --no-net from the
repository root, and release the change. Only files tracked by Git ship.
config/layouts/v3.json (opens in a new tab)config/migrations.json (opens in a new tab)config/migrations/0001_from_legacy.py (opens in a new tab)config/migrations/0002_ledger_lanes.py (opens in a new tab)metrics/gh-api-cache.json.example (opens in a new tab)metrics/live-runs.jsonl.example (opens in a new tab)metrics/purchases.jsonl.example (opens in a new tab)reference/channel-classes.md (opens in a new tab)reference/codex-crossval.md (opens in a new tab)reference/data/README.md (opens in a new tab)reference/data/airline-baggage.json (opens in a new tab)reference/data/cross-border-duty.json (opens in a new tab)reference/data/fx-source-of-record.md (opens in a new tab)reference/data/shipping-baselines.json (opens in a new tab)reference/data/us-sales-tax.json (opens in a new tab)reference/domains/ai-shopping-assistants.md (opens in a new tab)reference/domains/air-travel.md (opens in a new tab)reference/domains/amazon-us.md (opens in a new tab)reference/domains/auction-resale.md (opens in a new tab)reference/domains/browser-extensions.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (daizedong/shopping-aggregator) — no native marketplace selected
npx claudepluginhub p/daizedong-shopping-aggregator