Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计异常

research-docs研究文档

Agent Skill

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

总安装

1,018

周安装

42

GitHub Stars

485

下载量

333
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:research-docs(研究文档)
来源仓库:https://github.com/jerryjliu/liteparse_samples
仓库路径:skills/research-docs
安装命令:
npx skills add https://github.com/jerryjliu/liteparse_samples --skill research-docs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/jerryjliu/liteparse_samples --skill research-docs

简介

research-docs 用于辅助文档、README、Markdown、说明文和内容稿件的整理与改写。它适合让 Agent 提炼结构、补齐章节、统一术语、检查链接或把零散材料整理成可读文档。

  • 适用于技术文档重构、内容标准化处理或对外文案撰写的场景。
  • 通过安装命令 npx skills add https://github.com/jerryjliu/liteparse_samples --skill research-docs 添加到宿主环境。
  • 使用时应保留项目已有事实、命令和路径,不要把未确认的信息写成确定结论;涉及对外文案时,还需要控制语气,避免过度营销或夸大能力。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Research Docs — Document Q&A with Visual Citations

Parse documents with LiteParse, answer a question using the parsed text, and generate an HTML report with source citations highlighted on page images.

Arguments

$ARGUMENTS should contain:

  • First argument ($0): Path to the data directory containing documents
  • Remaining arguments: The question to answer

If either is missing, ask the user to provide them.

Step 1 — Parse Documents

IMPORTANT: Always use the bundled Python script below for parsing. Do NOT call lit or liteparse CLI commands directly — use only generate_report.py.

Run the bundled parse script to extract text and bounding boxes from all supported files:

python "${CLAUDE_SKILL_DIR}/scripts/generate_report.py" \
    --skill-dir "${CLAUDE_SKILL_DIR}" \
    --dir "$0" \
    --parse-only \
    --output /tmp/research_docs_parsed.json

This discovers and parses all supported files in the directory:

  • LiteParse formats: PDF, DOCX, PPTX, XLSX, images (up to 50 files)
  • Plaintext:.txt,.md,.rst (read directly)

The output is a JSON file with parsed text and bounding box coordinates for each page.

If the directory has more than 50 files and the user's question targets a specific document not in the first 50, re-run with a narrower --dir pointing to a subdirectory, or ask the user which files to focus on.

Step 2 — Read Parsed Content

Read /tmp/research_docs_parsed.json using the Read tool. Focus on:

  • Each file's name and type
  • For LiteParse files: each page's text field (skip raw textItems — those are for bounding box rendering)
  • For plaintext files: the text field
  • The summary object for total counts

Build a mental model of all document content before answering.

Step 3 — Answer with Citations

Using the parsed text as context, answer the user's question. Write your response as a JSON file:

cat > /tmp/research_docs_answer.json << 'ANSWER_EOF'
{
  "question": "<the user's question>",
  "answer": "<your answer in markdown with [N] citation markers>",
  "citations": [
    {
      "file": "<filename e.g. report.pdf>",
      "page": <1-indexed page number>,
      "quote": "<exact verbatim substring from the parsed text>",
      "relevance": "<explanation of what this value/quote means and how it supports the answer>"
    }
  ]
}
ANSWER_EOF

Critical rules for the answer:

  • Embed inline citation markers like [1], [2], etc. in your answer text, corresponding to the 1-indexed position in the citations array
  • Place markers at the end of the sentence or claim they support
  • Example: "Reserve Bank credit totaled **$6,613,609 million** [1], with securities held outright at $6,375,679 million [2]."

Critical rules for what to cite:

  • Cite the EVIDENCE, not just the label. The user wants to audit your claims. If you say "revenue was $1.2B", cite the actual number 1,200,000 from the text — not just the heading "Revenue". You can cite both the value and the label if they're on the same page.
  • Cite specific data values — numbers, percentages, dates, dollar amounts, quantities. These are what the user needs to verify.
  • Each relevance field should explain the "so what" — not just restate the label but explain what this value means in context and how it supports your answer. E.g., instead of "Total revenue figure" write "Total revenue for Q3 2025, representing a 12% year-over-year increase that supports the growth trend discussed above."
  • Include 5-15 citations covering all key claims and data points in your answer.

Critical rules for quote format:

  • quote MUST be copied character-for-character from the parsed text. It is used for bounding box lookup via exact string matching. Do NOT paraphrase, reword, clean up, or fix typos.
  • Prefer short, precise quotes — a single value like $2,769.23 or a short contiguous phrase like Securities held outright (under 40 characters). Shorter quotes match bounding boxes much more reliably.
  • NEVER quote across table columns. In tabular data, each column cell is a separate text region. Quote individual cell values (e.g., $16,615.38), NOT a run of values spanning multiple columns (e.g., $2,769.23 80.00 $2,769.23 $16,615.38). Large whitespace gaps between values mean they are separate bounding boxes that won't match as one quote.
  • If the text has unusual characters, hyphens, or formatting artifacts, include them exactly as they appear.
  • page is 1-indexed (matches LiteParse pageNum)
  • file is just the filename (not the full path)
  • For plaintext files (.txt,.md), set page to 0 (they have no pages)

Step 4 — Generate HTML Report

Run the bundled script in generate mode to produce the visual report:

python "${CLAUDE_SKILL_DIR}/scripts/generate_report.py" \
    --skill-dir "${CLAUDE_SKILL_DIR}" \
    --dir "$0" \
    --answer-file /tmp/research_docs_answer.json \
    --output research_docs_output/

This will:

  1. Parse and screenshot only the cited pages (efficient — not all pages)
  2. Find bounding boxes for each cited quote
  3. Generate a self-contained HTML report with the answer, page images, and highlights
  4. Open the report in the default browser

Step 5 — Present Results

Tell the user:

  1. Where the report was saved (the file path printed by the script)
  2. A brief summary of the answer (2-3 sentences)
  3. How many citations were found

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.56%
按下载量换算115

Claude

28.76%
按下载量换算96

Cursor

20.93%
按下载量换算70

Gemini CLI

10.79%
按下载量换算36

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

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

来源信息

继续浏览同类 Skills