epub-chapter-extractor
EPUBチャプターをMarkdownに抽出
電子書籍を個別のチャプターファイルに変換するには時間がかかり、特殊なツールが必要です。このスキルは各チャプターを適切なフォーマットと番号付けで個別のMarkdownファイルに自動的に抽出します。
スキルZIPをダウンロード
Claudeでアップロード
設定 → 機能 → スキル → スキルをアップロードへ移動
オンにして利用開始
Agent向けリソース
AI Agent、クローラー、またはスクリプトがページ全体ではなくクリーンなコンテキストを必要とする場合は、これらのリンクを使ってください。
テストする
「epub-chapter-extractor」を使用しています。 Extract chapters from /path/to/novel.epub
期待される結果:
- Created output folder: /path/to/novel/
- Extracted 15/15 chapters:
- [01/15] 01_introduction.md
- [02/15] 02_chapter_one.md
- ...
- [15/15] 15_conclusion.md
- All chapters saved to /path/to/novel/
「epub-chapter-extractor」を使用しています。 Extract chapters from programming-book.epub to my-code-folder
期待される結果:
- Created output folder: my-code-folder/
- Extracted 12/12 chapters:
- [01/12] 01_introduction_to_programming.md
- [02/12] 02_variables_and_data_types.md
- ...
- All chapters saved to my-code-folder/
セキュリティ監査
中リスクStatic filesystem findings are true positives because the script creates an output directory and writes markdown files. Static external command findings are expected for this skill because SKILL.md instructs the assistant to run uv and open the output folder. The hidden home directory and weak cryptography alerts are false positives, with no evidence of prompt injection, network access, credential access, or malicious intent.
中リスクの問題 (2)
低リスクの問題 (3)
リスク要因
📁 ファイルシステムへのアクセス (4)
⚙️ 外部コマンド (3)
検出されたパターン
品質スコア
作れるもの
研究用ブックチャプターの抽出
学術電子書籍を個別のチャプターファイルに変換して、参照と引用管理を容易に
長文コンテンツの整理
マルチオーサーのアンソロジーや教科書を集中読書用に個別のドキュメントに分割
ブログ用の電子書籍コンテンツの準備
電子書籍チャプターをブログ記事や記事として再公開するためにMarkdownに変換
これらのプロンプトを試す
Extract all chapters from mybook.epub
Extract chapters from book.epub to my-output-folder
Extract chapters from /Users/name/Documents/book.epub
Extract all chapters from the textbook.epub in my downloads folder so I can analyze each chapter separately
ベストプラクティス
- 抽出前にEPUBファイルを専用フォルダーに配置して整理された出力を実現
- 意味のある出力フォルダー名を作成するために説明的なEPUBファイル名を使用
- 抽出されたMarkdownファイルがナビゲーション用のチャプターヘッダーを保持していることを確認
回避
- DRM保護された電子書籍で使用すると、抽出が利用規約に違反する可能性があるため使用しない
- テーブルなどの複雑なフォーマットが完璧に転送されるとは思わない
- すべてのEPUBファイルが適切に構造化された目次を持っていると思わない