diff --git a/dist/openclaw/SKILL.md b/dist/openclaw/SKILL.md index 6c3918b..103a833 100644 --- a/dist/openclaw/SKILL.md +++ b/dist/openclaw/SKILL.md @@ -316,7 +316,7 @@ LLM 自行完成,不需要调用脚本。 读取: {baseDir}/references/seo-rules.md ``` -**5.1 SEO**:3 个备选标题 + 摘要(≤54 字)+ 5 标签 + 关键词密度优化 +**5.1 SEO**:3 个备选标题 + 摘要(≤40 字)+ 5 标签 + 关键词密度优化 **5.2 质量验证**(两个维度,每项逐一检查): @@ -403,7 +403,7 @@ Converter 自动处理:CJK 加空格、加粗标点外移、列表转 section ```bash # 发布 -python3 {baseDir}/toolkit/cli.py publish {markdown} --cover {cover} --theme {theme} --title "{title}" +python3 {baseDir}/toolkit/cli.py publish {markdown} --cover {cover} --theme {theme} --title "{title}" --digest "{digest}" # 降级:本地预览 python3 {baseDir}/toolkit/cli.py preview {markdown} --theme {theme} --no-open -o {output}.html diff --git a/dist/openclaw/toolkit/cli.py b/dist/openclaw/toolkit/cli.py index f8f5742..ffbe80a 100644 --- a/dist/openclaw/toolkit/cli.py +++ b/dist/openclaw/toolkit/cli.py @@ -121,7 +121,7 @@ def cmd_publish(args): # Create draft title = args.title or result.title or Path(args.input).stem - digest = result.digest + digest = args.digest or result.digest draft = create_draft( access_token=token, title=title, @@ -388,6 +388,7 @@ def main(): p_publish.add_argument("--cover", help="Cover image file path") p_publish.add_argument("--title", help="Override article title") p_publish.add_argument("--author", default=None, help="Article author") + p_publish.add_argument("--digest", default=None, help="Override article digest (≤120 UTF-8 bytes)") # themes sub.add_parser("themes", help="List available themes")