File converter
Skill next-open-ai/openclawx/presets/workspaces/file-assistant/skills/file-converter
Converts files between formats (e.g., PDF to text, image OCR, docx to pdf) using system tools available in bash (like pandoc, tesseract, ImageMagick, or pdf2text).From its SKILL.md
npx -y skills add next-open-ai/openclawx --skill file-converterAssembled 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.0 KB, 182 tokens by cl100k_base, as published. Nobody here has run it
File Converter Skill
Use this skill to convert a file from one format to another or extract content from files.
Workflow
- Identify the source file format and the target format.
- Determine which system tool is available and best suited for the conversion:
- For document conversion (Markdown, HTML, Word):
pandoc - For images (resize, format change):
convertormagick(ImageMagick) - For PDF text extraction:
pdftotext - For OCR on images:
tesseract
- For document conversion (Markdown, HTML, Word):
- Use the
bashtool to check if the required tool is installed (e.g.,which pandoc). If not, inform the user they need to install the dependency. - Execute the conversion command via
bash. - Verify the output file exists and has content, then notify the user.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.