Token导航 LogoToken导航

Agent Skill · 开发

publer-api(publer API 文档)

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

publer-api 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 6,403。

总安装 4,751周安装 202GitHub Stars 公开资料未说明下载 1,664核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install publer-api

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

辅助梳理 Publer API 接口文档与集成规范,提升开发效率。适用于前后端联调、OpenAPI 规范生成及字段命名校验场景。可帮助定义 endpoint、请求响应结构及错误码映射关系。安装命令:openclaw skills install publer-api,归属开发类别。

生成文档时应基于实际接口样例而非假设性数据结构。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install publer-api;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

publer-api 怎么安装?

在终端执行 openclaw skills install publer-api。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

publer-api 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

publer-api 需要什么权限?

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

publer-api 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

publer-api 用的人多吗?

公开数据是累计安装 4,751 次,近一周安装 202 次,下载 1,664 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

publer-api 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
publer-api

publer API 文档 · 本页

4,751—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
publer-api
description
>

Publer API Skill

This skill enables you to interact with all Publer API endpoints.

Business plan required. The Publer API is only available to Business plan users.

Setup

Base URL: https://app.publer.com/api/v1

Required headers on almost every request:

Authorization: Bearer-API YOUR_API_KEY
Publer-Workspace-Id: YOUR_WORKSPACE_ID
Content-Type: application/json

Note: Bearer-API (not Bearer) is the correct format.

If the user hasn't provided their API key, ask for it before making any calls. Never hardcode or expose API keys.

API key scopes: workspaces, accounts, posts, media, analytics


Quick Reference: All Endpoints

AreaMethodEndpoint
UsersGET/users/me
WorkspacesGET/workspaces
AccountsGET/accounts
PostsGET/posts
Posts — Schedule/DraftPOST/posts/schedule
Posts — Publish NowPOST/posts/schedule/publish
Posts — UpdatePUT/posts/{id}
Posts — DeleteDELETE/posts
Job StatusGET/job_status/{job_id}
Media — ListGET/media
Media — Direct UploadPOST/media
Media — URL UploadPOST/media/from-url
Media OptionsGET/workspaces/{workspace_id}/media_options
Analytics — Charts ListGET/analytics/charts
Analytics — Chart DataGET/analytics/:account_id/chart_data
Analytics — Post InsightsGET/analytics/:account_id/post_insights
Analytics — Hashtag InsightsGET/analytics/:account_id/hashtag_insights
Analytics — Hashtag PostsGET/analytics/:account_id/hashtag_performing_posts
Analytics — Best TimesGET/analytics/:account_id/best_times
Analytics — MembersGET/analytics/members
Competitors — ListGET/competitors/:account_id
Competitors — AnalyticsGET/competitors/:account_id/analytics

For full request/response shapes, read references/api-reference.md.


Workflow

1. Identify the intent

Map the user's request to one or more API calls from the table above.

2. Gather required parameters

  • Workspace ID: Needed for most calls. If unknown, call GET /workspaces first.
  • Account IDs: Needed for post creation. If unknown, call GET /accounts.
  • Scheduled posts: scheduled_at must be ISO 8601 with timezone, at least 1 minute in the future.
  • Analytics: Most endpoints need from/to date range (YYYY-MM-DD). They are co-required.
  • Media: Must be uploaded first via /media or /media/from-url, then referenced by ID in posts.

3. Make the API call

Use the correct HTTP method and headers. POST/PUT use Content-Type: application/json. Media direct upload uses multipart/form-data.

4. Handle async operations

Post creation and URL media uploads are asynchronous:

  • Response returns { "success": true, "data": { "job_id": "..." } }
  • Poll GET /job_status/{job_id} until status is "complete" or "failed"
  • Check payload.failures even on "complete" — partial failures are possible

5. Interpret the response

  • 2xx — success. Parse and present relevant fields clearly.
  • 401 — ask user to verify API key and confirm Bearer-API format.
  • 403 — check required scope is enabled, and Publer-Workspace-Id header is present.
  • 404 — resource ID is wrong; confirm with user.
  • 422 — surface the errors[] array to user and ask them to correct input.
  • 429 — rate limited (100 req/2 min); wait for X-RateLimit-Reset, use exponential backoff.
  • 5xx — Publer server error; suggest retry.

Common Workflows

Schedule a post

  1. If workspace/account IDs unknown: GET /workspaces then GET /accounts
  2. POST /posts/schedule with state: "scheduled", network content, and scheduled_at per account
  3. Poll GET /job_status/{job_id} until complete
  4. Confirm back: platform(s), scheduled time, text preview

Publish immediately

Same as above but use POST /posts/schedule/publish and omit scheduled_at.

Cross-post with platform-specific content

Use multiple keys under networks with per-platform text/type:

"networks": {
  "facebook": { "type": "status", "text": "Longer Facebook copy..." },
  "twitter": { "type": "status", "text": "Short tweet #hashtag" },
  "linkedin": { "type": "status", "text": "Professional LinkedIn copy..." }
}

Upload and attach media

  1. POST /media (multipart) for direct upload, or POST /media/from-url for URL import
  2. Check validity object in response for network compatibility
  3. Reference media.id in the media[] array inside the network object when creating post

List and review scheduled posts

  1. GET /posts?state=scheduled
  2. Display as readable list: date, network, text preview
  3. Offer to edit (PUT /posts/{id}) or delete (DELETE /posts?post_ids[]=...) on request

Fetch analytics

  1. For account-level charts: GET /analytics/charts to get available IDs, then GET /analytics/:account_id/chart_data?chart_ids[]=...&from=...&to=...
  2. For per-post performance: GET /analytics/:account_id/post_insights?from=...&to=...
  3. For hashtag performance: GET /analytics/:account_id/hashtag_insights
  4. For best posting times: GET /analytics/:account_id/best_times?from=...&to=...

Competitor analysis

  1. GET /competitors/:account_id to list competitors
  2. GET /competitors/:account_id/analytics for aggregate metrics
  3. Use competitors=true&competitor_id=... on post insights and best times endpoints for deeper comparison

Key Notes & Edge Cases

  • Auth header format: Bearer-API YOUR_KEY — not Bearer
  • Workspace in header vs path: Most endpoints use Publer-Workspace-Id header. Exception: GET /workspaces/{workspace_id}/media_options uses workspace ID in the path.
  • /users/me and /workspaces do not require the workspace header.
  • Pagination: 0-based page param throughout. Post insights and hashtag insights return 10 per page.
  • Date format: ISO 8601 with timezone for timestamps; YYYY-MM-DD for analytics date ranges.
  • default network key: Use "default" as the network to apply same content to all accounts.
  • Threads: Cannot schedule for specific times via API.
  • Analytics data freshness: Metrics auto-sync ~every 24h. Not real-time.
  • Competitor sort_type: Lowercase asc/desc — unlike post/hashtag insights which use ASC/DESC.
  • reach field: May be omitted in members analytics and competitor analytics for unsupported networks — handle gracefully.

Reference Files

  • references/api-reference.md — Full endpoint docs with all request/response shapes, field enums, media specs, daily post limits, and error handling. Read this when you need exact field names, response shapes, or need to handle a case not covered above.

平台分布

OpenClaw

80.47%
按下载量换算1,339

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills