← 返回 Skills 市场
lang50

掘金自动化

作者 lang50 · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
383
总下载
0
收藏
3
当前安装
2
版本数
在 OpenClaw 中安装
/install juejin
功能描述
掘金平台自动化操作。支持发布沸点、查询话题列表等功能。
使用说明 (SKILL.md)

掘金自动化技能

掘金平台自动化操作工具集。

功能一览

脚本 功能
publish_pin.py 发布沸点到指定话题

沸点发布

发布短内容到掘金沸点。

使用方法

python3 scripts/publish_pin.py --cookie "COOKIE字符串" --content "沸点内容" [--topic-id "话题ID"] [--theme-id "主题ID"]

参数

  • --cookie (必需): 掘金登录cookie,需要包含 sessionidsid_guard
  • --content (必需): 沸点内容文本
  • --topic-id (可选): 话题ID,不指定则发布到默认频道
  • --theme-id (可选): 主题ID,用于关联话题活动(如热门话题/挑战赛)

话题活动发布(重要!)

如果发布到话题活动(如"AI 能力提升场"等热门话题),需要注意:

  1. 内容格式: 内容中需要包含话题标签,格式为:[topic_id#话题名#]
    • 例如:[7617667585588674611#AI 能力提升场#] 你的内容
  2. theme_id: 需要传 --theme-id 参数,值通常和 topic_id 相同

示例:

python3 scripts/publish_pin.py \
  --cookie "COOKIE" \
  --content "[7617667585588674611#AI 能力提升场#] 用AI辅助编程效率提升好多!" \
  --theme-id "7617667585588674611"

热门话题活动

话题活动名称 topic_id theme_id
AI 能力提升场 7617667585588674611 7617667585588674611
挑战每日一条沸点 6824710203171143693 7210002980895916043

话题列表

热门话题

话题名称 topic_id 消息数
上班摸鱼 6824710203301167112 290k+
树洞一下 6824710203112423437 94k+
今天学到了 6824710202562969614 34k+
技术交流圈 6824710202655244301 37k+
掘友请回答 6824710202734936077 30k+
今日新鲜事 6824710203464761352 30k+
打工人的日常 6824710202873348104 21k+
前端开发圈 7237375092064256055 18k+
读书会 6824710202248396813 16k+
内推招聘广场 6819970850532360206 15k+
AI聊天室 7173895829281833012 13k+
照片展览馆 6824710202487472141 11k+
理财交流圈 6931179346187321351 28k+
舌尖上的沸点 6824710202302922759 9k+
掘金相亲角 6824710202416332807 4k+
AGI交流圈 7233261133811941436 2k+
大模型生态圈 7273343075660300349 2k+
服务端与架构 7237388169522462781 3k+
优秀开源项目 6824710203196309518 5k+
代码人生 6824710202810433549 3k+

更多话题

话题名称 topic_id
下班去哪儿玩 6824710201963184141
开发工具推荐 6824710202000932877
应用安利 6824710202785267719
什么值得买 6824710203007565831
游戏玩家俱乐部 6931914335023267853
萌宠报道 6824710203489910797
体育运动俱乐部 7007325324648120359
搞笑段子 6931915139369140224
沙雕表情包 6931915037049094157
一起看片 6931915009140195336
值得收藏的歌曲 6931915440545333259
情感互助协会 6931915658980491264
科技交流圈 7007623465385590823
客户端开发 7237393752078155791
鸿蒙开发者社区 7396452297225535551

注意事项

  1. Cookie有效期: Cookie会过期,如果返回401错误需要重新获取
  2. 沸点内容长度: 沸点内容不能太短,建议至少20个字符以上

获取Cookie的方法

  1. 登录 https://juejin.cn
  2. 打开浏览器开发者工具 (F12)
  3. 切换到 Network 标签
  4. 刷新页面,找到任意请求
  5. 在请求头中找到 Cookie 字段,复制完整值
安全使用建议
This skill's main script (publish_pin.py) matches the description and will post to juejin if you supply your cookie, but there are red flags you should address before installing or running anything: 1) Do not run scripts/publish_to_evomap.py unless you understand and trust the external service (evomap.ai). That file includes a hard-coded NODE_SECRET (embedded credential) and will send data to a remote hub. 2) The SKILL.md mentions other files (TOOLS.md, checkin.py) that are missing — ask the publisher which files are required and why. 3) Avoid pasting full browser cookies on the command line (they can be captured in shell history or process lists); prefer providing credentials via a secure prompt or environment variables and rotate any cookie/credentials you expose for testing. 4) If you need this skill, consider removing or auditing publish_to_evomap.py and any hard-coded secrets locally, and ask the publisher to clarify the EvoMap integration and to remove unrelated code or secrets. If you cannot verify the publisher or the external hub, treat the extra script as suspicious and do not run it.
功能分析
Type: OpenClaw Skill Name: juejin Version: 1.1.0 The bundle contains an undocumented script `scripts/publish_to_evomap.py` that includes hardcoded credentials (`NODE_SECRET`) and communicates with an external domain (`evomap.ai`) to upload skill metadata and 'evolution events'. While the primary script `scripts/publish_pin.py` is a standard Juejin API client, the inclusion of a secondary script for external registry synchronization—which also contains instructions for the agent to retrieve sensitive cookies from local configuration files (`TOOLS.md`)—represents an undocumented side-channel and potential telemetry risk.
能力评估
Purpose & Capability
The SKILL.md and publish_pin.py align: posting short messages to juejin using a user-supplied cookie is coherent. However, scripts/publish_to_evomap.py contains logic to publish metadata to an external service (evomap.ai) with a hard-coded NODE_SECRET and node ID — functionality not mentioned in SKILL.md. The publish_to_evomap code also references features/files not present (TOOLS.md, checkin.py) and describes broader capabilities (签到、抽奖) not implemented in the included files. Required binaries declare curl in SKILL.md metadata but the code only uses python3, an unnecessary requirement.
Instruction Scope
The runtime instructions in SKILL.md focus solely on running scripts/publish_pin.py with a --cookie argument, which is expected. But the repository contains publish_to_evomap.py that, if executed, sends data to an external endpoint and can send heartbeats; SKILL.md does not instruct or warn users about this. SKILL.md instructs users to copy full browser Cookie strings and pass them on the command line — this risks exposure via shell history or process listings. The code does not itself read local cookie stores automatically, but the presence of the external-publishing script and references to reading TOOLS.md (not present) create unexplained scope creep and potential for sensitive-data exfiltration if modified or extended.
Install Mechanism
There is no install spec (instruction-only install) and the included code is just Python scripts. That limits automatic disk writes or arbitrary downloads. This is the lower-risk install pattern.
Credentials
The skill declares no required environment variables, which matches the main publish script. However, publish_to_evomap.py contains a hard-coded secret (NODE_SECRET) granting Bearer authorization to an external hub — an embedded credential unrelated to the stated purpose of posting pins. The SKILL.md metadata lists curl as required though code does not use it. The skill's internal 'strategy' text references reading TOOLS.md to obtain cookie information — a missing file but an indication of design that could centralize and exfiltrate credentials; that disproportionally increases risk compared with the simple posting purpose.
Persistence & Privilege
The skill does not request always: true and does not modify system or other-skills configuration. The only persistence-like behavior is that publish_to_evomap.py can send heartbeats and publish bundles to an external hub when run, but it is not configured to run autonomously by the platform.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install juejin
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /juejin 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
支持话题活动发布(theme_id),更新SKILL文档
v1.0.0
Initial release of juejin skill: - Automates operations on the Juejin platform. - Supports posting Pins (沸点) to specified topics. - Provides a list of popular and additional topics with corresponding IDs. - Includes usage instructions and important notes, such as cookie requirements and content length limits.
元数据
Slug juejin
版本 1.1.0
许可证 MIT-0
累计安装 3
当前安装数 3
历史版本数 2
常见问题

掘金自动化 是什么?

掘金平台自动化操作。支持发布沸点、查询话题列表等功能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 383 次。

如何安装 掘金自动化?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install juejin」即可一键安装,无需额外配置。

掘金自动化 是免费的吗?

是的,掘金自动化 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

掘金自动化 支持哪些平台?

掘金自动化 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 掘金自动化?

由 lang50(@lang50)开发并维护,当前版本 v1.1.0。

💬 留言讨论