Doc processor
Skill next-open-ai/openclawx/presets/workspaces/doc-assistant/skills/doc-processor
Reads, parses, and generates documents in various formats like Markdown, PDF, docx, CSV, or HTML. Uses bash commands to invoke document conversion tools like pandoc or python scripts.From its SKILL.md
npx -y skills add next-open-ai/openclawx --skill doc-processorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.3 KB, 254 tokens by cl100k_base, as published. Nobody here has run it
Document Processor Skill
Use this skill when the user asks you to read specific technical documents, summarize reports, or generate structured files (like a structured markdown report, a CSV of data, or an HTML presentation).
Workflow
- Reading Documents:
- If the file is plaintext (txt, md, csv, json), use the
readtool directly. - If it's a binary document (pdf, docx), check if tools like
pdftotextorpandocare installed via thebashtool, then convert it to text in a temporary directory (/tmp/) before reading it.
- If the file is plaintext (txt, md, csv, json), use the
- Generating Documents:
- Understand the required structure and content from the user.
- Draft the content in a plaintext format (e.g., Markdown) using the
writetool. - If the user requested a specific format like PDF or HTML, use
bashto runpandoc output.md -o output.pdfor similar commands.
- If necessary tools (like pandoc) are missing, politely inform the user to install them or provide the drafted Markdown as a fallback.
- Notify the user with the path to the newly generated document.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.