← Back to Skills Marketplace
wu-uk

marker

by wu-uk · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
80
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install latex-formula-extraction-marker
Description
Convert PDF documents to Markdown using marker_single. Use when Claude needs to extract text content from PDFs while preserving LaTeX formulas, equations, an...
README (SKILL.md)

Marker PDF-to-Markdown Converter

Convert PDFs to Markdown while preserving LaTeX formulas and document structure. Uses the marker_single CLI from the marker-pdf package.

Dependencies

  • marker_single on PATH (pip install marker-pdf if missing)
  • Python 3.10+ (available in the task image)

Quick Start

from scripts.marker_to_markdown import pdf_to_markdown

markdown_text = pdf_to_markdown("paper.pdf")
print(markdown_text)

Python API

  • pdf_to_markdown(pdf_path, *, timeout=600, cleanup=True) -> str
    • Runs marker_single --output_format markdown --disable_image_extraction
    • cleanup=True: use a temp directory and delete after reading the Markdown
    • cleanup=False: keep outputs in \x3Cpdf_stem>_marker/ next to the PDF
    • Exceptions: FileNotFoundError if the PDF is missing, RuntimeError for marker failures, TimeoutError if it exceeds the timeout
  • Tips: bump timeout for large PDFs; set cleanup=False to inspect intermediate files

Command-Line Usage

# Basic conversion (prints markdown to stdout)
python scripts/marker_to_markdown.py paper.pdf

# Keep temporary files
python scripts/marker_to_markdown.py paper.pdf --keep-temp

# Custom timeout
python scripts/marker_to_markdown.py paper.pdf --timeout 600

Output Locations

  • cleanup=True: outputs stored in a temporary directory and removed automatically
  • cleanup=False: outputs saved to \x3Cpdf_stem>_marker/; markdown lives at \x3Cpdf_stem>_marker/\x3Cpdf_stem>/\x3Cpdf_stem>.md when present (otherwise the first .md file is used)

Troubleshooting

  • marker_single not found: install marker-pdf or ensure the CLI is on PATH
  • No Markdown output: re-run with --keep-temp/cleanup=False and check stdout/stderr saved in the output folder
Usage Guidance
This skill is a thin wrapper around the external marker_single CLI (marker-pdf). The included Python is straightforward and only runs marker_single on a local PDF and reads resulting .md files. Before using: (1) ensure you trust the marker-pdf package you install (inspect its source or install from a reputable PyPI package), since the external CLI will be executed on your machine; (2) run it on non-sensitive documents first or in a sandbox if you have concerns about third-party tools; and (3) remember cleanup=False will leave output files next to the PDF. No credentials or network endpoints are required by the skill itself.
Capability Analysis
Type: OpenClaw Skill Name: latex-formula-extraction-marker Version: 0.1.0 The skill is a straightforward wrapper for the legitimate 'marker-pdf' library to convert PDF documents into Markdown. The implementation in 'scripts/marker_to_markdown.py' follows security best practices by using list-based subprocess calls to prevent shell injection and standard temporary directory handling for cleanup, with no evidence of malicious intent or data exfiltration.
Capability Assessment
Purpose & Capability
Name/description match the included code and instructions. The script only requires the marker_single CLI (marker-pdf) and operates on local PDF files; there are no unrelated dependencies or credentials.
Instruction Scope
SKILL.md and the script limit operations to running marker_single, reading its output, and optionally writing output folders next to the input PDF or a temp dir. The instructions do not ask for unrelated files, system config, or network endpoints.
Install Mechanism
No install spec is provided (instruction-only). The README suggests installing marker-pdf via pip, which is proportional. Nothing is fetched or extracted by the skill itself.
Credentials
The skill requires no environment variables, credentials, or config paths. Its access model (local filesystem for input PDF and optional output directory) is appropriate for its purpose.
Persistence & Privilege
The skill does not request always:true, does not modify other skills or global agent settings, and does not persist credentials. It only writes output files when requested or when cleanup=False.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install latex-formula-extraction-marker
  3. After installation, invoke the skill by name or use /latex-formula-extraction-marker
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Bulk publish from all-task-skills-dedup
Metadata
Slug latex-formula-extraction-marker
Version 0.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is marker?

Convert PDF documents to Markdown using marker_single. Use when Claude needs to extract text content from PDFs while preserving LaTeX formulas, equations, an... It is an AI Agent Skill for Claude Code / OpenClaw, with 80 downloads so far.

How do I install marker?

Run "/install latex-formula-extraction-marker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is marker free?

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

Which platforms does marker support?

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

Who created marker?

It is built and maintained by wu-uk (@wu-uk); the current version is v0.1.0.

💬 Comments