Skip to content

Markdown-converting PDF reader that extracts page text and tables, built for WSL with pdfplumber.

CCM score
45 of 100
skills.sh installs
574
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers single-file reads and batch processing of multiple PDFs found by Glob, with results reported together
  • Includes scripts/read_pdf.py that outputs per-page headings, page numbers, and tables as Markdown tables
  • Converts Windows paths like C:\ to /mnt/c/ before running, and documents OCR and scanned-image PDFs as unsupported
  • Designed for Japanese-language document workflows in WSL environments that need text-layer PDFs turned into .md files

Install

$ npx -y skills add childbamboo/claude-code-marketplace-sample --skill pdf-reader -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PDF Reader

PDF ファイルをテキスト抽出して Markdown 形式に変換するスキルです。

クイックスタート

基本的な使い方

# WSL環境でPythonスクリプトを実行
wsl python3 scripts/read_pdf.py "/mnt/c/path/to/file.pdf"

Markdown形式で保存

  1. スクリプトでテキスト抽出
  2. Write ツールで .md ファイルに保存

前提条件

pdfplumber パッケージが必要です:

wsl pip3 install pdfplumber

使用例

例1: PDF ファイルを読み込んで内容を表示

User: "C:\Users\keita\repos\guideline.pdf を読み込んで"
Assistant:
1. Windowsパスを WSL パスに変換: /mnt/c/Users/keita/repos/guideline.pdf
2. wsl python3 scripts/read_pdf.py を実行
3. 抽出されたテキストを Markdown 形式で表示

例2: PDF を Markdown に変換して保存

User: "ガイドライン.pdf を Markdown に変換して保存"
Assistant:
1. scripts/read_pdf.py でテキスト抽出
2. Markdown形式で構造化(ページごとに見出し、テーブルも含む)
3. Write ツールで ガイドライン.md に保存
4. 保存完了を報告

ワークフロー

単一ファイルの読み込み

  1. ユーザーが PDF ファイルパスを指定
  2. Windows パスを WSL パス形式に変換 (C:\ → /mnt/c/)
  3. wsl python3 scripts/read_pdf.py を実行
  4. 抽出されたテキストを Markdown 形式で表示または保存

複数ファイルの一括処理

  1. Glob で .pdf ファイルを検索
  2. 各ファイルに対してスクリプトを実行
  3. 結果をまとめて報告

出力形式

Markdown 構造

# [PDFファイル名]

**Total Pages:** 10

---

## Page 1

[ページ1のテキスト内容]

### Tables

**Table 1:**

| 列1 | 列2 | 列3 |
| --- | --- | --- |
| データ1 | データ2 | データ3 |

---

Details

Repository
github.com/childbamboo/claude-code-marketplace-sample
Category
Office Files & Slides
First seen
Jun 3, 2026

Questions

What does the pdf-reader skill do?

The pdf-reader skill reads PDF files and extracts their text content into Markdown format. It handles tables and multi-page documents, keeping page numbers and producing structured output.

How do I install the pdf-reader skill?

Run npx -y skills add childbamboo/claude-code-marketplace-sample --skill pdf-reader -y in a project to install it. Once installed, the agent can read PDF documents and convert them to Markdown.

What does pdf-reader need before it works?

It requires the pdfplumber Python package, which the skill's setup notes install with pip3 inside WSL. The skill runs its script through WSL, and Windows paths are converted to WSL paths automatically.

Which skills lead the Office Files & Slides category, and where does pdf-reader stand?

Pdf-reader is listed in the Office Files & Slides category alongside slideshow, lark-doc, lark-drive, lark-sheets and lark-whiteboard. It focuses specifically on reading PDF text and tables into Markdown rather than creating slides or documents.

Can pdf-reader read scanned PDFs or extract images?

No, scanned PDFs that contain only images cannot be read, because the skill has no OCR support. Embedded objects and styling such as fonts and colors are also not extracted.

Similar to Pdf Reader

More Office Files & Slides