Logo Socialclaw

Socialclaw

Cộng đồng
ndesv21
socialclaw

Social media scheduling and publishing via SocialClaw. Use when connecting accounts, scheduling posts, uploading media, or managing campaigns on X, LinkedIn, Instagram, Facebook, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, or Pinterest.

Tổng quan

Nhà phát hànhndesv21
Kho mãsocialclaw
Tên kỹ năngsocialclaw
Sao
103
Bản fork
29
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được ndesv21 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Socialclaw trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/ndesv21/socialclaw/tree/main/skills/socialclaw
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/ndesv21/socialclaw.git /tmp/socialclaw
mkdir -p .claude/skills
cp -r /tmp/socialclaw/skills/socialclaw .claude/skills/socialclaw
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Socialclaw trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Socialclaw ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Socialclaw với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

SocialClaw

SocialClaw is a workspace-scoped social publishing service at https://getsocialclaw.com.

This skill is an instruction layer for the hosted SocialClaw service. It teaches Claude Code how to:

  • get or use a workspace API key
  • call the SocialClaw HTTP API
  • understand provider and account-type caveats
  • optionally use the separate socialclaw CLI if it is already installed

This skill can work without the CLI. The CLI is only an optional client for the same hosted service.

Use this skill when the user wants to:

  • connect or disconnect social accounts in a SocialClaw workspace
  • upload media and get SocialClaw-hosted delivery URLs
  • validate, preview, apply, or inspect scheduled posts and campaigns
  • inspect connected account capabilities, publish settings, actions, jobs, health, or analytics

Do not use this skill for editing the SocialClaw codebase itself. This is for operating a deployed SocialClaw workspace.

Defaults

  • Base URL: https://getsocialclaw.com
  • Auth: workspace API key in Authorization: Bearer <key>
  • Preferred interface: socialclaw CLI when installed
  • Fallback interface: SocialClaw HTTP API

Runtime requirements

  • Required env: SC_API_KEY
  • Hosted base URL: https://getsocialclaw.com
  • Optional CLI: socialclaw or social if already installed
  • Workspace status: an active trial or paid plan is required for CLI/API execution through the workspace key

Optional CLI

SocialClaw has a separate npm CLI package named socialclaw.

Prefer it when it is already installed or the user wants command-line examples. The CLI is a client for the hosted SocialClaw service. It can:

  • store a workspace API key locally
  • start account connection flows
  • upload assets
  • validate, preview, and apply schedules
  • inspect posts, runs, analytics, usage, and workspace health
  • install the packaged Claude Code command with socialclaw install --claude

If the user explicitly wants the CLI and it is not installed yet:

bash
npm install -g socialclaw

Quick start

If the user does not have a workspace API key yet:

bash
open https://getsocialclaw.com/dashboard

Tell them:

  • sign in with Google
  • open the API key section
  • create or copy their workspace API key

Set:

bash
export SC_API_KEY="<workspace-key>"

If the CLI is installed, log in with it:

bash
socialclaw login --api-key <workspace-key>

Otherwise validate the key over HTTP:

bash
curl -sS \
  -H "Authorization: Bearer $SC_API_KEY" \
  "https://getsocialclaw.com/v1/keys/validate"

If execution fails with plan_required, subscription_inactive, subscription_past_due, subscription_paused, or subscription_canceled, direct the user to:

  • https://getsocialclaw.com/pricing
  • https://getsocialclaw.com/dashboard

Operating rules

  1. Start by confirming the user has a SocialClaw workspace API key.
  2. If the user does not have a key yet, send them to https://getsocialclaw.com/dashboard to sign in with Google and create one.
  3. A workspace API key alone is not sufficient for execution. If billing-related errors appear, route the user to pricing or dashboard billing instead of retrying commands.
  4. Never ask the user for provider app secrets. End users connect accounts inside SocialClaw.
  5. Prefer explicit provider and account-type language:
    • Facebook Pages, not Facebook personal profiles
    • Instagram Business linked to a Facebook Page
    • Instagram standalone professional accounts
    • LinkedIn profile and LinkedIn page are separate providers
    • Pinterest is board-centric; inspect capabilities and actions before assuming sections, catalogs, or advanced surfaces
  6. If a provider workflow is not supported, say so directly instead of inventing a workaround.
  7. Treat Pinterest product, collection, and idea surfaces as capability-gated or beta unless account capabilities or actions explicitly advertise them.
  8. Avoid echoing full API keys back into chat.

Main workflow

  1. Confirm the user has a workspace API key.
  2. If needed, direct the user to the dashboard to sign in with Google and create a key.
  3. Validate workspace access.
  4. List accounts or start a connection flow.
  5. Inspect capabilities and settings for the target account.
  6. Upload media if needed.
  7. Validate or preview the post or campaign.
  8. Apply it.
  9. Inspect posts, runs, analytics, or retry or reconcile if needed.

Provider-specific publishing notes

TikTok photo posts

TikTok photo/gallery posts are stricter than video posts. Before scheduling or applying a TikTok photo post:

  • Use image-only assets for the post; do not mix images and videos.
  • Keep each gallery within TikTok's connected-account capability limit, typically up to 35 images.
  • Normalize photos before upload to TikTok-safe dimensions. Prefer 1080x1920 JPEGs for vertical photo slides, or another standard TikTok-compatible aspect/size. Oversized or unusual dimensions can pass SocialClaw validation and initial TikTok acceptance, then fail later with picture_size_check_failed.
  • For photo galleries, set settings.autoAddMusic: true when the user wants TikTok to choose recommended music. TikTok's Content Posting API does not expose selecting a specific sound.
  • Avoid setting a visible name/title unless the user explicitly wants one. For TikTok posts, put user-facing copy in description; otherwise dashboards or previews may show an unwanted title field.
  • After posting a TikTok photo gallery, do not assume providerStatus: accepted means it is visible. Reconcile the post after a short delay:
bash
socialclaw posts reconcile --post-id <post-id> --json

Treat providerStatus: published with reconciliationStatus: confirmed as the stronger success signal. If reconciliation returns picture_size_check_failed, regenerate resized/padded images, upload those corrected assets, and reschedule.

CLI reference

Authentication

bash
socialclaw login --api-key <workspace-key>

Install the packaged command file:

bash
socialclaw install --claude

Accounts

bash
socialclaw accounts list --json
socialclaw accounts capabilities --account-id <account-id> --json
socialclaw accounts settings --account-id <account-id> --json
socialclaw accounts actions --account-id <account-id> --json
socialclaw accounts connect --provider <provider> --open
socialclaw accounts connect --provider telegram --bot-token <token> --chat-id @yourchannel --json
socialclaw accounts connect --provider discord --webhook-url <url> --json
socialclaw accounts status --connection-id <id> --json
socialclaw accounts disconnect --account-id <id> --json

Media

bash
socialclaw assets upload --file ./image.png --json
socialclaw assets delete --asset-id <id> --retention-days 7 --json

Schedules and campaigns

bash
socialclaw validate -f schedule.json --json
socialclaw campaigns preview -f schedule.json --json
socialclaw apply -f schedule.json --json
socialclaw campaigns inspect --run-id <id> --json
socialclaw campaigns clone --run-id <id> --output cloned.json --json
socialclaw publish-draft --run-id <id> --start-at 2026-03-25T10:00:00.000Z --json

Posts and runs

bash
socialclaw posts list --limit 20 --json
socialclaw posts get --post-id <id> --json
socialclaw posts attempts --post-id <id> --json
socialclaw posts reconcile --post-id <id> --json
socialclaw runs inspect --run-id <id> --json
socialclaw status --run-id <id> --json
socialclaw retry --post-id <id> --json
socialclaw cancel --post-id <id> --json
socialclaw view --run-id <id> --format terminal

Analytics and health

bash
socialclaw analytics post --post-id <id> --json
socialclaw analytics account --account-id <id> --json
socialclaw analytics run --run-id <id> --json
socialclaw analytics refresh --post-id <id> --json
socialclaw workspace health --json
socialclaw connections health --json
socialclaw jobs list --limit 20 --json
socialclaw usage --json

HTTP fallback

If the CLI is not available, use the HTTP API directly.

Common header:

bash
-H "Authorization: Bearer $SC_API_KEY"

Validate key

bash
curl -sS \
  -H "Authorization: Bearer $SC_API_KEY" \
  "https://getsocialclaw.com/v1/keys/validate"

List accounts

bash
curl -sS \
  -H "Authorization: Bearer $SC_API_KEY" \
  "https://getsocialclaw.com/v1/accounts"

Start account connection

bash
curl -sS -X POST \
  -H "Authorization: Bearer $SC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"provider":"youtube"}' \
  "https://getsocialclaw.com/v1/connections/start"

Then poll:

bash
curl -sS \
  -H "Authorization: Bearer $SC_API_KEY" \
  "https://getsocialclaw.com/v1/connections/<connection-id>"

Connect Telegram manually

bash
curl -sS -X POST \
  -H "Authorization: Bearer $SC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"provider":"telegram","botToken":"<bot-token>","chatId":"@yourchannel"}' \
  "https://getsocialclaw.com/v1/connections/start"

Connect Discord manually

bash
curl -sS -X POST \
  -H "Authorization: Bearer $SC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"provider":"discord","webhookUrl":"<discord-webhook-url>"}' \
  "https://getsocialclaw.com/v1/connections/start"

Upload media

bash
curl -sS -X POST \
  -H "Authorization: Bearer $SC_API_KEY" \
  -F "file=@./image.png" \
  "https://getsocialclaw.com/v1/assets/upload"

Apply a schedule

bash
curl -sS -X POST \
  -H "Authorization: Bearer $SC_API_KEY" \
  -H "Content-Type: application/json" \
  -d @schedule.json \
  "https://getsocialclaw.com/v1/posts/apply"

Inspect posts

bash
curl -sS \
  -H "Authorization: Bearer $SC_API_KEY" \
  "https://getsocialclaw.com/v1/posts?limit=20"

curl -sS \
  -H "Authorization: Bearer $SC_API_KEY" \
  "https://getsocialclaw.com/v1/posts/<post-id>"

Provider notes

Facebook — Facebook Pages only (facebook). Personal profiles are not publish targets.

Instagram Business (instagram_business) — professional/business accounts linked to a Facebook Page only. Requires media.

Instagram standalone (instagram) — standalone professional accounts through Instagram Login. Separate from instagram_business. Requires media.

X — text posts, up to four images or one video, reply steps in campaign flows.

LinkedIn profile (linkedin) — text and native image or video. Up to twenty images or one video per post.

LinkedIn page (linkedin_page) — separate from member profiles. Same media limits.

Pinterest (pinterest) — board-centric. Standard pins, video pins, multi-image pins. Use discovery actions to inspect boards, sections, and catalogs. Product, collection, and idea surfaces are capability-gated or beta.

TikTok (tiktok) — one video or one photo gallery per post. Photo galleries support up to 35 images, autoAddMusic, and photoCoverIndex; selecting a specific TikTok song or sound is not exposed by TikTok's API. settings.tiktokPostMode: "draft" uploads to the account's TikTok drafts (inbox) instead of publishing; the creator finishes the post in the TikTok app (needs the video.upload scope — older connections must reconnect once).

Telegram (telegram) — bot-based posting. Connected manually with a bot token and chat_id or @channelusername, not via OAuth. One optional image or video per post.

Discord (discord) — channel posting via webhook URL. Connected manually, not via OAuth. One optional image or video per post.

YouTube (youtube) — channel video uploads. One video per post. Community posts and Shorts-specific flows are not supported.

Reddit (reddit) — self posts and link posts. Requires a subreddit setting. Native media upload is not supported.

WordPress (wordpress) — WordPress.com or Jetpack-connected sites. SocialClaw uploads remote media before publishing.

Legacy Meta (meta) — older workspaces only. Prefer explicit facebook and instagram_business for new workspaces.

Read next

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Socialclaw làm được gì?

Social media scheduling and publishing via SocialClaw. Use when connecting accounts, scheduling posts, uploading media, or managing campaigns on X, LinkedIn, Instagram, Facebook, TikTok, Discord, Telegram, YouTube, Reddit, WordPress, or Pinterest.

Vì sao nên dùng Socialclaw trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Socialclaw là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Socialclaw trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/ndesv21/socialclaw/tree/main/skills/socialclaw. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Socialclaw?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Socialclaw với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Socialclaw với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Socialclaw có miễn phí không?

Có. Kỹ năng này được ndesv21 phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