affidavit-url-generator
Generate pre-filled affidavit URL for justlegalsolutions.org/affidavit from plain text field values or extracted court document data.
- License 许可
- MIT
- 最近更新
- 2026-09-18
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- affidavit-url-generator
- version
- 1.1.0
- description
- Generate pre-filled affidavit URL for justlegalsolutions.org/affidavit from plain text field values or extracted court document data.
02 资源文件 1
- 脚本scripts/affidavit_url.py2.5 KB
03 SKILL.md 正文
Affidavit URL Generator
When the user sends field values (one per line, key: value format) OR when the user sends court documents (PDFs), generate a pre-filled URL for their website's affidavit form.
Workflow
From court documents: Extract key fields from PDFs using PyMuPDF → map to allowed keys → generate URL.
From plain text: Parse key: value pairs → validate against allowed keys → generate URL.
Return ONLY the URL — no explanations, no markdown, no extra text.
Allowed Field Names (exact, case-sensitive)
- Name of Court
- Plaintiff/Petitioner
- Defendant/Respondent
- Case Number
- Recipient Name
- Address
- Documents
- Personal Service
- Substituted at Residence
- Substituted at Business
- Posting
- Non-Service
- Unknown at address
- Moved left no forwarding
- Service canceled by litigant
- Unable to serve in a timely fashion
- Address does not exist
- Other
- Service attempt 1 Date through Service attempt 6 Date
- Service attempt 1 time through Service attempt 6 time
- Comments
Rules
- IGNORE any key not in the allowed list
- Checkbox fields (Personal Service, Substituted at Residence, etc.): include with
=onif selected, omit entirely if not - Encoding: Key spaces→+, /→%2F; Value space→+, comma→%2C, apostrophe→%27, semicolon→%3B, colon→%3A, slash→%2F, ampersand→%26, question mark→%3F
- Return ONLY the URL, no explanations
Implementation
Run: python3 /root/just-legal-solutions/scripts/affidavit_url.py with the field text as input.
04 同仓库更多 Skills
zopack
Export and import zo.space route setups as shareable .zopack.md files. Use when the user wants to package their zo.space routes for sharing, or when they receive a .zopack.md file to deploy. Triggers on "export my zo.space", "create a zopack", "import this zopack", or any mention of .zopack.md files.
zoho-mail-inbox
Full inbox management for Zoho Mail (info@justlegalsolutions.org) — list unread, mark all as read, delete by sender/keyword, search, send from aliases, list folders. Fully self-contained — zero setup needed.
weekly-meeting-reminder
Get an email every Sunday evening listing your meetings for the coming week.
Let Zo use your X (Twitter) account
zo-tools
Internal process tools for Zo and Hermes — local search, document processing, OCR, and embeddings. All services run on localhost, zero HTTP slots consumed.
ssh-setup
Sets up secure remote access to your Zo Computer so you can connect from anywhere