Xpersona
F

formatferry-markdown

CLAWHUB · Unverified

Local-first document-to-Markdown converter supporting 8 file types (HTML, DOCX, PDF, XLSX, CSV, JSON, XML, PPTX) and 8 output flavours (GitHub, CommonMark, S...

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172xesqq5b1rv6mev9dafba8n83tdtk:formatferry-markdown
  1. Install using `clawhub skill install s172xesqq5b1rv6mev9dafba8n83tdtk:formatferry-markdown` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/britrik/formatferry-markdown before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-britrik-formatferry-markdown/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

50,483 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: formatferry-markdown
description: Local-first document-to-Markdown converter supporting 8 file types (HTML, DOCX, PDF, XLSX, CSV, JSON, XML, PPTX) and 8 output flavours (GitHub, CommonMark, Slack, Discord, Reddit, Confluence, R Markdown, custom). Conversion runs entirely in-process — file content never leaves the machine. No server-side processing for local files.
version: 1.1.4
metadata:
  openclaw:
    requires:
      env: []
      bins:
        - node
        - formatferry
    envVars:
      - name: FORMATFERRY_API_KEY
        required: false
        description: Required only for URL extraction (--url flag). Not needed for local file conversion.
      - name: FORMATFERRY_LICENSE_KEY
        required: false
        description: Required for premium CLI features (--batch mode).
    install:
      - kind: node
        package: formatferry
        bins: [formatferry]
    emoji: "⛴️"
    homepage: https://github.com/britrik/FormatFerry
---

# FormatFerry Markdown Converter

Local-first document-to-Markdown converter. File content is processed entirely in-process — nothing leaves your machine. Supports 8 input formats and 8 output flavours, with optional URL extraction and batch mode for premium users.

**Key differentiator vs alternatives:** Output flavours tailor Markdown to specific platforms (Slack `*bold*` vs GitHub `**bold**`, Confluence wiki markup, R Markdown, etc.). No other converter offers this.

## Prerequisites

- **Node.js 18+** and **npm** must be installed
- Install the CLI globally:

```bash
npm install -g formatferry
```

## Supported File Types

| Format | Extension | Notes |
|--------|-----------|-------|
| HTML | `.html`, `.htm` | Web pages, snippets |
| Word | `.docx` | Microsoft Word documents |
| PDF | `.pdf` | Including OCR for scanned documents |
| Excel | `.xlsx` | Spreadsheets with tables |
| CSV | `.csv` | Comma-separated data |
| JSON | `.json` | Structured data |
| XML | `.xml` | Markup and data feeds |
| PowerPoint | `.pptx` | Slide content |

## Supported Markdown Flavours

Use the `-f` / `--flavour` flag to select output format:

- `github` (default) — GitHub Flavored Markdown
- `commonmark` — Standard CommonMark
- `slack` — Slack-compatible markdown
- `discord` — Discord-compatible markdown
- `reddit` — Reddit-compatible markdown
- `confluence` — Confluence wiki markup
- `rmarkdown` — R Markdown
- `custom` — Custom format

## Usage Examples

```bash
# Convert a file
formatferry -i document.docx -o output.md

# Pipe HTML from stdin
echo '<h1>Hello</h1>' | formatferry

# Choose a flavour
formatferry -i notes.html -f slack -o notes.md

# Convert a PDF (includes OCR for scanned documents)
formatferry -i paper.pdf -o paper.md

# URL extraction (requires FORMATFERRY_API_KEY)
formatferry --url https://example.com/article -o article.md

# Batch convert (requires FORMATFERRY_LICENSE_KEY)
formatferry --batch "docs/**/*.docx" --output-dir ./markdown/
```

## Environment Variables

Both environment variables are **o

README.md

# formatferry-markdown

Convert documents (HTML, DOCX, PDF, XLSX, CSV, JSON, XML, PPTX) and web content to clean Markdown using FormatFerry CLI.

## Install

```bash
npm install -g formatferry
```

Requires Node.js 18+.

## Usage

```bash
# Convert a file
formatferry -i document.docx -o output.md

# Pipe HTML from stdin
echo '<h1>Hello</h1>' | formatferry

# Choose a flavour
formatferry -i notes.html -f slack -o notes.md

# Convert a PDF
formatferry -i paper.pdf -o paper.md

# URL extraction (requires FORMATFERRY_API_KEY)
formatferry --url https://example.com/article -o article.md

# Batch convert (requires FORMATFERRY_LICENSE_KEY)
formatferry --batch "docs/**/*.docx" --output-dir ./markdown/
```

## Supported File Types

HTML, DOCX, PDF (including OCR), XLSX, CSV, JSON, XML, PPTX

## Markdown Flavours

`github` (default), `commonmark`, `slack`, `discord`, `reddit`, `confluence`, `rmarkdown`, `custom`

## Environment Variables

Both are optional — the CLI works for local file conversion with zero credentials.

| Variable | Needed For |
|----------|------------|
| `FORMATFERRY_API_KEY` | `--url` flag only |
| `FORMATFERRY_LICENSE_KEY` | `--batch` mode only |

## License

MIT-0

_meta.json

{
  "ownerId": "kn7ew5gbg17d6pmg1sjvqm6qe180p9e5",
  "slug": "formatferry-markdown",
  "version": "1.1.5",
  "publishedAt": 1780359435291
}

references/cli-reference.md

# FormatFerry CLI Reference

## Full Help Output (v1.0.27)

```
Usage: formatferry [options] [command]

Convert documents (HTML, DOCX, PDF, XLSX, CSV, JSON, XML, PPTX) to Markdown

Options:
  -V, --version            output the version number
  -i, --input <path>       Input file path
  -o, --output <path>      Output file path
  -f, --flavour <format>   Markdown flavour (github, commonmark, slack, discord,
                           reddit, confluence, rmarkdown, custom) (default:
                           "github")
  --url <url>              Fetch article from URL (requires FORMATFERRY_API_KEY)
  --batch <glob>           Batch convert files (requires FORMATFERRY_LICENSE_KEY)
  --output-dir <dir>       Output directory for batch mode
  --offline                Skip entitlement check (use cached or free tier)
  --timeout <ms>           License server timeout in milliseconds (default: 2000)
  -h, --help               display help for command

Commands:
  auth [options]           Manage API key and license key authentication
```

## Auth Commands

```
Usage: formatferry auth [options]

Manage API key and license key authentication

Options:
  --api-key <key>        Set API key (for --url extraction)
  --license-key <key>    Set license key (for --batch mode)
  --status               Show current authentication status
  --logout               Remove stored credentials
  -h, --help             display help for command
```

## Supported File Types

| Format | Extension | Notes |
|--------|-----------|-------|
| HTML | `.html`, `.htm` | Web pages, snippets |
| Word | `.docx` | Microsoft Word documents |
| PDF | `.pdf` | Including OCR for scanned documents |
| Excel | `.xlsx` | Spreadsheets with tables |
| CSV | `.csv` | Comma-separated data |
| JSON | `.json` | Structured data |
| XML | `.xml` | Markup and data feeds |
| PowerPoint | `.pptx` | Slide content |

## Supported Markdown Flavours

| Flavour | Flag | Notes |
|---------|------|-------|
| GitHub | `-f github` | Default — GitHub Flavored Markdown |
| CommonMark | `-f commonmark` | Standard CommonMark spec |
| Slack | `-f slack` | Slack-compatible markdown |
| Discord | `-f discord` | Discord-compatible markdown |
| Reddit | `-f reddit` | Reddit-compatible markdown |
| Confluence | `-f confluence` | Confluence wiki markup |
| R Markdown | `-f rmarkdown` | R Markdown format |
| Custom | `-f custom` | User-defined format |

## Environment Variables

| Variable | Required | Purpose |
|----------|----------|---------|
| `FORMATFERRY_API_KEY` | No | Required for `--url` flag (URL extraction). Not needed for local files. |
| `FORMATFERRY_LICENSE_KEY` | No | Required for `--batch` mode (premium feature). |

## Example Outputs

### Input (HTML)
```html
<h1>Title</h1>
<p>A paragraph with <strong>bold</strong> and <em>italic</em>.</p>
<ul>
  <li>Item 1</li>
  <li>Item 2</li>
</ul>
```

### Output (GitHub format — default)
```markdown
# Title

A paragraph with **bold** and _italic_.

- Item 1
- Item 2
```

skill-card.md

## Description:

Local-first document-to-Markdown converter supporting HTML, DOCX, PDF, XLSX, CSV, JSON, XML, and PPTX inputs with Markdown output flavours for GitHub, CommonMark, Slack, Discord, Reddit, Confluence, R Markdown, and custom formats.

This skill is ready for commercial/non-commercial use.

## Publisher:

[britrik](https://clawhub.ai/user/britrik)

### License/Terms of Use:

MIT-0

## Use Case:

Developers and agent workflows use this skill to convert local documents, pasted content, or selected web content into platform-specific Markdown through the FormatFerry CLI.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The workflow installs and runs an unpinned global npm executable against potentially sensitive documents.

Mitigation: Use only a trusted and reviewed FormatFerry package version, prefer a pinned install where possible, and avoid broad global installs in shared environments.

Risk: URL extraction sends content to server-side processing.

Mitigation: Do not use --url for sensitive, internal, or confidential content unless server-side processing is acceptable; use local file or stdin conversion instead.

Risk: License validation may make a network request when a license key is stored.

Mitigation: Use --offline for private local conversion when network calls are not acceptable.

## Reference(s):

- [FormatFerry CLI Reference](references/cli-reference.md)
- [FormatFerry homepage](https://github.com/britrik/FormatFerry)
- [ClawHub skill page](https://clawhub.ai/britrik/skills/formatferry-markdown)

## Skill Output:

**Output Type(s):** [markdown, shell commands, files, configuration, guidance]

**Output Format:** [Markdown, Markdown file output, and shell command guidance]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [Supports local file, stdin, URL, and batch conversion modes; optional credentials are only needed for URL extraction and premium batch mode.]

## Skill Version(s):

1.1.5 (source: server release evidence)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to formatferry-markdown and adjacent AI workflows.