/square-post
Use when the user wants to publish new content to Binance Square — short text, multi-image posts (up to 4), long-form articles with an optional cover, or videos with an auto-generated cover frame. Trigger on direct phrasings like "post to Square", "publish to Binance Square",
$ npx -y skills add binance/binance-skills-hub --skill square-post --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/square-post
Context preview
The summary Claude sees to decide when to auto-load this skill.
Use when the user wants to publish new content to Binance Square — short text, multi-image posts (up to 4), long-form articles with an optional cover, or videos with an auto-generated cover frame. Trigger on direct phrasings like "post to Square", "publish to Binance Square",
SKILL.md
square-post.SKILL.mdname: square-post
description: |
Use when the user wants to publish new content to Binance Square — short text, multi-image
posts (up to 4), long-form articles with an optional cover, or videos with an auto-generated
cover frame. Trigger on direct phrasings like "post to Square", "publish to Binance Square",
"发广场", "发布到广场", and on near-miss intents where the user clearly wants to share or
publish content on Square even without naming the skill: "share this analysis on Square",
"把这篇文章发出去", "发个动态", "把这个视频上传到广场", "publish my chart to Square as an
article". Also use when the user provides media (images, video) plus a caption and asks to
push it to Square, or asks to turn a draft into a Square article. Do not use for reading,
searching, commenting, liking, editing, deleting, scheduling, or managing existing Square
posts — this skill only creates new posts.
allowed-tools:
- Bash
metadata:
author: binance-square
version: "2.0.0"
Square Post Skill
Purpose
Publish new content to Binance Square by running the local scripts in `scripts/`.
Supported post types:
- Text-only short posts
- Image posts with up to 4 images
- Long articles with a title and optional cover image
- Video posts with an auto-generated cover image
Do not hand-code API requests for normal posting. The scripts own upload, polling, cover generation, and publish behavior.
Runtime Dependencies
- Node.js 18 or newer. The scripts use native ES modules and the built-in `fetch` API.
- `ffmpeg` is required for video posts because `post-video.mjs` extracts the first frame as the cover image.
- `ffprobe` is required when a video duration is not provided by the user.
- Network access is required for Binance Square OpenAPI requests and presigned media uploads.
Authentication
Posting requires a Binance Square OpenAPI key.
Before posting:
- Prefer `BINANCE_SQUARE_OPENAPI_KEY` from the user's environment if present.
- If it is not present, the scripts automatically check `~/.config/binance-square/openapi-key`.
- If no valid key is found, ask the user to provide an API key first.
- If the user wants to reuse the key in future requests, save it with `BINANCE_SQUARE_OPENAPI_KEY=<apiKey> node scripts/save-key.mjs`; otherwise use it only for the current command environment.
- Tell the user they can create an API key at: https://www.binance.com/square/creator-center/home
Pass the key only via `BINANCE_SQUARE_OPENAPI_KEY` (env or saved file). Never write it into command arguments or print the full key — CLI args appear in `ps` output and shell history. When mentioning a key, show only the first 5 and last 4 characters, such as `abc12...xyz9`.
Scripts
All commands should be run from this skill directory.
Text Or Article Post
Use for text-only short posts or long articles without images.
node scripts/post-text.mjs --text "Hello #crypto $BTC"
Long article with title and no cover:
node scripts/post-text.mjs --text "Full article body..." --title "Market Report"
Flags:
- `--text` required, post text content
- `--title` optional, sets article-style content
Image Post
Use for short image posts or long articles with a cover image.
node scripts/post-image.mjs --text "Chart analysis" --images "./chart1.png,./chart2.png"
Long article with title and cover:
node scripts/post-image.mjs --text "Full analysis..." --title "Market Report" --cover "./chart.png"
Flags:
- `--text` required, post or article content
- `--images` required for short image posts only. Use comma-separated image paths with max 4.
- `--title` optional, sets article-style content. When present, do not pass `--images`.
- `--cover` required when `--title` is present for an article with media. Article mode supports exactly one cover image.
The script uploads each image, waits for processing, and publishes with the processed image URL returned by the backend. If `--title` is provided, it publishes `contentType=2`, requires `--cover`, and sends that uploaded image URL as `cover` only. If no `--title` is provided, it publishes `contentType=1` and sends all `--images` as `imageList`.
Video Post
Use for video posts.
node scripts/post-video.mjs --video "./video.mp4" --duration 7.5 --text "My analysis"
Flags:
- `--video` required, local video path
- `--duration` required, video duration in seconds
- `--text` optional, post text content
The script uploads the video, waits for processing, extracts the first frame with `ffmpeg`, uploads that frame as the cover image, and publishes with `cover` included in the request.
If the user does not provide a duration, use `ffprobe` to determine it before running the script.
Agent Workflow
1. Resolve the API key (see Authentication). If unresolved, stop and ask the user before doing anything else.
2. Pick the script from user intent using the table below. Then validate against Constraints — if a constraint is violated, explain it and do not run.
| User intent | Script | Required flags | |---|---|---| | Short text post | `post-text.mjs` | `--text` | | Long article, no media | `post-text.mjs` | `--text --title` | | Image short post (1–4 imgs, no title) | `post-image.mjs` | `--text --images "<p1,p2,...>"` | | Article with cover | `post-image.mjs` | `--text --title --cover` | | Video post | `post-video.mjs` | `--video --duration` (+ optional `--text`) |
3. Disambiguate edge cases before running:
- Title + exactly one image → that image is the cover (`--cover`, not `--images`).
- Title + multiple images → stop and ask which single image is the cover.
- Video without duration → run `ffprobe` first to get it.
4. Preserve user content exactly. Do not rewrite, translate, add hashtags/cashtags, or change punctuation. `$coin` and `#topic` text passes through verbatim — the backend parses them.
5. Run the script with `BINANCE_SQUARE_OPENAPI_KEY` injected into the command environment for one-time
Read more
name: square-post description: | Use when the user wants to publish new content to Binance Square — short text, multi-image posts (up to 4), long-form articles with an optional cover, or videos with an auto-generated cover frame. Trigger on direct phrasings like "post to Square", "publish to Binance Square", "发广场", "发布到广场", and on near-miss intents where the user clearly wants to share or publish content on Square even without naming the skill: "share this analysis on Square", "把这篇文章发出去", "发个动态", "把这个视频上传到广场", "publish my chart to Square as an article". Also use when the user provides media (images, video) plus a caption and asks to push it to Square, or asks to turn a draft into a Square article. Do not use for reading, searching, commenting, liking, editing, deleting, scheduling, or managing existing Square posts — this skill only creates new posts. allowed-tools: - Bash metadata: author: binance-square version: "2.0.0"
Square Post Skill
Purpose
Publish new content to Binance Square by running the local scripts in `scripts/`.
Supported post types:
- Text-only short posts
- Image posts with up to 4 images
- Long articles with a title and optional cover image
- Video posts with an auto-generated cover image
Do not hand-code API requests for normal posting. The scripts own upload, polling, cover generation, and publish behavior.
Runtime Dependencies
- Node.js 18 or newer. The scripts use native ES modules and the built-in `fetch` API.
- `ffmpeg` is required for video posts because `post-video.mjs` extracts the first frame as the cover image.
- `ffprobe` is required when a video duration is not provided by the user.
- Network access is required for Binance Square OpenAPI requests and presigned media uploads.
Authentication
Posting requires a Binance Square OpenAPI key.
Before posting:
- Prefer `BINANCE_SQUARE_OPENAPI_KEY` from the user's environment if present.
- If it is not present, the scripts automatically check `~/.config/binance-square/openapi-key`.
- If no valid key is found, ask the user to provide an API key first.
- If the user wants to reuse the key in future requests, save it with `BINANCE_SQUARE_OPENAPI_KEY=<apiKey> node scripts/save-key.mjs`; otherwise use it only for the current command environment.
- Tell the user they can create an API key at: https://www.binance.com/square/creator-center/home
Pass the key only via `BINANCE_SQUARE_OPENAPI_KEY` (env or saved file). Never write it into command arguments or print the full key — CLI args appear in `ps` output and shell history. When mentioning a key, show only the first 5 and last 4 characters, such as `abc12...xyz9`.
Scripts
All commands should be run from this skill directory.
Text Or Article Post
Use for text-only short posts or long articles without images.
node scripts/post-text.mjs --text "Hello #crypto $BTC"
Long article with title and no cover:
node scripts/post-text.mjs --text "Full article body..." --title "Market Report"
Flags:
- `--text` required, post text content
- `--title` optional, sets article-style content
Image Post
Use for short image posts or long articles with a cover image.
node scripts/post-image.mjs --text "Chart analysis" --images "./chart1.png,./chart2.png"
Long article with title and cover:
node scripts/post-image.mjs --text "Full analysis..." --title "Market Report" --cover "./chart.png"
Flags:
- `--text` required, post or article content
- `--images` required for short image posts only. Use comma-separated image paths with max 4.
- `--title` optional, sets article-style content. When present, do not pass `--images`.
- `--cover` required when `--title` is present for an article with media. Article mode supports exactly one cover image.
The script uploads each image, waits for processing, and publishes with the processed image URL returned by the backend. If `--title` is provided, it publishes `contentType=2`, requires `--cover`, and sends that uploaded image URL as `cover` only. If no `--title` is provided, it publishes `contentType=1` and sends all `--images` as `imageList`.
Video Post
Use for video posts.
node scripts/post-video.mjs --video "./video.mp4" --duration 7.5 --text "My analysis"
Flags:
- `--video` required, local video path
- `--duration` required, video duration in seconds
- `--text` optional, post text content
The script uploads the video, waits for processing, extracts the first frame with `ffmpeg`, uploads that frame as the cover image, and publishes with `cover` included in the request.
If the user does not provide a duration, use `ffprobe` to determine it before running the script.
Agent Workflow
1. Resolve the API key (see Authentication). If unresolved, stop and ask the user before doing anything else.
2. Pick the script from user intent using the table below. Then validate against Constraints — if a constraint is violated, explain it and do not run.
| User intent | Script | Required flags | |---|---|---| | Short text post | `post-text.mjs` | `--text` | | Long article, no media | `post-text.mjs` | `--text --title` | | Image short post (1–4 imgs, no title) | `post-image.mjs` | `--text --images "<p1,p2,...>"` | | Article with cover | `post-image.mjs` | `--text --title --cover` | | Video post | `post-video.mjs` | `--video --duration` (+ optional `--text`) |
3. Disambiguate edge cases before running:
- Title + exactly one image → that image is the cover (`--cover`, not `--images`).
- Title + multiple images → stop and ask which single image is the cover.
- Video without duration → run `ffprobe` first to get it.
4. Preserve user content exactly. Do not rewrite, translate, add hashtags/cashtags, or change punctuation. `$coin` and `#topic` text passes through verbatim — the backend parses them.
5. Run the script with `BINANCE_SQUARE_OPENAPI_KEY` injected into the command environment for one-time
Binance Skills Hub is an open skills marketplace that gives AI agents native access to crypto: both centralized and decentralized. Search tokens, execute trades, track wallets, monitor signals, and interact with DeFi protocols, all through natural language.
Repo: binance/binance-skills-hub
Other skills on binance-skills-hub.
- /binance-agentic-wallet
Use when the user mentions wallet connect/sign in/sign out, check balance, send/transfer tokens, swap/buy/sell tokens, DEX trade, limit/market order, cancel order, get a quote, transaction history, wallet settings, daily limit, slippage, MEV protection, supported chains,
Open skill - /binance-leaderboard
On-chain wallet leaderboard and Gem Hunter analysis on Binance Web3. Query top trader rankings by PnL, win rate, volume, trade count, or token count across BSC/Solana/Base/ETH. Analyze individual wallet addresses with a 6-dimension scoring model (winrate/stability/drawdown/
Open skill - /binance-sports-ai-analyzer
Use when users ask for World Cup or 世界杯 AI match predictions, WC assistant probabilities, World Cup news insights, master analysis, recomputing football match win rates with custom correction signals, or trading a related prediction market after reviewing the AI analysis.
Open skill - /binance-tokenized-securities-info
Query Ondo tokenized US stock data on Binance Web3. Covers: supported stock token list, RWA metadata (company info, attestation reports), market and per-asset trading status (with corporate action codes for earnings, dividends, splits), real-time on-chain data (token price,
Open skill - /binance-trading-signal
On-chain trading signals and custom signal strategy management on Binance Web3. Three signal sources: smart money (wallet buy/sell events), platform strategies, and user-created strategies (meme / fomo). Four scenario domains: (A) Reports — daily report, monthly backtest review
Open skill - /binance-wallet-tracker
Wallet tracking and monitoring on Binance Web3. Monitor token/trade activity for private groups or public Smart Money/KOL data. Four domains: (A) Discovery — consensus, pioneer, leaderboard diff, token buyer lookup, time-window summaries, similar wallets; (B) Evaluation — token
Open skill

