Okx Verifiable Wallet Portfolio logo

Okx Verifiable Wallet Portfolio

Organization
primus-labs
okx-verifiable-wallet-portfolio

Plan and partially apply verifiable wallet-portfolio calls for OKX OnchainOS-style workflows using Primus zkTLS. Use when the user asks for wallet total value, token balances, or supported portfolio chains and wants to understand which parts can be attested today versus which parts still require a normal API fallback.

Overview

Publisherprimus-labs
Repositoryskills
Skill nameokx-verifiable-wallet-portfolio
Stars
35
Forks
10
Bundled files
1
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 1 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by primus-labs on GitHub. Read the source before you install it.

Installation

Install the Okx Verifiable Wallet Portfolio AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/primus-labs/skills/tree/main/onchainos-verifiable-skills/skills/okx-verifiable-wallet-portfolio
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/primus-labs/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/onchainos-verifiable-skills/skills/okx-verifiable-wallet-portfolio .claude/skills/okx-verifiable-wallet-portfolio
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Okx Verifiable Wallet Portfolio in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Okx Verifiable Wallet Portfolio on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Okx Verifiable Wallet Portfolio is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

OKX Verifiable Wallet Portfolio

This is a planning-first skill for wallet portfolio proofs.

Current status

  • supported chains: good candidate
  • specific token balance queries: partial candidate
  • total portfolio value: partial candidate
  • full all-balances inventory: not a first-release proof target

Shared references

  • ../../references/primus-zktls-patterns.md
  • ../../references/response-contracts.md
  • ../../references/fallback-decision-trees.md
  • ../../references/interaction-examples.md
  • ../../references/endpoint-catalog.md
  • ../../references/limitations.md

How to use this skill

  1. Determine whether the user needs:
    • chain support metadata
    • one token balance
    • one wallet total-value snapshot
    • or a full wallet inventory
  2. Prefer the smallest claim that can be proven.
  3. If the request is broad or auth-sensitive, explain that only a partial verifiable flow is currently modeled.

First-release guidance

  • Good proof target:
    • "Which chains are supported for portfolio queries?"
  • Possible narrow target:
    • "Prove the balance of token X in wallet Y"
  • Weak target:
    • "Show my full wallet across many chains with proof"

Concrete endpoint templates

Supported chains

  • Endpoint: GET https://web3.okx.com/api/v6/dex/balance/supported/chain
  • Good proof fields:
    • $.data[0].chainIndex
    • $.data[0].name
    • $.data[0].shortName

Total value

  • Endpoint: GET https://web3.okx.com/api/v6/dex/balance/total-value-by-address
  • Query pattern:
text
?address=0xabc...&chains=1&assetType=0
  • Good proof field:
    • $.data[0].totalValue

Specific token balance

  • Endpoint: POST https://web3.okx.com/api/v6/dex/balance/token-balances-by-address
  • Preferred request body:
json
{
  "address": "0xabc...",
  "tokenContractAddresses": [
    {
      "chainIndex": "1",
      "tokenContractAddress": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"
    }
  ]
}
  • Good proof fields:
    • $.data[0].tokenAssets[0].symbol
    • $.data[0].tokenAssets[0].balance
    • $.data[0].tokenAssets[0].tokenPrice
    • $.data[0].tokenAssets[0].isRiskToken

Full balances

  • Endpoint: GET https://web3.okx.com/api/v6/dex/balance/all-token-balances-by-address
  • First-release rule:
    • do not claim a full-wallet proof
    • only use this as a source for a narrower follow-up proof when needed

Output contract

Prefer these reply modes:

  • attested for supported-chain metadata
  • partial for one total-value snapshot or one token balance
  • fallback for full multi-chain wallet inventories

For partial replies, separate:

  • verified subclaim: one balance or total-value snapshot
  • unverified remainder: the rest of the wallet inventory

Fallback policy

If the request is not yet modeled reliably, offer one of:

  • a normal non-verifiable portfolio query
  • a smaller per-token proof
  • a proof of supported-chain metadata only

Decision tree

  1. Is the question about supported chains only?
    • yes -> attested
  2. Is it one wallet total-value snapshot or one token balance?
    • yes -> partial
  3. Is it a full wallet inventory across multiple chains or many tokens?
    • no -> fallback

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Okx Verifiable Wallet Portfolio AI skill do?

Plan and partially apply verifiable wallet-portfolio calls for OKX OnchainOS-style workflows using Primus zkTLS. Use when the user asks for wallet total value, token balances, or supported portfolio chains and wants to understand which parts can be attested today versus which parts still require a normal API fallback.

Why use Okx Verifiable Wallet Portfolio on TypingMind?

Because you install it once and use it with any model. Okx Verifiable Wallet Portfolio is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Okx Verifiable Wallet Portfolio in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/primus-labs/skills/tree/main/onchainos-verifiable-skills/skills/okx-verifiable-wallet-portfolio. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Okx Verifiable Wallet Portfolio?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Okx Verifiable Wallet Portfolio?

As many as you like. As long as a model supports skills, you can use Okx Verifiable Wallet Portfolio with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Okx Verifiable Wallet Portfolio AI skill free?

It is published on GitHub by primus-labs. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