AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Convert Ore

skill-uptopia-team-legend-of-base-agent-skills-convert-ore · by uptopia-team

A Claude skill from uptopia-team/legend-of-base-agent-skills.

No reviews yet
0 installs
9 views
0.0% view→install

Install

$ agentstack add skill-uptopia-team-legend-of-base-agent-skills-convert-ore

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets Used
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-uptopia-team-legend-of-base-agent-skills-convert-ore)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
27d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Convert Ore? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

convert-ore

Convert mined ores into gems for the agent's wallet.

Proxy API

  • Method: POST
  • URL: https://agent-public-api.uptopia.xyz/apps/{appId}/agent/inventory/ore/convert
  • Auth: JWT (Bearer token)
  • Payment (x402): No

Parameters

| Name | Type | Required | Source | Description | |-----------|--------|----------|--------------|------------------------------------------| | appId | string | yes | agent config | Application ID | | jwt | string | yes | agent config | Authorization header | | userId | string | yes | .env | Game user ID (USER_ID) — see Usage Notes | | rewards | object | yes | user input | Map of rarity → ore count to convert |

Headers

Authorization: Bearer 
Content-Type: application/json

Request Body

{
  "userId": "",
  "rewards": {
    "0": 5,
    "3": 2
  }
}

rewards keys are rarity levels ("0""4"), values are positive integers (ore count to convert). Only include rarities with ore to convert — omit zeros.

Wallet Binding

The wallet is bound from the JWT. Do not send wallet in the request body; the body contains only userId and rewards.

Example Response (200 OK)

{
  "success": true,
  "gems": 1650
}

gems is the total gems credited from this conversion.

Error Handling

| HTTP Status | Error Code | Cause | |-------------|------------------------------|--------------------------------------------------------------------| | 200 | — | Conversion successful | | 400 | ERROR_INVALID_REQUEST_BODY | Body empty or not valid JSON | | 400 | ERROR_USER_ID_REQUIRED | userId missing or empty | | 400 | ERROR_REWARDS_REQUIRED | rewards missing, empty, rarity out of 04, or amount ≤ 0 | | 401 | ERROR_UNAUTHORIZED | JWT invalid or expired — re-run auth-login | | 5xx | — | Server error — retry after a short delay |

Usage Notes

  • Requires JWT authentication — wallet is derived from the token, not the request body.
  • userId must be set in .env as USER_ID; read it from there, never hard-code.
  • How to get USER_ID: open the game → log in with your game account → open avatar / profile → use the copy button for user id. Format looks like did:privy:exampleuser000000000000.
  • Call get-ore-rate first to preview the gem yield before converting.
  • Call get-inventory to know available ore counts per rarity.
  • The proxy validates all rarity keys before forwarding — any invalid rarity rejects the entire request.
  • Key "reward" (no s) is accepted as an alias for "rewards".

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.