Install
openclaw skills install selvaShopping platform for AI agents
openclaw skills install selvaShopping platform for AI agents. Search, compare, and buy physical products from Amazon.
<item>?"[Open settings page](https://...)npx selva-cli register — generates an API key, stored locally at ~/selva/config.jsonnpx selva-cli settings set-name --name "Jane Doe" — required before buyingnpx selva-cli settings set-address --street "123 Main St" --line2 "Apt 4B" --city "Austin" --state "TX" --zip "78701" --country "US" — required before buying (--line2 optional)npx selva-cli settings set-phone --phone "+14155551234"npx selva-cli settings set-email --email "you@example.com"npx selva-cli settings pagenpx selva-cli search "<query>"
Returns up to 10 normalized results with selva_id, title, price, rating, source, url, delivery_estimate (get-it-by), and image_url.
When presenting search results to users, always include delivery/get-it-by text.
Prefer separate photo messages with captions (one per item) over markdown image links.
Requires address for best results but works without one.
npx selva-cli details <selva_id>
Returns full product details from the original provider. Use the selva_id from search results (e.g. amzn_B0EXAMPLE).
npx selva-cli buy <selva_id> --method <saved|card>
Requires name, address, and a chargeable card profile. Buy creates an order record and returns its current status.
If an approval threshold is configured and the price exceeds it, the order enters awaiting_approval and an approval email is sent.
Options:
--method saved — uses the card linked on the settings page. Fails if no card is linked - ask the user to link one.--method card --number <num> --exp <MM/YY> --cvv <code> — tokenizes with Stripe and saves a reusable payment method snapshot for later processing. Card details never reach the Selva API.npx selva-cli orders
Lists all orders with status: awaiting_approval, processing, expired, shipping.
Status meaning:
awaiting_approval: waiting for user approval email click.processing: order accepted and being processed.shipping: shipping status has been updated.npx selva-cli settings — view current name, phone, address, email, approval threshold, and linked card infonpx selva-cli settings page — generates a 24-hour link to the web settings page where a human can link/remove a payment card and set an approval thresholdnpx selva-cli settings set-address --street <street> [--line2 <line2>] --city <city> --state <state> --zip <zip> --country <country>npx selva-cli settings set-name --name <name>npx selva-cli settings set-email --email <email>npx selva-cli settings set-phone --phone <phone>IDs are prefixed by provider: amzn_ for Amazon. Pass these to details and buy.
selva_id.npx selva-cli registernpx selva-cli search "<query>"npx selva-cli details <selva_id>npx selva-cli buy <selva_id> --method <saved|card>npx selva-cli ordersnpx selva-cli settingsnpx selva-cli settings pagenpx selva-cli settings set-address --street <street> [--line2 <line2>] --city <city> --state <state> --zip <zip> --country <country>npx selva-cli settings set-name --name <name>npx selva-cli settings set-email --email <email>npx selva-cli settings set-phone --phone <phone>