From tradera-api
End an active listing on Tradera using the REST API (v4). Use when the user wants to take down, remove, or end a Tradera listing.
How this skill is triggered — by the user, by Claude, or both
Slash command
/tradera-api:tradera-end-listingThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Ends an active listing on Tradera via `DELETE /v4/listings/items/{itemId}`.
Ends an active listing on Tradera via DELETE /v4/listings/items/{itemId}.
This skill needs appId, appKey, userId, and userToken. 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 keyTRADERA_USER_ID — Tradera user IDTRADERA_USER_TOKEN — Tradera user authentication tokenAs arguments: /tradera-end-listing <itemId> <appId> <appKey> <userId> <userToken>
Before making any API calls, resolve credentials in this order:
[ -n "$TRADERA_APP_ID" ] && [ -n "$TRADERA_APP_KEY" ] && [ -n "$TRADERA_USER_ID" ] && [ -n "$TRADERA_USER_TOKEN" ] (do NOT echo secrets)<itemId>Before ending, fetch the item details to show what will be ended:
curl -s -w "\n%{http_code}" \
-H "X-App-Id: {appId}" \
-H "X-App-Key: {appKey}" \
"https://api.tradera.com/v4/items/{itemId}"
Show the item title and ask the user to confirm.
curl -s -w "\n%{http_code}" \
-X DELETE \
-H "X-App-Id: {appId}" \
-H "X-App-Key: {appKey}" \
-H "X-User-Id: {userId}" \
-H "X-User-Token: {userToken}" \
"https://api.tradera.com/v4/listings/items/{itemId}"
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.