技能圖譜SKILLSGROVE
技能圖譜/效率工具/tance-mang/chinese-webnovel-skills/grok-write

grok-write

安裝

$npx skills add https://github.com/tance-mang/chinese-webnovel-skills --skill grok-write
$git clone --depth 1 https://github.com/tance-mang/chinese-webnovel-skills.git /tmp/chinese-webnovel-skills && mkdir -p ~/.claude/skills && cp -r /tmp/chinese-webnovel-skills/skills/grok-write ~/.claude/skills/grok-write
請幫我安裝這個 Agent Skill:https://github.com/tance-mang/chinese-webnovel-skills/tree/7e797ec9d4fcdd240db1039da8bea77beb86b5df/skills/grok-write ,先閱讀它的 SKILL.md 和指令碼,確認安全後再安裝到我的技能目錄。

簡介

原文描述 · MIT使用 Grok API 写小说、续写、翻译或改稿。适用于作者要接入 xAI、查看可用模型、用指定本地资料写作,或把结果另存为待改草稿。
以下 SKILL.md 內容轉載自 tance-mang/chinese-webnovel-skills(提交 7e797ec),依據 MIT 許可證轉載正文(文字未改動;僅省略檔案頭後設資料、將圖片顯示為連結,超長內容會截斷);版權歸 2026 tance-mang 所有。許可證:LICENSE。僅展示說明檔案,附帶指令碼請在原倉庫檢視。

用 Grok 写小说

使用 Grok 写作入口。程序写作使用 xAI API,Grok Bot 做研究或评审时使用手动交接。若作者没有 API Key,可准备本地任务文件,由作者在有权使用的 Grok 聊天里手动执行。

  1. 核对作者已选的模型、语言、任务范围、篇幅,以及允许发送的原稿或设定。未配置模型时先执行 python cli/webnovel.py --grok --models。密钥只从本机环境变量读取。
  2. 选择 original、continue、adapt、translate 或 revise。写作要求放 --prompt-file,可选材料用 --source-file。长篇只附当前章节所需的作者确认内容。实质改编沿用已确认决策,其余列为待定。
  3. 写入新的 --output 文件,作为待作者采用的草稿。简述范围、稿件位置与缺失材料。续写核对上章衔接、角色知情与伏笔。只把作者采纳的内容写进正式档案。

连接失败、额度不足或拒绝时报告原因。作者明确重新选择前保持当前模型和书稿。投稿走 submission,并对照当日平台政策记录生成、辅助与翻译的实际用法。

檢視許可證全文(MIT)
MIT License

Copyright (c) 2026 tance-mang

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.