Skip to main content

kindle2md

Convert Kindle HTML notebook exports to Obsidian Markdown format. Use this when the user wants to convert a Kindle book notes HTML file (exported from the Kindle app) into a Markdown file suitable for Obsidian. Trigger when user mentions "kindle", "读书笔记", "Kindle笔记", "笔记本.html", or wants to convert book highlights to markdown.

설치로 이동

소스 정보

저장소
knownasnaffy/prompthound
최근 소스 활동
2026년 7월 6일 07:03
감지된 SKILL.md 언어
영어
스타
0
포크
1

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
3 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
kindle2md
description
Convert Kindle HTML notebook exports to Obsidian Markdown format. Use this when the user wants to convert a Kindle book notes HTML file (exported from the Kindle app) into a Markdown file suitable for Obsidian. Trigger when user mentions "kindle", "读书笔记", "Kindle笔记", "笔记本.html", or wants to convert book highlights to markdown.
# Kindle to Markdown Use this skill to convert Kindle HTML notebook exports to Obsidian Markdown format. ## Setup (First Time Only) Before using, configure the output directory by editing `references/config.md`. **Read `references/config.md`** to get the `output_dir` value. If the value is still "CHANGE_TO_YOUR_OBSIDIAN_BOOKS_PATH", remind the user to configure it first. ## Input The user will provide an HTML file path, for example: - `/kindle2md "下载/动物农场.html"` - `/kindle2md "C:/Users/Downloads/动物农场 (Z-Library) - 笔记本.html"` Extract the book title from the HTML filename: - Remove path and extension - Remove metadata like "[英]作者", "(Z-Library)", " - 笔记本" ## Output **Output directory**: Read from `references/config.md` → `output_dir` **Output filename**: `{书名}.md` Example: for input file `动物农场 ([英]乔治·奥威尔) (Z-Library) - 笔记本.html`, output should be `动物农场.md` If file already exists, overwrite it. ## Runtime Run the conversion script from the scripts folder: ```bash python "<skill_path>/scripts/kindle_notes_to_md.py" --override -o "<output_dir>/<书名>.md" "<用户提供的HTML路径>" ``` Where: - `<skill_path>` is the path to this skill folder - `<output_dir>` is read from `references/config.md` ## Success Report to the user: - "转换完成!文件已保存到: {output_path}" ## Errors If the HTML file doesn't exist or is invalid, report the error to the user clearly.
GitHub에서 보기