← Back to Skills Marketplace
britrik

FormatFerry Markdown Converter

by Britrik · GitHub ↗ · v1.1.3 · MIT-0
cross-platform ✓ Security Clean
118
Downloads
0
Stars
0
Active Installs
4
Versions
Install in OpenClaw
/install formatferry-markdown
Description
Convert HTML, DOCX, PDF, XLSX, CSV to Markdown
README (SKILL.md)

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, /proc and 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

Notes

  • API key stored locally after authentication
  • Premium features may require a license key
  • Output format defaults to "github" if not specified
Usage Guidance
This package appears coherent with its purpose, but before installing: (1) verify the npm package 'formatferry' and the homepage are trustworthy (no public repo is listed here), (2) avoid installing unknown npm packages globally unless you trust them (use npx or a container/sandbox for testing), (3) be aware you must provide an API key and the CLI will store it locally — treat that key like a password, and (4) review the upstream formatferry CLI behavior (network access, telemetry, and where it persists credentials) before using it with sensitive documents.
Capability Analysis
Type: OpenClaw Skill Name: formatferry-markdown Version: 1.1.3 The formatferry-markdown skill is a utility for converting various file formats to Markdown using a CLI tool. The included shell scripts (scripts/auth.sh, scripts/convert-to-md.sh, and scripts/convert.sh) demonstrate a high level of defensive programming, including the use of bash arrays to prevent shell injection, robust recursive path sanitization to block directory traversal, and explicit validation to prevent access to sensitive system files like /etc/passwd or SSH keys. The instructions in SKILL.md include proactive security directives to the AI agent to protect the user's API key. No indicators of malicious intent, data exfiltration, or unauthorized execution were found.
Capability Assessment
Purpose & Capability
Name/description (convert various document types to Markdown) lines up with the included scripts and SKILL.md. The scripts call a 'formatferry' CLI (or npx fallback) and perform conversion; no unexpected services, credentials, or unrelated binaries are requested.
Instruction Scope
SKILL.md and the scripts only describe authenticating to the FormatFerry CLI and converting either local files or URLs. The runtime instructions do not attempt to read arbitrary system files, remote endpoints other than fetched URLs, or aggregate unrelated secrets. They explicitly warn not to expose the API key and limit output to /tmp or current dir.
Install Mechanism
No registry install spec is embedded (the repo is instruction-only), but SKILL.md recommends 'npm install -g formatferry' or using npx. Installing an unvetted global npm package has known supply-chain and privilege risks; this is expected for a CLI-based tool but you should verify the npm package's trustworthiness before installing globally.
Credentials
The skill declares no required environment variables and does not request unrelated credentials. It does require the user's FormatFerry API key for authentication (auth.sh invokes 'formatferry auth --api-key ...') and notes the key is stored locally — this is proportional for a paid/locked CLI service but the user should be aware the key will persist on disk via the CLI's storage mechanism.
Persistence & Privilege
The skill is not always-enabled and does not request elevated privileges or modify other skills. Scripts write output to /tmp or a local file, and contain explicit checks to block writes to sensitive system paths. Nothing in the package attempts to escalate presence beyond its own scripts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install formatferry-markdown
  3. After installation, invoke the skill by name or use /formatferry-markdown
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.3
Security: recursive path sanitization, block sensitive paths/files, bypassed traversal now blocked
v1.1.2
Fixed provenance - removed non-existent GitHub repo link
v1.1.1
Security fixes: removed eval, bash arrays, streaming output, provenance added
v1.1.0
v1.1.0: Full spec compliance, enhanced discovery triggers, polished tables and security notes for ClawHub/Hermes
Metadata
Slug formatferry-markdown
Version 1.1.3
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 4
Frequently Asked Questions

What is FormatFerry Markdown Converter?

Convert HTML, DOCX, PDF, XLSX, CSV to Markdown. It is an AI Agent Skill for Claude Code / OpenClaw, with 118 downloads so far.

How do I install FormatFerry Markdown Converter?

Run "/install formatferry-markdown" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is FormatFerry Markdown Converter free?

Yes, FormatFerry Markdown Converter is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does FormatFerry Markdown Converter support?

FormatFerry Markdown Converter is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created FormatFerry Markdown Converter?

It is built and maintained by Britrik (@britrik); the current version is v1.1.3.

💬 Comments