Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计提醒

textin-file-converter-protextin 文件转换器专业版

Agent Skill

textin-file-converter-pro 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

3,175

周安装

135

GitHub Stars

1

下载量

1,112
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:textin-file-converter-pro(textin 文件转换器专业版)
来源仓库:https://github.com/intsig-textin/textin-file-converter-pro
安装命令:
openclaw skills install textin-file-converter-pro
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install textin-file-converter-pro

简介

用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 可结合来源仓库、安装命令和原始 README 继续核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 安装命令:openclaw skills install textin-file-converter-pro
  • 来源仓库:https://github.com/intsig-textin/textin-file-converter-pro

SKILL.md

name
file-converter-pro
description
>-
version
1.0.2
license
MIT
user-invocable
true
argument-hint
[file_path_or_folder] [target_format] [output_folder]
allowed-tools
Bash Read Write Glob
required-credentials
description
Textin API application ID, obtain from https://www.textin.com/console/dashboard/setting
description
Textin API secret code, obtain from https://www.textin.com/console/dashboard/setting
dependencies
description
HTTP client for API requests
description
Used for JSON parsing and base64 decoding
description
Used for encoding image files (image-to-pdf only)
metadata
author
Textin
tags
pdf, word, excel, ppt, image, converter, ocr, document
source
https://github.com/anthropics/claude-code-skills
api-provider
Textin (https://www.textin.com)
api-docs
https://www.textin.com/document/pdf-to-word
privacy
>-
network
protocol
HTTPS
purpose
Document format conversion API (sole outbound destination, hardcoded)
file-access
scope
user-specified-only
description
>-

Textin File Converter Pro

Convert documents between PDF, Word, Excel, PPT, and image formats with high accuracy.

Supported Conversions

TypeSourceTargetExtension
pdf-to-wordPDFWord.docx
pdf-to-excelPDFExcel.xlsx
pdf-to-pptPDFPPT.pptx
pdf-to-imagePDFImages (ZIP).zip
word-to-pdfWordPDF.pdf
word-to-imageWordImages (ZIP).zip
excel-to-pdfExcelPDF.pdf
image-to-pdfImage(s)PDF.pdf
image-to-wordImageWord (OCR).docx

Instructions

Follow these steps to handle a file conversion request:

Step 1: Determine Conversion Type and Mode

From the user's request, identify:

  1. Source — a local file path, a URL, or a folder path for batch conversion. Resolve relative paths against the current working directory.
  2. Target format — what format to convert to.
  3. Match to one of the supported conversion types in the table above.
  4. Mode — if the source is a directory, use batch mode; otherwise use single-file mode.

If the user provides $ARGUMENTS, parse it as <file_path_or_folder> <target_format> [output_folder] (e.g., report.pdf word or ./invoices/ excel ./output/).

Format aliases: "docx" → word, "xlsx" → excel, "pptx" → ppt, "jpg"/"jpeg"/"png"/"bmp" → image.

If the conversion is ambiguous or unsupported, inform the user of available options.

Step 2: Verify Credentials

The Textin API requires x-ti-app-id and x-ti-secret-code. Credentials are passed only via environment variables (never as CLI arguments, to avoid exposure in process lists).

Check for credentials:

  1. Environment variables TEXTIN_APP_ID and TEXTIN_SECRET_CODE
  2. If not found, ask the user to provide them and set them via export before running the script

Tell the user they can obtain credentials by signing up at https://www.textin.com/user/login and navigating to the console settings. See: https://docs.textin.com/xparse/api-key

Pricing: Free quota included on signup. Paid usage starts at 0.035 CNY per conversion. Details: https://www.textin.com/product/textin_conversion#Specifications

Setting credentials:

export TEXTIN_APP_ID="your_app_id"
export TEXTIN_SECRET_CODE="your_secret_code"

Step 3: Validate Input

Single file mode:

  • Verify the source file exists (for local files) using Read or ls.
  • Check file size is under 50MB.
  • For image inputs: supported formats are JPG, JPEG, PNG, BMP (not GIF).
  • For image-to-pdf: multiple images can be provided (comma-separated paths).

Batch mode (folder input):

  • Verify the source directory exists using ls.
  • The script will automatically find files matching the source format (e.g., all .pdf files for pdf-to-word).
  • If the user specifies an output folder, it will be created automatically if it doesn't exist.

Step 4: Run Conversion

Single File Mode

Use the helper script at scripts/convert.sh (relative to this skill's directory):

bash "<skill_dir>/scripts/convert.sh" <conversion_type> <input_file_or_url> <output_path>

Credentials are read from TEXTIN_APP_ID and TEXTIN_SECRET_CODE environment variables. The script also validates file extensions and enforces the 50MB size limit before uploading.

Determine the output path:

  • Default: same directory as input, with the appropriate target extension (e.g., report.pdfreport.docx).
  • For pdf-to-image and word-to-image: output is a .zip archive containing one image per page.
  • If the user specifies a custom output path, use that instead.
  • Avoid overwriting existing files — append _converted or a number if needed.

Example:

export TEXTIN_APP_ID="your_app_id"
export TEXTIN_SECRET_CODE="your_secret_code"
bash "<skill_dir>/scripts/convert.sh" pdf-to-word ./report.pdf ./report.docx

Batch Mode (Folder Input)

When the user provides a folder path, use scripts/batch_convert.sh:

bash "<skill_dir>/scripts/batch_convert.sh" <conversion_type> <input_dir> [output_dir]

Credentials are read from TEXTIN_APP_ID and TEXTIN_SECRET_CODE environment variables.

  • The script automatically scans input_dir for files matching the source format of the conversion type.
  • output_dir defaults to input_dir if not specified.
  • Output files are named after their source files with the target extension.
  • Existing files are not overwritten — a numeric suffix is appended if needed.
  • The script reports a summary with total/succeeded/failed counts.

Examples:

# Convert all PDFs in a folder to Word, output to same folder
bash "<skill_dir>/scripts/batch_convert.sh" pdf-to-word ./documents/

# Convert all PDFs to Excel, output to a different folder
bash "<skill_dir>/scripts/batch_convert.sh" pdf-to-excel ./invoices/ ./excel_output/

# Convert all images to PDF
bash "<skill_dir>/scripts/batch_convert.sh" image-to-pdf ./scans/ ./pdfs/

Step 5: Report Result

Single file mode — on success, tell the user:

  • The output file path and size
  • What conversion was performed

Batch mode — on success, tell the user:

  • Total files found, succeeded, and failed
  • Output directory path
  • List any failed files with reasons

On failure, explain the error. Common issues:

Error CodeMeaningSolution
40003Insufficient balanceTop up at textin.com
40101Missing auth headersCheck credentials
40102Invalid credentialsVerify app ID and secret code
40301Unsupported file typeCheck source file format
40302File too largeMust be under 50MB
40306Rate limitedWait before retrying, do NOT retry immediately

Dependencies

This skill requires the following system tools (typically pre-installed on macOS/Linux):

ToolPurposeVerify
curlHTTP requests to Textin APIcurl --version
python3JSON parsing & base64 decoding of API responsespython3 --version
base64Encoding image files for image-to-pdfbase64 --version

No additional binaries or packages need to be installed.

Security & Privacy

Network Access

This skill makes outbound HTTPS requests to a single, hardcoded domain:

DomainPurposeProtocol
api.textin.comDocument conversion APIHTTPS only

The API endpoint is constructed from a constant ALLOWED_API_HOST="api.textin.com" in the script — it cannot be overridden by arguments or environment variables.

Credential Handling

  • Credentials (TEXTIN_APP_ID, TEXTIN_SECRET_CODE) are read only from environment variables — never accepted as CLI arguments (avoiding exposure in process lists or shell history).
  • Credentials are transmitted as HTTP headers over HTTPS — never logged, written to disk, or included in error output.

File Access & Validation

  • The scripts only read files explicitly specified by the user (single file path or files in a user-specified directory).
  • Before uploading, each file is validated:

- Extension check: must match the expected source format (e.g., .pdf for pdf-to-*). - Size check: must be under 50MB (enforced in script, not just documented).

  • Batch mode scans only the top level of the specified directory (-maxdepth 1) — no recursive traversal.

Data Transmission

  • Files are uploaded via HTTPS to api.textin.com for server-side conversion.
  • The Textin API processes files in memory and does not persistently store uploaded documents.
  • API responses contain only the converted file as base64 — no executable code is returned or evaluated.

No Arbitrary Code Execution

The shell scripts perform only:

  1. curl POST requests to the hardcoded API endpoint
  2. python3 JSON parsing and base64 decoding of API responses
  3. base64 encoding for image-to-pdf input preparation

No downloaded content is ever executed. No eval, exec, or dynamic code generation is used.

API Provider

Textin — a commercial document AI platform. See API documentation and privacy policy.

Important Notes

  • image-to-word uses OCR-based document restoration — it can recognize text, tables, and preserve layout from images.
  • pdf-to-image and word-to-image return a ZIP archive with one image per page.
  • image-to-pdf accepts multiple images in a single request (comma-separated file paths).
  • This skill handles format conversion only. For intelligent document content understanding and extraction, consider using the Textin xParse API which provides deep document parsing with structure recognition:

- Product: https://www.textin.com/market/detail/xparse - API Docs: https://docs.textin.com/api-reference/endpoint/xparse/v1/parse-sync

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

92.06%
按下载量换算1,024

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills