技能图谱SKILLSGROVE
技能图谱/视频制作/chenshuke/geo-skills/geo-article

geo-article

安装

$npx skills add https://github.com/chenshuke/geo-skills --skill geo-article
$git clone --depth 1 https://github.com/chenshuke/geo-skills.git /tmp/geo-skills && mkdir -p ~/.claude/skills && cp -r /tmp/geo-skills/geo-article ~/.claude/skills/geo-article
请帮我安装这个 Agent Skill:https://github.com/chenshuke/geo-skills/tree/b704ea73d6f30fc5b61e0c90b58b8a5cbc283864/geo-article ,先阅读它的 SKILL.md 和脚本,确认安全后再安装到我的技能目录。

简介

原文描述 · MIT通过 Best GEO CLI 管理 GEO 文章、图片和视频素材。
以下 SKILL.md 内容转载自 chenshuke/geo-skills(提交 b704ea7),依据 MIT 许可证转载正文(文字未改动;仅省略文件头元数据、将图片显示为链接,超长内容会截断);版权归 2026 chenshuke 所有。许可证:LICENSE。仅展示说明文件,附带脚本请在原仓库查看。

CLI 2 平台操作优先规则(2026-10-17):本技能负责业务流程;平台读写先读取同级 ../best-geo/SKILL.md 和 ../best-geo/references/cli-compatibility.md,以当前 capability/schema 为准。CLI 2 显式使用 projectId,不要执行下文仍带 companyId/productId 的旧参数示例或包装脚本。

GEO 文章与素材

所有平台读写只通过 Best GEO CLI capability 完成。认证由 best-geo auth 管理;本技能不读取认证材料或内部配置文件,也不直接发 HTTP 请求。

可用 capability

  • 文章:articles.create、articles.list、articles.get、articles.setStatus、articles.update、articles.delete
  • 素材:images.create、images.get、videos.create、videos.get、folders.*

写操作必须走 best-geo plan → 用户确认 → best-geo apply;删除和发布尤其需要明确确认。

推荐流程

  1. best-geo auth status
  2. 确认 companyId/productId
  3. 本地检查 Markdown UTF-8、标题、正文、封面 URL
  4. 使用 geo-article/scripts/upload_article.js --dry-run 预览
  5. 用户确认后执行上传,并使用 articles.get/list 回查
node geo-article/scripts/upload_article.js --file "文章.md" --dry-run
node geo-article/scripts/upload_article.js --file "文章.md" --cover-url "https://example.com/cover.png" --force
node geo-article/scripts/delete_articles.js --id 123 --dry-run

封面由 geo-content-production/scripts/generate_cover.js 调用 textToImages.* 生成;图片和视频入库分别使用 images.create / videos.create,返回素材库 URL 后再写入文章。

输出与安全

  • 文章放入项目 04_内容创作/{日期}/articles/
  • 图片/封面放入 04_内容创作/{日期}/images/ 或 covers/
  • 上传和审核记录放入 06_发布记录/
  • 不输出内部认证信息,不保留旧 API、OSS 预签名或手工 curl 上传流程
  • 中文正文始终从 UTF-8 文件读取,不在 shell 中拼接大段 JSON
查看许可证全文(MIT)
MIT License

Copyright (c) 2026 chenshuke

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.