Square Post for Openclaw

A specialized AI agent skill designed to automate text-based posting to the Binance Square social platform.

ai-chen2050
v1.0.0
Mar 10, 2026
0
1k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install binance-square-post

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install binance-square-post using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Square Post?

The Square Post skill empowers AI agents to interact directly with the Binance Square ecosystem, a premier social hub for trading insights and market analysis. This integration allows users to seamlessly share updates, bullish or bearish sentiments, and market commentary without leaving their terminal or agent interface.

As a core component of the Openclaw Skills ecosystem, this tool focuses on providing a secure, high-performance bridge for crypto influencers and traders to maintain a consistent social presence. It handles the complexities of the Binance OpenAPI, including header management and response parsing, while ensuring that the content is optimized for the platform's unique audience.

Square Post Use Cases

  • Sharing real-time crypto trading signals and market sentiments.
  • Automating daily market summaries and technical analysis updates.
  • Increasing social engagement on Binance Square through consistent, automated posting.
  • Distributing automated news alerts to a dedicated cryptocurrency audience.

How Square Post Works

  1. The agent detects a trigger phrase like 'post to square' or 'square post' within the conversation.
  2. The skill verifies the presence and validity of the X-Square-OpenAPI-Key in the configuration.
  3. Content is either provided directly by the user or generated/optimized by the agent for better readability and engagement.
  4. A POST request is sent to the Binance Square OpenAPI endpoint with the required headers and JSON body.
  5. Upon a successful response (code 000000), the skill constructs and returns the direct public URL to the new post for immediate verification.

Square Post Setup

To use this skill within the Openclaw Skills framework, you must obtain an API key from Binance Square. Configure the skill by providing your credentials when prompted by the agent.

# Manual verification of the API connectivity
curl -X POST 'https://www.binance.com/bapi/composite/v1/public/pgc/openApi/content/add' \
  -H 'X-Square-OpenAPI-Key: your_api_key' \
  -H 'Content-Type: application/json' \
  -H 'clienttype: binanceSkill' \
  -d '{"bodyTextOnly": "BTC looking bullish today! #Crypto #Trading"}'

Square Post Data Schema & Taxonomy

The skill manages data through a structured interface to ensure compatibility with Binance Square requirements.

Parameter Type Description
bodyTextOnly String The main content of the post. Supports plain text and hashtags.
X-Square-OpenAPI-Key String The secure authentication token (masked in UI).
clienttype String Fixed as binanceSkill for identification.
data.id String The unique ID returned by Binance to construct the post URL.
code String The API status code (000000 indicates success).

Square Post Advanced Features

  • Content Polishing: The AI agent can automatically rewrite and optimize raw notes into professional social posts.
  • Security First: Built-in logic ensures that full API keys are never displayed in logs or chat interfaces, using masked strings instead.
  • Intelligent Error Resolution: Detailed handling for platform-specific errors such as sensitive word detection, identity verification requirements, and rate limits.
  • Automated URL Construction: Automatically generates the direct link to the published content upon successful execution.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*