Local File Converter

v1.0.3

本地文件转换技能,使用命令行工具实现 1000+ 格式互转。

0· 313·1 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for tiantian-pago/local-file-converter.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Local File Converter" (tiantian-pago/local-file-converter) from ClawHub.
Skill page: https://clawhub.ai/tiantian-pago/local-file-converter
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install local-file-converter

ClawHub CLI

Package manager switcher

npx clawhub@latest install local-file-converter
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
The name/description, SKILL.md and convert.sh consistently implement a local file-conversion capability using ffmpeg, ImageMagick, libreoffice, pandoc and calibre. However, the package source is unknown and _meta.json ownerId/version differ from the registry metadata (minor metadata inconsistency), which is a trust signal to verify the origin.
Instruction Scope
SKILL.md instructs only local conversion actions (detect formats, pick tool, run conversion, return output path). convert.sh only reads the given input file, creates an output directory (or uses OUTPUT_DIR env var), invokes local conversion binaries and reports the result—no attempts to read unrelated files or transmit data externally.
Install Mechanism
This is instruction-only (no install spec). SKILL.md suggests installing common packages via apt or brew (official package managers). No remote downloads or archive extraction are present in the bundle.
Credentials
The skill requires no credentials or special environment variables; convert.sh accepts an optional OUTPUT_DIR environment variable which is reasonable and transparent.
Persistence & Privilege
The skill does not request persistent or elevated privileges (always: false). It does not attempt to modify other skills or system-wide agent settings.
Assessment
This skill appears to do what it says: run local conversion commands using standard tools. Before installing/using it: (1) verify the author/source (registry metadata and _meta.json owner/version mismatch noted), (2) inspect convert.sh (it invokes binaries on your machine and will create/move files), (3) install conversion tools from official package managers, and (4) avoid converting untrusted files with ImageMagick, LibreOffice, Pandoc or similar tools (these have historically been attack vectors for malicious input). If you need stronger isolation, run conversions inside a sandbox/container or VM and do not grant elevated privileges.

Like a lobster shell, security has layers — review code before you run it.

latestvk97fc52n02jqjqkqsqgm10g14s838nf1
313downloads
0stars
4versions
Updated 1mo ago
v1.0.3
MIT-0

Local File Converter

本地文件转换技能,使用命令行工具实现 1000+ 格式互转。

能力

  • 图片: JPG, PNG, WebP, HEIC, GIF, BMP, TIFF, SVG 等
  • 视频: MP4, AVI, MKV, MOV, WebM, GIF 等
  • 音频: MP3, FLAC, WAV, AAC, OGG, M4A 等
  • 文档: PDF, DOCX, DOC, EPUB, MOBI, TXT, Markdown 等
  • 数据: JSON, YAML, XML, CSV 等

底层工具

工具用途
ffmpeg音视频转换
imagemagick图片转换
libreoffice文档转换
pandoc文档/标记转换
calibre电子书转换(按需安装)

安装命令

# Debian/Ubuntu
sudo apt install ffmpeg imagemagick libreoffice pandoc calibre

# macOS
brew install ffmpeg imagemagick libreoffice pandoc
brew install --cask calibre

使用方式

用户说类似:

  • "把这个图片转成 WebP"
  • "将 video.mp4 转换成 GIF"
  • "把 document.docx 转为 PDF"
  • "转换这本书为 EPUB 格式"

技能自动:

  1. 识别源文件和目标格式
  2. 选择合适的转换工具
  3. 执行转换命令
  4. 返回结果文件路径

命令参考

图片转换 (ImageMagick)

convert input.png output.webp
convert image.jpg image.png
mogrify -format webp *.png
convert input.jpg -resize 1920x1080 output.jpg

视频/音频转换 (FFmpeg)

ffmpeg -i input.mp4 -vf "fps=10,scale=640:-1" output.gif
ffmpeg -i input.mp4 -c:v libx265 output.mkv
ffmpeg -i video.mp4 -q:a 0 -map a output.mp3
ffmpeg -i input.wav -b:a 320k output.mp3

文档转换 (LibreOffice)

libreoffice --headless --convert-to pdf document.docx
libreoffice --headless --convert-to docx document.pdf

文档/标记转换 (Pandoc)

pandoc input.md -o output.pdf
pandoc input.md -o output.docx
pandoc input.html -t markdown -o output.md

电子书转换 (Calibre)

ebook-convert input.epub output.mobi
ebook-convert input.epub output.pdf

注意事项

  • ⚠️ 大文件转换可能需要较长时间
  • ⚠️ 视频转换消耗 CPU,建议在空闲时进行
  • ⚠️ 有损转换可能降低质量
  • ⚠️ HEIC 格式需要 libheif 支持

状态检查

ffmpeg -version | head -1
convert --version | head -1
libreoffice --version | head -1
pandoc --version | head -1

Comments

Loading comments...