← Back to Skills Marketplace
anand2426

All Documents QA

by anand2426 · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
446
Downloads
0
Stars
2
Active Installs
1
Versions
Install in OpenClaw
/install document-qa
Description
Answers questions based on the content of uploaded documents (PDF, DOCX, TXT), supporting individual files or entire folders.
README (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 "\x3Cpath_to_file_or_folder>" "\x3CYour 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
Usage Guidance
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 which becomes the model context. 3) Install required Python libraries in a controlled environment (virtualenv) to avoid supply-chain risks. 4) Consider running the code in an isolated container or sandbox the first time, and review any third-party skills in your workspace for unexpected network or file-access behavior. If you can provide the contents of the PDF reader's reader.py, I can re-evaluate with higher confidence.
Capability Analysis
Type: OpenClaw Skill Name: document-qa Version: 1.0.0 The OpenClaw AgentSkills bundle for 'document-qa' is classified as benign. All scripts (extract_docx.py, extract_excel.py, extract_txt.py, process_folder.py, run_qa.py) correctly implement their stated purpose of extracting text from various document types. The use of `subprocess.run` in `process_folder.py` and `run_qa.py` is secure, passing arguments as a list to `sys.executable`, which prevents shell injection vulnerabilities. The `SKILL.md` and `run_qa.py` provide clear, non-malicious instructions and context to the AI agent, aligning with the skill's function without attempting prompt injection for unauthorized actions or data exfiltration. There is no evidence of malicious intent, obfuscation, or attempts to access sensitive system resources beyond the scope of document processing.
Capability Assessment
Purpose & Capability
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.
Instruction Scope
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's context), so sensitive content will be exposed to the agent's model input/output.
Install Mechanism
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.
Credentials
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.
Persistence & Privilege
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install document-qa
  3. After installation, invoke the skill by name or use /document-qa
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of the Document Q&A skill. - Supports answering questions from PDF, DOCX, TXT, and XLSX files. - Accepts both individual files and entire folders as input. - Requires the "iyeque-pdf-reader-1.1.0" skill for PDF extraction. - Provides simple command-line usage instructions and examples.
Metadata
Slug document-qa
Version 1.0.0
License
All-time Installs 2
Active Installs 2
Total Versions 1
Frequently Asked Questions

What is All Documents QA?

Answers questions based on the content of uploaded documents (PDF, DOCX, TXT), supporting individual files or entire folders. It is an AI Agent Skill for Claude Code / OpenClaw, with 446 downloads so far.

How do I install All Documents QA?

Run "/install document-qa" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is All Documents QA free?

Yes, All Documents QA is completely free (open-source). You can download, install and use it at no cost.

Which platforms does All Documents QA support?

All Documents QA is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created All Documents QA?

It is built and maintained by anand2426 (@anand2426); the current version is v1.0.0.

💬 Comments