← 返回 Skills 市场
toutiaoAutoPublish
作者
devilsbibble
· GitHub ↗
· v1.0.0
· MIT-0
833
总下载
0
收藏
5
当前安装
1
版本数
在 OpenClaw 中安装
/install toutiao-auto-publish
功能描述
今日头条微头条自动发布工具。自动发布短内容到今日头条平台,支持文本和图片。 使用场景:(1) 用户说"发布头条"、"发微头条"、"头条发布"时触发 (2) 需要自动发布社交媒体内容时 (3) 需要定时发布今日头条时
安全使用建议
What to consider before installing/using this skill:
- Inconsistent instructions: SKILL.md tells you to start Chrome with --remote-debugging-port=9222, but the script attempts to connect to CDP at http://localhost:18800. Confirm which port the script expects and update either the script or your Chrome startup command. If you run it with 9222 and the script still tries 18800, it will fail to connect.
- Default autopost content: The script contains a built-in DEFAULT_CONTENT that will be posted if you do not provide content. That default text claims an AI 'explored' and posted using your account. If you don't want that, edit the script to remove or change DEFAULT_CONTENT or always pass explicit content via the command line or file.
- Test on a throwaway account first: Because the script will publish using your logged-in browser session, try it with a test Toutiao account to verify behavior before using any primary account.
- Review the rest of the script: The delivered file was partially truncated in the review. Inspect the complete toutiao_publish.py yourself to ensure there are no hidden network calls, webhook URLs, or code that exfiltrates cookies or other data. Pay attention to any page.evaluate(...) JS that might perform XHR/fetch to external hosts.
- Local network exposure: The script connects to a local debugging endpoint. Ensure you understand whether any local proxy or service is expected on port 18800; do not expose remote debugging ports to untrusted networks.
- Minimal risk mitigations: Run the script in a controlled environment, run it with explicit content, remove or override DEFAULT_CONTENT, and/or run in headless mode with a dedicated browser profile where possible. If you are not comfortable auditing the remainder of the file, avoid using it with any real account.
Confidence note: medium — the visible code seems consistent with a publishing tool, but (a) the port mismatch and built-in default post are definite red flags and (b) the file was truncated in the supplied content so I could not fully verify the tail of the script for any external endpoints or additional behavior. If you provide the full script file, I can re-check for any hidden exfiltration or unexpected network calls and raise confidence.
功能分析
Type: OpenClaw Skill
Name: toutiao-auto-publish
Version: 1.0.0
The skill is a legitimate automation tool designed to publish content to the Toutiao (今日头条) platform using Playwright. It functions by connecting to a local Chrome instance via remote debugging to leverage existing login sessions. The script (toutiao_publish.py) performs transparent UI automation, including handling image uploads and providing status screenshots on the user's desktop. While it possesses the capability to post on the user's behalf, there is no evidence of data exfiltration, credential theft, or hidden malicious logic. A minor discrepancy exists between the documentation (port 9222) and the code (port 18800), which appears to be a configuration oversight rather than a security risk.
能力评估
Purpose & Capability
The skill's name/description (auto-publish to 今日头条) aligns with the included Playwright-based script that automates a logged-in local Chrome. However there are unexpected elements: the script contains a DEFAULT_CONTENT that would be posted if no content is provided (it self-describes an AI 'exploration' post), which is not called out in SKILL.md. Also the script attempts to connect to a CDP at http://localhost:18800 while the SKILL.md tells the user to start Chrome with --remote-debugging-port=9222 — this mismatch is incoherent and could lead to unexpected behavior.
Instruction Scope
SKILL.md directs the agent/user to start Chrome with remote debugging (port 9222), install Playwright, and run the Python script. The script (visible portion) reads local files (images, content file), reuses browser login state, and takes screenshots to ~/Desktop — these actions are within the domain of an automated publisher. Concerns: (1) SKILL.md does not warn that if no content is provided the script will publish a built-in message referencing an autonomous 'OpenClaw' AI (potentially posting without explicit user-provided text). (2) SKILL.md and code disagree on the CDP port (9222 vs 18800). (3) The file was truncated in the review; the remainder should be checked for any external network calls, hidden telemetry, or data exfiltration logic (none obvious in the shown portion).
Install Mechanism
This is instruction-only with no install spec; SKILL.md asks users to pip install playwright and run playwright install chromium, which is reasonable for a Playwright-based script. No remote downloads or archive extracts are declared in the skill bundle itself.
Credentials
The skill requests no environment variables or external credentials in the registry metadata. It relies on the user's local logged-in Chrome session to authenticate — appropriate for a tool that reuses browser login state. The script accesses local files (content, image) and writes screenshots to the Desktop, which fits the stated purpose.
Persistence & Privilege
always is false and the skill does not request elevated platform privileges in the manifest. It runs locally and does not declare any automatic permanent presence or modifications to other skills. Autonomous invocation is allowed by platform default but is not combined here with broad credentials.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install toutiao-auto-publish - 安装完成后,直接呼叫该 Skill 的名称或使用
/toutiao-auto-publish触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
publish jinri toutiao news use browser agent
元数据
常见问题
toutiaoAutoPublish 是什么?
今日头条微头条自动发布工具。自动发布短内容到今日头条平台,支持文本和图片。 使用场景:(1) 用户说"发布头条"、"发微头条"、"头条发布"时触发 (2) 需要自动发布社交媒体内容时 (3) 需要定时发布今日头条时. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 833 次。
如何安装 toutiaoAutoPublish?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install toutiao-auto-publish」即可一键安装,无需额外配置。
toutiaoAutoPublish 是免费的吗?
是的,toutiaoAutoPublish 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
toutiaoAutoPublish 支持哪些平台?
toutiaoAutoPublish 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 toutiaoAutoPublish?
由 devilsbibble(@devilsbibble)开发并维护,当前版本 v1.0.0。
推荐 Skills