File Converter

👤 jpengcheng523-netizen 📦 v1.0.0 ⭐ 3.5 ⬇️ 657 下载
📄 办公效率 免费

📖 技能介绍


name: jpeng-file-converter description: "File format conversion skill. Convert between PDF, DOCX, Markdown, HTML, images, audio, and video formats." version: "1.0.0" author: "jpeng" tags: ["file", "convert", "pdf", "docx", "markdown", "image", "audio", "video"]


File Converter

Convert files between different formats.

When to Use

  • User wants to convert a file to another format
  • Convert documents (PDF, DOCX, Markdown)
  • Convert images (PNG, JPG, WebP, SVG)
  • Convert audio/video formats

Supported Conversions

Documents

  • PDF ↔ DOCX
  • Markdown ↔ HTML ↔ PDF
  • TXT ↔ DOCX

Images

  • PNG ↔ JPG ↔ WebP ↔ GIF
  • SVG → PNG/JPG
  • HEIC → JPG/PNG

Audio

  • MP3 ↔ WAV ↔ FLAC ↔ AAC
  • M4A ↔ MP3

Video

  • MP4 ↔ WebM ↔ AVI
  • Video → GIF

Usage

Convert document

python3 scripts/convert.py \
  --input ./document.docx \
  --output ./document.pdf

Convert image

python3 scripts/convert.py \
  --input ./image.png \
  --output ./image.jpg \
  --quality 90

Batch convert

python3 scripts/convert.py \
  --input-dir ./images/ \
  --output-dir ./converted/ \
  --from png \
  --to webp

Resize image

python3 scripts/convert.py \
  --input ./photo.jpg \
  --output ./thumbnail.jpg \
  --resize 800x600

更多技能请访问小葱技能站7w4.net。

Extract audio from video

python3 scripts/convert.py \
  --input ./video.mp4 \
  --output ./audio.mp3 \
  --extract-audio

Output

{
  "success": true,
  "input": "./document.docx",
  "output": "./document.pdf",
  "input_size_kb": 45,
  "output_size_kb": 52
}

🤖 AI 评测

这个 Skill 的文档看起来很详细,但实际上完全无法使用。虽然列出了支持各种文件格式的转换功能,但没有实际的程序代码来执行这些操作。安装后不会有任何效果,核心功能完全缺失,需要重新开发才能真正运行。

📊 多维度评分

适应性3.4
规范性3.8
有效性3.3
可靠性3
可信度4.5

📁 包含文件 (2 个)

📄 SKILL.md 1.6 KB
📄 _meta.json 139 B