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.
npx skills add Morningstar202604/awesome-skillkit --skill juejin-publishergit clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitWrote 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.
[](https://agentmods.dev/skills/morningstar202604/awesome-skillkit/juejin-publisher)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/juejin-publisher"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/juejin-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.
<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/juejin-publisher"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/juejin-publisher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00083 | $0.00733 |
| Opus 5 | $0.00042 | $0.00367 |
| Sonnet 5 | $0.00017 | $0.00147 |
| Haiku 4.5 | $0.00008 | $0.00073 |
Grade A, and why
juejin-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 11d ago.
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.
What it actually says
掘金发布 Skill
compatibility
- Python 3.8+(仅标准库)
- 掘金账号登录态 Cookie(含
sessionid_a1)
⚠️ 端点核对(首次使用必做)
掘金没有公开开放 API。本技能使用 Web 编辑器同款内部接口,
社区通用端点已写入 scripts/juejin_publish.py 顶部 ENDPOINTS 常量。
平台可能随时调整——首次使用前核对一次:
- 浏览器登录 juejin.cn → 打开创作者编辑器 → F12 → Network 面板
- 手动保存一次草稿、发布一次文章
- 找到
content_api/v1/article/...相关请求,对照修改脚本中的 URL 与字段名
认证管理
export JUEJIN_COOKIE="sessionid_a1=...; 其他必要字段..."
从浏览器 DevTools → Application → Cookies 复制完整值。 Cookie 过期的表现:接口返回 err_no 非 0 或 HTTP 401/403——重新复制即可。 禁止把 Cookie 写入任何进仓库的文件。
工作流
1. 查分类 / 标签 ID
python3 scripts/juejin_publish.py --execute categories | head -50
记下目标分类的 category_id(如后端的 hex 字符串),以及标签 tag_ids。
2. 保存草稿(默认 dry-run)
python3 scripts/juejin_publish.py draft-save \
--title "文章标题" --markdown article.md \
--category-id <id> --tag-ids <id1>,<id2> \
--brief "摘要"
# 输出确认无误后加 --execute 执行;返回 data.article_id
3. 发布
python3 scripts/juejin_publish.py publish <article_id> \
--title "文章标题" --markdown-file article.md \
--category-id <id> --tag-ids <id1>,<id2>
发布走平台审核(need_review=true),几分钟后在个人主页确认状态。
安全规则
- 默认 dry-run,
--execute才真正发送——AI 必须先展示计划等确认 - Cookie 只放环境变量或本地文件,绝不入库
- 掘金对高频发布有风控,一天多篇时拉开间隔
已知限制
- 无官方 API,端点属于内部实现,可能随版本变动(核对步骤见上)
- 封面图:Web 端上传走独立图片服务,本脚本暂未封装;可先用外链 cover-image
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.
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.
- 11d ago First seen · 77 lines · 83 tokens per session scan A e362dd3f5c6d
juejin-publisher is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (1 stars, last pushed 2d ago), licensed Apache-2.0. It adds 83 tokens to every session and 733 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-31.
Other skills, from other repositories
agentic-webdesign-html-anything
Install and use html-anything — the agentic HTML editor where your local AI agent writes HTML and you ship it. 75 skills × 9 surfaces, BYOK, zero API key. Use when building magazine articles, keynote decks, resumes, posters, social cards, web prototypes, data reports, or Hyperframes videos with AI coding agents.
blog-post
Full-stack blog post production — turns a topic, idea, or brief into a complete publishing package across written, social, and multimedia surfaces. Generates broomva.tech .mdx posts (or Substack/other long-form), X posts and threads, LinkedIn posts, Instagram posts and reel scripts, plus multimedia asset plans…
content-creation
Full-stack content creation pipeline: idea or reference to published blog post, audio narration, video, and social media distribution. Orchestrates research, reference extraction, storytelling, AI visual assets (Nano Banana, Veo 3.1), TTS audio (Voicebox, kokoro-tts, Edge TTS), Remotion video, and social copy into a…
revenuecast
/revenuecast is the verb that turns what you can do into a machine that makes the world want it. You have a real capability — a craft, an expertise, a running system. revenuecast builds the loop where the capability's output becomes its own advertisement, and the demand that output creates is monetized by selling the…
citable
Make authored content survive the two selection surfaces it now faces: human engagement and LLM retrieval for citation. These partially anti-correlate, and the tactics that raise reactions are in two measured cases the ones that suppress citation. Encodes effect sizes from published causal studies (Scrunch, 12,000…
claude-md-improver
Audit and improve CLAUDE.md files in repositories. Use when user asks to check, audit, update, improve, or fix CLAUDE.md files. Scans for all CLAUDE.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "CLAUDE.md maintenance" or "project…