Perform basic local PDF operations (merge, split, extract pages/text/tables, create) when users request offline PDF processing without external services.
63
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./scientific-skills/Other/pdf-processor/SKILL.md1-3,5) into a new PDF..txt file without using any cloud API.Install Python dependencies:
pip install -r scripts/requirements.txtMore examples may be available in
references/examples.md.
python scripts/pdf_tool.py \
--operation merge \
--inputs "a.pdf" "b.pdf" \
--output "out.pdf"python scripts/pdf_tool.py \
--operation split \
--inputs "input.pdf" \
--output "out_dir"python scripts/pdf_tool.py \
--operation extract-pages \
--inputs "input.pdf" \
--pages "1-3,5" \
--output "extracted.pdf".txt filepython scripts/pdf_tool.py \
--operation extract-text \
--inputs "input.pdf" \
--output "output.txt"python scripts/pdf_tool.py \
--operation extract-tables \
--inputs "input.pdf" \
--output "tables_out_dir"python scripts/pdf_tool.py \
--operation create \
--inputs "input.txt" \
--output "created.pdf"scripts/pdf_tool.py) that reads from provided input paths and writes only to the specified output path.merge: Concatenates PDFs in the order provided via --inputs.split: Writes one PDF per page (output is typically a directory path).extract-pages: Uses --pages to select pages and writes a new PDF.extract-text: Extracts selectable text; pages with no extractable text may yield empty lines.extract-tables: Attempts table detection/extraction; pages without tables may produce empty CSV outputs.create: Produces a simple PDF from a text input.--pages "1-3,5" where page numbering starts at 1.--pages are ignored.pdf_processor_result.md unless the skill documentation defines a better convention.This skill accepts requests that match the documented purpose of pdf-processor and include enough context to complete the workflow safely.
Do not continue the workflow when the request is out of scope, missing a critical input, or would require unsupported assumptions. Instead respond:
pdf-processoronly handles its documented workflow. Please provide the missing required inputs or switch to a more suitable skill.
Run this minimal verification path before full execution when possible:
python scripts/pdf_tool.py --helpExpected output format:
Result file: pdf_processor_result.md
Validation summary: PASS/FAIL with brief notes
Assumptions: explicit list if any63c61d3
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.