Token导航 LogoToken导航TokenDH.com
效率执行命令clawhub未标认证来源可访问clear审计提醒

sequential-read顺序读取

Agent Skill

sequential-read 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

25,260

周安装

1,012

GitHub Stars

2

下载量

8,177
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:sequential-read(顺序读取)
来源仓库:https://github.com/horace-claw/sequential-read
安装命令:
openclaw skills install sequential-read
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install sequential-read

简介

按顺序阅读长文本并进行结构化思考模拟人类阅读过程。

  • 适用于文献综述或深度内容理解任务。
  • 分阶段提取要点并生成摘要报告。sequential-read 属于效率类 Skill,可作为该场景下的辅助能力补充。
  • 无外部依赖但需足够上下文窗口支持。
  • 建议分段提交大文件避免截断问题。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

SKILL.md

name
sequential-read
description
Read prose sequentially with structured reflections to simulate the reading experience
metadata
{"openclaw":{"emoji":"📖","requires":{"bins":["python3"]}}}

📖 Sequential Read

Read prose (novels, non-fiction, articles) by ingesting content in semantic chunks and building structured reflections iteratively. The output captures how your perspective developed over the course of reading — predictions that were wrong, questions that got answered, opinions that shifted — not just a retroactive summary.

Invocation

CommandDescription
/sequential-read <path-to-file>Run a full reading session
/sequential-read <path-to-file> --lens <persona>Read with a perspective (e.g., "skeptic", "literary critic", "student")
/sequential-read listList all sessions
/sequential-read show <session-id>Show the synthesis for a completed session

Execution Model

The pipeline runs in spawned sub-agents. Novel-length reads are a two-phase process: a main reader that handles the bulk of chunks, then a finisher that completes the remaining chunks and writes synthesis. This is the normal flow, not an error.

When the user invokes /sequential-read:

  1. Parse the command to extract the file path and optional lens
  2. Pre-create the session:
   python3 {baseDir}/scripts/session_manager.py create <source-file>
  1. Spawn the main reader sub-agent:
   sessions_spawn with label: reader-{session-id}
   Tell the agent: "Session already exists at {session-id}. Do NOT create it again."
  1. Tell the user the session has started and they'll be notified when it's done
  2. When the main reader returns (whether it completed or died mid-read):

- Check session status: python3 {baseDir}/scripts/session_manager.py get <session-id> - Check how many reflections exist vs total chunks - If synthesis exists: Done. Present results. - If chunks remain or synthesis is missing: Spawn a finisher sub-agent (see below). This is the expected path for novels.

  1. When the finisher returns, present the synthesis and session path.

The Two-Phase Pattern

For novels (~20+ chunks), the main reader typically handles ~17-20 chunks before its context fills and the session ends. This is expected behavior, not failure. The finisher picks up the remaining 2-5 chunks and writes the synthesis with full context of all prior reflections.

Spawning the finisher:

sessions_spawn with label: finisher-{session-id}, model: "opus"
Task: "Resume reading session {session-id} at {baseDir path}.
  Read reflections written so far to understand context.
  Continue from chunk N (the next unwritten chunk).
  Write remaining reflections, then run synthesis.
  Session path: {session-path}"

Do not wait or ask the user between the main reader and finisher. When the main reader returns without a synthesis, immediately spawn the finisher. The whole pipeline should be hands-off.

Script Paths

All Python scripts are in {baseDir}/scripts/:

  • {baseDir}/scripts/session_manager.py
  • {baseDir}/scripts/chunk_manager.py
  • {baseDir}/scripts/state_manager.py

Templates are in {baseDir}/templates/:

  • {baseDir}/templates/reflection_prompt.md
  • {baseDir}/templates/synthesis_prompt.md

Commands

/sequential-read <path-to-file> [--lens <persona>]

1. Create or Resume Session

python3 {baseDir}/scripts/session_manager.py create <source-file> [--lens <persona>]

This command handles resume detection automatically:

  • If an in-progress session exists for the same source filename, it prints the existing session-id and path
  • Otherwise it creates a new session

Capture the session-id from the first line of output.

2. Check Session Status (for resumed sessions)

python3 {baseDir}/scripts/session_manager.py get <session-id>

Check the status field to determine where to resume:

StatusAction
prereadRun preread phase from the start
chunkedRun reading phase (resumes from current_chunk)
readRun synthesis phase
completeDisplay the existing synthesis

3. Run the Pipeline

For a new session or preread status:

Run the preread sub-skill ({baseDir}/preread/SKILL.md) with:

  • SESSION_ID = the session-id
  • SOURCE_FILE = path to the source text
  • BASE_DIR = {baseDir}

For chunked status (or after preread completes):

Run the reading sub-skill ({baseDir}/reading/SKILL.md) with:

  • SESSION_ID = the session-id
  • BASE_DIR = {baseDir}
  • LENS = the lens value (or null)

For read status (or after reading completes):

Run the synthesis sub-skill ({baseDir}/synthesis/SKILL.md) with:

  • SESSION_ID = the session-id
  • BASE_DIR = {baseDir}

4. Present Results

After synthesis completes, send the user:

  • The full synthesis text
  • The session path: memory/sequential_read/<session-id>/
  • A brief note: how many chunks, whether a lens was used

/sequential-read list

python3 {baseDir}/scripts/session_manager.py list

Print the output to the user.

/sequential-read show <session-id>

python3 {baseDir}/scripts/session_manager.py get <session-id>

If status is complete, read and display:

memory/sequential_read/<session-id>/output/synthesis.md

If not complete, show the session status and progress.

Model Guidance

The reading phase is the most demanding — it runs for many iterations and must sustain quality throughout. Choose the model based on source length:

Source LengthRecommended ModelRationale
Novel (10k+ lines, 20+ chunks)OpusSustained quality over many iterations; large context window handles accumulated state
Novella / long essay (3k-10k lines)Opus or SonnetEither works; Sonnet is fine if chunks stay under 15
Article / short work (<3k lines)SonnetFew chunks, context stays manageable

When spawning the sub-agent, set the model explicitly: model: "opus" for novels.

Why this matters: Lighter models degrade over long reading sessions — reflections become stubs as context accumulates. The first test run of this skill on Sonnet with a 35-chunk novel produced 4 genuine reflections and 31 placeholders. Opus is required for novel-length works.

Chunk sizing: The structural chunker targets ~550 lines per chunk (range 200-700). For a typical novel (~10-12k lines), this produces ~20 chunks. Longer texts (15k+ lines) may produce 35+ chunks and will need a finisher session (see below).

The two-phase pattern is standard. For novel-length works (20+ chunks), always expect to spawn a finisher after the main reader. The main reader handles ~80-90% of chunks; the finisher handles the rest plus synthesis. For very long texts (35+ chunks), the main reader may only get ~25 chunks. Plan accordingly -- this is the normal pipeline, not error recovery.

Pre-create sessions: Always create the session with session_manager.py create BEFORE spawning the sub-agent. Tell the agent the session already exists and not to create it again. This avoids failures from duplicate creation attempts.

Reader Context (Optional)

If you maintain reader-mind files (accumulated reading context — character knowledge, thematic threads, critical framework), load them into the sub-agent's task prompt as preamble. This gives the reader continuity across books in a series.

Include context in the spawn task:

"Before you begin reading, here is your accumulated reader context:

=== READING CONTEXT ===
[contents of reader-mind file]

Now read [book title]..."

After synthesis, update reader-mind files with new character knowledge, thematic thread updates, and cross-reference observations. Revise rather than append. Keep under ~4000 words per file.

Important Guidelines for the Reading Agent

  • No peeking. Each reflection must be written from the perspective of not knowing what comes next. Do not reference content from later chunks.
  • Be honest. Confusion, boredom, excitement, disagreement are all valid reactions. Don't perform engagement.
  • Be specific in revisions. "I was wrong about X because Y" beats "my view has evolved."
  • The lens is a suggestion. If the lens feels forced for a particular chunk, note that in the reaction rather than straining to apply it.
  • Run autonomously. Do not stop to ask the user questions between chunks. The entire pipeline is set-and-forget.
  • Persist everything. Every reflection and state update is saved to disk before moving to the next chunk, enabling resume on interruption.

Post-Synthesis

After synthesis is complete, you can integrate the output into whatever workflow you prefer — blog posts, reading logs, knowledge graphs, series trackers, etc. The synthesis file at output/synthesis.md is self-contained and portable.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

84.33%
按下载量换算6,896

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install sequential-read 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills