media-converter
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
02 资源文件 4
- 参考文档_meta.json287 B
- 脚本index.js3.0 KB
- 脚本lib/convert.js739 B
- 脚本lib/magic.js1.0 KB
03 SKILL.md 正文
Media Converter Skill
Description
Detects media file types via magic bytes and fixes file extensions to ensure compatibility with Gemini (which rejects application/octet-stream). Handles basic conversion logic (placeholder for future ffmpeg support).
Usage
# Detect MIME type and return JSON
node skills/media-converter/index.js detect --file <path>
# Fix extension based on detected MIME (renames file if needed)
node skills/media-converter/index.js fix --file <path>
Examples
# Check a file masked as .bin
node skills/media-converter/index.js detect --file /tmp/unknown.bin
# Output: {"mime": "image/gif", "ext": "gif"}
# Rename a file to match its content
node skills/media-converter/index.js fix --file /tmp/unknown.bin
# Output: {"original": "/tmp/unknown.bin", "fixed": "/tmp/unknown.gif", "mime": "image/gif"}
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.