← ClaudeAtlas

d1-clilisted

Shop Tiendas D1 (Colombia, d1.com.co) from the command line — search the catalogue, resolve your nearest physical store, price a basket against that store's real stock, and quote delivery. D1 runs VTEX IO (account `d1tiendas`), so this drives its public storefront API with no admin key at all — catalogue and cart work fully anonymously, and a one-time emailed code unlocks order history. Handles the two traps that make naive D1 automation wrong — availability is regionalized (an unregioned query reports a national catalogue nobody can actually buy from) and prices arrive in two different units (search reports whole pesos, checkout reports hundredths, a silent 100x). Builds and prices baskets; it deliberately cannot pay, handing a checkout URL to a human instead. USE WHEN the user wants to find D1 products or prices, check whether D1 delivers somewhere, build or cost a D1 grocery basket, compare D1 items, or review their D1 orders. NOT FOR other Colombian retailers (Éxito, Jumbo, Ara, Alkosto), and not for comp
broomva/skills · ★ 3 · AI & Automation · score 75
Install: claude install-skill broomva/skills
# d1-cli — Tiendas D1 from the command line D1 is Colombia's largest hard-discount grocery chain. Its storefront runs **VTEX IO** (account `d1tiendas`), which means the site's own public API is the integration surface — no scraping, no admin credentials. ## Invoke ```bash cd skills/commerce/d1-cli # 1. Resolve your delivery point FIRST — everything else depends on it bun run src/cli.ts region --lat 4.6486 --lng=-74.0628 # 2. Then search: prices and stock are now your store's, not the country's bun run src/cli.ts search leche entera --count 5 bun run src/cli.ts search --facets category-1/lacteos-y-huevos --sort price:asc # 3. Price a basket without touching your cart bun run src/cli.ts quote 262:2 892:1 # 3b. Or let a budget decide what goes in it — terms, not SKUs bun run src/cli.ts basket --budget 30000 arroz leche aceite huevos # 4. Or build a real one, then hand off to a human to pay bun run src/cli.ts cart add 262 --qty 2 bun run src/cli.ts cart deliver-to bun run src/cli.ts cart checkout # prints a URL; does not pay ``` Add `--json` to any command for agent-readable output. **Exit codes are a contract, and this list is the only copy of it:** | code | meaning | retry? | |---|---|---| | `0` | it worked | — | | `1` | D1 refused or was unreachable — undeliverable point, unavailable or unknown SKU, outage | yes, may help | | `2` | the command was called wrong | never helps | | `3` | it worked and the answer is "none" (`substitute`, `basket`) | never helps | An