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.From the repository description
npx -y skills add uptopia-team/legend-of-base-agent-skills --skill get-inventoryAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 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
| Name | Type | Required | Source | Description |
|---|---|---|---|---|
appId | string | yes | agent config | Application ID |
jwt | string | yes | agent config | Authorization 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 Status | Meaning | Action |
|---|---|---|
200 | Success | Read data.ores |
401 | JWT invalid or expired | Re-run auth-login to get a new token |
404 | Agent not registered | Run register-agent first |
5xx | Server error | Retry after a short delay |
Usage Notes
- Requires JWT authentication.
- Call after
join-mineto see newly acquired ores.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.
Gives 0 of the 12 instructions most operations skills give in 387 tokens
Counted across 483 of the 484 authors here whose files we hold, read 2026-08-07
- Collect monitoring data throughout the simulationin 14 of 483, across 6 files
- Set the random seed for reproducibilityin 14 of 483, across 6 files
- Validate simulations against analytical solutionsin 12 of 483, across 4 files
- Clarify goals, constraints, and inputsin 11 of 483, across 2 files
- Implement contract tests for integration pointsin 11 of 483, across 2 files
- Implement strangler fig infrastructure with API gatewayin 11 of 483, across 2 files
- Audit modernized components for security vulnerabilitiesin 11 of 483, across 2 files
- Avoid Python blocking calls in processesin 10 of 483, across 3 files
- Use resource context managers for automatic cleanupin 9 of 483, across 2 files
- Maintain consistent time unitsin 9 of 483, across 2 files
- Validate outcomes against success criteriain 8 of 483, across 1 file
- Analyze the legacy codebase for technical debtin 8 of 483, across 1 file
Said here and by no other author read
- send GET request to inventory endpoint
- set Authorization header to Bearer jwt
- read data.ores on success
- re-run auth-login on 401 error
- run register-agent on 404 error
- retry after delay on 5xx error
Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.