CommunityCoding & Developmentgithub.com

yescan-ai/yescan-skill

Quark Scanner — A three-in-one document AI skill pack for OpenClaw Agent: OCR text recognition (17 scenarios), document scanning enhancement (13 modes), and image-to-Office conversion (Word/Excel/PDF). Unlock 30+ capabilities with a single API key, ready with `openclaw skills install`.

What is yescan-skill?

The yescan-ai/yescan-skill is a comprehensive document AI skill pack designed for the OpenClaw Agent ecosystem. It provides three core capabilities: OCR text recognition supporting 17 different scenarios (such as ID cards, invoices, and handwritten text), document scanning enhancement with 13 modes (including perspective correction, contrast optimization, and noise reduction), and image-to-Office conversion that transforms images into editable Word, Excel, or PDF documents. All 30+ features are accessible through a single API key, making integration seamless. Developers can install this skill using the `openclaw skills install` command, and it works across the full OpenClaw Agent platform, enabling rapid development of document-processing AI agents without managing multiple services.

Works with~Claude Code~Codex CLI~Cursor
npx skills add yescan-ai/yescan-skill

Installed? Explore more Coding & Development skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

What does yescan-skill do?

Quark Scanner — A three-in-one document AI skill pack for OpenClaw Agent: OCR text recognition (17 scenarios), document scanning enhancement (13 modes), and image-to-Office conversion (Word/Excel/PDF). Unlock 30+ capabilities with a single API key, ready with openclaw skills install.

Overview

This skill integrates the Quark Scanning King (夸克扫描王) API into your OpenClaw Agent, giving it powerful document understanding and generation abilities. Whether you need to extract text from photos, enhance scanned documents, or convert images into editable Office files, this skill has you covered.

Features

  • OCR Text Recognition: Supports 17 common document scenarios including ID cards, bank cards, invoices, receipts, handwritten notes, printed text, business cards, and more. Returns structured text with layout information.
  • Document Scanning Enhancement: Apply 13 enhancement modes such as perspective correction, shadow removal, contrast adjustment, binarization, color enhancement, and noise reduction to improve document readability.
  • Image-to-Office Conversion: Convert images directly into:
    • Word (.docx) – editable text documents
    • Excel (.xlsx) – spreadsheets with detected tables
    • PDF (.pdf) – searchable and compressed PDFs
  • Single API Key: Access all 30+ capabilities using one API key obtained from the Quark Scanner developer portal.

Installation

openclaw skills install yescan-ai/yescan-skill

Configuration

Set the following environment variable or pass it during agent initialization:

YESCAN_API_KEY=your_api_key_here

Usage

Example 1: Recognize text from an image

result = await agent.execute("yescan-ai/yescan-skill", {
  "action": "ocr",
  "image_url": "https://example.com/receipt.jpg",
  "scenario": "receipt"
})
print(result.text)

Example 2: Enhance a scanned document

result = await agent.execute("yescan-ai/yescan-skill", {
  "action": "enhance",
  "image_url": "https://example.com/scan.jpg",
  "mode": "perspective_correction"
})
print(result.enhanced_image_url)

Example 3: Convert image to Excel

result = await agent.execute("yescan-ai/yescan-skill", {
  "action": "convert",
  "image_url": "https://example.com/table.png",
  "target_format": "xlsx"
})
print(result.download_url)

Supported Scenarios (OCR)

IDScenarioDescription
1id_cardChinese ID card
2bank_cardBank card number and details
3invoiceChinese invoice (fapiao)
4receiptGeneral receipt
5handwrittenHandwritten text
6printedPrinted book or document
7business_cardBusiness card
8passportPassport data page
9license_plateLicense plate (Chinese)
10vehicle_vinVehicle VIN number
11tableTable with rows and columns
12formStructured form
13menuMenu or price list
14labelProduct label or barcode
15codeQR code or barcode
16mixedMixed text and image
17generalGeneral purpose OCR

Supported Enhancement Modes

IDModeDescription
1autoAutomatic enhancement
2perspective_correctionCorrect perspective distortion
3shadow_removalRemove shadows
4contrast_optimizationOptimize contrast
5binarizationConvert to black-and-white
6color_enhancementEnhance colors
7noise_reductionReduce noise
8sharpeningSharpen the image
9deblurringReduce blur
10light_correctionCorrect uneven lighting
11straightenStraighten skewed images
12cropAuto crop to document borders
13compressCompress image while preserving quality

Limitations

  • Maximum file size for images: 20 MB
  • Supported image formats: PNG, JPG, JPEG, BMP, WEBP
  • Images must be in base64 encoding or accessible via public URL
  • OCR accuracy depends on image quality and text clarity
  • Conversion to Office formats may lose complex formatting (e.g., nested tables, merged cells)

API Key

To obtain your free API key, visit the Quark Scanner Developer Portal and create an account.

License

This skill is provided under the MIT License. See LICENSE for details.

Related Skills