Skip to content

nexscope-ai/nexscope-ecommerce-skills / ecommerce-amazon-category-lookup

ecommerce.amazon-category-lookup

Verified

Browse Amazon category nodes by parent identifier or search category metadata by name. Use this skill when the user asks for this exact ecommerce workflow, analysis, data lookup, or deliverable.

FileKindSize
SKILL.mdskill md5.9 KB
manifest.jsonconfig618 B
references/api.jsonconfig1.1 KB
references/api.mdmarkdown3.6 KB
references/credentials.mdmarkdown984 B
references/testing.mdmarkdown1.0 KB
references/workflow.mdmarkdown1.2 KB
scripts/amazon_category_lookup.pyscript11.2 KB

references/api.md

View on GitHub
# Amazon category lookup API

The script supports two modes and must preserve the user's marketplace.

## Browse child nodes

`POST /api/v1/tools/research/amazon/nodes/lookup`

| Field | Type | Required | Default | Description |
|---|---|---:|---|---|
| `marketId` | string | No | `1` | Amazon marketplace ID. |
| `nodeId` | string | No | root | Parent category node. |
| `table` | string | No | `bsr_sales_nearly` | Current data or a historical month such as `202508`. |

## Search by label

`POST /api/v1/tools/research/amazon/nodes/lookup/like`

| Field | Type | Required | Default | Description |
|---|---|---:|---|---|
| `nodeLabel` | string | Yes | — | Category-name keyword, maximum 1000 characters. |
| `marketId` | string | No | `1` | Amazon marketplace ID. |
| `nodeId` | string | No | — | Optional exact node filter. |

Common marketplace IDs: US `1`, UK `3`, DE `4`, FR `5`, JP `6`, CA `7`, IT `35691`, ES `44551`, IN `44571`, MX `771770`.

Read `items` and preserve `nodeId`, `label`, `nodeLabel`, localized labels, product count, child count, and parent ID. Require numeric outer platform `code: 0` for success; on failure, surface outer `msg`. Do not read removed provider `code` or `message` fields from `data`.

```bash
python scripts/amazon_category_lookup.py --mode lookup '{"marketId":"1","nodeId":"-1"}'
python scripts/amazon_category_lookup.py --mode like '{"marketId":"1","nodeLabel":"Electronics"}'
```

## Nexscope response envelope

These research endpoints return a platform object with numeric `code`, nullable `msg`, and business `data`. Only outer `code: 0` means success; `200`, string codes, missing codes, and HTTP 200 alone do not. A nonzero code is a platform error: show `msg` and do not interpret the payload as a successful result.

`msg` preserves the upstream message when available; Chinese messages are translated to English by Nexscope. A successful response without a message has `msg: null`. Do not infer success or retry behavior from the message text. On both success and failure, the direct fields `code`, `errcode`, `errorCode`, `msg`, `errmsg`, `message`, and `errorMsg` are removed from public `data`. Read the message only from outer `msg`; deeper business fields are preserved, including nested `code` and `status`.

Business field tables and abbreviated business examples below describe `data`, unless explicitly labeled as a complete platform response. For example, a business `products` field is at HTTP `data.products`, and a business `data` array is at HTTP `data.data`. The research endpoints already had this outer envelope; no additional wrapper is added.

```json
{"code":0,"msg":null,"data":{}}
```

Metadata includes string `ts` (epoch milliseconds), string `cost` (elapsed milliseconds, not credits), `time`, and nullable `traceId`. Handle network/HTTP failures before the platform code; gateway failures may not be platform JSON. Keep the existing billing-header guidance separate from elapsed time.

## API Key request rate and retries

All API Keys of one Nexscope user share the public API execution request-rate allowance, measured in any rolling 1-second window. The allowed RPS depends on that user's entitlements; it is not a universal 1 RPS. One Skill operation may issue multiple public API requests, each of which uses the allowance.

HTTP 429 with Nexscope outer code `13012` means request-rate exhaustion: honor the response's `Retry-After`. Outer code `13013` means concurrent-request exhaustion, not rate exhaustion; honor `Retry-After` when supplied. Check the HTTP status and outer JSON code separately. Do not automatically replay writes or requests with uncertain outcomes; first reconcile the operation's state.
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall