- name
SKILL.md
Tệp skill vẫn nằm trong kho mã của nhà phát hành.
Dán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add staskh/trading_skills --skill markdown-to-pdf -a cursor -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add staskh/trading_skills --skill markdown-to-pdf -a claude-code -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add staskh/trading_skills --skill markdown-to-pdf -a codex -yDán lệnh đã sao chép vào terminal. Lệnh sẽ cài đặt tệp SKILL.md này vào agent đó.
npx skills add staskh/trading_skills --skill markdown-to-pdf -a grok -yGửi tin nhắn đã sao chép trong cuộc trò chuyện Grok Bot. Bot sẽ lấy tệp SKILL.md này từ GitHub và thêm vào bộ skill mà mọi Bot của bạn dùng chung.
Install this skill: https://github.com/staskh/trading_skills/tree/HEAD/.claude/skills/markdown-to-pdfTừ nhà phát hành
Converts a markdown file to a professionally formatted PDF. Pure Python — no system tools required.
Requires two Python packages (already in pyproject.toml):
mistune>=3.2
reportlab>=4.0
Install with: uv sync (or pip install mistune reportlab)
uv run python .claude/skills/markdown-to-pdf/scripts/markdown_to_pdf.py <input.md> [output.pdf]
input.md — path to the markdown file (required)output.pdf — output path (optional; defaults to same directory and basename as input)The script returns JSON with:
success — true or falseinput — resolved absolute path of the input fileoutput — resolved absolute path of the generated PDFerror — error message if success is falsegenerated_at — NY timezone timestampdata_delay — always "real-time"After conversion, tell the user the output PDF path.
# Convert sandbox/report.md → sandbox/report.pdf (default output)
uv run python .claude/skills/markdown-to-pdf/scripts/markdown_to_pdf.py sandbox/report.md
# Explicit output path
uv run python .claude/skills/markdown-to-pdf/scripts/markdown_to_pdf.py sandbox/report.md sandbox/AAPL_Report_2026-05-20_1430.pdf
 with a local JPG or PNG, relative to the markdown file or absolute.
Each is scaled down to fit the page width and three quarters of its height, keeping its
aspect ratio. A missing file or a remote URL shows [image: alt] instead.Convert a markdown file to PDF using mistune + reportlab. Use when the user wants to convert a .md file to PDF, or when another skill needs to produce a PDF from markdown output.
---name: markdown-to-pdfdescription: Convert a markdown file to PDF using mistune + reportlab. Use when the user wants to convert a .md file to…---# .claude/skills/markdown-to-pdf/SKILL.mdCâu hỏi thường gặp
Tải .claude/skills/markdown-to-pdf/SKILL.md từ nhà phát hành, hoặc sao chép đường dẫn và mở kho mã. PlugMCP chỉ liệt kê skill và không lưu trữ tệp này.
Nhà phát hành duy trì nó tại https://github.com/staskh/trading_skills.
Claude, Cursor, Codex và Grok Build có thể đọc tệp SKILL.md mà bạn thêm từ kho mã của nhà phát hành. Grok Bot cài đặt skill khi bạn gửi liên kết thư mục GitHub của skill trong cuộc trò chuyện.