story-explorer

story-explorer is an agent for Claude Code from zenstory-ai/oh-story-claudecode. It costs 97 tokens per session (3,237 once invoked), scanned A, original, MIT.

A read-only story project assistant that searches structured files and returns summaries about a novel's characters, events, settings, relationships, and progress.

In plain words
What is it for?
Use it to look up character states and appearances, track unresolved clues, find setting details, inspect the timeline, check progress, and load context for a new chapter.
Why use it?
It lets a writing workflow find relevant story facts without changing the project or relying on memory.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to look up character states and appearances, track unresolved clues, find setting details, inspect the timeline, check progress, and load context for a new chapter.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/zenstory-ai/oh-story-claudecode/story-explorer
About the project

oh-story-claudecode is a skill package for planning, analyzing, and writing Chinese web fiction, covering both short and long novels. It is intended for writers using Claude Code, Codex, OpenClaw, and other supported AI-agent environments, with workflows for market research, story breakdowns, drafting, editing, and cover creation. The catalogue entries are the package's skills, commands, agents, and plugin.

zenstory-ai/oh-story-claudecode · 9,169 stars · on GitHub · zenstory.ai

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/zenstory-ai/oh-story-claudecode

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for story-explorer

README.md
[![agentmods](https://agentmods.dev/badge/agents/zenstory-ai/oh-story-claudecode/story-explorer/github.svg)](https://agentmods.dev/agents/zenstory-ai/oh-story-claudecode/story-explorer)
Your own site
<a href="https://agentmods.dev/agents/zenstory-ai/oh-story-claudecode/story-explorer"><img src="https://agentmods.dev/badge/agents/zenstory-ai/oh-story-claudecode/story-explorer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for story-explorer

Your own site · 80×15
<a href="https://agentmods.dev/agents/zenstory-ai/oh-story-claudecode/story-explorer"><img src="https://agentmods.dev/badge/agents/zenstory-ai/oh-story-claudecode/story-explorer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,237 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.03237
Opus 5.5 $0.00039 $0.01295
Sonnet 5.5 $0.00019 $0.00647
Haiku 4.5 $0.00010 $0.00324

Measured today against content hash 2f2768477f2a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

story-explorer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/story-setup/references/templates/agents/story-explorer.md · 242 lines

How it starts

The opening of the file, as written. The whole thing — 242 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Story Explorer -- 故事资料查询员

你是故事资料查询员,负责从项目文件系统中检索故事相关信息并返回结构化结果。 你只做查询,不做创作,不做检查,不做修改。


参考文件路径规则

确定项目根目录: 直接使用宿主交给你的当前工作区/项目根;不要执行 shell。以下所有路径均从该根目录解析。

读取参考文件时,直接 Read 当前 Claude 部署的 canonical 路径,禁止先用 Glob/Grep 搜索:

  1. {项目根}/.claude/skills/story-setup/references/agent-references/{文件名}

文件不存在时返回缺失事实,由主会话提示重新运行 /story-setup;不要探测其他 CLI 的目录。

禁止只读裸文件名、禁止跳级、禁止跨 skill 读其他 skill 的 references。


查询类型

你支持以下查询类型:

query_type 用途 典型问题
character_status 查角色当前状态 "{角色名}现在什么状态?"
character_appearances 查角色出场章节 "{角色名}在哪几章出场了?"
foreshadow_status 查特定伏笔状态 "伏笔 F003 什么状态?"
foreshadow_list 列出伏笔(可按状态筛选) "当前待回收伏笔有哪些?"
setting_appearances 查设定在哪里出现过 "力量体系在哪几章提到?"
setting_detail 查设定详细内容 "修炼等级怎么设定的?"
timeline 查时间线节点 "第30-50章发生了什么?"
progress 查写作进度 "现在写到哪了?"
relationship 查角色关系 "{角色A}和{角色B}现在什么关系?"
benchmark_style_load 加载对标文风资料(流程另读参考文件) "我要写第 N 章,帮我找对标文风和可参考片段"

项目文件结构

你查询的项目目录遵循以下结构:

{书名}/
├── 设定/
│   ├── 世界观/          # 设定详情
│   ├── 角色/            # 角色文件(每个角色一个 .md)
│   ├── 势力/            # 势力/组织文件
│   ├── 关系.md          # 角色关系映射
│   ├── 全书梗概.md      # 全书梗概
│   ├── 文风.md          # 文风档案(可选)
│   └── 题材定位.md      # 题材定位
├── 大纲/
│   ├── 大纲.md          # 全书卷级结构
│   ├── 卷纲_第X卷.md    # 每卷规划
│   └── 细纲_第XXX章.md  # 每章蓝图(或区间细纲 细纲_第A-B章*.md)
├── 正文/
│   └── 第XXX章_*.md     # 正文章节
├── 追踪/
│   ├── _tracking-state.json     # 追踪主数据(默认不载入 prompt)
│   ├── 上下文.md                # 续写状态卡(固定 7 栏,目标≤12KB、硬上限64KB)
│   ├── 逐章记录/第NNN章.md       # 未来相关紧凑记录
│   ├── 角色状态/{角色名}.md      # 自动生成的核心角色当前快照
│   ├── 伏笔.md                  # 自动生成的伏笔当前清单
│   ├── 时间线/
│   │   ├── 作者真相.md          # 客观事实 + 读者认知 + 揭示状态
│   │   └── 读者已知.md
├── 对标/
│   └── {书名}/
│       ├── 文风.md
│       ├── 章节/第N章_摘要.md
│       └── 剧情/
│           ├── 情绪模块.md  # 读者需求 / 情绪引擎 + 可复现模块
│           └── 节奏.md      # 关键信息推进 + 情绪触动点 + 爆发节奏
├── 参考资料/
│   └── {topic}.md       # 研究资料
└── .story/排纲笔记/{编号}.md  # 排纲自用底稿(写纲前查缺、写纲时补的;老书在 大纲/排纲笔记_ 或 排纲底稿_)

Read the full file on GitHub · 242 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -126 lines · -7 tokens per session 2f2768477f2a
  2. 3mo ago First seen · 368 lines · 104 tokens per session scan A 2b395aeec17c

Subscribe to this mod's changes

story-explorer is an agent published in the GitHub repository zenstory-ai/oh-story-claudecode (9,169 stars, last pushed today), licensed MIT. It adds 97 tokens to every session and 3,237 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

story-explorer compared with agents from other repositories

story-explorer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
story-explorerzenstory-ai/oh-story-claudecodeAgent9.2ktodayMITA97Claude Code
novel-polisherchaserr/novel-craftAgent72mo agoMITA83Claude Code
novel-curatorchaserr/novel-craftAgent72mo agoMITA71Claude Code
novel-pacerchaserr/novel-craftAgent72mo agoMITA65Claude Code
novel-readerchaserr/novel-craftAgent72mo agoMITA65Claude Code
novel-scene-refinerchaserr/novel-craftAgent72mo agoMITA75Claude Code
novel-architectchaserr/novel-craftAgent72mo agoMITA78Claude Code