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`.
原文 · 译文尚未补齐适用对象:学习与科研。自动收录 · 待核查。
原作者说明节选
从固定版本的 SKILL.md 提取,保留原文语言。以下内容属于作者说明,本站尚未验证安装、兼容或运行结果。
查看英文原文
原文涵盖的主题
- 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
这里只展示节选,请以完整原文和当前要求为准。
- 来源仓库
- jmagly/aiwg
- 源文件
- agentic/code/frameworks/research-complete/skills/vision-extract/SKILL.md
- 固定版本
- 03e7d995b268bacac4efcbdf496bbe15fb567036
来源与内容状态
本条为自动发现的元数据,尚未完成人工文档核查;适用性与运行结果待核查。
原作者:jmagly/aiwg · 原作者仓库元数据。文档核查:未核查。最近来源检查:2026-11-12T05:02:18.254Z。
分类由名称、说明与路径规则生成,分类不代表已核实适配。
许可与权利归属
MIT。第三方内容及版权归原作者,使用条件以原文为准。
许可原文 ↗本站没有因同步、复制或用户自报成功而将资源标为运行验证通过。
限制与注意事项
- 元数据收录不代表本站已经安装、适配、实测或进行安全审查。