Skip to content
Agentmart
Submit a tool

html-pdf-converter

Converte arquivos HTML para PDF usando o script html2pdf.sh.

Skill by rovanni

IndexedMIT★ 1
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/rovanni-html-pdf-converter

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Converte arquivos HTML para PDF usando o script html2pdf.sh. Suporta slides com JavaScript. Detecta automaticamente a melhor ferramenta disponível.

Use cases: documents, presentations, frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/html-pdf-converter

What's inside

Skill name
html-pdf-converter
Description
Converte arquivos HTML para PDF usando o script html2pdf.sh. Suporta slides com JavaScript. Detecta automaticamente a melhor ferramenta disponível.
License
MIT
Instructions
52 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • files: referenced but missing: scripts/html2pdf.sh

Files (1)

  • SKILL.md

SKILL.md (first lines)

# HTML to PDF Converter

Converte HTML para PDF usando o script dedicado `scripts/html2pdf.sh`.

## ⚠️ REGRAS ABSOLUTAS — VIOLAÇÃO = FALHA CRÍTICA

1. **USE APENAS** o comando `bash scripts/html2pdf.sh <arquivo.html>`. **NUNCA** improvise scripts npm/node inline.
2. **NUNCA** envie arquivos `.html` via `send_document`. Envie **APENAS** o `.pdf`.
3. **NUNCA** leia o conteúdo do HTML. Use `ls` apenas para confirmar o nome.
4. **NUNCA** instale pacotes npm (`npm install puppeteer` etc.). O script já detecta tudo.
5. O script imprime `PDF_GERADO: <caminho>`. Use EXATAMENTE esse caminho no `send_document`.

---

## Passo 1 — Converter (UM comando apenas)

Execute o script com o caminho do arquivo HTML:

```
exec_command: bash scripts/html2pdf.sh NOME.html
```

**Substitua `NOME.html` pelo arquivo real.** Exemplo: `bash scripts/html2pdf.sh Aula_Analise_Lexica_Completa_03.html`

O script detecta automaticamente a melhor ferramenta (puppeteer-core+Chrome > puppeteer > wkhtmltopdf) e imprime:
```
PDF_GERADO: /caminho/completo/NOME.pdf
METODO: puppeteer-core+chrome
TAMANHO: 12345 bytes
```

---

## Passo 2 — Enviar o PDF

Use `send_document` com EXATAMENTE o caminho da linha `PDF_GERADO:`:

```
send_document: file_path="/caminho/impresso/PDF_GERADO"
```

Se a linha disser `AVISO: wkhtmltopdf`, informe o usuário que JavaScript pode não ter renderizado.

---

## O que NÃO fazer

- ❌ `npm install puppeteer && node -e "..."` — NUNCA improvise
- ❌ `send_document(file_path="arquivo.html")` — NUNCA envie .html
- ❌ Tentar múltiplos métodos manualmente — o script já faz isso
- ❌ Ler o conteúdo do HTML — não é necessário

From rovanni/NewClaw, MIT.

Signals

Stars
1
Forks
0
Open issues
0
Last commit (this folder)
Jun 13, 2026 (4 months ago)
Last release
Jul 21, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from rovanni

Cite this page

html-pdf-converter skill. Agent Mart. https://agentmart.dev/skills/rovanni-html-pdf-converter (last updated 2026-10-24)