AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Baijiahao Article Upload

skill-puppyfront-web-social-publish-skills-baijiahao-article-upload · by puppyfront-web

当 agent 需要完成百家号登录、cookie 校验、自动导入 Markdown/GitHub/网页内容并发布百家号文章(默认保存草稿)时使用。使用本仓库 TypeScript 引擎与 Playwright;命令为 node dist/cli.js baijiahao check|login|publish(或 npm run dev --)。

No reviews yet
0 installs
41 views
0.0% view→install

Install

$ agentstack add skill-puppyfront-web-social-publish-skills-baijiahao-article-upload

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-puppyfront-web-social-publish-skills-baijiahao-article-upload)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Baijiahao Article Upload? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

百家号文章发布 Skill

Agent 执行规则(重要)

  • 默认由 Agent 在仓库根目录直接执行命令,不要让用户手动复制粘贴命令。
  • 只有在必须人工完成的步骤(扫码、短信验证码、账号确认、安全验证、终端按 Enter)才请求用户介入。
  • 若缺少 dist/cli.js 或依赖未安装,Agent 先自动执行 npm installnpx playwright install chromiumnpm run build,再继续业务命令。

标准执行模板(全自动优先)

  1. 在仓库根目录检查 dist/cli.js 是否可用。
  2. 若不可用,自动执行 npm installnpx playwright install chromiumnpm run build
  3. 自动执行目标命令(check / login / publish)。
  4. 仅在扫码、验证码、安全验证或显式人工确认时暂停并请求用户操作;完成后由 Agent 继续后续步骤。

执行入口(本仓库)

social-publish-skills 根目录:

node dist/cli.js baijiahao check --account 
node dist/cli.js baijiahao login --account 
node dist/cli.js baijiahao publish \
  --account  \
  --source  \
  --title "..."

来源类型

  • --source-type auto:默认,自动识别
  • --source-type markdown:本地 Markdown(必须绝对路径)
  • --source-type github:GitHub URL(优先读取 README 或 blob 文件)
  • --source-type url:通用网页 URL(抓取正文后转换)

发布策略

  • 默认保存草稿或等待编辑器自动保存(推荐)
  • 仅在用户明确要求时增加 --publish 直接发布

功能概览

| 功能 | CLI | | --- | --- | | cookie 校验 | baijiahao check | | 登录 / 刷新 storageState | baijiahao login | | 发布文章(默认草稿) | baijiahao publish |

cookie 持久化

  • 默认目录:$SOCIAL_PUBLISH_DATA_DIR/cookies/baijiahao/.json
  • 发布前后引擎会读写 Playwright storageState

平台边界

  • 支持百家号文章,不支持百家号视频、动态、小视频或高级分发设置。
  • 百度/百家号风控可能出现安全验证;使用 SOCIAL_PUBLISH_HEADLESS=0 时按浏览器提示完成验证。
  • 本地 Markdown 来源必须使用绝对路径。

进度可视化

引擎在控制台输出 ⏳/✅/❌ [step/total] STAGE - message;agent 应同步转述给用户。

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.