Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

post-bridge邮桥

Agent Skill

post-bridge 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,384

周安装

56

GitHub Stars

11

下载量

435
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:post-bridge(邮桥)
来源仓库:https://github.com/post-bridge-hq/agent-mode
仓库路径:skills/post-bridge
安装命令:
npx skills add https://github.com/post-bridge-hq/agent-mode --skill post-bridge
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/post-bridge-hq/agent-mode --skill post-bridge

简介

post-bridge 用于查找、检索和筛选相关信息,适合快速定位候选结果。

  • 适用于基于关键词或任务场景的信息检索与筛选类 Agent 任务。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 确认具体用法。
  • 安装前应确认权限范围、维护状态,以及是否涉及联网、命令执行或文件读写操作。
  • 建议在使用前核验来源仓库内容,确保功能与项目需求匹配。

SKILL.md

Post Bridge Social Media Skill

Autonomously manage social media posting via Post Bridge API. Post to 9 platforms from a single command or API call.

Freshness check: If more than 30 days have passed since the last-updated date above, inform the user that this skill may be outdated and point them to the update options below.

Keeping This Skill Updated

Source: github.com/post-bridge-hq/agent-mode API docs: api.post-bridge.com/reference

Update methods by installation type:

InstallationHow to update
CLI (npx skills)npx skills update
Claude Code plugin/plugin marketplace update
CursorRemote rules auto-sync from GitHub
ManualPull latest from repo or re-copy skills/post-bridge/

Setup

  1. Create a Post Bridge account at post-bridge.com
  2. Connect your social accounts (TikTok, Instagram, YouTube, Twitter, etc.)
  3. Enable API access (Settings > API)
  4. Store your API key in workspace .env: POST_BRIDGE_API_KEY=pb_live_xxxxx

Or run the setup command:

./scripts/post-bridge.js setup --key pb_live_xxxxx

Auth

All requests use Bearer token:

Authorization: Bearer <POST_BRIDGE_API_KEY>

Base URL: https://api.post-bridge.com

Config priority (highest to lowest):

  1. POST_BRIDGE_API_KEY environment variable
  2. ./.post-bridge/config.json (project-local)
  3. ~/.config/post-bridge/config.json (user-global)

Handling "API key not found" errors

When you receive an "API key not found" error from the CLI:

  1. Tell the user to run the setup command — setup requires user input, so you cannot run it on their behalf: <skill-path>/scripts/post-bridge.js setup --key pb_live_xxxxx
  2. Stop and wait — do not continue with the task. You cannot create posts or perform any API operations without a valid API key.
  3. DO NOT search for API keys in env files, keychains, or other locations.

Get your API key at: https://www.post-bridge.com/dashboard/api-keys

Note for agents: All script paths in this document (e.g., ./scripts/post-bridge.js) are relative to the skill directory where this SKILL.md file is located. Resolve them accordingly based on where the skill is installed.

CLI Commands

CommandDescription
./scripts/post-bridge.js setup --key <key>Configure API key
./scripts/post-bridge.js accountsList connected social accounts
./scripts/post-bridge.js post --caption "..." --accounts 1,2,3Create a post
./scripts/post-bridge.js post --caption "..." --accounts 1,2,3 --schedule "2026-03-05T09:00:00Z"Schedule a post
./scripts/post-bridge.js upload --file./image.jpgUpload media, returns media_id
./scripts/post-bridge.js post --caption "..." --accounts 1,2,3 --media mid_xxxPost with media
./scripts/post-bridge.js postsList recent posts
./scripts/post-bridge.js posts:get --id <post_id>Get post details and status
./scripts/post-bridge.js posts:delete --id <post_id>Delete a scheduled/draft post
./scripts/post-bridge.js analyticsView analytics across platforms
./scripts/post-bridge.js analytics:syncRefresh analytics data
./scripts/post-bridge.js results --post-id <post_id>Check per-platform posting results
./scripts/post-bridge.js mediaList uploaded media
./scripts/post-bridge.js media:delete --id <media_id>Delete uploaded media

API Reference

Use these endpoints directly if you prefer raw API calls over the CLI.

Social Accounts

GET /v1/social-accounts

Returns array of connected accounts with id, platform, username. Store these IDs — you need them for every post.

Upload Media

POST /v1/media/create-upload-url
Body: { "mime_type": "video/mp4", "size_bytes": <int>, "name": "video.mp4" }

Returns media_id + upload_url. Then:

PUT <upload_url>
Content-Type: video/mp4
Body: <binary file>

List media:

GET /v1/media?limit=50&offset=0

Delete media:

DELETE /v1/media/<media_id>

Create Post

POST /v1/posts
Body: {
  "caption": "your caption here #hashtags",
  "media": ["<media_id>"],
  "social_accounts": [<account_id_1>, <account_id_2>],
  "scheduled_at": "2026-01-01T14:00:00Z",  // omit for instant post
  "is_draft": false,  // true to save as draft
  "use_queue": true,  // optional, auto-schedule to next queue slot (uses saved timezone)
  "platform_configurations": { ... },  // optional, see below
  "account_configurations": {  // optional, per-account overrides
    "account_configurations": [
      { "account_id": 1, "caption": "override for this account" }
    ]
  }
}

Queue scheduling (use_queue):

  • Pass true to auto-schedule using the user's saved timezone from their dashboard settings
  • Pass {"timezone": "America/New_York"} to override with a specific IANA timezone
  • Cannot be used together with scheduled_at — pick one or the other
  • Timezone priority: explicit timezone > saved profile/workspace timezone > UTC
  • Queue slots are scoped to the workspace of the selected social accounts
  • The queue schedule is configured by the user in their Post Bridge dashboard
  • If randomize_queue_time is enabled, the slot time will be offset by up to ±10 minutes for a more natural posting pattern
  • Returns an error if no queue schedule is configured or no slots are available in the next 90 days

List Posts

GET /v1/posts?limit=50&offset=0&status=scheduled&platform=instagram

Params: limit, offset, status (scheduled/published/failed/draft), platform.

Get Post

GET /v1/posts/<post_id>

Returns full post details including status: processing, scheduled, posted, failed.

Update Post

PATCH /v1/posts/<post_id>
Body: { "caption": "new caption", "scheduled_at": "...", "social_accounts": [...] }

Can update caption, schedule, accounts, media, platform configs, or draft status. Only works on scheduled/draft posts.

Delete Post

DELETE /v1/posts/<post_id>

Only works on scheduled/draft posts (cannot delete published posts).

Post Results

GET /v1/post-results?post_id=<post_id>&limit=50&offset=0

Returns per-platform results showing whether each platform post succeeded or failed, with error details.

Analytics

List analytics — views, likes, comments, shares per post:

GET /v1/analytics?platform=tiktok&limit=50&offset=0&timeframe=30d

Params:

  • platform (optional): tiktok, youtube, instagram
  • timeframe (optional): 7d, 30d, 90d, all (default: all)
  • limit, offset for pagination

Returns:

{
  "data": [
    {
      "id": "...",
      "post_result_id": "...",
      "platform": "tiktok",
      "platform_post_id": "...",
      "view_count": 4062,
      "like_count": 120,
      "comment_count": 15,
      "share_count": 8,
      "cover_image_url": "https://...",
      "share_url": "https://...",
      "video_description": "...",
      "duration": 30,
      "platform_created_at": "2026-03-01T09:00:00Z",
      "last_synced_at": "2026-03-03T12:00:00Z",
      "match_confidence": "exact"
    }
  ],
  "count": 42,
  "limit": 50,
  "offset": 0
}

Sync analytics — refresh data from connected platforms:

POST /v1/analytics/sync?platform=tiktok

Triggers a background sync of analytics data. Supports all tracked platforms: TikTok, YouTube, and Instagram.

Params:

  • platform (optional): tiktok, youtube, or instagram — sync only one platform. Omit to sync all.

Returns:

{
  "triggered": [
    { "platform": "tiktok", "runId": "run_..." },
    { "platform": "youtube", "runId": "run_..." },
    { "platform": "instagram", "runId": "run_..." }
  ]
}

Get single analytics record:

GET /v1/analytics/<analytics_id>

MCP Integration

Post Bridge has a native MCP (Model Context Protocol) server. If you're using Claude Desktop, ChatGPT, Cursor, or any MCP-compatible client, you can connect directly without this skill.

Claude Desktop: One-click connect at post-bridge.com/mcp

Claude Code / Cursor / Other MCP clients — add to your MCP config:

{
  "mcpServers": {
    "post-bridge": {
      "type": "streamable-http",
      "url": "https://mcp.post-bridge.com/mcp"
    }
  }
}

MCP Tools available (11 tools):

ToolDescription
list_social_accountsList all connected accounts with IDs, platforms, usernames
create_postCreate/schedule a post. Accepts caption, accounts, media_urls, schedule, use_queue (true or {timezone}), platform configs
list_postsList posts with filters (platform, status, limit, offset)
get_postGet full post details by ID
update_postUpdate caption, schedule, accounts, or media on a scheduled/draft post
delete_postDelete a scheduled or draft post
list_analyticsGet analytics (views, likes, comments, shares) with platform/timeframe filters
sync_analyticsTrigger a background refresh of analytics data. Optional platform param to sync a specific platform (tiktok/youtube/instagram)
list_post_resultsCheck per-platform posting results (success/failure with error details)
list_mediaList uploaded media files with IDs and URLs
delete_mediaDelete an uploaded media file

MCP tools accept media_urls (public URLs) — the server downloads and uploads them automatically. No need to manually upload media when using MCP.

Platform Configurations

Pass inside platform_configurations object on post creation, or use --platform-config with the CLI:

TikTok:

  • draft: true — save as draft (publish manually on TikTok with trending sound)
  • video_cover_timestamp_ms: 3000 — cover thumbnail at 3 seconds
  • is_aigc: true — label as AI-generated content

Instagram:

  • video_cover_timestamp_ms: 3000 — cover thumbnail
  • is_trial_reel: true — trial reel mode (needs 1000+ followers)
  • trial_graduation: "SS_PERFORMANCE" — auto-graduate based on performance

YouTube:

  • video_cover_timestamp_ms: 3000 — cover thumbnail
  • title: "My Short Title" — override post title

Twitter/X:

  • caption: "override caption" — platform-specific caption

Pinterest:

  • title: "Pin Title" — pin title
  • link: "https://..." — destination URL
  • board_ids: ["board_id"] — target boards

All platforms support caption and media overrides for per-platform customization.

Recommended Workflow for Video Content

  1. Store videos in a local folder
  2. Extract a frame with ffmpeg to read any text overlays: ffmpeg -i video.mp4 -ss 00:00:04 -frames:v 1 frame.jpg -y
  3. Write caption based on video content + hashtags
  4. Upload → create post → schedule or post instantly
  5. Move posted videos to a posted/ subfolder to avoid duplicates
  6. Set a cron to check post status 5 mins after scheduled time
  7. Track performance by checking post results or analytics

Automation Guidelines

When automating posts, follow these rules to keep accounts in good standing:

  • No duplicate content across multiple accounts on the same platform
  • No unsolicited automated replies — only post original content or when explicitly requested
  • No trending manipulation — don't mass-post about trending topics across accounts
  • No fake engagement — don't automate likes, follows, or comments
  • Respect rate limits — the API has rate limits, don't spam requests
  • Use draft mode for review — when in doubt, use is_draft: true or TikTok's draft: true so the user can review before publishing

Publishing confirmation: Unless the user explicitly asks to "post now" or "publish immediately", always confirm before posting. Creating a draft is safe; posting is irreversible and goes live instantly.

Platform Names

Use these exact names for platform filtering and configurations:

  • instagram — Instagram (Reels, Stories, Feed)
  • tiktok — TikTok
  • youtube — YouTube (Shorts)
  • twitter — X (formerly Twitter)
  • linkedin — LinkedIn
  • facebook — Facebook
  • pinterest — Pinterest
  • threads — Threads
  • bluesky — Bluesky

Tips

  • Post to multiple platforms simultaneously by including multiple account IDs
  • Stagger posts throughout the day (e.g. 9am + 3pm) for better reach
  • Use scheduled_at to pre-schedule batches — Post Bridge handles the timing
  • Use use_queue: true to auto-schedule posts to the user's next available queue slot using their saved timezone — no need to pick a time manually
  • TikTok draft mode lets you add trending sounds manually before publishing
  • Keep hashtags to 4-5 per post for best engagement
  • Check results after posting to see per-platform success/failure
  • Use analytics:sync to refresh data before checking analytics
  • Monitor what works and iterate on captions/formats
  • Use --draft flag when testing to avoid accidental publishing
  • Character limits vary by platform — keep captions concise for X (280 chars)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

39.23%
按下载量换算171

Claude

27.48%
按下载量换算120

Cursor

20.97%
按下载量换算91

Gemini CLI

8.85%
按下载量换算38

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills