Token导航 LogoToken导航

Agent Skill · 效率

vector-text-fixer-1(矢量文本修复器 1)

用于搭建或维护带检索增强的 RAG 工作流,适合让 Agent 处理知识库问答、向量检索、来源引用和事实核查。它可以辅助整理数据接入、Embedding、向量库、召回参数和回答生成流程。使用时需要确认数据来源、更新频率、召回阈值和引用展示方式,避免把未命中的资料或过期内容包装成确定事实。

vector-text-fixer-1 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为需要联网;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 17,126。

总安装 2,681周安装 114GitHub Stars 公开资料未说明下载 939核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:vector-text-fixer-1(矢量文本修复器 1)
来源仓库:https://github.com/aipoch-ai/vector-text-fixer-1
安装命令:
openclaw skills install vector-text-fixer-1
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install vector-text-fixer-1

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

该工具修复因字体编码问题导致的PDF/SVG矢量图形乱码,恢复可读性。支持批量作业与结构化结果输出,适用于文档预处理环节。可集成到OCR后处理流程,提升文本提取准确率。安装命令:openclaw skills install vector-text-fixer-1,需确认输入文件格式。

商业用途文件应核查版权许可,避免侵犯字体知识产权。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install vector-text-fixer-1;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

vector-text-fixer-1 怎么安装?

在终端执行 openclaw skills install vector-text-fixer-1。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

vector-text-fixer-1 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

vector-text-fixer-1 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

vector-text-fixer-1 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

vector-text-fixer-1 用的人多吗?

公开数据是累计安装 2,681 次,近一周安装 114 次,下载 939 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

vector-text-fixer-1 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
vector-text-fixer-1

矢量文本修复器 1 · 本页

2,681—需要联网MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
vector-text-fixer
description
Fix garbled text in PDF/SVG vector graphics caused by font encoding issues, making files editable in AI tools. Supports batch processing and JSON export for manual correction.
license
MIT
skill-author
AIPOCH

Vector Text Fixer

Fixes garbled text in PDF/SVG vector graphics caused by font embedding problems, encoding errors, or missing font substitution. Outputs repaired files or editable JSON for AI tool import.

Quick Check

python -m py_compile scripts/main.py

Audit-Ready Commands

python -m py_compile scripts/main.py
python scripts/main.py --help
python scripts/main.py --input document.pdf --output fixed.pdf
python scripts/main.py --input diagram.svg --output fixed.svg

When to Use

  • Fix garbled/box characters in PDF files caused by font embedding issues
  • Repair SVG text encoding errors before editing in Illustrator or Inkscape
  • Batch-process a folder of PDF/SVG files with garbled text
  • Export a text map JSON for manual correction in AI editors

Workflow

  1. Confirm input file path (PDF or SVG) or batch folder, and desired output path.
  2. Validate that the request involves PDF/SVG garbled text repair; stop early if not.
  3. Run scripts/main.py --input <file> --output <file> or --batch <folder>.
  4. Return a structured result separating repaired blocks, skipped blocks, and unresolved items.
  5. If execution fails or inputs are incomplete, switch to the Fallback Template below.

Fallback Template

If scripts/main.py fails or required fields are missing, respond with:

FALLBACK REPORT
───────────────────────────────────────
Objective        : <repair goal>
Inputs Available : <file path or batch folder provided>
Missing Inputs   : <list exactly what is missing>
  Note: --input requires a valid PDF or SVG file path, not a text string.
        For batch mode use --batch <folder_path> instead.
Partial Result   : <any blocks repaired safely>
Blocked Steps    : <what could not be completed and why>
Next Steps       : <minimum info needed to complete>
───────────────────────────────────────

Stress-Case Output Checklist

For complex multi-constraint requests, always include these sections explicitly:

  • Assumptions: repair level default (standard), encoding auto-detected
  • Constraints: encrypted PDFs require password unlock first; scanned PDFs need OCR first
  • Risks: severely damaged files may not be fully repairable; rare fonts may not map correctly
  • Unresolved Items: blocks with confidence < 0.3 flagged for manual review

