A lightweight skill to extract readable text from bid and tender documents in PDF, Word ( .docx), and Excel ( .xlsx/ .xls) formats. It can be invoked from the OpenClaw UI or other agents to quickly pull the full textual content of a file for analysis, search, or summarisation.
text
bid-read <file-path>
<file-path> should be an absolute or workspace‑relative path to a document.bash
bid-read /home/zhenxing/投标文件/招投标项目1/13.上海联通/投标文件.pdf
The command returns the full text of the PDF, ready for further processing (e.g., keyword search, summarisation).
Copy the skill folder into your workspace under skills/bid-reader. Install required Python packages:
bash
pip install -r $(pwd)/skills/bid-reader/requirements.txt
The skill is then available as an agent command.
pdfplumber to extract text page‑by‑page.python-docx to read paragraphs.pandas (with openpyxl/ xlrd) to read all sheets and concatenate cell values..pdf, .docx, .xlsx, and .xls are supported. Other formats will be ignored.pytesseract).