Skip to content
Back to skills

Convert

ASecurity

Convert a PDF into an HTPD file (.htpd) so questions about it can be answered with page numbers. Use when the user wants a PDF turned into HTPD or asks about a PDF in the project.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 24, 2026
ai-agentsbashgit

Works with

  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 24, 2026

npx -y skills add narendrachampaneri/htpd --skill convert --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Convert?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Convert
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/narendrachampaneri-convert/badge)](https://www.skillsdirectory.com/skills/narendrachampaneri-convert)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: convert
description: Convert a PDF into an HTPD file (.htpd) so questions about it can be answered with page numbers. Use when the user wants a PDF turned into HTPD or asks about a PDF in the project.
argument-hint: "[file.pdf] [--single]"
license: Apache-2.0 (see LICENSE)
---

# Converting a PDF into HTPD

The HTPD converter turns a PDF into an `.htpd` file: the document's own
sections, every paragraph, table and code block with its page, its figures
as pictures with their captions, and text inside pictures read by OCR. It
runs on this computer; the PDF is never uploaded.

## Convert

Run (the first run downloads the converter for Linux x64, about 4 MB, once):

```
bash "${CLAUDE_PLUGIN_ROOT}/skills/convert/scripts/convert.sh" "${CLAUDE_PLUGIN_DATA}" "<file>.pdf" --single
```

* `--single` writes one file, `<file>.htpd`, next to the PDF: the whole
  document with reading rules, for any AI chat. Leave it out for the folder
  form (`<file>.htpd/`, one file per section).
* `-o <path>` writes somewhere else; `--force` replaces an earlier result.
* `--ocr off` skips OCR; `--figures off` leaves the pictures out (a smaller
  file).

The converter prints what it found: sections, pages, tables, figures, and
the pages it could not read. Tell the user the result in one or two lines.
If it says pages hold no text and OCR is not installed, say that
`sudo apt install tesseract-ocr` lets it read scanned pages.

The ready converter is for Linux x64 and WSL. On another system the script
says so; the converter can then be built from source
(https://github.com/narendrachampaneri/htpd#build-from-source), or an `htpd`
program on the PATH (or in `$HTPD_CONVERTER`) is used.

## Then

Answer questions about the document with the `htpd` skill of this plugin
(or the `htpd` MCP tools): only from the file, with pages, or
"Not found in this file."

When the user gave arguments, they are: $ARGUMENTS

Files in this skill

  • SKILL.md1.9 KB
  • scripts/convert.sh2.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.