Juejin Skill

VerifiedCaution

Allows browsing Juejin categories and hot lists, logging in, publishing Markdown articles, or downloading articles as local Markdown.

Sby Skills Guide Bot
ContentIntermediate
7/22/2026
Claude CodeCursorCodex
#juejin#markdown-publishing#browser-automation#cli#content-download

Recommended for

Automated summary

This skill provides a shared Node.js CLI for querying Juejin categories and trending lists, logging in with Playwright, publishing or updating Markdown articles, and downloading Juejin articles as local Markdown files.

Strengths

  • Bundles all juejin.cn lookup, publish, update and download operations into a single CLI
  • Draft-by-default publishing and updating, with an explicit double opt-in (`--publish` plus `--confirm-publish`) before anything goes public
  • Exposes categories and tags so a suitable Juejin category can be proposed and confirmed before publishing
  • Downloads go through the API first, falling back to page rendering when the detail endpoint fails

Limitations

  • Login depends on Playwright and a locally stored Cookie session, so authentication must be redone when the session expires
  • The CLI must be installed and numeric category/tag IDs supplied or discovered beforehand
  • Scope is limited to juejin.cn; no other blogging platforms are supported
When to use it

Use it when the task explicitly involves juejin.cn, whether that means checking trending posts, publishing a Markdown article, or archiving articles locally.

When not to use it

Avoid it for publishing to other platforms, or when the user does not want a Node.js CLI with Playwright installed and a Cookie session stored on their machine.

Security analysis

Caution
Quality score86/100

The skill is a legitimate Juejin automation CLI with network access, browser-based login, local session storage, and article publishing. It does not contain destructive, exfiltration, obfuscated, or safety-disabling instructions, and public publishing is gated by explicit confirmation. The main risks are normal credential handling and account actions, so it merits caution rather than risky.

Findings
  • •Stores authenticated session cookies locally at ~/.juejin-skill/session.json; this is sensitive credential material and should be protected with restrictive file permissions.
  • •Supports public publishing when --publish and --confirm-publish are passed, or when JUEJIN_CONFIRM_PUBLISH=1 is set; the environment-variable path can bypass interactive confirmation.
  • •Uses Playwright login and network access to juejin.cn, so it handles account credentials and remote content.
  • •No allowed-tools are declared, but the workflow instructs execution of local CLI commands.
How this analysis is made

Examples

Check trending posts
Show me the top 10 trending posts in the Juejin frontend category.
Publish a draft article
Publish ./article.md to Juejin as a draft — read the content and suggest the best category and tags first, then confirm with me.
Archive an article
Download this Juejin article as a Markdown file: https://juejin.cn/post/1234567890123456789

name: juejin-skill description: 当用户需要查询掘金分类或热榜、登录掘金、发布 Markdown 文章到掘金,或将掘金文章下载为本地 Markdown 文件时使用此技能。该技能提供共享的 Node.js CLI,并兼容 Claude Code 命令封装。

掘金技能

当任务明确与 juejin.cn 相关时,使用此技能。

能力范围

  • 获取掘金分类与标签
  • 获取全站或指定分类热榜
  • 通过 Playwright 登录并保存本地会话
  • 将 Markdown 文件发布到掘金,默认仅创建草稿
  • 用 Markdown 更新已发布文章,默认仅更新草稿
  • 下载单篇掘金文章或作者文章归档为 Markdown

安全约束

  • 默认不会公开发布文章。
  • 如需公开发布,必须同时显式传入 --publish 与 --confirm-publish,或设置 JUEJIN_CONFIRM_PUBLISH=1。
  • 会话 Cookie 默认保存在 ~/.juejin-skill/session.json,也可以通过 --cookie-path 覆盖。

工作流程

  1. 如果任务需要账号能力,先执行 juejin-skill login。
  2. 查询类任务优先使用 categories、tags、hot。
  3. 发布类任务中,如果用户未指定分类,先读取文章标题和正文内容,推荐合适的掘金分类,并在发布前向用户确认。
  4. 更新类任务必须提供文章 URL 或 ID;默认只更新关联草稿,公开更新必须确认。
  5. 下载类任务优先走 API;如果详情接口失败,再使用页面回退逻辑。

常用命令

juejin-skill categories --json
juejin-skill hot --category 6809637767543259144 --limit 10
juejin-skill login
juejin-skill publish --file ./article.md --category 6809637767543259144 --tags 6809640407484334093
juejin-skill publish --file ./article.md
juejin-skill update --article https://juejin.cn/post/1234567890123456789 --file ./article.md
juejin-skill download --article https://juejin.cn/post/1234567890123456789

关键文件

  • 共享 CLI:bin/juejin-skill.js
  • 核心实现:src/core/
  • Claude Code 命令:.claude/commands/
  • 发布构建脚本:scripts/build-release.js

只有在需要安装或发布细节时再查看 README.md。

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/juejin-skill-mrwakf9v/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/juejin-skill-mrwakf9v' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/juejin-skill-mrwakf9v/download' --output '.skill-downloads/juejin-skill-mrwakf9v/SKILL.md.part' && mv '.skill-downloads/juejin-skill-mrwakf9v/SKILL.md.part' '.skill-downloads/juejin-skill-mrwakf9v/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/juejin-skill-mrwakf9v/SKILL.md' && test -s '.skill-downloads/juejin-skill-mrwakf9v/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/juejin-skill' && cp -R '.skill-downloads/juejin-skill-mrwakf9v' '.claude/skills/juejin-skill'

Cursor
test -f '.skill-downloads/juejin-skill-mrwakf9v/SKILL.md' && test -s '.skill-downloads/juejin-skill-mrwakf9v/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/juejin-skill' && cp -R '.skill-downloads/juejin-skill-mrwakf9v' '.cursor/skills/juejin-skill'

Codex
test -f '.skill-downloads/juejin-skill-mrwakf9v/SKILL.md' && test -s '.skill-downloads/juejin-skill-mrwakf9v/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/juejin-skill' && cp -R '.skill-downloads/juejin-skill-mrwakf9v' '.agents/skills/juejin-skill'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/juejin-skill-mrwakf9v'

openskills read 'juejin-skill-mrwakf9v'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/juejin-skill-mrwakf9v/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills