Agent skill

Four Meme AI

by LeoYeAI in LeoYeAI/openclaw-master-skills

CLI tool for creating and trading meme tokens on Four.Meme (BSC), with structured JSON outputs for config, token details, pricing quotes, on-chain events, and TaxToken fee configuration.

MITAuto-check: notesBackend & APIs

Install Four Meme AI

skills CLI
$ npx skills add LeoYeAI/openclaw-master-skills --skill four-meme-ai -a claude-code

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

GitHub CLI
$ gh skill install LeoYeAI/openclaw-master-skills four-meme-ai --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/LeoYeAI/openclaw-master-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/four-meme-ai .claude/skills/four-meme-ai && 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
four-meme-ai
GitHub stars
2.2k
Token cost
~6.1k tokens
SKILL.md length
2,433 words
Files
30 (incl. scripts, references)
Skills in repo
1,235
Repo updated
First seen
Licence
MIT

At a glance

CLI tool for creating and trading meme tokens on Four.Meme (BSC), with structured JSON outputs for config, token details, pricing quotes, on-chain events, and TaxToken fee configuration.

  • Works in 2 steps: Configure private key: In the Skill… → Enable this skill: In the agent or…
  • Tasks that involve Smart contracts
  • SKILL.md covers [Agent must follow] User…, fourmeme capability overview, CLI (fourmeme) and Agent workflow: buy/sell from…, plus 3 more sections
  • Runs TypeScript scripts from its folder; calls npx, npm and node; reaches bsc-dataseed.binance.org and four.meme; needs PRIVATE_KEY and TAX_TOKEN

What it does

Four Meme AI is an agent skill from LeoYeAI/openclaw-master-skills. CLI tool for creating and trading meme tokens on Four.Meme (BSC), with structured JSON outputs for config, token details, pricing quotes, on-chain events, and TaxToken fee configuration.

Its SKILL.md is about 6.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 31 other files, including scripts and reference files (for example `_meta.json`, `references/agent-creator-and-wallets.md` and `references/api-create-token.md`).

It sits in Backend & APIs, covering Smart contracts and Trading and backtesting. The repository describes itself as: 🧠 Curated collection of 1209+ best OpenClaw skills — weekly updated by MyClaw.ai. The licence is MIT.

When your agent uses it

  • Tasks that involve Smart contracts
  • Tasks that involve Trading and backtesting

Example prompts

  • “/four-meme-ai”

Requirements

  • Node.js
  • A credential in PRIVATE_KEY
  • A credential in TAX_TOKEN
  • Pre-approved tools (allowed-tools): Bash(fourmeme *), Bash(npx fourmeme *)

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. Configure private key: In the Skill management page, set the four-meme-ai skill’s apiKey (corresponds to primaryEnv: "PRIVATE_KEY"), or…
  2. Enable this skill: In the agent or session, ensure the four-meme-ai skill is enabled. Only when the skill is enabled will OpenClaw inject…

What it can do on your machine

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

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Bash(fourmeme *)
    • Bash(npx fourmeme *)

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 7 files in scripts/ (TypeScript, from the files we listed), which the agent can run.

    Shell commands in SKILL.md call:

    • npx
    • npm
    • node

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • bsc-dataseed.binance.org
    • four.meme

    Also links to:

    • four-meme.gitbook.io

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

  • Credentials

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

    • PRIVATE_KEY
    • TAX_TOKEN

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

Context cost

Four Meme AI loads about 6.1k tokens when it runs, and up to ~14k if it reads all its reference files. Until then it costs about 50 tokens; SKILL.md has 2,433 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~50
When it runs · the whole SKILL.md, loaded when a task matches
~6.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~14k

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:107
    - **.env file**: Put a `.env` file in **the directory where you run the `fourmeme` command** (i.e. your project / workin
  • NoteMentions a .env fileSKILL.md:117
    patches to the correct script and loads `.env` from the current working directory.

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 LeoYeAI/openclaw-master-skills at commit e5199b5, republished under its MIT licence (© LeoYeAI). 2,433 words, ~6,070 tokens.

Download SKILL.mdSave it as .claude/skills/four-meme-ai/SKILL.md (or your agent's skills folder). This skill also uses 29 other files; get the full folder from GitHub.
name
four-meme-ai
description
CLI tool for creating and trading meme tokens on Four.Meme (BSC), with structured JSON outputs for config, token details, pricing quotes, on-chain events, and TaxToken fee configuration.
allowed-tools
Bash(fourmeme *), Bash(npx fourmeme *)
license
MIT
metadata.author
Four.meme AI Skill
metadata.version
1.0.5

[Agent must follow] User agreement and security notice on first use

When responding to any user request about fourmeme or this skill, you must first present the content below in this order: User Agreement, then Security Notice, and state clearly that by choosing to continue, the user agrees to the User Agreement.
Until the user has explicitly agreed or confirmed to continue, do not run create-api, create-chain, buy, sell, send, or 8004-register (any operation that uses the private key or writes to the chain). Read-only commands (e.g. config, token-info, quote-buy, 8004-balance) may be run while or after presenting the notice.

Language selection: Present the User Agreement and Security Notice in the user’s language. If the user is writing in Traditional Chinese (繁體中文), use the 繁體中文 block below; otherwise use the English block.


User Agreement & Security Notice (繁體中文)

用戶協議

前情提示:使用本插件及本 skill 所涉功能(包括但不限於代幣創建、買賣、轉帳、8004 註冊等)前,請您閱讀以下協議。若您選擇繼續使用本插件及本 skill 功能,即表示您已閱讀、理解並同意本協議。

本插件性質與責任限制:本插件僅提供純本地的命令列互動能力(私鑰透過環境變數或本地設定使用),不會收集、上傳或儲存您的私鑰。因任何原因(包括但不限於插件被竄改、環境遭入侵、誤操作、第三方插件等)導致的私鑰洩露或資產損失,本插件及提供方不承擔責任。

安全警示

使用本插件進行代幣創建、買賣、轉帳等操作時,請務必注意:

  • 保護私鑰:切勿在聊天對話中輸入、貼上或洩露私鑰;不要將私鑰分享給任何人或任何第三方。
  • 交易錢包僅存小額資金:用於執行操作的錢包(即提供 PRIVATE_KEY 的錢包)建議只存放少量資金,以降低因洩露或誤操作導致的損失。
  • 及時轉出資金:完成交易後,請及時將交易錢包中的資產轉移到您自己控制的、更安全的錢包或冷錢包中。
  • 謹慎安裝 Agent/插件:下載或安裝任何 Agent、瀏覽器插件或第三方工具時,請確認來源可信,避免惡意插件竊取私鑰或助記詞。

User Agreement & Security Notice (English)

User Agreement

Notice: Before using this plugin and this skill (including but not limited to token creation, buy/sell, transfers, 8004 registration), please read the following. By choosing to continue using this plugin and this skill, you have read, understood, and agreed to this agreement.

Plugin nature and limitation of liability: This plugin provides local-only CLI interaction (private key is used via environment or local config). It does not collect, upload, or store your private key. The plugin and its providers are not liable for private key disclosure or asset loss due to any cause (including but not limited to tampered plugin, compromised environment, user error, or third-party plugins).

Security Notice

When using this plugin for token creation, trading, or transfers, please:

  • Protect your private key: Do not type, paste, or expose your private key in chat; do not share it with anyone or any third party.
  • Keep only small amounts in the trading wallet: The wallet used for operations (the one whose PRIVATE_KEY you provide) should hold only a small amount of funds to limit loss from disclosure or mistakes.
  • Move funds out promptly: After trading, move assets from the trading wallet to a wallet or cold storage you control.
  • Install agents/plugins carefully: When installing any agent, browser extension, or third-party tool, verify the source to avoid malware that could steal your private key or seed phrase.

fourmeme capability overview

After you agree to the above and confirm to continue, this skill can help you with the following (all via the fourmeme CLI on BSC):

CategoryCapabilityDescription
CreateCreate tokenUpload image + name/symbol/description/label; optional tax-token params; API returns signature then on-chain create.
QueryPublic configGet raisedToken and other public config (no auth).
QueryToken info (on-chain)By address: version, tokenManager, price, offers (Helper3).
QueryToken list / detail / rankingsREST: filtered paginated list, single-token detail and trading info, hot/24h volume/newest/graduated rankings.
TradingBuy/sell quotesEstimate cost or proceeds for buy or sell (no transaction sent).
TradingExecute buyBuy a given token by amount or by quote spent (requires PRIVATE_KEY).
TradingExecute sellSell a given token amount; optional minimum quote received (requires PRIVATE_KEY).
OtherEvent listeningFetch TokenCreate, TokenPurchase, TokenSale, LiquidityAdded on-chain.
OtherTax token feesQuery on-chain fee and burn/dividend/liquidity config for a token.
OtherSendSend BNB or ERC20 to a given address (requires PRIVATE_KEY).
OtherEIP-8004Register 8004 identity NFT; query balance by address.

See the CLI (fourmeme) table and sections below for commands and arguments.


fourmeme CLI

BSC only; all commands output JSON.

CLI (fourmeme)

Installation (required): npm install -g @four-meme/four-meme-ai@latest. After install, run fourmeme <command> [args]; with local install only, use npx fourmeme <command> [args] from the project root. Run fourmeme --help for usage.

This skill provides: token creation (API + chain), buy/sell quotes and execution, token info/list/rankings, event listening, Tax token fee queries, send, and EIP-8004 identity NFT register and balance. Contract addresses: references/contract-addresses.md. TokenManager V1 is not supported.

PRIVATE_KEY and BSC_RPC_URL

When using OpenClaw
This skill declares requires.env: ["PRIVATE_KEY"] and primaryEnv: "PRIVATE_KEY" in metadata; OpenClaw injects them only when an agent runs with this skill enabled (other skills cannot access them).

Required steps:

  1. Configure private key: In the Skill management page, set the four-meme-ai skill’s apiKey (corresponds to primaryEnv: "PRIVATE_KEY"), or set PRIVATE_KEY under skills.entries["four-meme-ai"].env in ~/.openclaw/openclaw.json. Optionally set BSC_RPC_URL in global env if needed.
  2. Enable this skill: In the agent or session, ensure the four-meme-ai skill is enabled. Only when the skill is enabled will OpenClaw inject PRIVATE_KEY into the process; otherwise create/buy/sell/send/8004-register will fail with missing key. BSC_RPC_URL is optional (metadata: optionalEnv); if not set, scripts use a default BSC RPC.

When not using OpenClaw (standalone)
Set PRIVATE_KEY and optionally BSC_RPC_URL via the process environment so they are available when running npx fourmeme or node bin/fourmeme.cjs:

  • .env file: Put a .env file in the directory where you run the fourmeme command (i.e. your project / working directory). Example: if you run fourmeme quote-buy ... from /path/to/my-project, place .env at /path/to/my-project/.env. The CLI automatically loads .env from that current working directory. Use lines like PRIVATE_KEY=... and BSC_RPC_URL=.... Do not commit .env; add it to .gitignore.
  • Shell export: export PRIVATE_KEY=your_hex_key and export BSC_RPC_URL=https://bsc-dataseed.binance.org (or another BSC RPC), then run npx fourmeme <command> ....
Declared and optional environment variables
  • Declared in registry metadata (injected by OpenClaw when skill is enabled): PRIVATE_KEY (required for write operations). Optional in metadata: BSC_RPC_URL, CREATION_FEE_WEI, 8004_NFT_ADDRESS / EIP8004_NFT_ADDRESS, TAX_TOKEN, WEB_URL, TWITTER_URL, TELEGRAM_URL, PRE_SALE, FEE_PLAN, TAX_FEE_RATE, TAX_BURN_RATE, TAX_DIVIDE_RATE, TAX_LIQUIDITY_RATE, TAX_RECIPIENT_RATE, TAX_RECIPIENT_ADDRESS, TAX_MIN_SHARING. Only PRIVATE_KEY is required for signing; others have defaults or are used only for specific commands (see Create token flow, EIP-8004, etc.). Tax token params use CLI only (--tax-options= or --tax-token --tax-fee-rate=...).
  • Child process security: The CLI and create-token-instant spawn child processes with a minimal env (whitelist in lib/env-whitelist.cjs). Only the above vars plus PATH, HOME, USER, LANG, NODE_ENV are passed to children; other host env vars are not inherited to reduce credential leakage.
Execution and install
  • Invocation: The agent must run commands only via the fourmeme CLI: fourmeme <command> [args] or npx fourmeme <command> [args] (allowed-tools). Do not invoke scripts or npx tsx directly; the CLI entry (bin/fourmeme.cjs) dispatches to the correct script and loads .env from the current working directory.
NeedCommandWhen
Public configfourmeme configGet raisedToken / config (no auth)
Token info (on-chain)fourmeme token-info <tokenAddress>Version, tokenManager, price, offers (BSC Helper3)
Token list (REST)fourmeme token-list [--type=] [--listType=] [--keyword=] [--symbol=] [--tag=] [--status=] [--sort=] [--pageIndex=] [--pageSize=]Token search. Legacy: --orderBy=, --tokenName=, --labels=, --listedPancake=. See token-query-api.md.
Token detail (REST)fourmeme token-get <tokenAddress>Token detail and trading info (get/v2)
Token rankings (REST)fourmeme token-rankings <type> [options]type: NEW|PROGRESS|VOL_DAY_1|HOT|CAP|DEX etc.; options: --symbol= --minCap= --maxCap= --minVol= --maxVol= --minHold= --maxHold= --pageSize=20
Buy quotefourmeme quote-buy <token> <amountWei> [fundsWei]Estimate only; no transaction
Sell quotefourmeme quote-sell <token> <amountWei>Estimate only; no transaction
Execute buyfourmeme buy <token> amount <amountWei> <maxFundsWei>Buy fixed amount (needs PRIVATE_KEY)
Execute buyfourmeme buy <token> funds <fundsWei> <minAmountWei>Spend fixed quote (e.g. BNB) (needs PRIVATE_KEY)
Execute sellfourmeme sell <token> <amountWei> [minFundsWei]Sell (needs PRIVATE_KEY)
Sendfourmeme send <toAddress> <amountWei> [tokenAddress]Send BNB or ERC20 to address (needs PRIVATE_KEY)
EIP-8004 registerfourmeme 8004-register <name> [imageUrl] [description]Register 8004 identity NFT (needs PRIVATE_KEY)
EIP-8004 queryfourmeme 8004-balance <ownerAddress>Query 8004 NFT balance (read-only)
Eventsfourmeme events <fromBlock> [toBlock]TokenCreate / Purchase / Sale / LiquidityAdded
Tax token infofourmeme tax-info <tokenAddress>Fee/tax config for TaxToken
Read-only checkfourmeme verifyRun config + events (last 50 blocks)

Chain: BSC only (Arbitrum/Base not supported).

Create token (full flow)

1. Ask user for required information (must be done first)

Before calling create-instant, the Agent must ask the user for and confirm:

InfoRequiredDescription
Image path (imagePath)YesLocal logo path; jpeg/png/gif/bmp/webp
Token name (name)YesFull token name
Token symbol (shortName)Yese.g. MTK, DOGE
Description (desc)YesToken description text
Label (label)YesOne of: Meme | AI | Defi | Games | Infra | De-Sci | Social | Depin | Charity | Others
Tax token?NoIf yes, ask for tokenTaxInfo (feeRate, four rates, recipientAddress, minSharing); see "tokenTaxInfo parameters" below

Optional: --web-url=, --twitter-url=, --telegram-url=, --pre-sale= (BNB), --fee-plan=; may be provided or left at defaults.

2. Technical flow (done by create-instant)

After collecting the above, execute in this order (handled by scripts or CLI):

  1. Get nonce — POST /private/user/nonce/generate with body accountAddress, verifyType, networkCode (BSC).
  2. Login — Sign You are sign in Meme {nonce} with wallet; POST /private/user/login/dex to get access_token.
  3. Upload image — POST /private/token/upload with access_token in header and image as body; get imgUrl.
  4. Create — fourmeme create-instant --image= --name= --short-name= --desc= --label= [options] runs API create and submits TokenManager2.createToken on BSC in one command.

Split flow (optional): Step 4 — GET /public/config for raisedToken; POST /private/token/create with name, shortName, desc, imgUrl, label, raisedToken, etc.; get createArg, signature. Step 5 — Call TokenManager2.createToken(createArg, sign) on BSC. Use fourmeme create-api then fourmeme create-chain for this split flow.

Commands: fourmeme create-instant --image= --name= --short-name= --desc= --label= [options] (recommended). Or split: fourmeme create-api ... then fourmeme create-chain <createArgHex> <signatureHex>. Full params: fourmeme --help. References: api-create-token.md, create-token-scripts.md, token-tax-info.md.

Tax token

  • Option 1: --tax-options=<path> — path to JSON file with { "tokenTaxInfo": { ... } }; fields see “tokenTaxInfo parameters” below.
  • Option 2: CLI: --tax-token --tax-fee-rate=5 --tax-burn-rate=0 --tax-divide-rate=0 --tax-liquidity-rate=100 --tax-recipient-rate=0 --tax-recipient-address= --tax-min-sharing=100000 (burn+divide+liquidity+recipient = 100). See references/token-tax-info.md.

tokenTaxInfo parameters (required for tax token, via JSON or CLI):

FieldTypeDescriptionConstraint
feeRatenumberTrading fee rate (%)Only 1, 3, 5, 10
burnRatenumberBurn share (%)Sum with next three = 100
divideRatenumberDividend share (%)Same
liquidityRatenumberLiquidity share (%)Same
recipientRatenumberRecipient share (%)0 if unused
recipientAddressstringRecipient address"" if unused
minSharingnumberMin balance for dividend (ether units)d×10ⁿ, n≥5, 1≤d≤9; e.g. 100000, 1000000

Example (5% fee, 20% burn, 30% dividend, 40% liquidity, 10% recipient):

json
{
  "tokenTaxInfo": {
    "feeRate": 5,
    "burnRate": 20,
    "divideRate": 30,
    "liquidityRate": 40,
    "recipientRate": 10,
    "recipientAddress": "0x1234567890123456789012345678901234567890",
    "minSharing": 100000
  }
}
Show full SKILL.md (838 more words)Show less
token-info
bash
fourmeme token-info <tokenAddress>

On-chain query (Helper3); returns version, tokenManager, price, offers, etc.

token-list / token-get / token-rankings (REST)

Four.meme REST API; use Accept: application/json; no login or cookie. Full parameter tables: references/token-query-api.md.

Token list (search)

bash
fourmeme token-list [--type=] [--listType=] [--keyword=] [--symbol=] [--tag=] [--status=] [--sort=] [--version=] [--pageIndex=1] [--pageSize=20]

Params: type, listType, keyword, symbol, tag, status, sort, version, pageIndex, pageSize. API: POST /public/token/search. Legacy: --orderBy=, --tokenName=, --labels=, --listedPancake=.

Token detail and trading info

bash
fourmeme token-get <tokenAddress>

API: GET /private/token/get/v2?address=...

Rankings

bash
fourmeme token-rankings <type> [--rankingKind=] [--version=] [--symbol=] [--minCap=] [--maxCap=] [--minVol=] [--maxVol=] [--minHold=] [--maxHold=] [--pageSize=20]

type: NEW | PROGRESS | VOL_MIN_5 | VOL_MIN_30 | VOL_HOUR_1 | VOL_HOUR_4 | VOL_DAY_1 | VOL | LAST | HOT | CAP | DEX. Optional: rankingKind, version, symbol, minCap, maxCap, minVol, maxVol, minHold, maxHold, pageSize. Legacy: Time, ProgressDesc, TradingDesc, Hot, Graduated. API: POST /public/token/ranking. Output JSON.

quote-buy / quote-sell (estimate only; no transaction)
bash
fourmeme quote-buy <tokenAddress> <amountWei> [fundsWei]
fourmeme quote-sell <tokenAddress> <amountWei>
  • amountWei: token amount (use 0 when buying by quote amount); fundsWei: quote to spend (omit or 0 when buying by token amount).
buy / sell (execute; requires PRIVATE_KEY)

Buy (one of):

  • By amount: fourmeme buy <token> amount <amountWei> <maxFundsWei> (spend at most maxFundsWei to buy amountWei tokens).
  • By funds: fourmeme buy <token> funds <fundsWei> <minAmountWei> (spend fundsWei quote, receive at least minAmountWei tokens).

Sell: Script performs approve then sell.

bash
fourmeme sell <tokenAddress> <amountWei> [minFundsWei]
  • minFundsWei optional (slippage: minimum quote received). V2 tokens only.
send (send BNB or ERC20 to an address)

Send native BNB or ERC20 from the current wallet (PRIVATE_KEY) to a given address (BSC).

bash
fourmeme send <toAddress> <amountWei> [tokenAddress]
ArgumentDescription
toAddressRecipient address (0x...)
amountWeiAmount in wei (BNB or token smallest unit)
tokenAddressOptional. Omit or use BNB / 0x0 for native BNB; otherwise ERC20 contract address
  • Env: PRIVATE_KEY. Optional: BSC_RPC_URL.
  • Output: JSON with txHash, to, amountWei, native (whether BNB).

Examples:

bash
# Send 0.1 BNB (1e17 wei)
fourmeme send 0x1234...abcd 100000000000000000

# Send 1000 units of an ERC20 (18 decimals)
fourmeme send 0x1234...abcd 1000000000000000000000 0xTokenContractAddress
EIP-8004 identity NFT (register and query)

EIP-8004 identity NFT: register (mint) and query balance. Default contract: 0x8004A169FB4a3325136EB29fA0ceB6D2e539a432 (BSC). Override with env 8004_NFT_ADDRESS or EIP8004_NFT_ADDRESS.

Register: Requires PRIVATE_KEY. User provides name (required), image URL (optional), description (optional). CLI builds EIP-8004 payload (type, name, description, image, active, supportedTrust), encodes as data:application/json;base64,<base64> for agentURI, and calls register(string agentURI).

bash
fourmeme 8004-register <name> [imageUrl] [description]
ArgumentDescription
nameRequired. Identity name
imageUrlOptional. Avatar/image URL (must be publicly reachable)
descriptionOptional. Description
  • Output JSON: txHash, agentId (from event), agentURI.

Query: Read-only; number of 8004 NFTs held by an address.

bash
fourmeme 8004-balance <ownerAddress>
  • Output JSON: owner, balance.

Examples:

bash
fourmeme 8004-register "myagent" "https://example.com/logo.png" "My agent description"
fourmeme 8004-balance 0x1234567890123456789012345678901234567890
events (TokenManager2 V2 only)

Fetch TokenCreate, TokenPurchase, TokenSale, LiquidityAdded on BSC.

bash
fourmeme events <fromBlock> [toBlock]

Omit toBlock for latest. Real-time subscription: references/event-listening.md.

tax-info (TaxToken fee/tax)

Only for TaxToken (creatorType 5).

bash
fourmeme tax-info <tokenAddress>

See references/tax-token-query.md.

Agent workflow: buy/sell from rankings or events

This skill supports a flow to discover tokens, get details, quote, and execute. The following is an example workflow, not a trading recommendation: discover → detail → quote → execute.

  1. Discover (one or more of):
    • Rankings: fourmeme token-rankings <type> (type = HOT, VOL_DAY_1, NEW, PROGRESS, DEX, etc.); use token addresses from the response.
    • List: fourmeme token-list [--type=] [--keyword=] [--tag=] ... to filter and get addresses.
    • On-chain events: fourmeme events <fromBlock> [toBlock]; parse token addresses from TokenCreate/TokenPurchase, etc., for "newly created" or "recent trades" strategies.
  2. Get details: For each candidate, call fourmeme token-get <address> (REST detail and trading info) or fourmeme token-info <address> (on-chain version, tokenManager, price, offers) to filter or display.
  3. Quote: fourmeme quote-buy <token> <amountWei> [fundsWei] / fourmeme quote-sell <token> <amountWei> for estimated cost or proceeds.
  4. Execute: fourmeme buy ... / fourmeme sell ... (requires PRIVATE_KEY). Before executing, the Agent must confirm user intent (e.g. user said "buy 0.05 BNB each for top 5 by 24h volume" or "auto-buy 0.01 BNB for new tokens") and obtain explicit confirmation before first automated execution to avoid unauthorized use of funds.

When the user asks to "buy/sell based on rankings or activity", the Agent should clarify: which ranking (hot, 24h volume, newest, graduated, etc.), amount per token, and whether to quote only or also execute; then run the appropriate commands.

Trading (Buy / Sell)

  • Version – Use TokenManagerHelper3 getTokenInfo(token). If version === 1 use V1 TokenManager; if version === 2 use TokenManager2 (and check for X Mode / TaxToken / AntiSniperFeeMode if needed).
  • Quote (pre-calc) – TokenManagerHelper3:
    • Buy: tryBuy(token, amount, funds) – use amount > 0 for "buy X tokens", or funds > 0 for "spend X quote".
    • Sell: trySell(token, amount).
  • Execute – Use the tokenManager address from getTokenInfo and call the corresponding contract:
    • V1: purchaseToken / purchaseTokenAMAP, saleToken.
    • V2: buyToken / buyTokenAMAP, sellToken. For sell, user must ERC20.approve(tokenManager, amount) first.
    • X Mode tokens: use TokenManager2 buyToken(bytes args, uint256 time, bytes signature) with encoded BuyTokenParams.

API and config reference

  • Token detail (REST): GET /private/token/get?address=<token>, GET /private/token/getById?id=<requestId> (requestId from TokenCreate event). Response may include data.aiCreator (token created by Agent). List/rankings: references/token-query-api.md.
  • Agent Creator / Agent wallets: On-chain — token template bit 85 for “created by agent”; AgentIdentifier contract (isAgent(wallet)) on BSC to identify agent wallets. See references/agent-creator-and-wallets.md and references/contract-addresses.md.
  • raisedToken: GET https://four.meme/meme-api/v1/public/config for current raisedToken; use as-is in create body; do not modify its fields.

References

DocumentDescription
contract-addresses.mdTokenManager / TokenManager2 / Helper3 addresses (BSC)
api-create-token.mdCreate token API (nonce / login / upload / create)
create-token-scripts.mdCreate token script flow and examples
token-tax-info.mdTax token tokenTaxInfo parameters and constraints
token-query-api.mdToken list / detail / rankings REST API
errors.mdbuy/sell error codes; X Mode / TaxToken / AntiSniperFeeMode; Agent Creator
agent-creator-and-wallets.mdToken created by Agent Creator; AgentIdentifier contract and Agent wallets
execute-trade.mdExecute buy/sell CLI and contract usage
event-listening.mdTokenManager2 event listening (V2)
tax-token-query.mdTaxToken on-chain fee/tax query (tax-info)
Official four.meme API and contracts (online): Protocol IntegrationAPI documents, ABIs: TokenManager, TokenManager2, Helper3, TaxToken, AgentIdentifier, etc.

© LeoYeAI, 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 29 other files (scripts, references) in skills/four-meme-ai of LeoYeAI/openclaw-master-skills.

  • SKILL.md
  • _meta.json
  • references/agent-creator-and-wallets.md
  • references/api-create-token.md
  • references/contract-addresses.md
  • references/create-token-scripts.md
  • references/errors.md
  • references/event-listening.md
  • references/execute-trade.md
  • references/tax-token-query.md
  • references/token-query-api.md
  • references/token-tax-info.md
  • scripts/8004-balance.ts
  • scripts/8004-register.ts
  • scripts/create-token-api.ts
  • scripts/create-token-chain.ts
  • scripts/create-token-instant.ts
  • scripts/execute-buy.ts
  • scripts/execute-sell.ts
  • … and 11 more

Open the folder on GitHubat commit e5199b5

Compare with similar skills

Four Meme AI 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.

Four Meme AI compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Four Meme AI this skillLeoYeAI/openclaw-master-skills2.2k—~6.1kAutomated safety check: NotesMIT
Deposit QrSuperior-Trade/superior-skills215—~1.1kAutomated safety check: PassMIT
Coingeckosendaifun/skills1301 repos~4.8kAutomated safety check: NotesApache-2.0
Gmgn TrackGMGNAI/gmgn-skills609—~5.4kAutomated safety check: NotesMIT
Trading Evmalsk1992/CloddsBot3k—~1.9kAutomated safety check: PassMIT
Verifyalsk1992/CloddsBot3k—~1.2kAutomated safety check: PassMIT

Similar skills

  • Deposit Qr

    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…

    215 GitHub stars~1.1k tokensUpdated 1 mo ago
    Backend & APIsAuto-check passed
  • Coingecko

    sendaifun/skills

    Complete CoinGecko Solana API integration for token prices, DEX pool data, OHLCV charts, trades, and market analytics.

    130 GitHub starsUsed in 1 repo~4.8k tokens
    Backend & APIsAuto-check: notes
  • Gmgn Track

    GMGNAI/gmgn-skills

    Get real-time crypto buy/sell activity from Smart Money wallets, KOL influencer wallets, and personally followed wallets via GMGN API — alpha signals, whale tracking, meme token copy-trading ideas…

    609 GitHub stars~5.4k tokensUpdated 12 days ago
    Backend & APIsAuto-check: notes
  • Trading Evm

    alsk1992/CloddsBot

    Trade tokens on EVM chains - Uniswap V3, 1inch on Ethereum, Arbitrum, Optimism, Base, Polygon

    3k GitHub stars~1.9k tokensUpdated 8 days ago
    Backend & APIsAuto-check passed
  • Verify

    alsk1992/CloddsBot

    Verify agent identity using ERC-8004 on-chain registry. An agent skill from alsk1992/CloddsBot.

    3k GitHub stars~1.2k tokensUpdated 8 days ago
    Backend & APIsAuto-check passed
  • Sleuth AI

    BankrBot/skills

    On-chain investigation — insiders, holders, whales, first buyers, wallet identity, side-wallet networks, and pump-and-dump detection.

    1.2k GitHub stars~3k tokensUpdated yesterday
    Backend & APIsAuto-check passed

More from LeoYeAI/openclaw-master-skills

All 1,200 skills in this repo
  • DevOps Pipeline Management

    LeoYeAI/openclaw-master-skills

    Manages pipelines on a DevOps quality and efficiency platform through its OpenAPI: list workspaces and templates, create, update, run and cancel pipelines, and read run records.

    2.2k GitHub stars~4.2k tokensUpdated 2 mo ago
    Auto-check: notes
  • Feishu Document Collaboration

    LeoYeAI/openclaw-master-skills

    Patches OpenClaw's Feishu extension so an edited document triggers an isolated agent session that reads the doc and replies inline, turning it into a live chat space.

    2.2k GitHub stars~2k tokensUpdated 2 mo ago
    Auto-check passed
  • Files Memory System

    LeoYeAI/openclaw-master-skills

    Multi-context memory management system for OpenClaw agents with group-isolated storage, global shared memory, workspace organization, and group-specific skills isolation.

    2.2k GitHub stars~3.8k tokensUpdated 2 mo ago
    Auto-check passed
  • GEO-Claw AI Visibility Agent

    LeoYeAI/openclaw-master-skills

    Runs a brand's AI-search visibility work end to end: diagnosing how AI platforms represent it, repositioning it, producing AI-optimized content and monitoring ongoing mentions.

    2.2k GitHub stars~4.7k tokensUpdated 2 mo ago
    Auto-check passed
  • Google Workspace CLI

    LeoYeAI/openclaw-master-skills

    Installs and authenticates the gws CLI, then automates Gmail, Drive, Sheets, Calendar, Docs, Chat and Tasks with ready-made recipes, persona bundles and security audits.

    2.2k GitHub stars~2.6k tokensUpdated 2 mo ago
    Auto-check: notes
  • HealthFit Health Advisors

    LeoYeAI/openclaw-master-skills

    Runs four advisor roles, a fitness coach, nutritionist, data analyst and TCM practitioner, to build a health profile and track workouts, diet and wellness over time.

    2.2k GitHub stars~4.4k tokensUpdated 2 mo ago
    Auto-check passed

Categories

Questions about Four Meme AI

What does Four Meme AI do?

CLI tool for creating and trading meme tokens on Four.Meme (BSC), with structured JSON outputs for config, token details, pricing quotes, on-chain events, and TaxToken fee configuration. Four Meme AI is an agent skill from LeoYeAI/openclaw-master-skills.Meme (BSC), with structured JSON outputs for config, token details, pricing quotes, on-chain events, and TaxToken fee configuration.

When should I use Four Meme AI?

Four Meme AI fits situations like: tasks that involve Smart contracts; tasks that involve Trading and backtesting.

How do I install Four Meme AI in Claude Code?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill four-meme-ai -a claude-code`. Or copy the skill folder (skills/four-meme-ai in LeoYeAI/openclaw-master-skills) into .claude/skills/four-meme-ai in your project. Claude Code loads it when a task matches its description.

How do I install Four Meme AI in Codex?

Run `npx skills add LeoYeAI/openclaw-master-skills --skill four-meme-ai -a codex`. Or copy the skill folder (skills/four-meme-ai in LeoYeAI/openclaw-master-skills) into .agents/skills/four-meme-ai in your project. Codex loads it when a task matches its description.

Can I use Four Meme AI 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 LeoYeAI/openclaw-master-skills --skill four-meme-ai -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/four-meme-ai, .gemini/skills/four-meme-ai, .github/skills/four-meme-ai and .opencode/skills/four-meme-ai in your project.

What does Four Meme AI need to run?

Going by SKILL.md and its folder, Four Meme AI needs TypeScript for the scripts in its folder, the command-line tools its instructions call (npx, npm and node) and credentials named PRIVATE_KEY and TAX_TOKEN. Our summary lists: Node.js; A credential in PRIVATE_KEY; A credential in TAX_TOKEN. Its frontmatter pre-approves these tools: Bash(fourmeme *), Bash(npx fourmeme *).

Does Four Meme AI access the network?

SKILL.md names 3 domains. In commands or code: bsc-dataseed.binance.org and four.meme; the agent is likely to contact these when it follows the instructions. As links in the text: four-meme.gitbook.io. This is read from the text; nothing was executed.

Is Four Meme AI 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 Four Meme AI use?

Four Meme AI is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Four Meme AI use?

About 6.1k tokens (SKILL.md is roughly 24k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 7.6k tokens, read only when the agent opens those files.

What are the alternatives to Four Meme AI?

Skills that share tags, products or a category with Four Meme AI: Deposit Qr (Superior-Trade/superior-skills, 215 stars), Coingecko (sendaifun/skills, 130 stars), Gmgn Track (GMGNAI/gmgn-skills, 609 stars) and Trading Evm (alsk1992/CloddsBot, 3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Four Meme AI?

LeoYeAI (a GitHub user) maintains it in LeoYeAI/openclaw-master-skills, which has 2,161 GitHub stars. The repository holds 1,235 skills in this directory. The repository was last updated on July 20, 2026.

Source: LeoYeAI/openclaw-master-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.