AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Pdf Text Replace

skill-instavm-coderunner-pdf-text-replace · by instavm

Replace text in fillable PDF forms by updating form field values. This skill should be used when users need to update names, addresses, dates, or other text in PDF form fields.

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-instavm-coderunner-pdf-text-replace

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-instavm-coderunner-pdf-text-replace)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Pdf Text Replace? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

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:

  1. input_pdf - Path to input PDF file
  2. search_text - Text to search for in form fields
  3. replace_text - Text to replace with
  4. output_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

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.