搜索

PythonReactSEOPDF
OpenClaw

document-qa

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

anand24260 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install anand2426/document-qa

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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:\Users\anandraj\.openclaw\workspace\my_docs\report.pdf" "What are the key findings?"
  • To ask about documents in a folder: python ~/.openclaw/workspace/skills/document-qa/scripts/run_qa.py "C:\Users\anandraj\.openclaw\workspace\project_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

来源信息

Source
github
Repository
openclaw/skills
Path
skills/anand2426/document-qa
Version
—
Commit
9016a614eecf63886c9c2f7f4bf44ef3905fb8ef
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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:\Users\anandraj\.openclaw\workspace\my_docs\report.pdf" "What are the key findings?"`
*   To ask about documents in a folder:
    `python ~/.openclaw/workspace/skills/document-qa/scripts/run_qa.py "C:\Users\anandraj\.openclaw\workspace\project_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`

相关技能

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance