/install formatferry-markdown
formatferry Skill
Convert HTML, DOCX, PDF, XLSX, CSV files to Markdown using the Format Ferry CLI.
Installation
Install the CLI globally:
npm install -g formatferry
Or use npx (requires Node.js):
npx formatferry --help
Authentication
The user has a private API key. Do NOT expose this key in any output or messages.
# Authenticate
scripts/auth.sh --key \x3CAPI_KEY>
# Check status
scripts/auth.sh --status
Scripts
This skill includes secure wrapper scripts with no eval and bash arrays for safe argument handling:
scripts/convert-to-md.sh (recommended)
# Convert a local file
scripts/convert-to-md.sh --input /path/to/file.pdf --output output.md --format github
# Convert a URL
scripts/convert-to-md.sh --url https://example.com/article --output article.md
scripts/convert.sh (legacy)
scripts/convert.sh --file input.html --output result.md --format github
scripts/convert.sh --url https://example.com --output article.md
Supported formats: github, commonmark, slack, discord, reddit, confluence, custom, rmarkdown
Supported File Types
.html- Web pages.docx- Word documents.pdf- PDF files (up to 20MB).xlsx- Excel spreadsheets.csv- CSV files
Security Notes
- No eval: All scripts use bash arrays for safe argument passing
- No OOM risk: Output streams directly to file + stdout, never captured in shell variables
- Recursive path sanitization: Loops repeatedly to strip
....//,..../,./, and encoded bypasses (%2e%2e) - Path validation: Blocks writes to
/etc,/root,/sys,/procand sensitive files (passwd,shadow,id_rsa) - Realpath verification: Validates final paths are within allowed WORKDIR before execution
- URL validation: Rejects malformed URLs (must start with http:// or https://)
Provenance
- Homepage: https://formatferry.vibingfun.com
- npm Package: formatferry (official, no public repo)
Notes
- API key stored locally after authentication
- Premium features may require a license key
- Output format defaults to "github" if not specified
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install formatferry-markdown - 安装完成后,直接呼叫该 Skill 的名称或使用
/formatferry-markdown触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
FormatFerry Markdown Converter 是什么?
Convert HTML, DOCX, PDF, XLSX, CSV to Markdown. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 118 次。
如何安装 FormatFerry Markdown Converter?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install formatferry-markdown」即可一键安装,无需额外配置。
FormatFerry Markdown Converter 是免费的吗?
是的,FormatFerry Markdown Converter 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
FormatFerry Markdown Converter 支持哪些平台?
FormatFerry Markdown Converter 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 FormatFerry Markdown Converter?
由 Britrik(@britrik)开发并维护,当前版本 v1.1.3。