Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问clear审计提醒

pdf-text-extractorPDF text extractor 搜索

Agent Skill

pdf-text-extractor 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,571

周安装

104

GitHub Stars

422

下载量

807
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/willoscar/research-units-pipeline-skills --skill pdf-text-extractor

简介

pdf-text-extractor 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 可通过 npx skills add 命令从指定仓库安装使用。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

PDF Text Extractor

Optionally collect full-text snippets to deepen evidence beyond abstracts.

This skill is intentionally conservative: in many survey runs, abstract/snippet mode is enough and avoids heavy downloads.

Inputs

  • papers/core_set.csv (expects paper_id, title, and ideally pdf_url/arxiv_id/url)
  • Optional: outline/mapping.tsv (to prioritize mapped papers)

Outputs

  • papers/fulltext_index.jsonl (one record per attempted paper)
  • Side artifacts:

- papers/pdfs/<paper_id>.pdf (cached downloads) - papers/fulltext/<paper_id>.txt (extracted text)

Decision: evidence mode

  • queries.md can set evidence_mode: "abstract" | "fulltext".

- abstract (default template): do not download; write an index that clearly records skipping. - fulltext: download PDFs (when possible) and extract text to papers/fulltext/.

Local PDFs Mode

When you cannot/should not download PDFs (restricted network, rate limits, no permission), provide PDFs manually and run in “local PDFs only” mode.

  • PDF naming convention: papers/pdfs/<paper_id>.pdf where <paper_id> matches papers/core_set.csv.
  • Set - evidence_mode: "fulltext" in queries.md.
  • Run: python.codex/skills/pdf-text-extractor/scripts/run.py --workspace <ws> --local-pdfs-only

If PDFs are missing, the script writes a to-do list:

  • output/MISSING_PDFS.md (human-readable summary)
  • papers/missing_pdfs.csv (machine-readable list)

Workflow (heuristic)

  1. Read papers/core_set.csv.
  2. If outline/mapping.tsv exists, prioritize mapped papers first.
  3. For each selected paper (fulltext mode):

- resolve pdf_url (use pdf_url, else derive from arxiv_id/url when possible) - download to papers/pdfs/<paper_id>.pdf if missing - extract a reasonable prefix of text to papers/fulltext/<paper_id>.txt - append/update a JSONL record in papers/fulltext_index.jsonl with status + stats

  1. Never overwrite existing extracted text unless explicitly requested (delete the .txt to re-extract).

Quality checklist

  • papers/fulltext_index.jsonl exists and is non-empty.
  • If evidence_mode: "fulltext": at least a small but non-trivial subset has extracted text (strict mode blocks if extraction coverage is near-zero).
  • If evidence_mode: "abstract": the index records clearly reflect skip status (no downloads attempted).

Script

Quick Start

  • python.codex/skills/pdf-text-extractor/scripts/run.py --help
  • python.codex/skills/pdf-text-extractor/scripts/run.py --workspace <workspace_dir>

All Options

  • --max-papers <n>: cap number of papers processed (can be overridden by queries.md)
  • --max-pages <n>: extract at most N pages per PDF
  • --min-chars <n>: minimum extracted chars to count as OK
  • --sleep <sec>: delay between downloads
  • --local-pdfs-only: do not download; only use papers/pdfs/<paper_id>.pdf if present
  • queries.md supports: evidence_mode, fulltext_max_papers, fulltext_max_pages, fulltext_min_chars

Examples

  • Abstract mode (no downloads):

- Set - evidence_mode: "abstract" in queries.md, then run the script (it will emit papers/fulltext_index.jsonl with skip statuses)

  • Fulltext mode with local PDFs only:

- Set - evidence_mode: "fulltext" in queries.md, put PDFs under papers/pdfs/, then run: python.codex/skills/pdf-text-extractor/scripts/run.py --workspace <ws> --local-pdfs-only

  • Fulltext mode with smaller budget:

- python.codex/skills/pdf-text-extractor/scripts/run.py --workspace <ws> --max-papers 20 --max-pages 4 --min-chars 1200

Notes

  • Downloads are cached under papers/pdfs/; extracted text is cached under papers/fulltext/.
  • The script does not overwrite existing extracted text unless you delete the .txt file.

Troubleshooting

Issue: no PDFs are available to download

Fix:

  • Use evidence_mode: abstract (default) or provide local PDFs under papers/pdfs/ and rerun with --local-pdfs-only.

Issue: extracted text is empty/garbled

Fix:

  • Try a different extraction backend if supported; otherwise mark the paper as abstract evidence level and avoid strong fulltext claims.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

Claude Code

27.61%
按下载量换算223

Gemini CLI

21.98%
按下载量换算177

Cursor

19.92%
按下载量换算161

Codex

11.68%
按下载量换算94

Antigravity

8.84%
按下载量换算71

OpenCode

3.36%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills