Home / starchild-ai-agent / official-skills · openocean/SKILL.md · GitHub

openocean skillA

openocean is agent-read markdown (skill) from starchild-ai-agent/official-skills: OpenOcean DEX aggregator: quote and execute swaps with balance-delta verification. Use when comparing routes or executing a swap via OpenOcean (e.g. quote DAI→USDC, swap with slippage check, verify post-trade balance)..

Indexed from public GitHub and served as immutable, content-addressed versions. Install it pinned to an exact SHA-256 with the mdr CLI, and every file is verified against the hash recorded here before it reaches your agent. The deterministic audit below grades the latest version, and the same file always earns the same grade.

What the file says

# OpenOcean Skill (Starchild Adapter)

Use this skill when user asks to:
- get OpenOcean quote
- execute swap via OpenOcean route
- run OpenOcean trade through Starchild wallet

## Runtime Mode

Script-only. Does not register tools.

Imports:
`from skills.openocean.exports import openocean_gas_price, openocean_quote, openocean_swap`

## Functions

- `openocean_gas_price(chain='ethereum')`
- `openocean_quote(chain, in_token, out_token, amount_wei, slippage='1')`
- `openocean_swap(chain, in_token, out_token, amount_wei, slippage='1', verify_timeout_seconds=90, poll_interval_seconds=5)`

## Current Scope

- Ethereum mainnet execution path tested (ETH -> ERC20 and ERC20 -> ETH)
- Uses Starchild wallet runtime (`/agent/transfer`) to broadcast
- Built-in ERC20 approval flow (checks allowance and sends approve when needed)
- Verifies result by balance delta (works when tx hash is delayed)

## Safety Checklist

1. First call `openocean_quote` and show output.
2. Confirm amount and slippage with user.
3. Execute with small amount first.
4. Require verification result (`verified_by_balance_delta=true`) before claiming success.

Read the whole file at its exact version.

How to install

Latest version
mdr add starchild-ai-agent/official-skills/openocean@v1.2.0
Exact content
mdr add starchild-ai-agent/official-skills/openocean@sha256:cf163aa30fca46d9

Pin to a label to follow the author's releases, or to a sha256 to freeze the exact bytes forever. Either way the resolved hash is written to mdr.lock, and mdr install reproduces it on any machine.

Badge

mdr badge

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

1 badge views in 30 days

Versions

versioncommittedcommitsizeaudit
v1.2.0 latest2026-07-14 98a8254 1,626 BA view · diff
v1.1.12026-05-21 868b4d4 1,626 BA view · diff
v1.1.02026-05-09 ad35d27 1,521 BA view · diff
v1.0.02026-05-08 9c2698a 1,410 BA view

Audit of the latest version

A  17 of 17 checks passed. Deterministic, no model, same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1626 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 instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

starchild-ai-agent/official-skills · 28 stars · license none · pushed 2026-09-18 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_z6j4lceozjq6ejdf
GET https://markdownregistry.com/api/v1/resolve?ref=starchild-ai-agent/official-skills/openocean
GET https://markdownregistry.com/api/v1/blob/cf163aa30fca46d9f0f18a55c7724a5687ee08dc145a5cf4bde5655583594514

Your agent 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.

More from starchild-ai-agent/official-skills

1inch skill
starchild-ai-agent/official-skills · 1inch/SKILL.md · 1inch DEX aggregator: same-chain EVM swaps, SOL↔EVM cross-chain, limit orders. Use when swapping tokens with best…
v2.3.0 · audit B · 28 stars
PANews skill
starchild-ai-agent/official-skills · PANews/SKILL.md · PANews crypto news: headlines, articles, columns, events, smart money boards. Use when reading PANews coverage or…
v1.0.1 · audit A · 28 stars
shopify skill
starchild-ai-agent/official-skills · Shopify/SKILL.md · Shopify development skills: Admin GraphQL, Storefront, Hydrogen, Liquid, Polaris, Functions, POS, and more. Use when…
v1.0.0 · audit A · 28 stars
shopify-admin skill
starchild-ai-agent/official-skills · Shopify/shopify-admin/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-custom-data skill
starchild-ai-agent/official-skills · Shopify/shopify-custom-data/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-customer skill
starchild-ai-agent/official-skills · Shopify/shopify-customer/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-dev skill
starchild-ai-agent/official-skills · Shopify/shopify-dev/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-functions skill
starchild-ai-agent/official-skills · Shopify/shopify-functions/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-hydrogen skill
starchild-ai-agent/official-skills · Shopify/shopify-hydrogen/SKILL.md
git:20260914.5098bda · audit C · 28 stars
shopify-liquid skill
starchild-ai-agent/official-skills · Shopify/shopify-liquid/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-partner skill
starchild-ai-agent/official-skills · Shopify/shopify-partner/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars
shopify-payments-apps skill
starchild-ai-agent/official-skills · Shopify/shopify-payments-apps/SKILL.md
git:20260606.5f3d89c · audit C · 28 stars

Every file in starchild-ai-agent/official-skills

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