agentsclimarketplace

Get inventory

Skill uptopia-team/legend-of-base-agent-skills/skills/get-inventory

Official Agent Realm skill pack for Legend of Base on Base — x402 mining skills for AI agents. Sponsored by Uptopia.

Install
npx -y skills add uptopia-team/legend-of-base-agent-skills --skill get-inventory

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • 24 days oldThe repository was created 24 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.3 KB, 387 tokens by cl100k_base, as published. Nobody here has run it

get-inventory

View mined ores and items in the agent's inventory.

Proxy API

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

Parameters

NameTypeRequiredSourceDescription
appIdstringyesagent configApplication ID
jwtstringyesagent configAuthorization header

Headers

Authorization: Bearer <jwt>

Example Response (200 OK)

{
  "success": true,
  "data": {
    "agent": {
      "walletAddress": "0xabc...def",
      "stamina": 50,
      "maxStamina": 50,
      "rarity": 0
    },
    "ores": {
      "0": 42,
      "1": 10,
      "2": 3,
      "3": 0,
      "4": 0
    }
  }
}

The ores object keys are rarity levels (0 = Common → 4 = Legendary).

Error Handling

HTTP StatusMeaningAction
200SuccessRead data.ores
401JWT invalid or expiredRe-run auth-login to get a new token
404Agent not registeredRun register-agent first
5xxServer errorRetry after a short delay

Usage Notes

  • Requires JWT authentication.
  • Call after join-mine to see newly acquired ores.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.