Skip to content
Back to skills

Kmart

ASecurity

Query Kmart NZ and AU product search, prices, SKU lookup, clearance/promotional snapshots, and store-location data. Read-only; no login, cart, checkout, or account actions.

  • 31 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
toolspythongobashapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 10, 2026

npx -y skills add thecolab-ai/.skills --skill kmart --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Kmart?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Kmart
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thecolab-ai-kmart/badge)](https://www.skillsdirectory.com/skills/thecolab-ai-kmart)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: kmart
description: "Query Kmart NZ and AU product search, prices, SKU lookup, clearance/promotional snapshots, and store-location data. Read-only; no login, cart, checkout, or account actions."
license: MIT
compatibility: "Requires Python 3.10+ and network access for live data"
metadata:
  thecolab.category: "retail"
  thecolab.source_owner: "Kmart"
  thecolab.source_type: "commercial"
  thecolab.auth: "none"
  thecolab.access_mode: "html-readonly"
  thecolab.data_class: "public"
  thecolab.writes: "false"
  thecolab.browser: "false"
  thecolab.risk: "low"
  thecolab.cache_ttl: "24h"
  thecolab.schema_version: "1"
  thecolab.skill_type: "html-readonly"
  thecolab.pack: "nz-commercial-web"
  thecolab.source_url: "https://ac.cnstrc.com"
  thecolab.allowed_domains: "ac.cnstrc.com,www.kmart.co.nz,www.kmart.com.au,www.sitemaps.org"
  thecolab.last_verified: "2026-07-19"
  thecolab.health: "healthy"
  thecolab.maintainer: "@adam91holt"
---

# Kmart

## Goal

Query live Kmart NZ and AU public product data through a small deterministic CLI with human-readable and JSON output, without browser automation or account login.

## Use this when

- A user asks for Kmart NZ or AU product prices
- A user wants to search Kmart products by keyword
- A user has Kmart SKUs and wants product details
- A user wants a lightweight clearance or promotional product snapshot
- A user needs public Kmart store-location URLs from the site sitemaps
- A workflow needs fast read-only Kmart data for comparisons or reports

## Do not use this for

- Authenticated account, OnePass, personalised, cart, checkout, delivery-slot, payment, order, or review actions
- High-volume scraping or redistributing scraped Kmart product data as a dataset
- Historical pricing or price-change claims unless another dataset provides history
- Canonical store trading-hour or stock-availability claims; verify store pages or official locator output before publishing

## Preferred workflow

1. Run `scripts/cli.py` with the narrowest subcommand that answers the task
2. Default to NZ unless the user asks for AU; pass `--country au` for Australia
3. Use `search` for keyword product lookup and `product` when an exact SKU is known
4. Use `specials` for a clearance/promotional snapshot based on product metadata
5. Use `stores` for public store-detail URL discovery from Kmart sitemaps
6. Use `--json` for agent chaining, comparisons, or structured reports
7. Mention that prices and specials are live online Kmart snapshots and the source is unofficial

## CLI

Run with:

```bash
python3 skills/kmart/scripts/cli.py <command> [flags]
```

### Commands

- `search <query> [--country nz|au] [--limit N] [--page N] [--json]` — product search with prices
- `product <sku> [--country nz|au] [--json]` — fetch exact SKU details via product search metadata
- `stores [--region text] [--country nz|au] [--limit N] [--json]` — list store-detail URLs and public store metadata
- `specials [query] [--country nz|au] [--limit N] [--page N] [--json]` — clearance/promotional products inferred from product metadata

Examples:

```bash
python3 skills/kmart/scripts/cli.py search lego --limit 10
python3 skills/kmart/scripts/cli.py search "air fryer" --country au --limit 5 --json
python3 skills/kmart/scripts/cli.py product 43684687 --json
python3 skills/kmart/scripts/cli.py specials sale --limit 10 --json
python3 skills/kmart/scripts/cli.py stores --country au --region melbourne --limit 5 --json
```

## Resources

- CLI entrypoint: `scripts/cli.py`
- API and stability notes: `references/api-notes.md`

## Notes

- No API key, username, password, account cookie, or browser automation is required for the implemented read-only operations
- Product search and SKU lookup use the public Constructor.io search endpoints configured by the Kmart web app
- AU store discovery uses the public Kmart XML sitemap. NZ store discovery uses official store-detail pages because the NZ store sitemap currently returns AU locations.
- Specials are a best-effort live snapshot from public product metadata such as clearance badges, sale badges, save-price text, and non-list price types
- Endpoint shapes can change; verify with a small live query before relying on large workflows

Files in this skill

  • SKILL.md4.2 KB
  • references/api-notes.md3.9 KB
  • references/source-notes.md501 B
  • scripts/cli.py23.7 KB
  • scripts/smoke_test.py3.4 KB
  • scripts/test_contract.py376 B
  • tests/fixtures/contract.json165 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.