
Webnovel Query
Read-only query skill that searches project settings, characters, power systems, factions, and foreshadowing, routing each query to the narrowest memory tool.
- skills.sh installs
- 654
- GitHub stars
- 8K
- last updated
- Aug 21, 2026
What it does
- Covers query types: entity state at a chapter, relationships, world rules, open-loop foreshadowing, comprehensive lookups, and static settings
- Includes
knowledgeandmemory-contractsubcommands plusGrep/Readfor static setting files and formatted result templates - Enforces a source priority: story-system contracts and accepted commits before the
state.jsonandindex.dbprojection layer - Designed for Chinese-language web novel projects that keep story bibles under
.webnovel/and.story-system/
Install
$ npx -y skills add lingfengqaq/webnovel-writer --skill webnovel-query -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Information Query Skill
Use when
用户询问关于故事设定、角色、力量体系、势力、伏笔、金手指、节奏等项目内信息时触发。
项目根保护
export WORKSPACE_ROOT="${CLAUDE_PROJECT_DIR:-$PWD}"
export SCRIPTS_DIR="${CLAUDE_PLUGIN_ROOT}/scripts"
export SKILL_ROOT="${CLAUDE_PLUGIN_ROOT}/skills/webnovel-query"
export PROJECT_ROOT="$(python "${SCRIPTS_DIR}/webnovel.py" --project-root "${WORKSPACE_ROOT}" where)"
PROJECT_ROOT必须包含.webnovel/state.json- 禁止在
${CLAUDE_PLUGIN_ROOT}/下读取或写入项目文件
查询分类 → 最窄工具
先识别查询类型,再用下表最窄工具。不默认全量加载,只在综合 / 跨多类型查询时用 memory-contract load-context。
| 查询类型 | 关键词 | 最窄工具 |
|---|---|---|
| 角色历史状态 | 某角色在第N章时 / 时间点状态 / 境界变化 | knowledge query-entity-state |
| 实体关系 | 关系 / 敌友 / 师徒 / 阵营归属 | knowledge query-relationships |
| 世界规则 | 力量规则 / 设定铁律 / 境界体系约束 | memory-contract query-rules |
| 伏笔 / open loop | 伏笔 / 紧急伏笔 / 未闭合悬念 | memory-contract get-open-loops |
| 综合 / 复杂 | 跨多类型、需要时间线 + 长期记忆联合 | memory-contract load-context |
| 静态设定 | 角色卡 / 力量体系 / 世界观 / 势力 / 标签格式 | Grep + Read 设定集 |
引用加载策略
按查询类型按需加载,先识别再加载。路径说明:references/ 指 skill 私有 skills/webnovel-query/references/;../../references/ 指共享 references。
Details
- Repository
- github.com/lingfengqaq/webnovel-writer
- Categories
- Writing & Content, Memory & Context
- First seen
- Jun 3, 2026
More from lingfengqaq/webnovel-writer
All 6Similar to Webnovel Query
More Writing & Content
webnovel-learnSkilllingfengqaq/webnovel-writer619 installsExtracts reusable writing patterns from the current session into a project's project_memory.json file.
webnovel-reviewSkilllingfengqaq/webnovel-writer780 installsChapter quality review skill that scores drafts through a review agent, writes reports, and records review metrics.
Basic MemoryMCP serverbasicmachines-co4.7K starsLocal-first Markdown knowledge base with bidirectional sync and semantic search for AI clients.
MemorixMCP serveravids2942 starsLocal-first project memory with search, git-derived facts, and a bounded task context tool.
tavily-searchSkilltavily-ai/skills38.9K installsWeb search skill that returns LLM-optimized results with snippets, relevance scores, and domain and time filters.
story-reviewSkillzenstory-ai/oh-story-claudecode11.1K installsChinese-language skill for multi-perspective adversarial review of novels, with auto-degrade to solo mode and built-in fallback rubric.