okx-carry SKILL.md skillB

okx-carry from aaron-recompile/ai_finance is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add aaron-recompile/ai_finance/okx-carry@git:20261007.7c6d709

Pins git:20261007.7c6d709 in mdr.lock. Pin the fingerprint instead.

Audit grade
B, 16 of 17 checks passed
Kind
SKILL.md skill
Repository
aaron-recompile/ai_finance
Path
week-05/code/jarvis-okx-carry/skill/SKILL.md
Versions recorded
1
Latest version
git:20261007.7c6d709, committed Oct 7, 2026
Size
3,306 bytes
Repository stars
28
License
none declared

Run the boss's OKX DEMO (paper) cash-and-carry arbitrage -- long BTC spot + short BTC-USDT-SWAP perp -- with a plan -> boss says CONFIRM -> execute flow. Use when the boss asks to open / check / close an OKX carry, or replies "close" after an OKX carry alert. NOT for the Hyperliquid carry (that is the `carry` skill).

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# OKX carry (demo) -- plan, confirm, execute

Two-leg carry on **OKX Demo Trading only** (fake money): buy BTC spot + short the same amount of
BTC perp. Direction cancels; P&L = funding + basis change - fees.
Executor: `carry_agent.py` (ships beside this skill, in `code/jarvis-okx-carry/`). It reads the API
key itself -- **you never read, print, copy or ask for `~/.secrets/okx-demo.env` or any key.**

Run everything from the `jarvis-okx-carry` dir with `python3 carry_agent.py <cmd>`.

## The one rule: plan -> boss says CONFIRM -> execute

1. Boss asks to open (e.g. "open an OKX carry, 1000"):
   run `plan-open --usdt <amount>` (default 1000, max 2000). Send the boss the plan text **as is**.
   It ends with a 6-digit token. Keep the token to yourself -- do not ask the boss to type it.
2. **Wait.** Only when the boss's next message is an explicit CONFIRM / yes for THIS plan,
   run `open --confirm <token>`. Anything else (questions, "wait", silence, a different amount)
   -> do NOT execute; answer or make a new plan.
3. Report the executor's output as is. If it starts with X, nothing (or a rollback) happened --
   say so plainly, then run `check` and report.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add aaron-recompile/ai_finance/okx-carry@sha256:088fd5abc2545d79

The line at the top of this page pins the label git:20261007.7c6d709, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_vaaahouqz2xo2wap.svg)](https://markdownregistry.com/a/art_vaaahouqz2xo2wap)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Oct 7, 2026.

versioncommittedcommitsizeaudit
git:20261007.7c6d709 latest2026-10-07 7c6d709 3,306 BB view

Audit of the latest version

B  16 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • fail: No instruction to read or print local credentials (matched: print, copy or ask for `~/.secrets/okx-demo.env)
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (3306 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.

Source

GitHub

aaron-recompile/ai_finance · 28 stars · license none declared · pushed 2026-10-20 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_vaaahouqz2xo2wap
GET https://markdownregistry.com/api/v1/resolve?ref=aaron-recompile/ai_finance/okx-carry
GET https://markdownregistry.com/api/v1/blob/088fd5abc2545d791f503ecf6f544a70f5726aadaf778ca4110cfeb3920155fe

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from aaron-recompile/ai_finance

treasury-flash-arb SKILL.md skill
aaron-recompile/ai_finance · week-04/skills/treasury-flash-arb/SKILL.md · Run a flash-loan arbitrage between the course CHEAP and DEAR pools on Base Sepolia using the class wallet's own…
git:20261001.ac53eea · audit A · 28 stars
treasury-lend SKILL.md skill
aaron-recompile/ai_finance · week-04/skills/treasury-lend/SKILL.md · Read or manage the class wallet's LendA borrow position on Base Sepolia (collateral, debt, health factor, liquidation…
git:20261001.ac53eea · audit A · 28 stars
treasury-swap SKILL.md skill
aaron-recompile/ai_finance · week-04/skills/treasury-swap/SKILL.md · Swap tokens from the class wallet on Base Sepolia through the course RouterA, with a fresh quote, slippage protection…
git:20261001.ac53eea · audit A · 28 stars

Every file in aaron-recompile/ai_finance

Browse by kind, by grade B, or by owner.