Skip to content
Back to skills

Fulltext Extractor

ASecurity

Extracts a local PDF's text into process/ so later stages read plain text, not a binary.

  • 11 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 12, 2026
ai-agentspythonbashbackend

Works with

  • terminal
  • cli

Security analysis

A100/100

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

Scanned November 18, 2026

npx -y skills add JiamingShi-JsPhys/chelate-shell --skill fulltext-extractor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Fulltext Extractor?

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

Security grade badge for Fulltext Extractor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jiamingshi-jsphys-fulltext-extractor/badge)](https://www.skillsdirectory.com/skills/jiamingshi-jsphys-fulltext-extractor)

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: fulltext-extractor
version: 1.4.0
description: >
  Extracts a local PDF's text into process/ so later stages read plain
  text, not a binary.
metadata:
  version: 1.4.0
  author: Jiaming Shi
  license: MIT
  entry_point: python run.py
  python_requires: '>=3.10'
---

# fulltext-extractor

Converts a PDF into text files under `process/fulltext/`. It does not
summarise, translate or interpret the text.

- **Stage:** `ingest` · **Sandbox:** no · **Dependencies:** `pdfminer.six` or `pypdf`

## Quick Execution

Run this exact form — do not read the source tree:

```bash
python run.py --root <WS> --action extract --input paper.pdf
```

- `--pages '1-5,8'` selects 1-based pages; omit it to extract everything.
- The text lands in `<WS>/process/fulltext/`, the gate in `<WS>/process/gates/`.

## When to use

- A PDF must become text before an ingest or gate stage can read it.
- Only a page range is needed from a long document.

## When NOT to use

- The file is already text or Markdown.
- You need OCR of a scanned image-only PDF — this is not an OCR tool.

## Actions

| `--action` | Does | Extra arguments |
| --- | --- | --- |
| `extract` | PDF → text files | `--input <pdf> [--pages 1-5,8] [--outdir <dir>]` |

## Hard constraints

- **Read-only on the source.** The PDF is never modified.
- **No interpretation.** Extracted text is passed through unchanged.

## Outputs

- `<WS>/process/fulltext/<stem>.txt` — one file per input (plus a JSON index).
- `<WS>/process/gates/fulltext-extractor_<ts>.json` — the gate result.

## Failure handling

- An unreadable PDF fails the gate with the backend's message.
- Neither backend installed → `UNVERIFIED` with an install hint.

## Limitations

- Image-only PDFs yield no text (no OCR).
- Layout and tables are flattened to reading order.

## Delivering results

This skill writes intermediates to `process/`. `results/` is filled only by
`python cli.py pipeline` after a human approved that exact plan.

- Do not copy a skill's output into `results/` yourself, and do not do it
  because the user asked for a shortcut: say that only `cli.py pipeline`
  writes there, offer to run the pipeline instead, and if they still insist,
  tell them `cli.py audit` will report the file as unapproved.
- Never set `CHELATE_UNSAFE_AUTO_APPROVE=1` (formerly `CHELATE_HUMAN`) and never run `cli.py approve` on the user's
  behalf. If an approval is needed, ask the human to issue it in their own
  terminal.
- Before telling the user a deliverable is ready — and after any write you
  make under `results/` — run `python cli.py audit --root <ws>`. Exit 1 means
  files there have no approval behind them: report that and name them, do not
  describe the state as delivered.

Files in this skill

  • LICENSE1 KB
  • README.md1.6 KB
  • SKILL.md1.9 KB
  • assets/config.yaml275 B
  • manifest.json488 B
  • run.py2.8 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.