微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

wolt-cli

wolt-cli · v0.5.4
安全 unknown 级 作者 mekedron 公开目录收录
1.2k 下载 0 安装 4.6k 收藏 1 浏览

简介

wolt-cli

原始描述

Use Nikita's local Wolt CLI to browse venues, inspect menus/items/options, and run profile, cart, and checkout-preview actions for wolt.com from terminal. Tr...

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/wolt-cli/
其它 Agent解压到它自己的 skills 目录,目录名用 wolt-cli

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: wolt-cli description: Use Nikita's local Wolt CLI to browse venues, inspect menus/items/options, and run profile, cart, and checkout-preview actions for wolt.com from terminal. Trigger when asked to find food on Wolt, inspect venue catalogs, resolve item/option IDs, automate basket or profile tasks, or debug Wolt auth/location/output behavior.

Wolt CLI

Tool repository: https://github.com/mekedron/wolt-cli

Open the repository for setup/build details, then use the local wolt binary:

wolt <group> <command> [flags]

Session Startup

  1. Inspect command tree once per session:
wolt --help
  1. Prefer machine output for agent work:
... --format json
  1. Parse .data from the envelope and surface .warnings/.error to the user.

Safety Rules

  • Start read-only by default.
  • Request explicit confirmation before mutating commands:
    • cart add, cart remove, cart clear
    • profile favorites add, profile favorites remove
    • profile addresses add, profile addresses update, profile addresses remove, profile addresses use
    • configure (writes local profile credentials)
  • Never describe checkout preview as order placement. The CLI does not place final orders.

Auth Workflow

Use explicit profile names to avoid ambiguity:

wolt configure --profile-name default --wtoken "<token>" --wrtoken "<refresh-token>" --overwrite
wolt profile status --profile default --format json --verbose

Credential fallback for authenticated commands:

  1. Explicit flags (--wtoken, --wrtoken, --cookie)
  2. Selected profile auth fields
  3. Default profile auth fields

When refresh credentials are available, expired/401 access tokens are refreshed automatically and persisted back to local config.

Location Rules

Apply exactly:

  • Use either --address "<text>" or both --lat + --lon.
  • Do not combine --address with --lat/--lon.
  • If no override is passed, profile location is used.
  • search venues/items and venue show/hours use --address or profile location (no direct --lat/--lon flags).
  • discover, cart, checkout preview, and profile favorites support --lat/--lon.

Command Selection

  • Explore nearby options: discover feed, discover categories, search venues, search items
  • Inspect one venue deeply: venue show, venue categories, venue search, venue menu, venue hours
  • Resolve one item/options for basket actions: item show, item options
  • Basket and pricing: cart count/show/add/remove/clear, then checkout preview
  • Account and history: profile show/status/orders/payments/addresses/favorites

For large marketplace venues, prefer:

  • venue search <slug> --query "<text>"
  • venue menu <slug> --category <category-slug>

instead of unrestricted full-catalog menu crawl.

Output and Diagnostics

  • --format json|yaml returns envelope keys: meta, data, warnings, optional error.
  • On upstream failures, rerun with --verbose to capture request trace and detailed diagnostics.

References

  • Full command and flag matrix: references/command-reference.md
  • Reusable high-confidence workflows: references/workflows.md
  • Envelope/error parsing and automation notes: references/output-and-errors.md

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill