Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/instavm/open-skills/pdf-text-replacenpx skills add instavm/open-skills --skill pdf-text-replacegit clone --depth 1 https://github.com/instavm/open-skillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/instavm/open-skills/pdf-text-replace)<a href="https://agentmods.dev/skills/instavm/open-skills/pdf-text-replace"><img src="https://agentmods.dev/badge/skills/instavm/open-skills/pdf-text-replace.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00042 | $0.00512 |
| Opus 5 | $0.00021 | $0.00256 |
| Sonnet 5 | $0.00008 | $0.00102 |
| Haiku 4.5 | $0.00004 | $0.00051 |
Grade A, and why
pdf-text-replace scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
This is a copy
100% identical to pdf-text-replace — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
PDF Text Replace Skill
Replace text in fillable PDF forms by updating form field values.
Description
This skill allows you to search and replace text in PDF files that have fillable form fields. It scans all form fields in the PDF, finds fields containing the search text, and replaces it with the replacement text.
Use Cases
- Update names in filled tax forms
- Replace addresses in PDF documents
- Update dates or reference numbers
- Batch update form field values
Requirements
- PDF must have fillable form fields (not flattened)
- Python 3.7+
- pypdf library
Usage
Basic Usage
python /app/uploads/skills/public/pdf-text-replace/scripts/replace_text_in_pdf.py \
/app/uploads/input.pdf \
"OLD TEXT" \
"NEW TEXT" \
/app/uploads/output.pdf
Example: Replace Name in Tax Form
python /app/uploads/skills/public/pdf-text-replace/scripts/replace_text_in_pdf.py \
/app/uploads/f5472.pdf \
"MANISH KUMAR" \
"MANNU KUMAR" \
/app/uploads/f5472_updated.pdf
Script Details
Script: scripts/replace_text_in_pdf.py
Arguments:
input_pdf- Path to input PDF filesearch_text- Text to search for in form fieldsreplace_text- Text to replace withoutput_pdf- Path to save the updated PDF
Output:
- Creates a new PDF with updated field values
- Preserves all form fields (not flattened)
- Reports number of fields modified
Limitations
- Only works with fillable PDF forms (not scanned/image PDFs)
- Replaces text in form field values, not static text
- Case-sensitive search by default
- Cannot modify flattened PDFs
Dependencies
The script requires the pypdf library, which is included in the container requirements.
Error Handling
The script will report errors if:
- Input PDF doesn't exist
- PDF doesn't have fillable form fields
- Search text is not found
- Output path is not writable
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 82 lines · 42 tokens per session scan A 0202efedea12
pdf-text-replace is a skill published in the GitHub repository instavm/open-skills (451 stars, last pushed 7mo ago), licensed Apache-2.0. It adds 42 tokens to every session and 512 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to pdf-text-replace, differing in 0 lines, and is treated as a copy.
Other skills, from other repositories
knowledge_base
Manage the user's personal knowledge base — knowledge graph, documents, and wiki vault.
odoo-reports
Expertise required to discover, generate, and analyze Odoo business reports like Invoices, Quotations, and Packing Slips.
Use when the task centers on a workspace .pdf file and needs native PDF reading, creation, filling, or reformatting. Supports readmode presets for speed vs coverage.
kagi-summarizer
Summarize any URL or text using Kagi's Universal Summarizer API. Supports multiple engines (including the enterprise-grade Muriel model), bullet-point takeaways, and output translation to 28 languages. Use when you need a high-quality summary of an article, paper, video transcript, or any document.
Process PDF files including extraction, creation, merging, splitting, OCR, and form filling.
test-skill-a
Test skill for unit testing. Handles PDF parsing, merging, and conversion.