본문으로 건너뛰기
cccskills
무료GitHub에 공개

square-post

Publish new text, image, article, or video posts to Binance Square using local scripts. Keep supplied text unchanged while the scripts upload media, generate video covers, and handle publication.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

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.

연동 도구Binance
설치 방법 보기

이럴 때 유용합니다

  • Publishing a short text post to Binance Square
  • Sharing charts with up to four images
  • Publishing a long article with a cover
  • Uploading a video with a caption

포함된 파일(7)

  • SKILL.md7.3 KB
  • README.md2.1 KB
  • scripts/lib.mjs5.2 KB
  • scripts/post-image.mjs2.3 KB
  • scripts/post-text.mjs1.1 KB
  • scripts/post-video.mjs3.1 KB
  • scripts/save-key.mjs948 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

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 intentScriptRequired flags
    Short text postpost-text.mjs--text
    Long article, no mediapost-text.mjs--text --title
    Image short post (1–4 imgs, no title)post-image.mjs--text --images "<p1,p2,...>"
    Article with coverpost-image.mjs--text --title --cover
    Video postpost-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 use (never as a CLI arg).

  6. Report the result:

    • On success, return the ID and Link printed by the script.
    • If the script prints Success! with ID: unavailable and Link: unavailable, treat it as successful — /content/add returned 504 after submission, so no post ID or link is available.
    • On failure, surface the script error and any API code/message.

Constraints

  • Images: max 4 per post; article cover is exactly 1 image.
  • Video: max 1 per post.
  • Images and video are mutually exclusive in a single post.
  • Only attach media the user explicitly provided; do not auto-attach.
  • Do not modify user-provided text. #topic and $coin are parsed server-side.
  • Daily limits: 100 posts/day, 400 uploads/day.

Common Errors

  • 220003: API key not found.
  • 220004: API key expired.
  • 220009: Daily post limit exceeded for OpenAPI.
  • 220014: Daily upload limit exceeded.
  • 20002 or 20022: Sensitive words detected.
  • 20013: Content length is limited.
  • 20020 or 220011: Content body must not be empty.
  • 30008, 2000001, or 2000002: Account or device posting restriction.

Scope

This skill only supports publishing new posts. It does not support:

  • Reading, listing, or searching existing posts
  • Editing or deleting posts
  • Commenting, liking, or other interactions
  • User profile or account management
  • Scheduling or drafts

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

binance

무료

Use an authenticated command-line tool to work with Binance spot trading, futures, and asset conversion. The skill provides command references for these tasks, alongside wallet operations and other Binance services.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Work with Binance spot and futures trading
  • Convert crypto assets through Binance Convert
  • Find commands for wallet and account operations
ccxt/ccxt4.4만2026년 10월 18일 업데이트

Manage a Binance Web3 wallet through the baw command-line tool. Check balances, transfer or swap tokens, manage limit orders and token permissions, and access prediction markets and DeFi, blockchain-based financial services.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check wallet balances and transaction history
  • Send tokens, swap assets, and manage limit orders
  • Review and revoke token spending permissions
ccxt/ccxt4.4만2026년 10월 18일 업데이트

Explore World Cup match predictions, related news, and market probabilities. Adjust model factors to compare possible outcomes, then optionally hand off to Binance Agentic Wallet for prediction-market trading, where orders require an explicit choice and confirmation.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Review AI predictions for a World Cup match
  • Compare model probabilities with market probabilities
  • Recalculate probabilities with adjusted factors
ccxt/ccxt4.4만2026년 10월 18일 업데이트

Look up Ondo tokens representing US stocks through Binance Web3. Retrieve prices, holder counts, company details, trading restrictions, and candlestick data, and compare token prices with underlying stock prices while accounting for shares represented by each token.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Research available tokenized US stocks
  • Check trading restrictions and their reasons
  • Compare token and underlying stock prices
ccxt/ccxt4.4만2026년 10월 18일 업데이트

ccxt-cli

무료

Use ccxt-cli to query cryptocurrency exchanges from the terminal without writing application code. Check prices, balances, and orders, stream live market data, display candlestick charts, and return JSON results for shell scripts.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Check market prices and account balances from the terminal
  • Test API credentials and inspect request errors
  • Compare live prices across exchanges
ccxt/ccxt4.4만2026년 10월 18일 업데이트

Build cryptocurrency exchange integrations in C# and .NET with CCXT. Get guidance on setup, market data, orders, authentication, and error handling, using REST for individual requests and WebSocket connections for live price and order book updates.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Adding cryptocurrency prices to a C# application
  • Implementing order placement and cancellation
  • Monitoring live prices and order books
ccxt/ccxt4.4만2026년 10월 18일 업데이트

ccxt의 스킬 모두 보기

이 스킬의 문제 신고