mathem-cli
Runs `mathem-cli` through `npx` to search and compare Mathem Sweden groceries by ingredients, allergens, nutrition, origin, availability, and price, then prepare and verify an authenticated cart. Use when researching Mathem products, prioritizing food quality, building or editing a Mathem cart, or preparing a grocery order while leaving checkout and payment to the user.
소스 정보
- 저장소
- onmax/mathem-cli
- 최근 소스 활동
- 2026년 7월 31일 10:29
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
SKILL.md 표시 중
SKILL.md
소스 지침 · 읽기 전용 미리보기- name
- mathem-cli
- description
- Runs `mathem-cli` through `npx` to search and compare Mathem Sweden groceries by ingredients, allergens, nutrition, origin, availability, and price, then prepare and verify an authenticated cart. Use when researching Mathem products, prioritizing food quality, building or editing a Mathem cart, or preparing a grocery order while leaving checkout and payment to the user.
# Mathem CLI
1. Run `npx --yes mathem-cli --help`. Continue when help works.
2. Extract foods, quantities, budget, dietary constraints, quality criteria, and substitutions. For quality-sensitive food such as meat, shortlist products unless origin, cut, or production method makes the choice unambiguous.
3. Search with `npx --yes mathem-cli search "<query>" --limit <count>` and inspect candidates with `npx --yes mathem-cli product <id>`. Compare published ingredients, allergens, nutrition, origin, freshness, availability, and unit price.
4. Run `npx --yes mathem-cli list`. If authentication is required, run `npx --yes mathem-cli login` and let the user complete the Chrome flow. Continue when `list` returns JSON.
5. Mutate one item at a time with `npx --yes mathem-cli add <id> [quantity]`, `npx --yes mathem-cli update <quantity> <id>`, or `npx --yes mathem-cli delete <id>`. Verify each returned cart; after an uncertain result, run `list` before retrying.
6. Run `npx --yes mathem-cli list` and report the final items, quantities, totals, quality trade-offs, and unknown fields.
Rules:
- Prefer product IDs.
- Treat `null` as unknown and zero as measured zero.
- Treat private API failures as contract drift; preserve the last verified cart state.
- Stop at the verified cart. Checkout, payment, delivery slots, and order confirmation stay with the user.
GitHub에서 보기