square-post
スクエアに投稿」などの指示で、Binance SquareというSNSにテキストコンテンツを自動投稿し、仮想通貨取引に関する情報を共有する手間を省くSkill。
📜 元の英語説明(参考)
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.
🇯🇵 日本人クリエイター向け解説
スクエアに投稿」などの指示で、Binance SquareというSNSにテキストコンテンツを自動投稿し、仮想通貨取引に関する情報を共有する手間を省くSkill。
※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。
下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o square-post.zip https://jpskill.com/download/23632.zip && unzip -o square-post.zip && rm square-post.zip
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/23632.zip -OutFile "$d\square-post.zip"; Expand-Archive "$d\square-post.zip" -DestinationPath $d -Force; ri "$d\square-post.zip"
完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。
💾 手動でダウンロードしたい(コマンドが難しい人向け)
- 1. 下の青いボタンを押して
square-post.zipをダウンロード - 2. ZIPファイルをダブルクリックで解凍 →
square-postフォルダができる - 3. そのフォルダを
C:\Users\あなたの名前\.claude\skills\(Win)または~/.claude/skills/(Mac)へ移動 - 4. Claude Code を再起動
⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。
🎯 このSkillでできること
下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。
📦 インストール方法 (3ステップ)
- 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
- 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
- 3. 展開してできたフォルダを、ホームフォルダの
.claude/skills/に置く- · macOS / Linux:
~/.claude/skills/ - · Windows:
%USERPROFILE%\.claude\skills\
- · macOS / Linux:
Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。
詳しい使い方ガイドを見る →- 最終更新
- 2026-05-18
- 取得日時
- 2026-05-18
- 同梱ファイル
- 1
📖 Skill本文(日本語訳)
※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。
[Skill 名] square-post
Square Post Skill
概要
Binance Square にテキストコンテンツを投稿します。
API: コンテンツの追加
メソッド: POST
URL:
https://www.binance.com/bapi/composite/v1/public/pgc/openApi/content/add
リクエストヘッダー:
| ヘッダー | 必須 | 説明 |
|---|---|---|
| X-Square-OpenAPI-Key | はい | Square OpenAPI Key |
| Content-Type | はい | application/json |
| clienttype | はい | binanceSkill |
リクエストボディ:
| フィールド | タイプ | 必須 | 説明 |
|---|---|---|---|
| bodyTextOnly | string | はい | 投稿コンテンツのテキスト |
リクエスト例
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!"
}'
レスポンス例
{
"code": "000000",
"message": null,
"data": {
"id": "content_id_here"
}
}
レスポンスフィールド
| フィールド | タイプ | 説明 |
|---|---|---|
| code | string | "000000" = 成功 |
| message | string | エラーメッセージ (成功時は null) |
| data.id | string | 作成されたコンテンツ ID |
投稿 URL 形式
成功した場合、投稿 URL は次のように構築されます。
https://www.binance.com/square/post/{id}
例: data.id が 298177291743282 の場合、投稿 URL は次のようになります。
https://www.binance.com/square/post/298177291743282
エラーハンドリング
| コード | 説明 |
|---|---|
| 000000 | 成功 |
| 10004 | ネットワークエラーです。もう一度お試しください |
| 10005 | 本人確認が完了したユーザーのみ許可されます |
| 10007 | 機能は利用できません |
| 20002 | 不適切な単語が検出されました |
| 20013 | コンテンツの長さに制限があります |
| 20020 | 空のコンテンツの公開はサポートされていません |
| 20022 | 不適切な単語が検出されました (リスクのあるセグメントを含む) |
| 20041 | URL に潜在的なセキュリティリスクがあります |
| 30004 | ユーザーが見つかりません |
| 30008 | プラットフォームガイドライン違反のため禁止されています |
| 220003 | API Key が見つかりません |
| 220004 | API Key の有効期限が切れています |
| 220009 | OpenAPI の 1 日あたりの投稿制限を超過しました |
| 220010 | サポートされていないコンテンツタイプです |
| 220011 | コンテンツボディは空であってはなりません |
| 2000001 | アカウントは投稿を永久にブロックされています |
| 2000002 | デバイスは投稿を永久にブロックされています |
認証
必須ヘッダー
| ヘッダー | 必須 | 説明 |
|---|---|---|
| X-Square-OpenAPI-Key | はい | Square 投稿用の API キー |
セキュリティ
完全なキーは決して表示しない
ユーザーに認証情報を表示する場合:
- X-Square-OpenAPI-Key: 最初の 5 文字 + 最後の 4 文字を表示します:
abc12...xyz9
アカウントのリスト表示
アカウントをリスト表示する場合、名前と説明のみを表示し、完全なキーは決して表示しません:
アカウント:
* default (Square 投稿のデフォルトアカウント)
エージェントの動作
- API 呼び出し前にキーを確認: X-Square-OpenAPI-Key が設定されており、プレースホルダーの
your_api_keyではないことを確認します。 - キーが不足している場合はプロンプトを表示: キーが設定されていない場合、ユーザーに最初に API Key を提供するよう求めます。
- コンテンツが不足している場合はプロンプトを表示: ユーザーが投稿をトリガーしたが、特定のコンテンツを提供しなかった場合、何を投稿したいか尋ねます。
- 完全なキーは決して表示しない: 最初の 5 文字 + 最後の 4 文字のみを表示します (例:
abc12...xyz9)。 - 提供されたキーを保存: ユーザーが新しいキーを提供した場合、このファイルの「アカウント」セクションを更新します。
- 投稿前にコンテンツを最適化:
- ユーザーの生の入力を読みやすくするために洗練します。
- 最適化中にハッシュタグ (#xxx) を自動追加しないでください。ユーザーが書いたハッシュタグは保持しますが、新しいハッシュタグは決して追加しないでください。
- 最適化されたコンテンツを表示し、ユーザーに選択を求めます: 最適化されたバージョンを使用するか、元のテキストを投稿するか。
- 成功時に投稿 URL を返す: 投稿が成功した後、URL
https://www.binance.com/square/post/{id}を返します。 - ID の欠落を処理:
codeが000000であってもdata.idが空または欠落している場合、投稿は成功した可能性がありますが URL は利用できないことをユーザーに通知し、Square ページを手動で確認するよう提案します。
注意事項
- 現在、純粋なテキスト投稿のみがサポートされています。
- 220009 エラーを避けるため、1 日あたりの投稿制限を確認してください。
📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開
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 |
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 |
| 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 |
| 2000001 | Account permanently blocked from posting |
| 2000002 | Device permanently blocked from posting |
Authentication
Required Header
| Header | Required | Description |
|---|---|---|
| X-Square-OpenAPI-Key | Yes | API key for Square posting |
Security
Never Display Full Keys
When showing credentials to users:
- X-Square-OpenAPI-Key: Show first 5 + last 4 characters:
abc12...xyz9
Listing Accounts
When listing accounts, show names and description only — never full keys:
Accounts:
* default (Default account for Square posting)
Agent Behavior
- Check key before API calls: Verify that X-Square-OpenAPI-Key is configured and not the placeholder
your_api_key - Prompt for key if missing: If key is not configured, ask user to provide their API Key first
- Prompt for content if missing: If user triggers posting but doesn't provide specific content, ask what they want to post
- Never display full keys: Only show first 5 + last 4 characters (e.g.,
abc12...xyz9) - Store provided keys: When user provides a new key, update the Accounts section in this file
- Optimize content before posting:
- Polish user's raw input for better readability
- Do NOT auto-add hashtags (#xxx) during optimization — keep any hashtags the user wrote, but never add new ones
- Show optimized content and ask user to choose: use optimized version or post original text
- Return post URL on success: After successful post, return the URL
https://www.binance.com/square/post/{id} - Handle missing id: If code is
000000butdata.idis empty or missing, inform user that post may have succeeded but URL is unavailable, suggest checking Square page manually
Notes
- Only pure text posts are supported currently
- Check daily post limit to avoid 220009 error