← Back to Skills Marketplace
henrch1

kindle2md

by henrCh1 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
198
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install 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 Ki...
README (SKILL.md)

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.mdoutput_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:

python "\x3Cskill_path>/scripts/kindle_notes_to_md.py" --override -o "\x3Coutput_dir>/\x3C书名>.md" "\x3C用户提供的HTML路径>"

Where:

  • \x3Cskill_path> is the path to this skill folder
  • \x3Coutput_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.

Usage Guidance
This skill appears to implement the advertised conversion, but there are mismatches and missing pieces you should address before running it: - Dependencies: The script requires Python plus packages (bs4/BeautifulSoup, pyperclip, eglogging). The skill provides no install instructions. Install those packages in a virtualenv or inspect and add an install step before use. - Config mismatch: SKILL.md tells you to edit references/config.md for output_dir, but the script never reads that file. Either run the script with -o pointing to your desired path, or modify the script to read config.md if you want that behavior. - File safety: The script will overwrite output files when run with --override. Double-check output paths to avoid accidental data loss. - Clipboard & logging: The script can copy output to the system clipboard (pyperclip) and uses eglogging which may load user logging configuration—review those behaviors if clipboard or local logging config access is a concern. Recommendations: inspect the script locally, run it in a controlled environment (e.g., temp folder or VM), install required Python packages explicitly, and correct the SKILL.md/install metadata or the script so the declared config and runtime behavior match. If you want higher assurance, request the author add an explicit install spec and a config-reading implementation (or remove the config.md instruction).
Capability Analysis
Type: OpenClaw Skill Name: kindle2md Version: 1.0.0 The kindle2md skill is a utility designed to convert Kindle HTML notebook exports into Obsidian-compatible Markdown files. The core logic in `scripts/kindle_notes_to_md.py` uses BeautifulSoup to parse local HTML files and generates structured Markdown with YAML frontmatter. The instructions in `SKILL.md` are well-aligned with the stated purpose, and no indicators of data exfiltration, malicious execution, or prompt injection were found.
Capability Assessment
Purpose & Capability
The code implements Kindle HTML → Markdown conversion which matches the name/description. However the SKILL.md asks the user to set output_dir in references/config.md, while the included Python script does not read that config file (it uses a CLI --output argument or defaults to next to the input file). Also required Python packages (bs4/pyperclip/eglogging) and the need for Python itself are not declared in the skill metadata or install spec.
Instruction Scope
SKILL.md instructs the agent to read references/config.md to obtain output_dir; that's reasonable, but the conversion script does not read that file, so the instructions and runtime behavior are inconsistent. The runtime instructions also rely on executing a local Python script with a user-supplied path (which can overwrite files if --override is used). The script has a clipboard mode (pyperclip) that can read/write the system clipboard but SKILL.md doesn't document that option in detail.
Install Mechanism
There is no install spec. The Python script depends on third-party packages (BeautifulSoup/bs4, pyperclip, eglogging) which are not declared or installed by the skill. Running the script may fail or require manual package installation; absence of an install step is an incoherence but not necessarily malicious.
Credentials
The skill does not request environment variables, credentials, or config paths. The script operates on user-supplied local files and can write output; these privileges are proportional to the stated purpose. Note: pyperclip interacts with the system clipboard (local) and eglogging may read user-level logging config depending on that library's behavior.
Persistence & Privilege
The skill does not request permanent presence (always:false) and does not modify other skills or system-wide agent settings. It writes output files only when invoked and can overwrite existing files if the --override flag is used.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install kindle2md
  3. After installation, invoke the skill by name or use /kindle2md
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of kindle2md skill: Convert Kindle HTML notebook exports to Obsidian Markdown format. - Supports file path input, automatic book title extraction, and filename formatting. - Reads output directory from configuration; prompts if not set. - Runs included Python script for conversion and overwrites existing files. - Provides clear success and error messages to users.
Metadata
Slug kindle2md
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 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 Ki... It is an AI Agent Skill for Claude Code / OpenClaw, with 198 downloads so far.

How do I install kindle2md?

Run "/install kindle2md" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is kindle2md free?

Yes, kindle2md is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does kindle2md support?

kindle2md is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created kindle2md?

It is built and maintained by henrCh1 (@henrch1); the current version is v1.0.0.

💬 Comments