Rechercher

PythonReactSEOPDF
OpenClaw

square-post

Post content to Binance Square (Binance social platform for sharing trading insights). Auto-run on messages like 'post to square', 'square post'. Supports pure text posts.

ai-chen20500 installations selon la source☆ 0 Étoiles du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

SkillHub CLI

skillhub install ai-chen2050/binance-square-post

Examinez la source et la compatibilité, puis suivez les étapes d’installation.

Donnez le lien à votre agent et demandez-lui d’examiner instructions et dépendances avant d’expliquer les étapes.

Voir la source ↗Guides

Instructions

Square Post Skill

Overview

Post text content to Binance Square.


API: Add Content

Method: POST

URL:

https://www.binance.com/bapi/composite/v1/public/pgc/openApi/content/add

Request Headers:

Header Required Description
X-Square-OpenAPI-Key Yes Square OpenAPI Key
Content-Type Yes application/json
clienttype Yes binanceSkill

Request Body:

Field Type Required Description
bodyTextOnly string Yes Post content text (supports #hashtags)
Example Request
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!"
  }'
Response Example
{
  "code": "000000",
  "message": null,
  "data": {
    "id": "content_id_here"
  }
}
Response Fields
Field Type Description
code string "000000" = success
message string Error message (null on success)
data.id string Created content ID
Post URL Format

On success, construct the post URL:

https://www.binance.com/square/post/{id}

Example: If data.id is 298177291743282, the post URL is:

https://www.binance.com/square/post/298177291743282

Error Handling

Code Description
000000 Success
10004 Network error. Please try again
10005 Only allowed for users who have completed identity verification
10007 Feature unavailable
20002 Detected sensitive words
20013 Content length is limited
20020 Publishing empty content is not supported
20022 Detected sensitive words (with risk segments)
20041 Potential security risk with the URL
30004 User not found
30...

Informations sur la source

Source
github
Repository
openclaw/skills
Path
skills/ai-chen2050/binance-square-post
Version
—
Commit
e64b1c3150014facc76262c26ed73b398f980c25
Source de classification
rules
Statut
active
Visibilité
public

Ces informations proviennent de l’analyse indexée et peuvent être anciennes. Vérifiez les fichiers actuels.

README

Square Post Skill

Post content to Binance Square.

Features

  • Post pure text content to Binance Square
  • Auto-optimize content
  • Auto-manage API Key

Usage

Examples
post to square: BTC is pumping, feeling bullish
square post: Market looking strong today, BTC breaking out

Posting Flow

  1. Trigger Skill - Use the trigger phrases above
  2. Content Optimization - Agent auto-optimizes content
  3. Choose Version - Select optimized version or post original text
  4. Post Success - Returns post URL
Interaction Example
User: post to square: btc pumping feels like bull market

Agent: Optimized content:
       BTC surging, bull market signals are strong!

       Choose:
       1. Use optimized version
       2. Use original text

User: 1

Agent: Post successful!
       Post URL: https://www.binance.com/square/post/298177291743282

First Time Setup

On first use, Claude will prompt you for API Key:

  1. Get your X-Square-OpenAPI-Key
  2. Provide it to Claude
  3. Key will be stored securely for future use

⚠️ Security Reminder: When creating a Square-OpenAPI-Key, please minimize its permissions. Avoid granting highly sensitive permissions such as withdrawal or trading privileges.

Common Errors

Code Description
000000 Success
10004 Network error. Please try again
10005 Only allowed for users who have completed identity verification
10007 Feature unavailable
20002 Detected sensitive words
20013 Content length is limited
20020 Publishing empty content is not supported
20022 Detected sensitive words (with risk segments)
20041 Potential security risk with the URL
30004 User not found
30008 Banned for violating platform guidelines
220003 API Key not found
220004 API Key expired
220009 Daily post limit exceeded for OpenAPI
220010 Unsupported content type
220011 Content body must not be empty...

Contenu extrait

SKILL.md
# Square Post Skill

## Overview

Post text content to Binance Square.

