square-post
ما الذي تفعله
تنشر هذه المهارة محتوى جديدًا على Binance Square عبر سكربتات محلية. وهي مخصصة لصانعي المحتوى الذين يريدون مشاركة منشورات أو مقالات أو فيديوهات على Binance Square.
متى تستخدمها
- ✓عندما تريد نشر منشور نصي قصير أو منشور فيه حتى أربع صور.
- ✓عندما تريد نشر مقال طويل بعنوان وصورة غلاف.
- ✓عندما تريد نشر منشور فيديو مع صورة غلاف تُنشأ تلقائيًا.
رابط المهارة
https://github.com/ccxt/ccxt/blob/master/.agents/skills/square-post/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“انشر هذه الصورة مع ملاحظة قصيرة على Binance Square لي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يشغّل الذكاء الاصطناعي السكربتات المرفقة للنشر، وهي تتولى الرفع والنشر بدلًا من كتابة الطلبات يدويًا.
المحتوى التقني (ملف 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
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
binance-agentic-wallet
45kيتيح لوكيلك إدارة محفظة Binance Web3 عبر أداة baw، فيشمل ذلك تسجيل الدخول والأرصدة والتحويلات وتبديل الرموز وأوامر الحد.
binance-sports-ai-analyzer
45kيساعد وكيلك على الاطلاع على توقعات مباريات كأس العالم وتحليلها بالذكاء الاصطناعي وأخبارها، وإعادة حساب احتمالات الفوز بعد تعديل المؤشرات.
binance-tokenized-securities-info
45kيتيح لوكيلك الاطلاع على الأسهم الأمريكية المرمّزة من Ondo على Binance Web3، بما يشمل قوائم الرموز ومعلومات الشركات وحالة التداول والأسعار على السلسلة.
binance
45kيتيح لوكيلك استخدام Binance Spot وUSD-M Futures وConvert عبر أداة binance-cli. ويستلزم ضبط المصادقة أولًا.
مهارات مشابهة
xurl
394kيساعد وكيلك على النشر والرد والبحث والقراءة على X، وإرسال الرسائل المباشرة ورفع الوسائط، باستخدام أداة xurl المصادَق عليها.
connections-optimizer
280kيحسّن روابطك على شبكات التواصل الاجتماعي. يقترح من تتابع ومن تلغي متابعته، ويساعدك على كتابة رسائل مخصصة لتوسيع شبكتك.
content-engine
280kينشئ محتوى لمنصات مختلفة. يساعد على إنتاج منشورات وسيناريوهات وتقاويم محتوى تناسب شبكات مثل X وLinkedIn وYouTube.