Nansen Trading
nansen-ai/nansen-cli
Execute DEX swaps on Solana or Base (including cross-chain bridges) and Hyperliquid perpetual trades.
A skill your agent uses when writing a funding-rate-driven perp strategy on Superior Trade — anything described as funding harvest, funding arbitrage, funding rate carry, negative funding, paid to…
$ npx skills add Superior-Trade/superior-skills --skill funding-rate-arbitrage -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Superior-Trade/superior-skills funding-rate-arbitrage --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Superior-Trade/superior-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/funding-rate-arbitrage .claude/skills/funding-rate-arbitrage && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "funding-rate-arbitrage" agent skill from https://github.com/Superior-Trade/superior-skills/tree/main/skills/funding-rate-arbitrage into .claude/skills/funding-rate-arbitrage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "funding-rate-arbitrage", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Superior-Trade/superior-skills/tree/main/skills/funding-rate-arbitrageType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Superior-Trade/superior-skills --skill funding-rate-arbitrage -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Superior-Trade/superior-skills funding-rate-arbitrage --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Superior-Trade/superior-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/funding-rate-arbitrage .agents/skills/funding-rate-arbitrage && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "funding-rate-arbitrage" agent skill from https://github.com/Superior-Trade/superior-skills/tree/main/skills/funding-rate-arbitrage into .agents/skills/funding-rate-arbitrage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "funding-rate-arbitrage", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Superior-Trade/superior-skills --skill funding-rate-arbitrage -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Superior-Trade/superior-skills funding-rate-arbitrage --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Superior-Trade/superior-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/funding-rate-arbitrage .cursor/skills/funding-rate-arbitrage && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "funding-rate-arbitrage" agent skill from https://github.com/Superior-Trade/superior-skills/tree/main/skills/funding-rate-arbitrage into .cursor/skills/funding-rate-arbitrage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "funding-rate-arbitrage", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Superior-Trade/superior-skills.git --path skills/funding-rate-arbitrage--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Superior-Trade/superior-skills --skill funding-rate-arbitrage -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Superior-Trade/superior-skills funding-rate-arbitrage --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Superior-Trade/superior-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/funding-rate-arbitrage .gemini/skills/funding-rate-arbitrage && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "funding-rate-arbitrage" agent skill from https://github.com/Superior-Trade/superior-skills/tree/main/skills/funding-rate-arbitrage into .gemini/skills/funding-rate-arbitrage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "funding-rate-arbitrage", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Superior-Trade/superior-skills funding-rate-arbitrageInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Superior-Trade/superior-skills --skill funding-rate-arbitrage -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Superior-Trade/superior-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/funding-rate-arbitrage .github/skills/funding-rate-arbitrage && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "funding-rate-arbitrage" agent skill from https://github.com/Superior-Trade/superior-skills/tree/main/skills/funding-rate-arbitrage into .github/skills/funding-rate-arbitrage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "funding-rate-arbitrage", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Superior-Trade/superior-skills --skill funding-rate-arbitrage -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Superior-Trade/superior-skills funding-rate-arbitrage --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Superior-Trade/superior-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/funding-rate-arbitrage .opencode/skills/funding-rate-arbitrage && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "funding-rate-arbitrage" agent skill from https://github.com/Superior-Trade/superior-skills/tree/main/skills/funding-rate-arbitrage into .opencode/skills/funding-rate-arbitrage/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "funding-rate-arbitrage", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
funding-rate-arbitrageA skill your agent uses when writing a funding-rate-driven perp strategy on Superior Trade — anything described as funding harvest, funding arbitrage, funding rate carry, negative funding, paid to…
Funding Rate Arbitrage is an agent skill from Superior-Trade/superior-skills. Use when writing a funding-rate-driven perp strategy on Superior Trade — anything described as funding harvest, funding arbitrage, funding rate carry, negative funding, paid to long, paid to short, basis trade. The strategy reads Hyperliquid hourly funding via dp.getpairdataframe(candletype="fundingrate"), which is automatically downloaded for backtests.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Business, Finance & HR, covering Trading and backtesting and DataFrames. It works with Hyperliquid and Circle USDC. The repository describes itself as: Open agent skills and tool schemas for Superior Trade — build, backtest, and deploy trading strategies on Hyperliquid. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 9d41db5. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python and json).
From the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
freqtrade.iohyperliquid.gitbook.ioFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Funding Rate Arbitrage loads about 1.9k tokens when it runs. Until then it costs about 96 tokens; SKILL.md has 537 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Superior-Trade/superior-skills at commit 9d41db5, republished under its MIT licence (© Superior-Trade). 537 words, ~1,921 tokens.
.claude/skills/funding-rate-arbitrage/SKILL.md (or your agent's skills folder).A user wants to capture funding payments by being on the side that gets paid:
This is the most profitable of the six standard templates in our audit and the engine supports it natively. Promote this template when a user asks "what's a strategy that actually works?".
| Window | BTC/USDC:USDC 1h, 2026-01-01 → 2026-05-01 (BTC −13% over the window) |
|---|---|
| Trades | 55 |
| Win rate | 58.2% |
| Wallet PnL | +1.38% / +$13.76 |
| Profit factor | 1.57 |
| Sharpe | 1.52 |
| Max drawdown | 0.58% |
| Avg holding | 9h 40m |
| Backtest ID | 01kqyz3ejgy5b7tdemhb6gj9nf |
~+4% APR on a single pair through a market that fell 13%. A multi-pair scan (e.g. top 20 perps) compounds this.
The DataProvider exposes funding-rate candles directly. No Hyperliquid REST call from inside the strategy is needed for backtest — Freqtrade auto-downloads funding history when it sees a candle_type="funding_rate" request:
funding = self.dp.get_pair_dataframe(
pair=metadata["pair"],
timeframe="1h", # Hyperliquid funds hourly
candle_type="funding_rate",
)The returned dataframe has the same shape as OHLCV — date, open, high, low, close, volume — but open is the funding rate at the start of that hour, expressed as a fraction (-0.0000135 = -0.0014% per hour). Annualize as funding_rate * 24 * 365.
The naive v1 (placeholder column filled with 0.0) produced 0 trades. v2 with dp.get_pair_dataframe(...) produced 55 trades and Sharpe 1.52.
from freqtrade.strategy import IStrategy
from datetime import datetime
import pandas as pd
import talib.abstract as ta
class FundingHarvestStrategy(IStrategy):
minimal_roi = {"0": 100.0} # let funding work; no profit-target exit
stoploss = -0.05
trailing_stop = False
timeframe = "1h"
process_only_new_candles = True
startup_candle_count = 30
can_short = False
def populate_indicators(self, dataframe: pd.DataFrame, metadata: dict) -> pd.DataFrame:
# Hyperliquid funds hourly — request 1h funding-rate candles.
try:
funding = self.dp.get_pair_dataframe(
pair=metadata["pair"],
timeframe="1h",
candle_type="funding_rate",
)
except Exception:
funding = pd.DataFrame()
if not funding.empty and "open" in funding.columns:
f = funding[["date", "open"]].rename(columns={"open": "funding_rate"}).copy()
dataframe = dataframe.merge(f, on="date", how="left")
dataframe["funding_rate"] = dataframe["funding_rate"].ffill().fillna(0.0)
# Annualize hourly funding: APR = rate * 24 * 365.
dataframe["funding_apr"] = dataframe["funding_rate"] * 24 * 365
else:
dataframe["funding_rate"] = 0.0
dataframe["funding_apr"] = 0.0
dataframe["atr_24"] = ta.ATR(dataframe, timeperiod=24)
return dataframe
def populate_entry_trend(self, dataframe: pd.DataFrame, metadata: dict) -> pd.DataFrame:
# Long when funding APR is deeply negative (shorts paying longs).
dataframe.loc[
(dataframe["funding_apr"] < -0.10) & (dataframe["volume"] > 0),
"enter_long",
] = 1
return dataframe
def populate_exit_trend(self, dataframe: pd.DataFrame, metadata: dict) -> pd.DataFrame:
# Exit when funding flips back to non-negative (no more carry).
dataframe.loc[(dataframe["funding_apr"] >= 0.0), "exit_long"] = 1
return dataframe
def custom_exit(self, pair: str, trade, current_time: datetime,
current_rate: float, current_profit: float, **kwargs):
# Hard timeout — the entry condition was wrong if we're still in
# after 24h without an exit signal.
elapsed_h = (current_time - trade.open_date_utc).total_seconds() / 3600.0
if elapsed_h >= 24:
return "timeout_24h"
return None{
"exchange": { "name": "hyperliquid", "pair_whitelist": ["BTC/USDC:USDC"] },
"stake_currency": "USDC",
"stake_amount": 100,
"timeframe": "1h",
"max_open_trades": 1,
"stoploss": -0.05,
"minimal_roi": { "0": 100.0 },
"trading_mode": "futures",
"margin_mode": "cross",
"entry_pricing": { "price_side": "same" },
"exit_pricing": { "price_side": "same" },
"pairlists": [{ "method": "StaticPairList" }]
}Pair format must be <COIN>/USDC:USDC (futures). BTC/USDC (spot) won't have funding rate data.
| Knob | Effect |
|---|---|
-0.10 (entry threshold APR) | Stricter (-0.20) → fewer trades, only the deepest negative funding episodes. Looser (-0.05) → more trades, lower edge per trade. |
>= 0.0 (exit threshold) | Stricter (>= -0.05) → exit before funding fully normalizes, lock more carry. |
stoploss | Funding pays slowly. A tight stop (-0.02) gets shaken out by routine volatility. -0.05 is the sweet spot from the audit. |
timeout_24h | Max holding. Funding episodes typically last 4–12h on majors; 24h is a safety net. |
can_short = True, enter_short when funding_apr > 0.30, exit_short when funding_apr <= 0.0. Profitable when alts are paying high positive funding (squeezes).StaticPairList with VolumePairList filtered to top 20 perps. Loop the same logic per pair. PnL compounds.BTC/USDC returns no funding rate — the column will be all zeros and zero trades fire. Always use BTC/USDC:USDC.dp.get_pair_dataframe(candle_type="funding_rate") is wired up for HL. Other exchanges may return empty.try/except plus the dataframe.empty check matters — if funding history isn't downloaded yet, the strategy must not crash. The reference above handles both.funding_rate is per-hour (HL funds hourly). Annualizing as * 365 instead of * 24 * 365 is off by 24×.docs/standard-strategies-audit.md, backtest 01kqyz3ejgy5b7tdemhb6gj9nf© Superior-Trade, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/funding-rate-arbitrage of Superior-Trade/superior-skills.
Open the folder on GitHubat commit 9d41db5
Funding Rate Arbitrage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Funding Rate Arbitrage this skillSuperior-Trade/superior-skills | 215 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Nansen Tradingnansen-ai/nansen-cli | 139 | — | ~3.3k | Automated safety check: Notes | MIT | |
| Aomi Transactjeremylongshore/tons-of-skills-marketplace | 2.8k | — | ~2.3k | Automated safety check: Pass | MIT | |
| SupurrLeoYeAI/openclaw-master-skills | 2.2k | — | ~6.5k | Automated safety check: Pass | MIT | |
| Minara Crypto Trading and WalletMinara-AI/minara-skills | 362 | — | ~5.7k | Automated safety check: Pass | None | |
| Polymarket TradingBlockRunAI/ClawRouter | 6.6k | — | ~1.4k | Automated safety check: Pass | MIT |
nansen-ai/nansen-cli
Execute DEX swaps on Solana or Base (including cross-chain bridges) and Hyperliquid perpetual trades.
jeremylongshore/tons-of-skills-marketplace
Build natural-language crypto agents, web3 assistants, and trading bots that read and write EVM chain state.
LeoYeAI/openclaw-master-skills
Backtest, deploy, and monitor trading bots on Hyperliquid. An agent skill from LeoYeAI/openclaw-master-skills.
Minara-AI/minara-skills
Drives the Minara CLI for crypto swaps, perps, limit orders, wallet transfers, deposits and withdrawals, plus AI market analysis.
BlockRunAI/ClawRouter
A skill your agent uses when the user wants to actually PLACE, manage, or redeem bets on Polymarket (not just read odds — that's the blockrunpredexon data tools).
second-state/fintool
Financial trading CLIs — spot and perp trading on Hyperliquid, Binance, Coinbase, OKX.
Superior-Trade/superior-skills
A skill your agent uses when an agent needs to register a Superior Trade account, verify an email OTP, configure x-api-key authentication, or recover from missing or invalid credentials before using…
Superior-Trade/superior-skills
A skill your agent uses when a user needs a QR code or wallet payment URI to fund a Superior-managed EVM wallet on a specific chain before using Lighter, Polymarket, Hyperliquid, or other Superior…
Superior-Trade/superior-skills
A skill your agent uses when a user wants to fund or bridge from an external wallet through a third-party UI such as Relay, especially when asking for MetaMask Mobile QR codes, bridge links…
Superior-Trade/superior-skills
A skill your agent uses when creating, validating, backtesting, deploying, sizing, or troubleshooting Aerodrome/Base spot trading strategies through the Superior Trade API, especially Freqtrade…
Superior-Trade/superior-skills
A skill your agent uses when the user wants to trade, research, or backtest Polymarket prediction markets through Superior Trade — finding markets by slug or event URL, placing a single immediate…
Superior-Trade/superior-skills
A skill your agent uses when running, interpreting, or designing backtests on Superior Trade — anything about backtest windows, trade-count thresholds, exit-reason mix, parameter sweeps…
Works with
Categories
A skill your agent uses when writing a funding-rate-driven perp strategy on Superior Trade — anything described as funding harvest, funding arbitrage, funding rate carry, negative funding, paid to…. Funding Rate Arbitrage is an agent skill from Superior-Trade/superior-skills. Use when writing a funding-rate-driven perp strategy on Superior Trade — anything described as funding harvest, funding arbitrage, funding rate carry, negative funding, paid to long, paid to short, basis trade.
Funding Rate Arbitrage fits situations like: writing a funding-rate-driven perp strategy on Superior Trade — anything described as funding harvest; funding arbitrage; funding rate carry; negative funding.
Run `npx skills add Superior-Trade/superior-skills --skill funding-rate-arbitrage -a claude-code`. Or copy the skill folder (skills/funding-rate-arbitrage in Superior-Trade/superior-skills) into .claude/skills/funding-rate-arbitrage in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Superior-Trade/superior-skills --skill funding-rate-arbitrage -a codex`. Or copy the skill folder (skills/funding-rate-arbitrage in Superior-Trade/superior-skills) into .agents/skills/funding-rate-arbitrage in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Superior-Trade/superior-skills --skill funding-rate-arbitrage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/funding-rate-arbitrage, .gemini/skills/funding-rate-arbitrage, .github/skills/funding-rate-arbitrage and .opencode/skills/funding-rate-arbitrage in your project.
SKILL.md names no scripts, command-line tools or credentials: Funding Rate Arbitrage is instructions for the agent only. Our summary lists: Python 3.
SKILL.md names 2 domains. As links in the text: freqtrade.io and hyperliquid.gitbook.io. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Funding Rate Arbitrage is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Funding Rate Arbitrage: Nansen Trading (nansen-ai/nansen-cli, 139 stars), Aomi Transact (jeremylongshore/tons-of-skills-marketplace, 2.8k stars), Supurr (LeoYeAI/openclaw-master-skills, 2.2k stars) and Minara Crypto Trading and Wallet (Minara-AI/minara-skills, 362 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Superior-Trade (a GitHub organization) maintains it in Superior-Trade/superior-skills, which has 215 GitHub stars. The repository holds 31 skills in this directory. The repository was last updated on September 10, 2026.
Source: Superior-Trade/superior-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.