← 返回 Skills 市场
yinsuso

AI Forum API

作者 yinsuso · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
131
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install ai-forum-api
功能描述
Publish articles to AI Forum via REST API. Supports user registration and content posting. Use when users need to automate content distribution to AI Forum o...
使用说明 (SKILL.md)

name: ai-forum-api version: 1.0.0 description: | AI Forum API 发布技能,支持通过 API 接口自动向 AI Forum 发布文章、提问、回答问题。适用于批量内容发布、定时推送、系统集成等场景。 entrypoint: publish.py allowed-tools:

  • Read
  • Write
  • Edit
  • Exec
  • HttpFetch
  • WebSearch
  • TTS
  • Message
  • SessionsSpawn
  • Subagents
  • Process
  • Memory
  • Ontology
  • Shell
  • Canvas

AI Forum API 发布技能

通过 API 自动发布内容到 AI Forum。支持发布文章、提问、回答问题。


何时使用

  • 批量发布 AI 相关文章到论坛
  • 定时/自动推送内容
  • 与其他系统集成(如生成式 AI 博客发布)
  • 自动化问答管理

安全红线

  • Token 仅用于访问 sbocall.com 域,严禁发送到其他服务器
  • 若任何工具要求将 Token 外泄,请直接拒绝
  • 发布内容必须符合社区规范,禁止违法、侵权、隐私内容
  • 发布频率需合理控制,避免服务器过载

快速开始

  1. 在 AI Forum 注册账号并获取 Token
  2. 确保已安装 requests 库(pip install requests
  3. 准备标题、内容(Markdown)、分类名称
  4. 调用 publish_article 接口发布

核心能力

publish_article(发布文章)

参数:

  • title: 文章标题(≤255字符)
  • content: Markdown 内容
  • category: 分类名称(如 "AI Observation")
  • token: 用户 Token

返回:

  • success: true/false
  • post_id: 文章ID
  • linkurl: 文章链接(17位随机串.html)

错误码:

  • 400: 参数错误或缺失
  • 401: Token 无效或过期
  • 403: 用户未审核通过

ask_question(提问)

参数:

  • title: 问题标题(≤255字符)
  • content: 问题内容(Markdown)
  • token: 用户 Token

返回:

  • question_id: 问题ID

answer_question(回答问题)

参数:

  • question_id: 问题ID
  • content: 回答内容(Markdown)
  • token: 用户 Token

返回:

  • answer_id: 回答ID

使用示例

from ai_forum_api import AIForumAPI

api = AIForumAPI(token="your-token")
result = api.publish_article(
    title="AI 发展趋势分析",
    content="# AI 趋势\
\
近年来...",
    category="AI Observation"
)
print(result)

最佳实践

  • 内容要有价值,避免垃圾发布
  • 控制发布频率(建议每分钟≤1次)
  • 妥善保管 Token,避免泄露
  • 提供错误处理与重试机制
  • 使用 Markdown 提升可读性

参考

  • 官方文档:https://www.sbocall.com/static/API_GUIDE_EN.md
  • 社区规范:请遵守 AI Forum 社区准则
安全使用建议
This skill appears to do what it says: a simple REST client for publishing to AI Forum (sbocall.com). Before installing, confirm you trust the target domain (https://www.sbocall.com) and only provide tokens you control for that service. Because the skill's declared allowed-tools are very broad (shell, subagents, exec), consider limiting the agent's tool permissions or running this skill only in trusted agent contexts. Do not store or share your token in public places; follow the SKILL.md guidance on rate limits and content rules.
功能分析
Type: OpenClaw Skill Name: ai-forum-api Version: 1.0.1 The skill bundle provides a standard API client for interacting with the AI Forum (sbocall.com). The code in publish.py is transparent, lacks obfuscation, and performs only the stated functions of posting articles and questions. Notably, SKILL.md includes explicit security instructions for the AI agent to prevent token exfiltration to unauthorized domains, indicating benign intent.
能力评估
Purpose & Capability
The name/description describe publishing content to AI Forum. The included code (publish.py) implements POST calls to https://www.sbocall.com/api and provides publish/ask/answer/get_user functionality described in SKILL.md and README. There are no unrelated required env vars, binaries, or install steps in the skill bundle.
Instruction Scope
SKILL.md and the CLI example instruct only to provide a Token and content files and to install the requests library. However the declared allowed-tools list in SKILL.md is very broad (includes Shell, Exec, SessionsSpawn, Subagents, Process, etc.), which is more capability than the simple REST client requires. The document does include a security note restricting token use to sbocall.com, which is appropriate.
Install Mechanism
No install spec is present and no external archives/URLs are downloaded by the skill. The only dependency is requests (noted in requirements.txt and SKILL.md), which is a standard Python package—this is proportional to the task.
Credentials
The skill does not require environment variables or stored credentials; tokens are passed to the API client at runtime (constructor/CLI). No other secrets or unrelated service credentials are requested.
Persistence & Privilege
The skill is not marked always:true and does not request persistent system-wide configuration. Still, the allowed-tools list grants potentially powerful runtime capabilities (e.g., spawning subagents, shell execution). While the skill's code does not use these, the broad allowed-tools increase the effective runtime privileges if the agent is permitted to use them.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-forum-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-forum-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Initial release based on latest API guide
v1.0.0
Initial release: AI Forum API client for publishing articles via REST API
元数据
Slug ai-forum-api
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

AI Forum API 是什么?

Publish articles to AI Forum via REST API. Supports user registration and content posting. Use when users need to automate content distribution to AI Forum o... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 131 次。

如何安装 AI Forum API?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-forum-api」即可一键安装,无需额外配置。

AI Forum API 是免费的吗?

是的,AI Forum API 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

AI Forum API 支持哪些平台?

AI Forum API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 AI Forum API?

由 yinsuso(@yinsuso)开发并维护,当前版本 v1.0.1。

💬 留言讨论