docqa
星标0
分支0
更新时间2026年6月5日 07:57
Parse large PDF documents and answer questions with accurate citations from the PDF content.
安装
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
文件资源管理器
2 个文件SKILL.md
readonly菜单
Parse large PDF documents and answer questions with accurate citations from the PDF content.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | docqa |
| description | Parse large PDF documents and answer questions with accurate citations from the PDF content. |
Parse large PDF documents, such as technical manuals, and answer questions by accurately citing document content.
Before parsing:
curl -fsSL https://deno.land/install.sh | sh.poppler.~/.agents/skills/docqa/.env is configured. It must contain the OpenAI-compatible endpoint configuration for the image-processing model:
OPENAI_BASE_URLOPENAI_API_KEYOPENAI_MODEL~/.agents/skills/docqa/.env does not exist or any required value is missing, ask the user for the OpenAI base URL, API key, and image-processing model name, then write them to ~/.agents/skills/docqa/.env.When the user asks to process or index a PDF document:
Resolve the PDF path the user wants to process.
Run the CLI index command:
deno run --allow-read --allow-write --allow-env --allow-run --allow-sys --allow-net ~/.agents/skills/docqa/scripts/cli <pdf-file> index
Wait for the command to finish. On success, report the full cache directory path printed by the CLI.
When the user asks a question about an indexed PDF:
index/ with jq to inspect page-level keywords, summaries, topics, headings, facts, and other structured index fields. Use the user's question to identify multiple pages that are most likely relevant.markdown/, such as markdown/page-0001.md.