anybox: Skill for Codex

.agents/skills/zhihu-md-publisher/SKILL.md

zhihu-md-publisher is a skill for Codex from fanfan-de/anybox. It costs 79 tokens per session (1,027 once invoked), scanned A, original, MIT.

A skill for publishing Markdown articles to Zhihu, a Chinese question-and-answer and publishing platform.

In plain words
What is it for?
Use it to validate article metadata, resolve local images, prepare previews and fallbacks, fill the editor, set topics, and handle draft links.
Why use it?
It prepares local Markdown files and their images for Zhihu's editor, reducing manual formatting and upload work.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is fanfan-de/anybox's own configuration. It tells Codex how to work on anybox itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything anybox configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is ![说明](../../assets/screenshot.png).

Reuse

Borrowing it

Nothing to install: this file belongs to fanfan-de/anybox. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/fanfan-de/anybox/master/.agents/skills/zhihu-md-publisher/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fanfan-de/anybox

Made for: 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 zhihu-md-publisher

README.md
[![agentmods](https://agentmods.dev/badge/skills/fanfan-de/anybox/zhihu-md-publisher/github.svg)](https://agentmods.dev/skills/fanfan-de/anybox/zhihu-md-publisher)
Your own site
<a href="https://agentmods.dev/skills/fanfan-de/anybox/zhihu-md-publisher"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/zhihu-md-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 zhihu-md-publisher

Your own site · 80×15
<a href="https://agentmods.dev/skills/fanfan-de/anybox/zhihu-md-publisher"><img src="https://agentmods.dev/badge/skills/fanfan-de/anybox/zhihu-md-publisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,027 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00079 $0.01027
Opus 5 $0.00039 $0.00513
Sonnet 5 $0.00016 $0.00205
Haiku 4.5 $0.00008 $0.00103

Measured 13d ago against content hash 7c0fbe73ab9a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

zhihu-md-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 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/prepare-zhihu-article.mjs), 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.

.agents/skills/zhihu-md-publisher/SKILL.md · 119 lines

How it starts

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

Zhihu Markdown Publisher

Use this skill to move a local Markdown article into Zhihu's article editor and publish it with images. Treat Zhihu login, CAPTCHA, and final publishing as live external actions.

Required Inputs

Expect a Markdown article path. If the user does not provide one, search the workspace for likely Zhihu drafts under paths such as 03_内容生产/知乎.

The article should have frontmatter:

---
zhihu-title: 文章标题
zhihu-topics:
  - 大语言模型
  - 桌面应用
zhihu-cover:
zhihu-link:
---

Support body images in either Markdown or Obsidian wiki syntax:

![说明](../../assets/screenshot.png)
![[assets/screenshot.png|说明]]

Workflow

  1. Run the bundled preparer:
node "<skill-dir>\scripts\prepare-zhihu-article.mjs" "<article.md>" "<output-dir>"

Use a workspace output directory such as 07_自动化脚本/out/zhihu. The script writes:

  • <name>.manifest.json: title, topics, cover, image paths, output paths.
  • <name>.html: local preview.
  • <name>.txt: plain-text fallback.

Stop and fix any missing frontmatter or missing images before using the browser.

  1. Open https://zhuanlan.zhihu.com/write in the in-app browser when available. If Zhihu redirects to login, ask the user to finish login/CAPTCHA, then continue.

  2. Fill the editor from the manifest:

  • Put manifest.title into the title textbox.
  • Clear the body if it contains an old draft or duplicate content.
  • Paste rich HTML chunks, not raw Markdown, so headings/lists/links render correctly.
  • Paste local images as clipboard image items in the original image order.
  • Verify figure count equals manifest.images.length.
  • Verify raw Markdown heading text such as ## is not present.
  • Verify key tail content and links exist.
  1. Set publishing metadata:
  • Add no more topics than Zhihu accepts. Prefer exact topic suggestions surfaced by Zhihu over forcing frontmatter names.
  • If topic search returns ambiguous results, pick fewer high-confidence topics rather than incorrect ones.
  • Leave column/question/source settings unchanged unless the user explicitly asks.
  • Add a cover only if the page supports it reliably; otherwise rely on the article's first product image.

Read the full file on GitHub · 119 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. 13d ago First seen · 119 lines · 79 tokens per session scan A 7c0fbe73ab9a

Subscribe to this mod's changes

zhihu-md-publisher is a skill published in the GitHub repository fanfan-de/anybox (57 stars, last pushed 1mo ago), licensed MIT. It adds 79 tokens to every session and 1,027 once invoked, about $0.0004 per session on Opus 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-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens