Skip to content

internet-court/internet-court-skill / vendored/okx/okx-agentic-wallet

okx-agentic-wallet

Unverified

OKX Agentic Wallet — the single skill for the user's wallet and on-chain execution. Use it whenever the user wants to operate their wallet or execute an on-chain action, including: login & accounts, balance / holdings, wallet address / deposit / receive, send / transfer, contract calls (approve / deposit / withdraw), transaction history & status, message signing, wallet export & policy; pay gas with a stablecoin (Gas Station, Solana); swap / trade / buy / sell / convert, get a quote; cross-chain bridge & track arrival; limit orders (buy dip / take profit / stop loss / buy above) plus cancel / list / resume them; broadcast / gas / simulate / track a transaction; look up any public address's holdings; security scanning (token / honeypot 蜜罐 / 貔貅, DApp phishing, tx & signature checks, approvals); audit log. Once matched, follow this skill's Intent Routing to dispatch to the exact action.

_shared/preflight.md

View on GitHub
# Shared Pre-flight Check

> Run ONCE at the start of each conversation, before the first `onchainos` command; don't repeat it on later turns.

## Default — do this, then stop

1. Run: `onchainos preflight --skill-version <this skill's frontmatter version>`
2. Read `data.action` from the JSON it prints (preflight always exits 0 — don't block on it):
   - **null** → continue silently; don't echo routine output.
   - **non-null** → show it to the user (their language) and do exactly what it says (e.g. re-read this SKILL.md; for a package-manager skill, update via its manager; on integrity/update failure run `onchainos upgrade --force`).

`preflight` already updates the binary + skill checkouts, verifies integrity, and reports version + drift. That is the whole check — **do NOT run any other onchainos command** (`--version`, `upgrade`, `which`, ...) on your own initiative; then proceed to the user's request.

For an explicitly pinned feature/E2E binary, the test launcher sets `ONCHAINOS_NO_SELF_UPDATE=1` (or adds `--no-self-update`) so preflight records the running binary identity without replacing it. Never enable this for an ordinary production session.

## Fallbacks — ignore this whole section unless its exact trigger fires

- **The `onchainos preflight` command above errored with "command not found"** (onchainos not installed) → open the README "Install CLI" section (`https://github.com/okx/onchainos-skills?tab=readme-ov-file#install-cli`), identify the current OS, and run the install command from that section matching it (macOS/Linux: the shell command; Windows: the PowerShell command); use the `-beta` install variant if this skill's frontmatter version contains `-beta`. Then re-run preflight (`onchainos preflight --skill-version <this skill's frontmatter version>`) and continue the user's original request. Stop only if the install itself fails.
- **A later onchainos command fails** → don't auto-reinstall; report the error and suggest a manual reinstall.
- **A global install printed `PromptScript does not support global skill installation`** (only with `npx skills add … --yes -g`) → known upstream `npx skills` limitation: the skill files installed correctly. Tell the user it's safe to ignore.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall