square-post
하는 일
로컬 스크립트를 통해 Binance Square에 새 콘텐츠를 게시합니다. Binance Square에 게시물, 기사, 영상을 공유하려는 창작자를 위한 스킬입니다.
사용하는 경우
- ✓짧은 글이나 이미지 최대 네 장이 담긴 게시물을 올리고 싶을 때.
- ✓제목과 커버 이미지가 있는 긴 기사를 게시하고 싶을 때.
- ✓자동 커버 이미지가 있는 영상 게시물을 올리고 싶은 경우.
스킬 링크
https://github.com/ccxt/ccxt/blob/master/.agents/skills/square-post/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 사진과 짧은 메모를 Binance Square에 올려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
AI는 요청을 직접 작성하지 않고, 업로드와 게시를 처리하는 번들된 게시 스크립트를 실행합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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
fetchAPI. ffmpegis required for video posts becausepost-video.mjsextracts the first frame as the cover image.ffprobeis 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_KEYfrom 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:
--textrequired, post text content--titleoptional, 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:
--textrequired, post or article content--imagesrequired for short image posts only. Use comma-separated image paths with max 4.--titleoptional, sets article-style content. When present, do not pass--images.--coverrequired when--titleis 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:
--videorequired, local video path--durationrequired, video duration in seconds--textoptional, 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
Resolve the API key (see Authentication). If unresolved, stop and ask the user before doing anything else.
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--textLong article, no media post-text.mjs--text --titleImage short post (1–4 imgs, no title) post-image.mjs--text --images "<p1,p2,...>"Article with cover post-image.mjs--text --title --coverVideo post post-video.mjs--video --duration(+ optional--text)Disambiguate edge cases
자주 묻는 질문
게시하기 전에 무엇이 필요한가요?
Binance Square OpenAPI 키와 Node.js 18 이상이 필요합니다.
영상에는 추가 소프트웨어가 필요한가요?
예. 영상에는 ffmpeg가 필요하고, 영상 길이가 주어지지 않으면 ffprobe도 필요합니다.
API 키는 어디에서 찾나요?
먼저 환경 변수를 확인하고, 다음으로 홈 설정 폴더에 저장된 키 파일을 확인합니다.
상세 정보
작성자의 원본 설명
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
repo: ccxt/ccxt
인기도
- GitHub 스타
- 45k
- 순위
- #6377
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
binance-agentic-wallet
45kbaw 명령줄 도구로 Binance Web3 지갑을 관리하도록 돕습니다. 로그인, 잔액 확인, 전송, 토큰 스왑, 지정가 주문을 포함합니다.
binance-sports-ai-analyzer
45k월드컵 경기 예측, AI 분석, 뉴스 인사이트를 찾고, 신호를 조정하면 승리 확률을 다시 계산하도록 돕습니다.
binance-tokenized-securities-info
45kOndo 토큰화 미국 주식에 대해 토큰 목록, 회사 정보, 거래 상태, 온체인 가격을 조회하도록 돕습니다.
binance
45kbinance-cli 도구로 Binance Spot, USD-M 선물, Convert를 사용하도록 돕습니다. 먼저 인증을 설정해야 합니다.