amazon-sp-api
Installation
SKILL.md
Amazon Seller Central — SP-API
Run the bundled scripts/amazon_api.py for every Amazon SP-API operation. The script handles the full LWA refresh + AWS SigV4 signing chain internally so the agent only ever deals with structured JSON.
python3 "{baseDir}/scripts/amazon_api.py" <command> [options]
Background: Amazon's Selling Partner API (SP-API) is the replacement for MWS. Auth needs two layers — an LWA refresh token for x-amz-access-token, and IAM credentials for SigV4 request signing. Both are required for every call. Tokens auto-refresh; the agent does not.
First run — install the one Python dependency
The script uses httpx. If a command fails with ModuleNotFoundError: No module named 'httpx', install it once:
python3 -c "import httpx" || python3 -m pip install httpx