AI Plugin

Your AI workflow. One local OCR engine.

Connect OCRDeskew to Claude Code or Codex, or give your own agent the tool instructions. Audit scans, repair searchable text, and prepare PDFs on your computer.

01 · Claude Code

Install the Claude Code plugin.

Use audit, batch repair, and unlock commands, with helpers for parallel processing and result triage.

View source on GitHub ↗
  1. Add the marketplace and install.

    Paste both commands into Claude Code:

  2. Start with a folder audit.

    Ask Claude to assess a folder before repairing files:

    /ocr-audit ./production
  3. Repair or unlock when needed.

    Use /ocr-batch ./production for OCR repair or /ocr-unlock ./production for PDF restrictions. The plugin guides you through processing choices.

02 · Codex

Add OCRDeskew to Codex.

Five desktop skills cover audits, batch repair, PDF unlocking, parallel processing, and report triage.

Desktop only
  1. Add the repository marketplace.

    With a current Codex CLI installed, run this in your terminal:

  2. Install from the Plugins Directory.

    Choose OCRDeskew Plugins, then install OCRDeskew. In Codex CLI, use /plugins to browse your configured marketplaces. Start a new chat after installation.

  3. Try the audit skill.
    $ocr-audit Assess ./production without changing originals.

    Use $ocr-batch, $ocr-unlock, or $ocr-triage for the next step.

Requires Python 3 and the PDF dependencies listed in the guide. Available through our repository marketplace. The OpenAI public directory listing is awaiting verification and review.

03 · Your own agent

Copy the tool instructions.

Give your agent a ready-to-use prompt for creating an OCRDeskew tool or skill. It includes the CLI contract, quality modes, JSON results, and guidance for preserving originals.

Paste it into an agent that can run local commands. This also works for custom Claude Code or Codex workflows.

Read the CLI guide ↗

A tool prompt, ready to paste.

Copy the complete instructions, then ask your agent to set up the tool.

Read the full tool instructions

What the CLI looks like

The same local engine

Choose the interface that fits your work.

OCR and PDF helpers run locally. Your AI assistant’s prompts and tool results follow its own service configuration. External image analysis is a separate choice.

Get OCRDeskew