ocr-local
ローカル Tesseract OCR でスクリーンショット画像群を Markdown に文字起こしする。Playwright による自動スクショ取得も可能。社外秘ドキュメントを外部 API に出さずに処理したいときに使う。
Skill by gon9
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/gon9-ocr-local
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, backend, testing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/ocr-local
What's inside
- Skill name
ocr-local- Description
- ローカル Tesseract OCR でスクリーンショット画像群を Markdown に文字起こしする。Playwright による自動スクショ取得も可能。社外秘ドキュメントを外部 API に出さずに処理したいときに使う。
- License
- MIT
- Compatibility
- Python 3.14+, Tesseract OCR 4.x+, Playwright (optional)
- Instructions
- 72 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (10)
- README.md
- SKILL.md
- pyproject.toml
- ocr-usage.md · references/
- __init__.py · src/ocr_local/
- __main__.py · src/ocr_local/
- capture.py · src/ocr_local/
- ocr.py · src/ocr_local/
- test_capture.py · tests/
- test_ocr.py · tests/
SKILL.md (first lines)
# ocr-local ## Overview 社外秘 PDF や Web 閲覧専用ドキュメントのスクリーンショットを、外部 API を一切介さずローカルだけで Markdown に文字起こしするスキル。Playwright による Web ページの自動スクショ取得にも対応。 ## Capabilities ### 自動スクショ取得 (capture) Playwright (headless Chromium) で URL にアクセスし、ページ/スライドのスクショを自動保存する。手動スクショ不要。 - **Implementation**: `src/ocr_local/capture.py` - 3 つのキャプチャモード: 全ページ / スクロール / CSS セレクタ指定 ### ローカル OCR (ocr) スクリーンショット画像群を入力に、自然順ソートで処理し、frontmatter 付き Markdown を生成する。 - **Implementation**: `src/ocr_local/ocr.py` ### 一気通貫パイプライン (pipeline) URL -> スクショ取得 -> OCR -> Markdown 生成をワンコマンドで実行。 - **Reference**: See [references/ocr-usage.md](references/ocr-usage.md) for details. ## Usage ### キャプチャ + OCR を一気通貫 (推奨) ```bash uv run -m ocr_local pipeline https://example.com/slides -o output.md --title "文字起こし" --scroll ``` ### スクショだけ取得 ```bash uv run -m ocr_local capture https://example.com/slides -o ./screenshots/ --scroll ``` ### 既存画像から OCR だけ実行 ```bash uv run -m ocr_local ocr ./screenshots/ -o output.md --title "文字起こし" ``` ### キャプチャオプション | オプション | 説明 | デフォルト | |---|---|---| | `--scroll` | スクロールしながら複数枚キャプチャ | (無効) | | `--selector` | CSS セレクタで要素ごとにキャプチャ | (全体) | | `--width` / `--height` | ビューポートサイズ | 1920x1080 | | `--wait` | ページ読み込み後の待機秒数 | 2.0 | | `--prefix` | ファイル名プレフィックス | slide | | `--max-pages` | スクロール時の最大ページ数 | 100 | ### OCR オプション | オプション | 説明 | デフォルト | |---|---|---| | `--lang` | Tesseract 言語コード。縦書きなら `jpn_vert` | `jpn` | | `--psm` | Tesseract PSM。表が多い資料は `6` | `6` | | `--no-clean` | 日本語ノイズクリーニングを無効化 | (有効) | | `--readable` | frontmatter タグを `type/transcript` にする | (`type/raw`) | ## Prerequisites - Tesseract OCR (4.x 以上) + 日本語データ - macOS: `brew install tesseract tesseract-lang` - Ubuntu: `sudo apt-get install -y tesseract-ocr tesseract-ocr-jpn tesseract-ocr-jpn-vert` - Playwright (capture / pipeline サブコマンド使用時のみ) - `uv pip install 'ocr-local[capture]' && playwright install chromium`
From gon9/ore-skills, MIT.
More from gon9/ore-skills
- 0.570score
spec
gon9
Validates specification documents to ensure they contain required sections (概要, 要件, 構成).
SkillAFreshness: AClaude Code +9 - 0.570score
diary
gon9a
Interactive diary writing assistant that guides users through journal entries using interview-style questions.
SkillAFreshness: AClaude Code +9 - 0.570score
media
gon9
Fetches and processes YouTube video transcripts for analysis, summarization, and content extraction.
SkillAFreshness: AClaude Code +9 - 0.570score
pptx
gon9a
Generate PowerPoint presentations (.pptx) using Node.js and PptxGenJS.
SkillAFreshness: AClaude Code +9 - 0.564score
rules-generator
gon9a
プロジェクトのソースコード・依存関係・ディレクトリ構造を解析し、AGENTS.md を生成する。新規プロジェクトのセットアップ時、または既存の AGENTS.md の品質チェック・更新時に使用する。
SkillAFreshness: AClaude Code +9 - 0.561score
obsidian-utils
gon9
Manage and update personal indexes in an Obsidian Vault.
SkillAFreshness: AClaude Code +9 - 0.524score
setup-agent-notifications
gon9
Configure and diagnose reliable macOS notifications for Claude Code and Codex CLI.
SkillBFreshness: BClaude Code +9 - 0.474score
task-splitter
gon9a
Use this skill to decompose large features, epics, or complex requirements into small atomic tasks (10-15 minutes each).
SkillCFreshness: CClaude Code +9 - 0.474score
git-workflow
gon9a
Use this skill when creating git commit messages, branch names, or pull request descriptions.
SkillCFreshness: CClaude Code +9 - 0.474score
obsidian-triage
gon9a
Use this skill to organize, sort, or triage notes in an Obsidian vault inbox.
SkillCFreshness: CClaude Code +9 - 0.474score
prompt-linter
gon9a
Use this skill to review, diagnose, or improve AI prompts.
SkillCFreshness: CClaude Code +9 - 0.470score
context-optimizer
gon9a
Use this skill to compress long conversation threads into a compact checkpoint summary.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Sep 27, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/gon9/ore-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from gon9
- 0.570score
media
gon9
Fetches and processes YouTube video transcripts for analysis, summarization, and content extraction.
SkillAFreshness: AClaude Code +9 - 0.570score
spec
gon9
Validates specification documents to ensure they contain required sections (概要, 要件, 構成).
SkillAFreshness: AClaude Code +9 - 0.561score
obsidian-utils
gon9
Manage and update personal indexes in an Obsidian Vault.
SkillAFreshness: AClaude Code +9 - 0.524score
setup-agent-notifications
gon9
Configure and diagnose reliable macOS notifications for Claude Code and Codex CLI.
SkillBFreshness: BClaude Code +9 - 0.469score
efficient-fable
gon9
Use when running Claude Fable on codebase-heavy or token-heavy work and the user wants Fable to orchestrate research, coding, and testing while cheaper…
SkillCFreshness: CClaude Code +9
Cite this page
ocr-local skill. Agent Mart. https://agentmart.dev/skills/gon9-ocr-local (last updated 2026-10-24)