Supported Scenarios

PDF Garbled Text:

  • Box/question mark issues from font embedding problems
  • Garbled text from encoding conversion errors
  • Missing font substitution characters
  • Multi-language mixed encoding issues

SVG Garbled Text:

  • Text entity encoding errors
  • Special character escaping issues
  • Invalid font reference display abnormalities
  • XML encoding declaration errors

CLI Usage

# Fix single PDF
python scripts/main.py --input document.pdf --output fixed.pdf

# Fix single SVG
python scripts/main.py --input diagram.svg --output fixed.svg

# Batch process folder
python scripts/main.py --batch ./input_folder --output ./output_folder

# Interactive repair
python scripts/main.py --input doc.pdf --interactive

# Export editable JSON
python scripts/main.py --input doc.pdf --export-json editable.json

# Specify repair level
python scripts/main.py --input doc.pdf --output fixed.pdf --repair-level aggressive

Parameters

ParameterRequiredDescriptionDefault
--inputYes*Input PDF or SVG file path—
--batchYes*Batch input folder path—
--outputYesOutput file or folder path—
--repair-levelNominimal / standard / aggressivestandard
--interactiveNoEnable interactive repair modeFalse
--export-jsonNoExport editable JSON format—
--encodingNoSource file encoding (default: auto-detect)auto

*At least one of --input or --batch is required.

Repair Levels

  • Minimal: Only obvious errors (replacement characters, null bytes); maximum original integrity
  • Standard: Common encoding issues + smart font replacement; balanced repair rate and accuracy
  • Aggressive: Full text re-encoding + OCR-assisted recognition; for severely garbled documents

Output Format (JSON Export)

{
  "file_type": "pdf",
  "pages": [{
    "page_num": 1,
    "text_blocks": [{
      "id": "tb_001",
      "bbox": [100, 200, 300, 220],
      "original_text": "?????",
      "detected_encoding": "UTF-8",
      "confidence": 0.3,
      "suggested_fix": "Sample Text"
    }]
  }],
  "repair_summary": {
    "total_blocks": 15,
    "fixed_blocks": 12,
    "skipped_blocks": 3
  }
}

Input Validation

This skill accepts: PDF (.pdf) or SVG (.svg) file paths, or a folder path for batch processing, where the files contain garbled or unreadable text caused by font/encoding issues.

If the request does not involve PDF/SVG garbled text repair — for example, asking to convert file formats, edit PDF content directly, perform OCR on scanned images, or process non-vector files — do not proceed. Instead respond:

"vector-text-fixer is designed to fix garbled text in PDF/SVG vector graphics caused by font encoding issues. Your request appears to be outside this scope. Please provide a valid PDF or SVG file path, or use a more appropriate tool."

Error Handling

  • If --input receives a text string instead of a file path, report the error and request a valid file path.
  • If the file is encrypted, report that password unlock is required before processing.
  • If the task goes outside documented scope, stop instead of guessing.
  • If scripts/main.py fails, use the Fallback Template above.
  • Do not fabricate repaired text content or execution outcomes.

Output Requirements

Every final response must include:

  1. Objective — file(s) repaired and repair level used
  2. Inputs Received — file path, repair level, encoding settings
  3. Assumptions — defaults applied (repair level, encoding detection)
  4. Result — output file path, blocks fixed vs skipped
  5. Risks and Limits — confidence thresholds, manual review blocks
  6. Next Checks — review low-confidence blocks manually before use

Limitations

  • Encrypted PDFs require password unlock before processing
  • Severely damaged vector files may not be fully repairable
  • Some rare fonts may not map correctly
  • Scanned PDFs require OCR recognition first

Dependencies

pdfplumber >= 0.10.0
PyMuPDF >= 1.23.0
cairosvg >= 2.7.0
beautifulsoup4 >= 4.12.0
fonttools >= 4.40.0
chardet >= 5.0.0
Pillow >= 10.0.0

平台分布

OpenClaw

72.3%
按下载量换算679

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills