Token导航 LogoToken导航TokenDH.com
效率敏感数据clawhub未标认证来源可访问clear审计提醒

buffer-publisher缓冲发布者

Agent Skill

buffer-publisher 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,427

周安装

140

GitHub Stars

公开资料未说明

下载量

1,098
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:buffer-publisher(缓冲发布者)
来源仓库:https://github.com/nissan/buffer-publisher
安装命令:
openclaw skills install buffer-publisher
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install buffer-publisher

简介

通过 Buffer GraphQL API 发布社交媒体内容到 LinkedIn 和 Twitter/X。

  • 适用于需要批量管理跨平台社交账号发布的效率场景。
  • 调用工具传入文本内容即可自动分发,支持定时发布功能。
  • 需配置 Buffer 平台 API 密钥并确认发布权限范围。
  • 注意该服务已于2026年3月25日完全取消,仅限历史兼容使用。

SKILL.md

name
buffer-publisher
version
1.0.1
description
Publish social media posts to LinkedIn and Twitter/X via Buffer GraphQL API. PRIMARY and ONLY tool for social publishing (Typefully cancelled 2026-03-25). Use when publishing posts to Nissan's social channels.
author
nissan
tags
metadata
openclaw
emoji
📢
network
outbound
true
reason
Posts to Buffer GraphQL API (api.buffer.com/graphql) for social publishing
security_notes
All API calls are made to api.buffer.com on behalf of the authenticated account owner. No user data is intercepted or forwarded to third parties. The Buffer API key is the owner's own credential, stored in 1Password.
subprocess
note
Uses curl commands as examples in skill docs; no shell exec required at runtime

Last used: 2026-03-25 Status: Active — PRIMARY for LinkedIn

Buffer Publisher

When to Use This / When NOT to Use This

Use Buffer when:

  • Publishing a post to LinkedIn (nissandookeran) or Twitter/X (redditech) — immediately or scheduled
  • Queuing a post for Buffer's automatic optimal-time slot
  • Any social publishing task from Liv or the content pipeline

Do NOT use Buffer for:

  • Bluesky — not connected, no tool available yet
  • Drafting content — Buffer publishes, it doesn't draft. Write content first, then call this skill.
  • Reading/analytics — Buffer GraphQL can query posts but that's out of scope here; check Buffer dashboard directly
  • Any platform other than LinkedIn and Twitter/X
Only tool available: Typefully was cancelled 2026-03-25. Buffer is the single social publishing surface. There is no fallback.

Credentials

  • API key: op://OpenClaw/Buffer API Credentials/credential
  • API base: https://api.buffer.com/graphql
  • Auth header: Authorization: Bearer <key>

Connected Channels

ChannelIDService
nissandookeran69c29382af47dacb694d24b4LinkedIn
redditech69c29939af47dacb694d3d1fTwitter/X

Publish Immediately (shareNow)

import json, subprocess

BUFFER_KEY = "<key from 1Password>"
CHANNEL_ID = "69c29382af47dacb694d24b4"  # LinkedIn
# or  "69c29939af47dacb694d3d1f"  # Twitter/X

payload = {
    "query": """mutation CreatePost($input: CreatePostInput!) { 
        createPost(input: $input) { 
            ... on PostActionSuccess { post { id status } } 
        } 
    }""",
    "variables": {
        "input": {
            "channelId": CHANNEL_ID,
            "text": "Your post text here",
            "schedulingType": "automatic",
            "mode": "shareNow"
        }
    }
}

result = subprocess.run(
    ["curl", "-s", "-X", "POST",
     "-H", f"Authorization: Bearer {BUFFER_KEY}",
     "-H", "Content-Type: application/json",
     "-d", json.dumps(payload),
     "https://api.buffer.com/graphql"],
    capture_output=True, text=True
)
d = json.loads(result.stdout)
post_id = d["data"]["createPost"]["post"]["id"]
status = d["data"]["createPost"]["post"]["status"]
print(f"Post ID: {post_id}, Status: {status}")
# status "sent" = published immediately

Schedule a Post for a Specific Time

Use mode: "customScheduled" + a dueAt ISO8601 UTC timestamp. Do NOT use scheduledAt — that field does not exist on the Post type.

import json, subprocess
from datetime import datetime, timezone

BUFFER_KEY = "<key from 1Password>"
CHANNEL_ID = "69c29382af47dacb694d24b4"  # LinkedIn

# Schedule for 9am Sydney time (UTC+11 in AEDT) = 22:00 UTC prior day
# Always convert to UTC before passing to Buffer
scheduled_utc = "2026-03-27T22:00:00Z"  # ISO8601 UTC — the Z suffix is required

payload = {
    "query": """mutation CreatePost($input: CreatePostInput!) { 
        createPost(input: $input) { 
            ... on PostActionSuccess { post { id status dueAt } } 
        } 
    }""",
    "variables": {
        "input": {
            "channelId": CHANNEL_ID,
            "text": "Your scheduled post text here",
            "schedulingType": "automatic",
            "mode": "customScheduled",
            "dueAt": scheduled_utc
        }
    }
}

result = subprocess.run(
    ["curl", "-s", "-X", "POST",
     "-H", f"Authorization: Bearer {BUFFER_KEY}",
     "-H", "Content-Type: application/json",
     "-d", json.dumps(payload),
     "https://api.buffer.com/graphql"],
    capture_output=True, text=True
)
d = json.loads(result.stdout)
post = d["data"]["createPost"]["post"]
print(f"Post ID: {post['id']}, Status: {post['status']}, Due: {post['dueAt']}")
# status "buffer" = queued/scheduled (not yet sent)

What Success Looks Like

A successful createPost response body looks like this:

{
  "data": {
    "createPost": {
      "post": {
        "id": "67e3a1b2c4d5e6f7a8b9c0d1",
        "status": "sent"
      }
    }
  }
}
  • status: "sent" → published immediately (shareNow)
  • status: "buffer" → queued or scheduled (will publish at dueAt)
  • If data.createPost is null or missing post, the mutation failed silently — check for a top-level errors array

Failure response example:

{
  "errors": [
    {
      "message": "Value \"shareNOW\" does not exist in \"SchedulingType\" enum.",
      "locations": [{"line": 1, "column": 42}]
    }
  ],
  "data": null
}

Key Schema Notes

  • schedulingType enum: automatic | notification (NOT "now", NOT "shareNow")
  • mode enum: addToQueue | shareNow | shareNext | customScheduled | recommendedTime
  • Use automatic + shareNow for immediate publish
  • Use automatic + customScheduled + dueAt for scheduled posts
  • dueAt field takes ISO8601 UTC datetime string (NOT scheduledAt — that field doesn't exist on Post type)
  • Response type is a union — always use ... on PostActionSuccess fragment
  • CoreApiError does NOT exist in schema — omit error fragment or use other error types
  • No draft field in CreatePostInput — omit it

Get Connected Channels

curl -s -X POST \
  -H "Authorization: Bearer $BUFFER_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query": "{ account { id name email channels { id name service } } }"}' \
  https://api.buffer.com/graphql

Twitter/X Threads via Buffer

Buffer does not support native thread composition. Post as a single update with tweets separated by \ \ ---\ \ . If true threading is ever needed, evaluate alternative tools at that point.

Routing Rules

PlatformTool
LinkedInBuffer
Twitter/XBuffer
BlueskyNot connected — skip unless new tool added
Typefully cancelled 2026-03-25. No backup — Buffer is the only social publishing tool.

Common Mistakes

  1. Wrong enum value for schedulingType

- ❌ "schedulingType": "now" → enum error - ❌ "schedulingType": "shareNow" → enum error (shareNow is a mode value, not a schedulingType) - ✅ "schedulingType": "automatic" (almost always what you want)

  1. Using scheduledAt instead of dueAt

- ❌ "scheduledAt": "2026-03-27T22:00:00Z" → field does not exist, silently ignored or errors - ✅ "dueAt": "2026-03-27T22:00:00Z"

  1. Forgetting Content-Type: application/json

- Returns "Unsupported Content-Type" error - Always include -H "Content-Type: application/json" in curl calls

  1. Using the legacy v1 API base URL

- ❌ https://api.bufferapp.com/1/ → returns 500, dead endpoint - ✅ https://api.buffer.com/graphql

  1. Including CoreApiError in the error fragment

- This type does not exist in the schema. Omit it or you'll get a schema validation error.

  1. Including "draft": true in CreatePostInput

- This field doesn't exist. Buffer has no draft state via API — posts are either queued or live.

  1. Timezone confusion with dueAt

- Buffer expects UTC. Nissan is AEDT (UTC+11). Always convert: 9am Sydney = 10pm UTC prior day.


Troubleshooting

  • "Unsupported Content-Type" → must use Content-Type: application/json
  • 500 from bufferapp.com → legacy v1 API is dead, use api.buffer.com/graphql
  • "Value X does not exist in enum" → check enum values via introspection: { __type(name: "SchedulingType") { enumValues { name } } }

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

80.89%
按下载量换算888

安全审计

VirusTotal

未展示

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills