← 返回 Skills 市场
lars147

Apo Cli

作者 Lars147 · GitHub ↗ · v0.1.1
cross-platform ✓ 安全检测通过
1165
总下载
4
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install apo-cli
功能描述
Search and order pharmacy products from apohealth.de via apo-cli. Use for medication search (by name or PZN), product details, category browsing, and cart management. Trigger when the user mentions Apotheke, pharmacy, Medikament, medication, PZN, apohealth, or health products.
使用说明 (SKILL.md)

apohealth.de / apo-cli Skill

Search pharmacy products and manage cart on apohealth.de using apo-cli — a pure-Python CLI bundled in this skill at {baseDir}/apo_cli.py.

Setup

  1. Python 3.9+ required (no external dependencies)
  2. No login needed — apohealth.de works without authentication

Critical Rules

  1. NEVER complete a purchase — Only build cart. User must checkout themselves.
  2. Always provide the cart URL when interacting via chat: https://www.apohealth.de/cart/\x3Cvariant_id>:\x3Cqty>,\x3Cvariant_id>:\x3Cqty>,... — the user cannot open a browser from the agent, so they need a clickable link.
  3. Confirm before destructive actions (cart clear).
  4. Show prices when adding to cart so the user stays informed.
  5. PZN search — Users may provide a PZN (Pharmazentralnummer) directly; pass it as the search query.

CLI Usage

python3 {baseDir}/apo_cli.py \x3Cresource> \x3Caction> [options]

Core Workflows

Search Products

python3 {baseDir}/apo_cli.py search "Ibuprofen 400"       # by name
python3 {baseDir}/apo_cli.py search "04114918"             # by PZN
python3 {baseDir}/apo_cli.py search "Nasenspray" -n 20     # more results

Product Details

python3 {baseDir}/apo_cli.py product \x3Chandle>   # prices, variants, description

Browse Categories

python3 {baseDir}/apo_cli.py categories                        # list all
python3 {baseDir}/apo_cli.py list --category bestseller         # browse category
python3 {baseDir}/apo_cli.py list --category schmerzen -n 10    # with limit

Cart

python3 {baseDir}/apo_cli.py cart                    # show cart
python3 {baseDir}/apo_cli.py cart add \x3Cvariant_id>   # add product
python3 {baseDir}/apo_cli.py cart remove \x3Cvariant_id> # remove product
python3 {baseDir}/apo_cli.py cart clear              # clear cart ⚠️
python3 {baseDir}/apo_cli.py cart checkout           # open browser for checkout

Status

python3 {baseDir}/apo_cli.py status                  # CLI status info

Full Command Reference

For all commands, options, and flags see {baseDir}/references/commands.md.

安全使用建议
This skill appears coherent and implements what it claims: a read/write client for apohealth.de that can add/remove items and build a cart. Before installing, note that it saves cookies and a cart token to local files in the skill directory (apo_cookies.json and apo_cart.json) — treat those as sensitive session data and remove them if you share the machine. The skill does POST requests to apohealth.de to add/update/clear cart items (expected behavior). Verify you are comfortable with the skill making network requests only to apohealth.de; if you need stronger isolation, run it in a sandbox/container or inspect the full apo_cli.py for any additional endpoints before use. Finally, the RESEARCH.md documents a publicly visible Shopify storefront token (found in site HTML in many Shopify stores); the code does not use private credentials and does not request any secrets.
功能分析
Type: OpenClaw Skill Name: apo-cli Version: 0.1.1 The skill is designed to interact with apohealth.de for product search and cart management. The `apo_cli.py` script uses standard Python libraries to make HTTP requests exclusively to `https://www.apohealth.de`. It stores session cookies and cart tokens in local JSON files (`apo_cookies.json`, `apo_cart.json`) within its own directory, which is a legitimate practice for a CLI tool. The `SKILL.md` explicitly instructs the agent to 'NEVER complete a purchase' and to provide a cart URL for the user to checkout themselves, which is supported by the `webbrowser.open()` call in `apo_cli.py`. There is no evidence of data exfiltration, malicious execution, persistence, obfuscation, or prompt injection attempts to subvert the agent's intended behavior.
能力评估
Purpose & Capability
Name/description (apo-cli for apohealth.de) match the included code (apo_cli.py) and README/RESEARCH documents. Required resources are minimal (no env vars, no external binaries) and consistent with a web-scraping/Shopify storefront client.
Instruction Scope
SKILL.md directs the agent to run the bundled apo_cli.py for search, product details, category browsing, and cart management. It explicitly forbids completing purchases and requires confirmation for destructive actions. The runtime instructions do not request unrelated files or credentials.
Install Mechanism
This is instruction-only for the agent with bundled Python code; no install spec or remote downloads are present. The skill does write local files (cookie and cart JSON) in its own directory, which is expected for session management.
Credentials
The skill requests no environment variables or external credentials. It persists cookies and a cart token to files in the skill directory (apo_cookies.json and apo_cart.json) — these may contain session identifiers and should be treated as sensitive. No unrelated credentials or external endpoints are used in the code.
Persistence & Privilege
always is false and there is no install-time hook that modifies other skills or global agent settings. The skill persists only its own cookie/cart files in its directory, which is normal for a CLI that manages sessions.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install apo-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /apo-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.1
- Updated critical rules to require always providing the apohealth.de cart URL for users when interacting via chat. - Clarified that users cannot open a browser from the agent and must have a clickable link to access their cart. - Removed instruction to users to checkout via the CLI; emphasized user-driven checkout outside the agent. - No changes to CLI command usage, workflows, or setup steps.
v0.1.0
Initial release of apo-cli skill. - Search and browse pharmacy products from apohealth.de by name or PZN. - View product details, including prices and variants. - Browse categories and subcategories of health products. - Manage cart: add, remove, clear items, and review prices. - No authentication required; checkout is only performed by the user via browser.
元数据
Slug apo-cli
版本 0.1.1
许可证
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Apo Cli 是什么?

Search and order pharmacy products from apohealth.de via apo-cli. Use for medication search (by name or PZN), product details, category browsing, and cart management. Trigger when the user mentions Apotheke, pharmacy, Medikament, medication, PZN, apohealth, or health products. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1165 次。

如何安装 Apo Cli?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install apo-cli」即可一键安装,无需额外配置。

Apo Cli 是免费的吗?

是的,Apo Cli 完全免费(开源免费),可自由下载、安装和使用。

Apo Cli 支持哪些平台?

Apo Cli 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Apo Cli?

由 Lars147(@lars147)开发并维护,当前版本 v0.1.1。

💬 留言讨论