SKILL

vision-extract

Transcribe scanned page images into per-page + combined Markdown source text for induction, via a provider-neutral vision adapter (codex CLI or a generic command template for Claude/any vision tool). Resumable, with retry + `# Page N` validation + extraction-status markers; optionally rasterizes a PDF to page PNGs first. Runs via `aiwg corpus vision-extract`.

Target: Learning & research. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Scanned-Page Vision Extraction
  • How to run
  • Adapters (provider-neutral)
  • Contract preserved from the source script
  • PDF → page images
  • Triggers
  • Notes

Transcribe a directory of scanned page PNGs into Markdown source text — the acquisition step for inducting scanned books / pages. Provider-neutral: the vision call is a pluggable adapter, not hardcoded to one CLI. Save this wrapper as vision.sh; it receives the image, prompt file, and output paths as separate arguments: Outputs to .aiwg/research/sources/text/ -vision/: per-page pages/page-NNN.md, combined -vision.vision.md + stripped .txt, run.log. | --provider | Vision call | |---|---| | codex (default) | codex exec --sandbox read-only --image … --output-last-message (set AIWGCODEXBIN/--model as needed) | | command | a shell template (--command or AIWGVISIONCOMMAND) with {image} / {promptfile} / {out} placeholders — wire any vision CLI (Claude, a custom script). The command writes the transcription to {out} (or stdout). | Both require a vision-capable model to be reachable; needs-infrastructure. Command templates must use unquoted, unescaped placeholders: {image} → "$1", {promptfile} → "$2", {out} → "$3". Paths are passed as separate shell arguments; AIWGVISIONIMAGE, AIWGVISIONPROMPTFILE, and AIWGVISIONOUT are also exported. For example: vision-cli --image {image} --prompt-file {p

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
jmagly/aiwg
Source file
agentic/code/frameworks/research-complete/skills/vision-extract/SKILL.md
Fixed revision
03e7d995b268bacac4efcbdf496bbe15fb567036
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: jmagly/aiwg · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-12T05:02:18.254Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.