Skip to content
Agentmart
Submit a tool

PDF Extract

Extract plain UTF-8 text from local PDF files; pipeline input for summarize.

Skill by lordmacu

IndexedApache-2.0★ 8
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/lordmacu-pdf-extract

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

Extract plain UTF-8 text from local PDF files; pipeline input for summarize.

Use cases: documents, data

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/pdf-extract

What's inside

Skill name
PDF Extract
Description
Extract plain UTF-8 text from local PDF files; pipeline input for summarize.
License
Apache-2.0
Instructions
57 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: only lowercase letters, digits and single hyphens allowed
  • name: "PDF Extract" does not match folder "pdf-extract"

Files (1)

  • SKILL.md

SKILL.md (first lines)

# PDF Extract

Use this skill whenever the user drops a PDF and wants its content read,
quoted, searched, or summarized. The extension decodes PDFs in pure Rust
(no `pdftotext`, no Python), returns plain text, and truncates to keep the
result within a safe LLM window.

## Use when

- "Read this PDF"
- "What does this document say?" (after a PDF attachment)
- Summarizing a PDF — call this first, then pass the output to `summarize_text`
- Searching for specific text inside a PDF

## Do not use when

- The file is an image scan with no embedded text layer (OCR not done here)
- The file is a form with no flowing text (only fields)
- The user wants **editing**, not extraction — this tool is read-only

## Tools

### `status`
No arguments. Returns provider info, file-size limit, default char cap.

### `extract_text`
- `path` (string, required) — absolute or relative path to the PDF (≤ 25 MB)
- `max_chars` (integer, optional, 1..=1 000 000, default 200 000) — truncates output

Returns:

```
{
  "path": "...",
  "bytes": 12345,
  "max_chars": 200000,
  "truncated": false,
  "char_count": 1200,
  "total_char_count": 1200,
  "text": "..."
}
```

## Execution guidance

- Prefer `max_chars: 50000` when chaining into `summarize_text` (summarize
  rejects inputs > 60 000 chars).
- If `truncated: true`, warn the user the summary is based on the first N
  chars; offer to do a second pass on later pages with a different
  `max_chars` + byte offset (not yet supported).
- Error `-32602` on bad path → ask the user to confirm the absolute path.
- Error `-32006` on extraction failure → likely a scanned PDF with no text
  layer, or a corrupted file. Suggest an OCR tool (out of scope).
- For multi-step work (extract → summarize → store decision), wrap the
  chain in a TaskFlow so a restart doesn't lose progress.

From lordmacu/nexo-rs, Apache-2.0.

More from lordmacu/nexo-rs

Signals

Stars
8
Forks
4
Open issues
0
Last commit (this folder)
Apr 25, 2026 (6 months ago)
Last release
May 11, 2026 (5 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from lordmacu

Cite this page

PDF Extract skill. Agent Mart. https://agentmart.dev/skills/lordmacu-pdf-extract (last updated 2026-10-24)