← Back to Skills Marketplace
lars147

Apo Cli

by Lars147 · GitHub ↗ · v0.1.1
cross-platform ✓ Security Clean
1165
Downloads
4
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install apo-cli
Description
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.
README (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.

Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install apo-cli
  3. After installation, invoke the skill by name or use /apo-cli
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug apo-cli
Version 0.1.1
License
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 1165 downloads so far.

How do I install Apo Cli?

Run "/install apo-cli" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Apo Cli free?

Yes, Apo Cli is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Apo Cli support?

Apo Cli is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Apo Cli?

It is built and maintained by Lars147 (@lars147); the current version is v0.1.1.

💬 Comments