From tradera-api
Fetch and display details about a Tradera listing using the public REST API (v4). Use when the user wants to look up an item on Tradera by its item ID.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tradera-api:tradera-get-itemThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Fetches item details from `GET https://api.tradera.com/v4/items/{itemId}` and presents a formatted summary.
Fetches item details from GET https://api.tradera.com/v4/items/{itemId} and presents a formatted summary.
This skill needs appId and appKey. They can be provided via environment variables (recommended) or as arguments.
Environment variables (recommended):
TRADERA_APP_ID — Tradera API application IDTRADERA_APP_KEY — Tradera API application keyAs arguments: /tradera-get-item <itemId> <appId> <appKey>
Before making any API calls, resolve credentials in this order:
[ -n "$TRADERA_APP_ID" ] && [ -n "$TRADERA_APP_KEY" ] (do NOT echo secrets)<itemId>Parse arguments from the user input into itemId, appId, and appKey.
Fetch the item by running:
curl -s -w "\n%{http_code}" \
-H "X-App-Id: {appId}" \
-H "X-App-Key: {appKey}" \
"https://api.tradera.com/v4/items/{itemId}"
Check for errors:
Parse the JSON and present a formatted summary with these sections:
## {shortDescription}
**Status:** {status} | **Type:** {itemType mapped to name}
**Category ID:** {categoryId}
**Listed:** {startDate} → {endDate}
### Pricing
- Current highest bid: {maxBid} SEK ({totalBids} bids)
- Opening bid: {openingBid} SEK
- Buy It Now: {buyItNowPrice} SEK (if buyItNowPriceSpecified)
- Reserve price: {reached/not reached/not set}
### Seller
- {seller.alias} (ID: {seller.userId})
### Shipping & Payment
- Pickup: {yes/no based on acceptsPickup}
- Payment: {paymentCondition}
- Shipping: {shippingCondition}
- Options: {list shippingOptions if present}
### Images
{list first 3 imageLinks}
**Link:** {itemLink}
buyItNowPriceSpecified)Omit sections where data is absent or fields are marked as unspecified (e.g. skip "Buy It Now" if buyItNowPriceSpecified is false). Keep the output concise.
npx claudepluginhub tradera/ai-marketplace --plugin tradera-apiCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.