---

## API: Add Content

### Method: POST

**URL**:
```
https://www.binance.com/bapi/composite/v1/public/pgc/openApi/content/add
```

**Request Headers**:

| Header | Required | Description |
|--------|----------|-------------|
| X-Square-OpenAPI-Key | Yes | Square OpenAPI Key |
| Content-Type | Yes | `application/json` |
| clienttype | Yes | `binanceSkill` |

**Request Body**:

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| bodyTextOnly | string | Yes | Post content text (supports #hashtags) |

### Example Request

```bash
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!"
  }'
```

### Response Example

```json
{
  "code": "000000",
  "message": null,
  "data": {
    "id": "content_id_here"
  }
}
```

### Response Fields

| Field | Type | Description |
|-------|------|-------------|
| code | string | `"000000"` = success |
| message | string | Error message (null on success) |
| data.id | string | Created content ID |

### Post URL Format

On success, construct the post URL:
```
https://www.binance.com/square/post/{id}
```

Example: If `data.id` is `298177291743282`, the post URL is:
```
https://www.binance.com/square/post/298177291743282
```

---

## Error Handling

| Code | Description |
|------|-------------|
| 000000 | Success |
| 10004 | Network error. Please try again |
| 10005 | Only allowed for users who have completed identity verification |
| 10007 | Feature unavailable |
| 20002 | Detected sensitive words |
| 20013 | Content length is limited |
| 20020 | Publishing empty content is not supported |
| 20022 | Detected sensitive words (with risk segments) |
| 20041 | Potential security risk with the URL |
| 30004 | User not found |
| 30...
README
# Square Post Skill

Post content to Binance Square.

## Features

- Post pure text content to Binance Square
- Auto-optimize content
- Auto-manage API Key

## Usage

### Examples

```
post to square: BTC is pumping, feeling bullish
```

```
square post: Market looking strong today, BTC breaking out
```

## Posting Flow

1. **Trigger Skill** - Use the trigger phrases above
2. **Content Optimization** - Agent auto-optimizes content
3. **Choose Version** - Select optimized version or post original text
4. **Post Success** - Returns post URL

### Interaction Example

```
User: post to square: btc pumping feels like bull market

Agent: Optimized content:
       BTC surging, bull market signals are strong!

       Choose:
       1. Use optimized version
       2. Use original text

User: 1

Agent: Post successful!
       Post URL: https://www.binance.com/square/post/298177291743282
```

## First Time Setup

On first use, Claude will prompt you for API Key:

1. Get your `X-Square-OpenAPI-Key`
2. Provide it to Claude
3. Key will be stored securely for future use

> ⚠️ **Security Reminder**: When creating a Square-OpenAPI-Key, please minimize its permissions. Avoid granting highly sensitive permissions such as withdrawal or trading privileges.

## Common Errors

| Code | Description |
|------|-------------|
| 000000 | Success |
| 10004 | Network error. Please try again |
| 10005 | Only allowed for users who have completed identity verification |
| 10007 | Feature unavailable |
| 20002 | Detected sensitive words |
| 20013 | Content length is limited |
| 20020 | Publishing empty content is not supported |
| 20022 | Detected sensitive words (with risk segments) |
| 20041 | Potential security risk with the URL |
| 30004 | User not found |
| 30008 | Banned for violating platform guidelines |
| 220003 | API Key not found |
| 220004 | API Key expired |
| 220009 | Daily post limit exceeded for OpenAPI |
| 220010 | Unsupported content type |
| 220011 | Content body must not be empty...

Skills associés

OpenClaw

ad-compliance-reviewer

danyangliu-sandwichlab

Review ads and campaign setup for policy compliance on Meta (Facebook/Instagram), Google Ads, TikTok Ads, YouTube Ads, Amazon Ads, and DSP/programmatic.

OpenClaw

afrexai-seo-content-engine

1kalin

Complete SEO content creation system for AI agents. Research keywords, analyze competitors, write optimized articles, and track rankings — all through natural conversation. No APIs required.