Observed since 21 Oct, 09:00 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
agent-xs
CLI tool for novel writing with Claude Code plugin
一个为中文网文创作设计的 Claude Code 插件,提供从主题确定到最终定稿的完整写作流程支持。
/theme) - 与 AI 对话确定小说主题、类型、世界观和基调/outline) - 根据主题编写完整的小说大纲/init) - 初始化小说项目,创建角色、物品、场景、事件信息文件/draft) - 逐章编写草稿,每次写一章/finalize) - 审阅并定稿章节,确保连贯性克隆本仓库到本地:
git clone <repository-url>
cd agent-xs
在 Claude Code 中使用 --plugin-dir 加载:
cc --plugin-dir /path/to/agent-xs
将插件复制到项目的 .claude-plugin/ 目录:
cp -r agent-xs /path/to/your-project/.claude-plugin/
/theme
Agent 会与你对话,探讨:
结果保存在 小说/主题与基调.md
/outline
根据主题与基调,Agent 帮助你编写:
结果保存在 大纲/整体大纲.md
/init
Agent 根据大纲创建初始信息:
现有信息/角色/<角色名>.md - 主要角色档案现有信息/物品/<物品名>.md - 关键物品现有信息/场景/<场景名>.md - 重要场景现有信息/事件/<事件名>.md - 初始事件/draft
编写一章草稿。Agent 会:
草稿保存在 草稿/[序号]. <章节名>.md
/finalize
审阅并定稿章节。Agent 会:
定稿保存在 正文/[序号]. <章节名>.md
创作过程中会生成以下结构:
your-novel/
├── 小说/
│ └── 主题与基调.md
├── 大纲/
│ └── 整体大纲.md
├── 现有信息/ # 核心知识库
│ ├── 角色/
│ │ ├── 张三.md
│ │ └── 李四.md
│ ├── 物品/
│ │ └── 玄天剑.md
│ ├── 场景/
│ │ └── 云霄宗.md
│ └── 事件/
│ └── 宗门大比.md
├── 草稿/
│ ├── 1. 初入仙门.md
│ ├── 2. 首次修炼.md
│ └── 3. 意外奇遇.md
└── 正文/
└── 1. 初入仙门.md
---
name: 张三
status: alive
role: 主角
first_appearance: 1
last_updated: 5
age: 25
gender: 男
cultivation_level: 筑基期
faction: 云霄宗
relationships:
- target: 李四
type: 师徒
note: 师父
---
## 外貌特征
[描述]
## 性格特点
[描述]
## 背景故事
[描述]
## 发展轨迹
- 第1章: 初次登场...
详细格式请参考插件文档。
| 命令 | 说明 |
|---|---|
/theme | 确定主题与基调 |
/outline | 编写整体大纲 |
/init | 初始化小说项目 |
/draft [章节号] | 编写一章草稿 |
/finalize <章节号> | 审阅定稿一章 |
/edit <类型> [名称] | 编辑主题/大纲/知识库 |
/status | 查看项目状态 |
Claude 会自动使用 quick-lookup skill 来查阅知识库。你也可以手动运行脚本:
# 列出所有知识库内容
uv run ${PLUGIN_PATH}/skills/quick-lookup/scripts/list_info.py --all
# 列出所有角色
uv run ${PLUGIN_PATH}/skills/quick-lookup/scripts/list_info.py 角色
# 查看元数据
uv run ${PLUGIN_PATH}/skills/quick-lookup/scripts/list_info.py 角色 张三 --brief
# 查看完整信息
uv run ${PLUGIN_PATH}/skills/quick-lookup/scripts/list_info.py 角色 张三 --detail
# 搜索关键词
uv run ${PLUGIN_PATH}/skills/quick-lookup/scripts/search_info.py 玄天剑
# 忽略大小写搜索
uv run ${PLUGIN_PATH}/skills/quick-lookup/scripts/search_info.py -i keyword
其中 ${PLUGIN_PATH} 是插件安装路径(如 .claude-plugin/agent-xs 或通过 --plugin-dir 指定的路径)。
详细说明请参考 skills/quick-lookup/SKILL.md
草稿阶段:
定稿阶段:
欢迎提交 Issue 和 Pull Request!
MIT License
/edit 支持编辑主题、大纲和知识库/status 查看项目状态和进度draft 和 finalize 命令支持指定章节号list_info.py --all 一次查看所有知识库内容search_info.py -i 支持忽略大小写搜索power_level 字段适用于所有类型小说Download counts and popularity will appear here as the collector receives them.
| Package / target | Requirement | Relationship |
|---|---|---|
claude-agent-sdkEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11",
"evaluation": "NOT_EVALUATED"
} | claude-agent-sdk>=0.1.0 | runtime |
clickEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11",
"evaluation": "NOT_EVALUATED"
} | click>=8.0 | runtime |
flaskEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11",
"evaluation": "NOT_EVALUATED"
} | flask>=3.0 | runtime |
markdownEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11",
"evaluation": "NOT_EVALUATED"
} | markdown>=3.0 | runtime |
pyyamlEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11",
"evaluation": "NOT_EVALUATED"
} | pyyaml>=6.0 | runtime |
richEnvironment{
"extras": "",
"marker": null,
"requires_python": ">=3.11",
"evaluation": "NOT_EVALUATED"
} | rich>=13.0 | runtime |
bdist_wheel · 74.5 KB · Python py3
sdist · 54.21 KB · Python source
Observed since 21 Oct, 09:00 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package_version:076a1fd8f28a4baff0ebd98899d9688eec81aeac57c9aefa7f7f71b4eab816bf