openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > All Documents QA

Answers questions based on the content of uploaded documents (PDF, DOCX, TXT), supporting individual files or entire folders.

媒体与内容

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 0 · 242 · 1 current installs · 1 all-time installs

0

安装量(当前) 1

🛡 VirusTotal :良性 · OpenClaw :良性

Package:anand2426/document-qa

安全扫描(ClawHub)

  • VirusTotal :良性
  • OpenClaw :良性

OpenClaw 评估

The skill's code and instructions match its stated purpose (extract text from DOCX/TXT/XLSX and delegate PDFs to an external PDF-reader skill) and request no credentials, but you should verify the external PDF reader and be cautious with sensitive documents because the skill runs local scripts and prints full extracted text.

目的

Name/description (Document Q&A) align with the included scripts: extract_txt.py, extract_docx.py, extract_excel.py, process_folder.py, and run_qa.py. The PDF extraction is delegated to a named sibling skill (iyeque-pdf-reader-1.1.0), which is consistent with the SKILL.md note. Declared dependencies (pandas/openpyxl, python-docx) match the code.

说明范围

SKILL.md instructs running run_qa.py which calls process_folder.py to extract text and then prints context markers and the QUESTION. The scripts operate only on the provided file/folder path. However, process_folder.py uses subprocess.run to execute a sibling PDF reader script (reader.py) if present: that delegates PDF handling to another skill and executes local code. The skill prints the full extracted text to stdout (which becomes the model…

安装机制

No install spec is provided (instruction-and-script-only). No downloads or package installs are automated by the skill. The only install-time concern is that users may need to pip-install expected Python libs (python-docx, pandas, openpyxl, PyPDF2) as documented.

证书

The skill requests no environment variables, no credentials, and no config paths. That is proportionate to its stated purpose. The code does execute local scripts via subprocess, but does not attempt to read unrelated env vars or secrets.

持久

always is false and there is no self-modifying or cross-skill configuration. The skill does execute local scripts but does not request permanent presence or elevated platform privileges.

综合结论

This skill behaves as a local document-extraction/QA helper and appears coherent, but take these precautions before installing or running it: 1) Inspect the sibling PDF reader it calls (iyeque-pdf-reader-1.1.0/reader.py) — the skill will execute that script if present, so ensure it is trusted. 2) Do not feed sensitive/private documents unless you trust the environment and the PDF reader, because the scripts print full extracted text to stdout …

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「All Documents QA」。简介:Answers questions based on the content of uploaded documents (PDF, DOCX, TXT), …。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/anand2426/document-qa/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: document-qa
description: "Answers questions based on the content of uploaded documents (PDF, DOCX, TXT), supporting individual files or entire folders."
---

# Document Q&A Skill

This skill allows you to upload documents (PDF, DOCX, TXT) and ask questions about their content.

## How to Use

To use this skill, run the `run_qa.py` script with the path to your document or folder and your question. The skill will extract text from supported files (PDF, DOCX, TXT) and provide it as context for answering your question.

**Command:**
`python ~/.openclaw/workspace/skills/document-qa/scripts/run_qa.py "<path_to_file_or_folder>" "<Your question>"`

**Examples:**
*   To ask about a single PDF file:
    `python ~/.openclaw/workspace/skills/document-qa/scripts/run_qa.py "C:Usersanandraj.openclawworkspacemy_docsreport.pdf" "What are the key findings?"`
*   To ask about documents in a folder:
    `python ~/.openclaw/workspace/skills/document-qa/scripts/run_qa.py "C:Usersanandraj.openclawworkspaceproject_docs" "Summarize the project goals."`

The system will extract all relevant text and present it along with your question, allowing me to formulate an answer based on the provided content.

## Supported Document Types

*   PDF (.pdf) **(Requires 'iyeque-pdf-reader-1.1.0' skill installed)**
*   Microsoft Word (.docx)
*   Plain Text (.txt)
*   Microsoft Excel (.xlsx)

**Note:**
*   For PDF support, ensure the `iyeque-pdf-reader-1.1.0` skill is installed in your workspace.
*   For Excel support, you might need to install the `pandas` and `openpyxl` libraries if they are not already installed in your environment:
    `pip install pandas openpyxl`