baijiahao-publisher

baijiahao-publisher is a skill for Claude Code, Codex from Morningstar202604/awesome-skillkit. It costs 120 tokens per session (1,074 once invoked), scanned A, original, Apache-2.0.

A publisher for Baijiahao, a Chinese content platform operated by Baidu, using its official API. It can publish articles and videos or save drafts, with an optional dry-run mode before sending changes.

In plain words
What is it for?
Publishing articles, publishing videos, and saving drafts with titles, content, media, tags, and category details.
Why use it?
It provides command-line operations for preparing and sending Baijiahao content, while dry-run mode lets you inspect a request plan before it is submitted.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Publishing articles, publishing videos, and saving drafts with titles, content, media, tags, and category details.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/morningstar202604/awesome-skillkit/baijiahao-publisher
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Morningstar202604/awesome-skillkit --skill baijiahao-publisher
Clone the repo
git clone --depth 1 https://github.com/Morningstar202604/awesome-skillkit

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for baijiahao-publisher

README.md
[![agentmods](https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/baijiahao-publisher/github.svg)](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/baijiahao-publisher)
Your own site
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/baijiahao-publisher"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/baijiahao-publisher/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for baijiahao-publisher

Your own site · 80×15
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/baijiahao-publisher"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/baijiahao-publisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,074 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00120 $0.01074
Opus 5.5 $0.00048 $0.00430
Sonnet 5.5 $0.00024 $0.00215
Haiku 4.5 $0.00012 $0.00107

Measured 2mo ago against content hash 6e9374caace0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

baijiahao-publisher scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/baijiahao_publisher.py, tests/test_baijiahao_publisher.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

site/skills/writing/news/baijiahao-publisher/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Baijiahao Content Adaptation Skill

Overview

This skill converts a generic draft into a Baijiahao (Baijiahao)-native article. Baijiahao is Baidu's content platform; articles rank in Baidu search and are distributed through the Baijiahao feed. The skill produces the headline, body, images, and tags the user pastes into the Baijiahao editor manually.

Platform Format Rules

  • Input format: rich-text editor; Markdown can be imported but the published body is HTML.
  • Title: up to 30 Chinese characters; front-load the Baidu-search keyword.
  • Body: short paragraphs (2–4 sentences), subheads every few paragraphs.
  • Images: inline images uploaded to Baidu's image host; 3–6 images per article; bright, clear photos.
  • Code blocks / tables: not ideal for a general-news audience; use short lists instead.
  • Links: external links are restricted; cite sources as plain text.

Reader Preferences

  • Baijiahao readers arrive from Baidu search or the feed looking for a clear answer to a question.
  • Direct, explanatory language; avoid jargon.
  • A headline that matches how someone would type the question into Baidu.
  • Useful, practical information with a clear takeaway.

Platform Context & Tone

  • Tone: informative, encyclopedia-meets-news; slightly more formal than Toutiao.
  • Baidu heavily indexes Baijiahao, so keyword coverage matters for discovery.
  • Taboo: fabricated statistics, medical / financial advice, politically sensitive content, exaggerated headlines, content farms scraping.

Content Length Guidelines

  • Quick explainer: 500–1,000 characters.
  • Standard article: 1,000–2,500 characters.
  • Deep feature: 2,500–5,000 characters.

Image & Illustration Support

  • Cover image: recommended; ratio ~16:9, 1080x608, bright and clear.
  • Inline images: 3–6 per article; wide photos or simple infographics.
  • Avoid text-heavy screenshots; use clean diagrams if needed.

Background & Styling

  • Baijiahao controls the theme; no custom fonts/colors.
  • Use bold, subheads, and images for rhythm.

Read the full file on GitHub · 115 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago Changed · -16 lines · -86 tokens per session 6e9374caace0
  2. 2mo ago Changed · +44 lines · +188 tokens per session ecfbe2d296f2
  3. 3mo ago First seen · 87 lines · 18 tokens per session scan A 40d7b8a976fb

Subscribe to this mod's changes

baijiahao-publisher is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 120 tokens to every session and 1,074 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

baijiahao-publisher compared with skills from other repositories

baijiahao-publisher next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
baijiahao-publisherMorningstar202604/awesome-skillkitSkill02mo agoApache-2.0A120Claude Code, Codex
safe-refactorJuliusBrussee/cavemanSkill124ktodayApache-2.0A29Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex
auditing-subgroup-fairnessmaziyarpanahi/openmedSkill5.9kyesterdayApache-2.0A148Claude Code
memoryopensquilla/opensquillaSkill7.2k4d agoApache-2.0A44Claude Code, Codex
infographic-template-updaterantvis/InfographicSkill7.2k1mo agoMITA43Claude Code
pulse-configureSnowflake-Labs/cocoplusSkill72923d agoMITA12Claude Code, Codex