Token导航 LogoToken导航

Agent Skill · 研究检索

long-doc-agent(长文档 Agent)

用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。

long-doc-agent 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 37,772。

总安装 1,672周安装 67GitHub Stars 公开资料未说明下载 541核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install long-doc-agent

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

long-doc-agent 是撰写超长可行性研究报告的多 Agent 协作系统,支持大纲规划与并行开发。适合在 OpenClaw 中处理复杂文档项目或多阶段任务时使用。通过 clawhub 安装并使用 openclaw skills install long-doc-agent 命令部署。

使用前需明确项目阶段划分与子任务分配机制。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install long-doc-agent;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

long-doc-agent 怎么安装?

在终端执行 openclaw skills install long-doc-agent。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

long-doc-agent 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

long-doc-agent 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

long-doc-agent 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

long-doc-agent 用的人多吗?

公开数据是累计安装 1,672 次,近一周安装 67 次,下载 541 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

long-doc-agent 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 只想先试试效果、不希望它改动本地文件的人。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
long-doc-agent

长文档 Agent · 本页

1,672—只读MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
long-doc-agent
license
MIT
metadata
version
3.3.0
category
document-generation
triggers
description
>

Ultra-Long Feasibility Report Multi-Agent Collaborative Writing v3.3

Changelog (v3.3)

  • ✅ Table parsing fully fixed (_flush_table not calling _parse_md_table caused character-by-character splitting)
  • ✅ Colorful chapter headings officially launched (H1 deep navy full-row band / H2 medium blue block / H3 light blue left bar)
  • ✅ Styled tables launched (deep blue header + white text + alternating row colors)
  • ✅ Key callout boxes launched (【关键】【注意】【优势】【风险】【数据】 color-coded cards)
  • ✅ Cover style enhanced (tech-digital style deep ocean blue full-screen background + white text)
  • ✅ Cover/Contents/Executive Summary title bars all colored
  • ✅ Fixed cover_style integer vs string comparison preventing cover from applying
  • ✅ Fixed RGBColor.from_string() instead of eval to avoid type errors

Core Capabilities

  • Multi-Agent Parallel: Up to 5 sub-agents writing concurrently, doubled efficiency
  • Incremental Updates: Chapters with unchanged content are skipped, faster processing
  • Beautiful Formatting: Auto-generated cover, table-style TOC, colorful chapter headings, key callout boxes, styled tables
  • Feishu RAG: Auto-search Feishu knowledge base to supplement reference materials
  • 6 Cover Styles: Switch freely to suit different scenarios

File Structure

skill_dir/
├── SKILL.md                    # This file
├── integrate_report.py          # Core engine: parse/ integrate/CLI
├── parallel_tracker.py          # Parallel progress tracking
└── references/                 # Sub-process reference documents
    ├── phase0_guide.md         # Phase 0 requirements confirmation flow
    ├── phase1_guide.md         # Planner prompt template
    ├── phase2_guide.md         # Sub-Agent prompt template
    ├── table_format_guide.md   # Markdown table format specification
    └── bug_fix_guide.md        # Bug troubleshooting & forced rebuild
First-time setup: Ensure the F:/agent/chapters/ directory exists.

Pipeline Routing

User Task
├─ First writing request ("I want to write xxx"/"help me write a feasibility report")
│   → Phase 0 Requirements → Phase 1 Planner
│
├─ Outline exists, request to start writing
│   → Phase 2 Parallel Sub-Agents
│
├─ A chapter needs modification
│   → Small change: directly edit F:/agent/chapters/0X-xxx.txt
│   → Large change: regenerate that chapter
│
├─ All chapters done, request docx generation
│   → Phase 2.5 Review → Phase 3 Integrator
│
├─ Independent small proposal (2~5 chapters, no existing chapters dependency)
│   → Write Markdown directly → make_docx.py to generate styled docx
│   → See: references/bug_fix_guide.md "make_docx.py Mode"
│
└─ Just need to check progress/glossary/reference materials
    → Direct CLI commands

Phase 0: Requirements Confirmation

Confirm 4 items in order; all confirmed → Phase 1:

  1. Writing Topic: document type / audience / style / special constraints
  2. Background Information: project background / construction goals / industry context
  3. Reference Materials (most important):

- A. Local file path or paste directly - B. Feishu document (RAG search) - C. Paste content directly - D. Not provided for now

  1. Outline Confirmation: After planner outputs outline, user chooses A.Start / B.Adjust / C.Cancel
More reference materials → more business-aligned content. See references/phase0_guide.md for details.

Phase 1: Planner

Input: Phase 0 topic / background / reference materials

Execute:

python integrate_report.py glossary

Auto-generates plan.json + plan_outline_snapshot.md

Full prompt template in references/phase1_guide.md

After completion, send WeChat notification (using message tool, channel=openclaw-weixin):

📋 Report Outline Generated

📌 《[Report Topic]》
📊 Chapters: [X] chapters
🔍 Industry: [Industry Field]

✅ Reply "start writing" once the outline is confirmed — the system will launch parallel creation!

Phase 2: Parallel Sub-Agents

Execution flow (fully automatic, no manual confirmation):

  1. Display outline / current batch status (display only, no waiting)
  2. python parallel_tracker.py clear to clear previous batch state
  3. Start up to 5 concurrent sub-agents (sessions_spawn), automatically execute all batches
  4. python parallel_tracker.py wait to monitor in background until this batch is complete
  5. After completion, automatically run python integrate_report.py convert-batch

Sub-Agent prompt template: see references/phase2_guide.md

After each batch completes, send WeChat notification (using message tool, channel=openclaw-weixin):

✅ Batch [X] Chapter Writing Complete!

📖 Completed: [Done]/[Total] chapters
📝 This batch:
   • [Chapter 1 Title]
   • [Chapter 2 Title]
   • [Chapter 3 Title] (if any)

⏳ Next batch: [Next batch chapter list]
(Automatically proceeds to next batch, no manual confirmation needed)
  • Small change: directly edit F:/agent/chapters/0X-xxx.txt, save and regenerate
  • Large change: re-trigger sub-agent to rewrite, replacing the original file

Phase 2.5: Cross-Chapter Consistency Review

python integrate_report.py check

Review numerical indicator consistency and terminology uniformity (对照 glossary.json)

After review completes, send WeChat notification (using message tool, channel=openclaw-weixin):

🔍 Consistency Review Complete

✅ Terminology uniformity: OK
✅ Numerical indicators: consistent
✅ Cross-chapter references: no conflicts

📄 Proceeding to final integration phase...

Phase 3: Integrator Summary

python integrate_report.py

Auto-completes: parse chapters (error isolation) → update glossary → consistency review → generate styled docx

After final completion, send WeChat notification (using message tool, channel=openclaw-weixin):

🎉🎉🎉 Report Writing Complete! 🎉🎉🎉

📄 《[Report Topic]》
📊 Scale: [X] chapters / ~[Y] thousand characters
🎨 Cover Style: [Style Name]

✅ Styled report generated!
📁 File location: F:/agent/chapters/output/

Wenxin, full text ready for your review~

Document Beautification Features (Auto-Applied)

