batch-file-converter
Batch convert files between formats - images (HEIC/PNG/JPG/WebP), documents (Markdown/HTML), and more using Python and system tools.
Skill by malue-ai
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/malue-ai-batch-file-converter
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, frontend
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/batch-file-converter
What's inside
- Skill name
batch-file-converter- Description
- Batch convert files between formats - images (HEIC/PNG/JPG/WebP), documents (Markdown/HTML), and more using Python and system tools.
- License
- MIT
- Instructions
- 131 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# 批量文件转换
帮助用户批量转换文件格式:图片格式互转、文档格式转换。
## 使用场景
- 用户说「把这些 HEIC 照片转成 JPG」「PNG 转 WebP」
- 用户说「把这些图片批量压缩」「调整图片尺寸」
- 用户说「Markdown 转 HTML」「批量转换格式」
## 依赖安装
首次使用时自动安装:
```bash
pip install Pillow
```
## 执行方式
通过 Python Pillow 处理图片,bash 处理其他格式。
### 图片格式转换
```python
from PIL import Image
import os
input_dir = "/path/to/input"
output_dir = "/path/to/output"
target_format = "JPEG" # JPEG, PNG, WEBP, BMP, TIFF
os.makedirs(output_dir, exist_ok=True)
count = 0
for filename in os.listdir(input_dir):
if filename.lower().endswith(('.png', '.jpg', '.jpeg', '.heic', '.webp', '.bmp')):
img = Image.open(os.path.join(input_dir, filename))
# RGBA → RGB for JPEG
if img.mode == 'RGBA' and target_format == 'JPEG':
img = img.convert('RGB')
new_name = os.path.splitext(filename)[0] + ".jpg"
img.save(os.path.join(output_dir, new_name), target_format, quality=90)
count += 1
print(f"转换完成: {count} 个文件")
```
### HEIC 转 JPG(macOS)
```bash
# macOS 原生支持 HEIC
for f in /path/to/*.HEIC; do
sips -s format jpeg "$f" --out "/path/to/output/$(basename "${f%.*}").jpg"
done
```
### 批量压缩图片
```python
from PIL import Image
import os
input_dir = "/path/to/input"
output_dir = "/path/to/compressed"
max_size = (1920, 1080)
quality = 80
os.makedirs(output_dir, exist_ok=True)
for filename in os.listdir(input_dir):
if filename.lower().endswith(('.png', '.jpg', '.jpeg')):
img = Image.open(os.path.join(input_dir, filename))
img.thumbnail(max_size, Image.Resampling.LANCZOS)
if img.mode == 'RGBA':
img = img.convert('RGB')
img.save(os.path.join(output_dir, filename), quality=quality)
print("压缩完成")
```
### 批量调整图片尺寸
```python
from PIL import Image
import os
target_width = 800
input_dir = "/path/to/input"
output_dir = "/path/to/resized"
os.makedirs(output_dir, exist_ok=True)
for filename in os.listdir(input_dir):
if filename.lower().endswith(('.png', '.jpg', '.jpeg', '.webp')):
img = Image.open(os.path.join(input_dir, filename))
ratio = target_width / img.width
new_height = int(img.height * ratio)
img = img.resize((target_width, new_height), Image.Resampling.LANCZOS)
img.save(os.path.join(output_dir, filename))
```
### Markdown → HTML
```bash
# 使用 Python 内置
python3 -c "
import markdown
with open('/path/to/input.md') as f:
html = markdown.markdown(f.read(), extensions=['tables', 'fenced_code'])
with open('/path/to/output.html', 'w') as f:
f.write(html)
print('转换完成')
"
```From malue-ai/dazee-small, MIT.
More from malue-ai/dazee-small
- 0.496score
draw-io
malue-ai
Generate professional diagrams in draw.io XML format including flowcharts, org charts, UML diagrams, and network topology diagrams.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
excel-fixer
malue-ai
Auto-detect and fix common Excel formatting issues like merged cells, inconsistent types, duplicate headers, and encoding problems.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
content-reformatter
malue-ai
Reformat content for different platforms (WeChat, Zhihu, Xiaohongshu, Twitter, email).
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
deep-research
malue-ai
Conduct multi-step autonomous research on any topic.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
elegant-reports
malue-ai
Generate beautifully designed PDF reports with Nordic-style typography, charts, tables, and multi-page layouts using reportlab or fpdf2.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
excel-analyzer
malue-ai
Analyze and process Excel/CSV files using pandas and openpyxl.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
app-scanner
malue-ai
Discover installed applications on macOS and recommend the best app for user tasks.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
competitive-intel
malue-ai
Monitor competitor websites, products, and social media for updates.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
cross-app-workflow
malue-ai
Chain multiple local apps and skills into complex multi-step workflows.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
deep-doc-reader
malue-ai
Deep analysis and Q&A for long documents (PDF reports, contracts, papers, manuals).
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
code-sandbox
malue-ai
Secure sandboxed code execution for AI-generated scripts.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
feishu
malue-ai
Feishu (Lark) full integration — messages, documents, calendars, tasks, approvals, and meeting minutes via lark-oapi SDK.
SkillDFreshness: D★ 37Claude Code +9
Signals
- Stars
- 37
- Forks
- 2
- Open issues
- 3
- Last commit (this folder)
- Feb 12, 2026 (8 months ago)
- Last release
- Feb 26, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/malue-ai/dazee-small
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from malue-ai
- 0.496score
competitive-intel
malue-ai
Monitor competitor websites, products, and social media for updates.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
cross-app-workflow
malue-ai
Chain multiple local apps and skills into complex multi-step workflows.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
app-scanner
malue-ai
Discover installed applications on macOS and recommend the best app for user tasks.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
code-sandbox
malue-ai
Secure sandboxed code execution for AI-generated scripts.
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
content-reformatter
malue-ai
Reformat content for different platforms (WeChat, Zhihu, Xiaohongshu, Twitter, email).
SkillDFreshness: D★ 37Claude Code +9 - 0.496score
deep-doc-reader
malue-ai
Deep analysis and Q&A for long documents (PDF reports, contracts, papers, manuals).
SkillDFreshness: D★ 37Claude Code +9
Cite this page
batch-file-converter skill. Agent Mart. https://agentmart.dev/skills/malue-ai-batch-file-converter (last updated 2026-10-24)