Agent skill

Relayer Trade

by aAAaqwq in aAAaqwq/AGI-Super-Team

Polymarket链上交易skill。通过Relayer v2 API绕过CLOB geo-block,执行buy(split)/sell(merge+transfer)/redeem/claim。零CLOB依赖,纯链上gasless。Triggers: 'relayer buy', 'relayer sell', 'relayer claim', '链上交易', 'split…

MITAuto-check: notesBusiness, Finance & HR

Install Relayer Trade

skills CLI
$ npx skills add aAAaqwq/AGI-Super-Team --skill relayer-trade -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install aAAaqwq/AGI-Super-Team relayer-trade --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/aAAaqwq/AGI-Super-Team.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/relayer-trade .claude/skills/relayer-trade && rm -rf skills-src

Use ~/.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/

Facts

Skill name
relayer-trade
GitHub stars
105
Token cost
~540 tokens
SKILL.md length
64 words
Files
4 (incl. scripts)
Skills in repo
167
Repo updated
First seen
Licence
MIT

At a glance

Polymarket链上交易skill。通过Relayer v2 API绕过CLOB geo-block,执行buy(split)/sell(merge+transfer)/redeem/claim。零CLOB依赖,纯链上gasless。Triggers: 'relayer buy', 'relayer sell', 'relayer claim', '链上交易', 'split…

  • Business, Finance & HR work in your project
  • SKILL.md covers 脚本目录, 命令, 认证 and 交易模式, plus 2 more sections
  • Runs JavaScript scripts from its folder; calls node and curl; needs POLY_PRIVATE_KEY and POLY_BUILDER_API_KEY

What it does

Relayer Trade is an agent skill from aAAaqwq/AGI-Super-Team. Polymarket链上交易skill。通过Relayer v2 API绕过CLOB geo-block,执行buy(split)/sell(merge+transfer)/redeem/claim。零CLOB依赖,纯链上gasless。Triggers: 'relayer buy', 'relayer sell', 'relayer claim', '链上交易', 'split position', 'merge position', 'geo-block bypass'.

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `package-lock.json`, `package.json` and `scripts/relay_trade.js`).

It sits in Business, Finance & HR. It works with Polymarket. The repository describes itself as: An installable, cross-framework AI organization: C-suite agents, expert subagents, curated skills, independent review, and one-command setup across 18 AI client/runtime adapters. The licence is MIT.

When your agent uses it

  • Business, Finance & HR work in your project

Example prompts

  • “relayer buy”
  • “relayer sell”
  • “relayer claim”
  • “/relayer-trade”

Requirements

  • Node.js
  • A credential in POLY_PRIVATE_KEY
  • A credential in POLY_BUILDER_API_KEY

What it can do on your machine

Read from SKILL.md and the folder at commit 7cefd81. It shows what the files ask for, not the result of running them.

  • Tool permissions

    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.

  • Runs code

    Ships 1 file in scripts/ (JavaScript), which the agent can run.

    Shell commands in SKILL.md call:

    • node
    • curl

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • POLY_PRIVATE_KEY
    • POLY_BUILDER_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Relayer Trade loads about 540 tokens when it runs. Until then it costs about 64 tokens; SKILL.md has 64 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~64
When it runs · the whole SKILL.md, loaded when a task matches
~540

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.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:49
    凭证在 `.env.poly`:`POLY_PRIVATE_KEY` + `POLY_PROXY_WALLET` + `POLY_BUILDER_API_KEY`

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); the scripts in this folder are not scanned.

SKILL.md

The full file from aAAaqwq/AGI-Super-Team at commit 7cefd81, republished under its MIT licence (© aAAaqwq). 64 words, ~540 tokens.

Download SKILL.mdSave it as .claude/skills/relayer-trade/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
relayer-trade
description
Polymarket链上交易skill。通过Relayer v2 API绕过CLOB geo-block,执行buy(split)/sell(merge+transfer)/redeem/claim。零CLOB依赖,纯链上gasless。Triggers: 'relayer buy', 'relayer sell', 'relayer claim', '链上交易', 'split position', 'merge position', 'geo-block bypass'.

Relayer Trade Skill — Polymarket链上Gasless交易

绕过CLOB geo-block的终极方案。 Relayer v2 不做IP检查。

脚本目录

skills/relayer-trade/scripts/
└── relay_trade.js    # 链上交易主脚本

依赖: /tmp/node_modules/ (@polymarket/builder-relayer-client, viem)

命令

bash
# Buy YES (split USDC → YES+NO tokens)
node "$SKILL_DIR/scripts/relay_trade.js" buy <conditionId> <amount_in_usdc>

# Sell YES (merge YES+NO → USDC)
node "$SKILL_DIR/scripts/relay_trade.js" sell <conditionId> <amount>

# Sell YES (transfer to counterparty)
node "$SKILL_DIR/scripts/relay_trade.js" transfer <yes_token_id> <to_address> <amount>

# Approve USDC for CTF
node "$SKILL_DIR/scripts/relay_trade.js" approve-usdc

# Approve CTF tokens for adapter
node "$SKILL_DIR/scripts/relay_trade.js" approve-ctf <spender_address>

# Redeem settled positions (claim)
node "$SKILL_DIR/scripts/relay_trade.js" redeem <conditionId> <yes_amount> <no_amount> [neg_risk]

# Check redeemable positions
node "$SKILL_DIR/scripts/relay_trade.js" check-redeemable

# Test connectivity
node "$SKILL_DIR/scripts/relay_trade.js" ping

认证

凭证在 .env.poly:POLY_PRIVATE_KEY + POLY_PROXY_WALLET + POLY_BUILDER_API_KEY

SDK自动生成 HMAC-SHA256 签名 headers。

交易模式

操作CLOBRelayer链上
买入YESpost_order() → 撮合splitPosition() → USDC铸造YES+NO
卖出YESpost_order()mergePositions() 或 transferFrom()
ClaimBrowserredeemPositions() via NegRiskAdapter

限制: split买入=1:1铸造(无折扣);卖出需NO tokens或对手方

合约地址

合约地址
USDC.e0x2791Bca1f2de4661ED88A30C99A7a9449Aa84174
CTF0x4D97DCd97eC945f40cF65F87097ACe5EA0476045
NegRisk Adapter0xd91E80cF2E7be2e162c6513ceD06f1dD0dA35296

NegRisk市场

negRisk市场使用 NegRiskAdapter.splitPosition/mergePositions/redeemPositions,非标准CTF路径。

判断: curl gamma-api/markets?slug=xxx → negRisk: true/false

© aAAaqwq, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (scripts) in skills/relayer-trade of aAAaqwq/AGI-Super-Team.

  • SKILL.md
  • package-lock.json
  • package.json
  • scripts/relay_trade.js

Open the folder on GitHubat commit 7cefd81

Compare with similar skills

Relayer Trade 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.

Relayer Trade compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Relayer Trade this skillaAAaqwq/AGI-Super-Team105—~540Automated safety check: NotesMIT
Digital Oraclekomako-workshop/digital-oracle878—~5.9kAutomated safety check: PassMIT
Polyclawchainstacklabs/polyclaw3591 repos~2kAutomated safety check: PassApache-2.0
Polymarket TradingBlockRunAI/ClawRouter6.6k—~1.4kAutomated safety check: PassMIT
Dr Manhattanguzus/dr-manhattan204—~2kAutomated safety check: PassApache-2.0
Fintoolsecond-state/fintool316—~5.9kAutomated safety check: PassNone

Similar skills

  • Digital Oracle

    komako-workshop/digital-oracle

    Answer prediction questions using market trading data, not opinions.

    878 GitHub stars~5.9k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Polyclaw

    chainstacklabs/polyclaw

    Trade on Polymarket via split + CLOB execution. An agent skill from chainstacklabs/polyclaw.

    359 GitHub starsUsed in 1 repo~2k tokens
    Business, Finance & HRAuto-check passed
  • Polymarket Trading

    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).

    6.6k GitHub stars~1.4k tokensUpdated 5 days ago
    Business, Finance & HRAuto-check passed
  • Dr Manhattan

    guzus/dr-manhattan

    Trade prediction markets (Polymarket, Kalshi, Opinion, Limitless, Predict.fun) using a unified CCXT-style API.

    204 GitHub stars~2k tokensUpdated 2 mo ago
    Business, Finance & HRAuto-check passed
  • Fintool

    second-state/fintool

    Financial trading CLIs — spot and perp trading on Hyperliquid, Binance, Coinbase, OKX.

    316 GitHub stars~5.9k tokensUpdated 4 mo ago
    Business, Finance & HRAuto-check passed
  • Polymarket Tennis

    livetennisapi/livetennisapi-mcp

    Build observe-only Polymarket and Kalshi tennis market tooling on the polymarket-tennis Python package (MIT) plus the Live Tennis API free tier.

    152 GitHub stars~3k tokensUpdated 4 days ago
    Business, Finance & HRAuto-check passed

More from aAAaqwq/AGI-Super-Team

All 167 skills in this repo
  • Content Creator

    aAAaqwq/AGI-Super-Team

    Create SEO-optimized marketing content with consistent brand voice.

    105 GitHub starsUsed in 3 repos~1.9k tokens
    Auto-check passed
  • Financial Calculator

    aAAaqwq/AGI-Super-Team

    Advanced financial calculator with future value tables, present value, discount calculations, markup pricing, and compound interest.

    105 GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Bankr Signals

    aAAaqwq/AGI-Super-Team

    Transaction-verified trading signals on Base blockchain. An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub starsUsed in 2 repos~3.3k tokens
    Auto-check passed
  • Erc 8004

    aAAaqwq/AGI-Super-Team

    Register AI agents on Ethereum mainnet using ERC-8004 (Trustless Agents).

    105 GitHub starsUsed in 2 repos~1.2k tokens
    Auto-check passed
  • Frontend Design Ultimate

    aAAaqwq/AGI-Super-Team

    Create distinctive, production-grade static sites with React, Tailwind CSS, and shadcn/ui — no mockups needed.

    105 GitHub starsUsed in 2 repos~2.7k tokens
    Auto-check passed
  • Zsxq Smart Publish

    aAAaqwq/AGI-Super-Team

    Publish and manage content on 知识星球 (zsxq.com). An agent skill from aAAaqwq/AGI-Super-Team.

    105 GitHub stars~1.5k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Relayer Trade

What does Relayer Trade do?

Polymarket链上交易skill。通过Relayer v2 API绕过CLOB geo-block,执行buy(split)/sell(merge+transfer)/redeem/claim。零CLOB依赖,纯链上gasless。Triggers: 'relayer buy', 'relayer sell', 'relayer claim', '链上交易', 'split…. Relayer Trade is an agent skill from aAAaqwq/AGI-Super-Team. Polymarket链上交易skill。通过Relayer v2 API绕过CLOB geo-block,执行buy(split)/sell(merge+transfer)/redeem/claim。零CLOB依赖,纯链上gasless。Triggers: 'relayer buy', 'relayer sell', 'relayer claim', '链上交易', 'split position', 'merge position', 'geo-block bypass'.

When should I use Relayer Trade?

Relayer Trade fits situations like: business, Finance & HR work in your project.

How do I install Relayer Trade in Claude Code?

Run `npx skills add aAAaqwq/AGI-Super-Team --skill relayer-trade -a claude-code`. Or copy the skill folder (skills/relayer-trade in aAAaqwq/AGI-Super-Team) into .claude/skills/relayer-trade in your project. Claude Code loads it when a task matches its description.

How do I install Relayer Trade in Codex?

Run `npx skills add aAAaqwq/AGI-Super-Team --skill relayer-trade -a codex`. Or copy the skill folder (skills/relayer-trade in aAAaqwq/AGI-Super-Team) into .agents/skills/relayer-trade in your project. Codex loads it when a task matches its description.

Can I use Relayer Trade in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add aAAaqwq/AGI-Super-Team --skill relayer-trade -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/relayer-trade, .gemini/skills/relayer-trade, .github/skills/relayer-trade and .opencode/skills/relayer-trade in your project.

What does Relayer Trade need to run?

Going by SKILL.md and its folder, Relayer Trade needs JavaScript for the scripts in its folder, the command-line tools its instructions call (node and curl) and credentials named POLY_PRIVATE_KEY and POLY_BUILDER_API_KEY. Our summary lists: Node.js; A credential in POLY_PRIVATE_KEY; A credential in POLY_BUILDER_API_KEY.

Does Relayer Trade access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Relayer Trade safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Relayer Trade use?

Relayer Trade is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Relayer Trade use?

About 540 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Relayer Trade?

Skills that share tags, products or a category with Relayer Trade: Digital Oracle (komako-workshop/digital-oracle, 878 stars), Polyclaw (chainstacklabs/polyclaw, 359 stars), Polymarket Trading (BlockRunAI/ClawRouter, 6.6k stars) and Dr Manhattan (guzus/dr-manhattan, 204 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Relayer Trade?

aAAaqwq (a GitHub user) maintains it in aAAaqwq/AGI-Super-Team, which has 105 GitHub stars. The repository holds 167 skills in this directory. The repository was last updated on October 8, 2026.

Source: aAAaqwq/AGI-Super-Team on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.