Generated reports automatically include the following formatting effects (selected via cover_style field in plan.json):

  1. 6 Cover Styles — Edit plan.json → cover_style field (integer 1~6)
  2. Executive Summary — Deep blue title bar (#1F4E79) background + white text + body indent
  3. Table-Style TOC — Deep blue title bar + three-column entries (number/chapter/page)
  4. Colorful Chapter Headings:

- H1: Full-row deep navy background #1F4E79 + white text Microsoft YaHei - H2: Medium blue background #2E75B6 + white text - H3: Light blue background #D6E4F0 + dark blue text + ▌ left bar

  1. Key Callout Boxes — Auto-detect 【关键】【注意】【优势】【风险】【数据】 tags, render as color cards (background/white text/border)
  2. Styled Tables — Header deep navy background #1F4E79 + white text + alternating row colors (#DEEAF6 / #FFFFFF)

Cover Styles (6 Types)

Cover style specified via cover_style field in plan.json (integer, 1~6):

#Style NameFeaturesRecommended For
1Classic GovernmentDeep navy top bar + gold accentsGovernment/state enterprise approval
2Modern MinimalistLeft blue heavy block + right infoTech/business reports
3Business ElegantBurgundy + centered progressionConsulting/investment bank reports
4Tech DigitalDeep ocean blue fill + large white titleInternet/digital projects
5Chinese TraditionalForbidden City red + rice paper cream backgroundTraditional culture/state enterprise
6Full ImmersiveDeep ocean blue fill + large white titleDigital/tech projects
Note: cover_style value is integer (e.g., 4), code automatically converts to string for comparison.

CLI Command Reference

CommandDescription
python integrate_report.pyGenerate integrated report (full)
python integrate_report.py convert-batchBatch convert to docx
python integrate_report.py convert-one <in> <out>Single chapter to docx
python integrate_report.py checkConsistency review
python integrate_report.py glossaryGlossary generation/update
python integrate_report.py ref showView reference materials
python integrate_report.py ref clearClear reference materials
python integrate_report.py preview [chapter prefix]Preview chapter summary
python integrate_report.py feishu-search <query>Search Feishu knowledge base
python parallel_tracker.py showView writing progress
python parallel_tracker.py waitBlock & monitor (Ctrl+C to stop)
python parallel_tracker.py clearClear tracking state
Switching cover style: Edit cover_style field (integer 1~6) in F:/agent/chapters/plan.json, then regenerate. After modifying code: delete .pyc files under __pycache__ + content_hashes.json to force rebuild.

State Files

FileDescription
F:/agent/chapters/plan.jsonChapter metadata
F:/agent/chapters/glossary.jsonTerminology table
F:/agent/chapters/reference_material.txtRaw reference materials
F:/agent/chapters/plan_outline_snapshot.mdOutline snapshot
F:/agent/chapters/content_hashes.jsonIncremental cache (delete to force rebuild)
F:/agent/chapters/writing_tracker.jsonParallel progress tracking
F:/agent/chapters/config.jsonCover style and other config

Critical Rules

Markdown Table Format (Sub-Agents Must Follow)

See references/table_format_guide.md for full spec

Key points:

  • Separator row must be |---|---|---| (leading/trailing | required)
  • All rows must have same column count as header
  • Cell content should avoid containing | (use ~ or - for ranges)

Force Rebuild (Must Do Both Steps After Code Changes)

After modifying integrate_report.py, must delete both files for new code to take effect:

# 1. Delete .pyc cache (required after code changes)
del "C:\Users\Administrator\AppData\Roaming\LobsterAI\SKILLs\long-doc-agent\__pycache__\integrate_report.cpython-311.pyc"

# 2. Delete incremental hash (or incremental mode skips everything)
del F:\agent\chapters\content_hashes.json

# 3. Regenerate
python integrate_report.py

Known Bugs Fixed (For Reference)

See references/bug_fix_guide.md, including:

  • _flush_table not calling _parse_md_table causing character-by-character table splitting
  • cover_style integer vs string comparison preventing cover from applying
  • eval RGB color assignment type error
  • .pyc cache causing new code to not take effect
  • RGBColor using index access rgb[0]/rgb[1]/rgb[2] instead of .red/.green/.blue
  • add_cover() setting section.margin=0 causing body text to have no margins
  • PermissionError when docx file is open in WPS → auto-add _v2 suffix
  • write tool has 50KB line limit → large scripts must be written in chunks

References

FileContent
references/phase0_guide.mdPhase 0 requirements confirmation full flow & scripts
references/phase1_guide.mdPlanner full prompt template & plan.json format
references/phase2_guide.mdSub-Agent full prompt template (incl. table format warnings)
references/table_format_guide.mdMarkdown table format spec, common errors & examples
references/bug_fix_guide.mdBug troubleshooting & forced rebuild procedures

平台分布

OpenClaw

94.6%
按下载量换算512

安全审计

VirusTotal

可疑

ClawScan

可疑

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills