petdirect-nz
Use when searching Petdirect NZ products, comparing current public variant prices, checking availability, or reading product details. Parses bounded public…
от thecolab-ai★ 41 звезда на GitHub
Установить petdirect-nz в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Petdirect NZ
Goal
Retrieve current public Petdirect NZ search, product, variant, and price data without login or browser automation.
Use this when
- Searching Petdirect products by keyword
- Comparing public prices and variants for a known product
- Capturing a current public price snapshot with source evidence
Do not use this for
- Cart, checkout, account, Pet Perks, payment, subscription, prescription, booking, order, stock reservation, or mutations
- Veterinary advice or product-suitability decisions
- Bulk scraping, historical-price claims, or redistribution as a dataset
Workflow
- Use
searchfor discovery. Results are capped at 24 and come from embedded public search state. - Use
productfor a Petdirect product URL,/p/path, or slug. Variantmember_priceandrrpfields distinguish conditional Pet Perks pricing from ordinary prices. - Use
price-snapshotfor current ProductGroup variant prices and their member-price status. - Add
--jsonfor agent chaining. Every command reportssource_urland UTCretrieved_at. - Treat member prices, promotions, and availability as live public observations that may change.
CLI
python3 skills/petdirect-nz/scripts/cli.py search "dog food" --limit 5 --json
python3 skills/petdirect-nz/scripts/cli.py product lamb-rice-adult-dry-dog-food --json
python3 skills/petdirect-nz/scripts/cli.py price-snapshot /p/lamb-rice-adult-dry-dog-food/ --json
The global --timeout N option goes before the command and defaults to 10 seconds.
Output and safety
- Uses Python standard library only and unauthenticated GET requests.
- Search parses the first bounded
window.__SERVER_STATE__object and never emits the raw multi-megabyte page. - Detail commands join Product or ProductGroup JSON-LD to the public product state by SKU so RRP and member-price semantics are not lost.
- Responses are size-capped; missing or incomplete product data is an error rather than empty success.
Resources
- CLI:
scripts/cli.py - Live and fixture smoke tests:
scripts/smoke_test.py - Endpoint, parser, and safety notes:
references/api-notes.md
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/api-notes.md
- references/source-notes.md
- scripts/cli.py
- scripts/smoke_test.py
- scripts/test_contract.py
FAQ
Что делает скилл petdirect-nz?
Use when searching Petdirect NZ products, comparing current public variant prices, checking availability, or reading product details. Parses bounded public search-page state and product JSON-LD through a read-only Python CLI; no cart, checkout, account, payment, subscription, prescription, or other mutations.
Как установить скилл petdirect-nz?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл petdirect-nz запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
agent-skill-stack
GitHubFind, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
build-evidence-map
GitHubBuild an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
pinecone-rag
GitHubBuild production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
qdrant-monitoring-debugging
GitHubDiagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…