rwa-alpha

rwa-alpha is a skill for Claude Code from okx/plugin-store. It costs 171 tokens per session (4,763 once invoked), scanned A, original, MIT.

A trading skill for tokenised real-world assets such as treasury, gold, yield, and governance tokens. It combines macroeconomic events, prediction-market probabilities, and on-chain price data before trading through OKX DEX.

In plain words
What is it for?
Monitoring macro events, assessing tokenised real-world assets, testing strategies in paper mode, and trading them on-chain after explicit confirmation.
Why use it?
It brings several information sources into one strategy and includes paper mode and confirmation checks for live on-chain trades.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: positional $N argument.

Part of the rwa-alpha plugin — 1 skill shipped together

Good fit Monitoring macro events, assessing tokenised real-world assets, testing strategies in paper mode, and trading them on-chain after explicit confirmation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/okx/plugin-store/rwa-alpha
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add okx/plugin-store --skill rwa-alpha
Clone the repo
git clone --depth 1 https://github.com/okx/plugin-store

Made for: Claude Code.

Or install rwa-alpha, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for rwa-alpha

README.md
[![agentmods](https://agentmods.dev/badge/skills/okx/plugin-store/rwa-alpha/github.svg)](https://agentmods.dev/skills/okx/plugin-store/rwa-alpha)
Your own site
<a href="https://agentmods.dev/skills/okx/plugin-store/rwa-alpha"><img src="https://agentmods.dev/badge/skills/okx/plugin-store/rwa-alpha/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for rwa-alpha

Your own site · 80×15
<a href="https://agentmods.dev/skills/okx/plugin-store/rwa-alpha"><img src="https://agentmods.dev/badge/skills/okx/plugin-store/rwa-alpha.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 171 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,763 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Rogue Agent · line 26
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00171 $0.04763
Opus 5.5 $0.00068 $0.01905
Sonnet 5.5 $0.00034 $0.00953
Haiku 4.5 $0.00017 $0.00476

Measured 1mo ago against content hash 831eb53e0f73, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

rwa-alpha scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (config.py, rwa_alpha.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/rwa-alpha/SKILL.md · 375 lines

How it starts

The opening of the file, as written. The whole thing — 375 lines — stays where its author put it; the contents beside it link to each section on GitHub.

RWA Alpha v1.1 — Real World Asset Intelligence Trading Engine

Risk Warning: This strategy trades real tokens on-chain. Capital loss may occur due to RWA liquidity risk, macro prediction errors, smart contract bugs, or slippage. Start in paper mode. Deploy live only with capital you can afford to lose.


Live Trading Confirmation Protocol

These gates are mandatory for the AI agent driving this skill. Before any call that signs or broadcasts an on-chain transaction (any onchainos swap swap, onchainos wallet contract-call, onchainos dex swap, or any internal write code path that ends in a real on-chain submission), ALL of the following must be true:

  1. Paper / preview mode is the default. Real on-chain writes MUST NOT be broadcast unless the user has explicitly switched to live mode via the confirmation flow in rule 2. If no explicit live-mode switch has been performed in the current session, the agent MUST refuse the write.
  2. Live-mode switch requires a typed user confirmation. Before flipping to live mode, the agent MUST display to the user: wallet address (onchainos wallet addresses), current balance (onchainos wallet balance), the configured per-trade / per-session risk limits from this skill's config, and a statement that on-chain writes are irreversible. The user MUST then reply with an unambiguous typed confirmation (e.g. confirm live mode / 确认开启实盘). A conversational "yes / sure / 可以" alone does not satisfy this gate.
  3. Preview before every write. Every write operation MUST first generate a preview (e.g. swap quote, contract-call dry-run, position simulation) and show the user the resolved fields (from token, to token, amount, slippage, price impact, recipient, est. gas). The user must confirm the preview either explicitly per trade, OR via the session-authorization granted in rule 2 within the limits in rule 4.
  4. Session autonomy is bounded. Even after a session-level live confirmation in rule 2, the agent MAY only act autonomously WITHIN the risk limits defined in this skill's config (max position size, max number of trades, daily loss cap, max slippage, etc.). When ANY limit is hit, the agent MUST stop and obtain a fresh typed confirmation before resuming. Do NOT auto-resume after a risk-control trigger.
  5. No signing on unreviewed transactions. Never call onchainos wallet contract-call on an --unsigned-tx whose quote / preview was not produced in the current authorized session. Reusing a stale unsigned tx across sessions is forbidden.
  6. Refuse on gate failure. If any of gates 1–5 cannot be satisfied (e.g. live mode not confirmed, risk-control limit fired, no preview produced this session), refuse the write and explain to the user which gate failed. Do not "try anyway" or "broadcast and warn".

Read the full file on GitHub · 375 lines

Files

What ships with it

11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 375 lines · 171 tokens per session scan A 831eb53e0f73

Subscribe to this mod's changes

rwa-alpha is a skill published in the GitHub repository okx/plugin-store (12 stars, last pushed 18d ago), licensed MIT. It adds 171 tokens to every session and 4,763 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.