TopRank Skills

Home / Claw Skills / Document / convertagent
Official OpenClaw rules 72%

convertagent

Use ConvertAgent for file format conversions through the local CLI. Trigger for any request to convert files (documents, images, audio, video, spreadsheets, presentations) or when a workflow needs deterministic file conversion output.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 convertagent 技能。 若已安装,则直接安装 convertagent 技能。

Overview

Skill Key
enigami12/convertagent
Author
enigami12
Source Repo
openclaw/skills
Version
-
Source Path
skills/enigami12/convertagent
Latest Commit SHA
c357ce991a3a3eae8330c98bcaacd28922b48ff3

Extracted Content

SKILL.md excerpt

# ConvertAgent Skill

Use ConvertAgent as the default conversion interface.

## Rule

- For any file conversion task, use `convertagent convert` instead of calling engines (`pandoc`, `ffmpeg`, `imagemagick`, `libreoffice`) directly.
- Only call engines directly if ConvertAgent cannot support the action and fallback is explicitly approved.

## Quick Commands

- Health check:
  - `convertagent health`
- List supported actions:
  - `node /root/projects/convertagent/dist/cli.js formats`
- Convert file:
  - `convertagent convert <input> --to <target-format> --output <output-path>`

## Standard Workflow

1. Verify service/CLI health:
   - `convertagent health`
2. Validate source path exists.
3. Run conversion with explicit output path.
4. Verify output file exists and has non-zero size.
5. Return/attach converted artifact.

## Examples

- Markdown to PDF:
  - `convertagent convert /path/file.md --to pdf --output /tmp/file.pdf`
- PNG to WEBP:
  - `convertagent convert /path/image.png --to webp --output /tmp/image.webp`
- XLSX to CSV:
  - `convertagent convert /path/sheet.xlsx --to csv --output /tmp/sheet.csv`
- MP4 to MP3:
  - `convertagent convert /path/video.mp4 --to mp3 --output /tmp/audio.mp3`

## Supported Action Map (Current)

- Documents: `pdf->docx`, `docx->pdf`, `html->pdf`, `md->pdf`, `md->html`, `md->docx`
- Sheets/Slides: `xlsx->csv`, `csv->xlsx`, `pptx->pdf`
- Images: `jpg->png`, `png->jpg`, `png->webp`, `webp->png`, `svg->png`, `image-resize`, `image-compress`
- Media: `mp4->mp3`, `wav->mp3`, `mp4->gif`, `any-video->mp4`

## Paths

- Repo: `/root/projects/convertagent`
- Service unit: `/etc/systemd/system/convertagent.service`
- Runtime API health: `http://localhost:3001/health`

## Failure Handling

- If conversion fails, capture stderr and report exact failing action.
- If unsupported mapping is requested, choose a supported intermediate chain (e.g., `md->html` then `html->pdf`) only when needed.
- If required system dependency is missing, install dependenc...

Related Claw Skills

edholofy

dojo.md

★ 4

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning required.

lethehades

wps-macos-helper

★ 1

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance

capt-marbles

firecrawl

★ 0

Web scraping and crawling with Firecrawl API. Fetch webpage content as markdown, take screenshots, extract structured data, search the web, and crawl documentation sites. Use when the user needs to scrape a URL, get current web info, capture a screenshot, extract specific data from pages, or crawl docs for a framework/library.

caqlayan

Tweet Processor

★ 0

Tweet Processor Skill

carev01

md-docs-search

★ 0

Full-text search across structured Markdown documentation archives using SQLite FTS5. Use when you need to search large collections of Markdown articles that are separated by "---" delimiters and contain source URLs (marked with "*Source:" pattern). Provides fast BM25-ranked search with automatic source URL extraction for citations. Ideal for research, documentation lookups, and knowledge base exploration. Requires indexing documentation first with `docs.py index`.

camelsprout

duckdb-en

★ 0

DuckDB CLI specialist for SQL analysis, data processing and file conversion. Use for SQL queries, CSV/Parquet/JSON analysis, database queries, or data conversion. Triggers on "duckdb", "sql", "query", "data analysis", "parquet", "convert data".