{"id":122760,"plugin_id":"plugin_asdk_app_6af968a31a648191987aae110dc3436a","kind":"skill","collection_source":"plugin_package","comparison_source":null,"observed_at":"2026-11-28T12:17:01.505Z","digest":"b06f2b0c1f797c371143f3058f5232a01bc5d84795e843d94a93ba961f9377e1","against":null,"payload":{"description":"Permanently remove personal data from a PDF, scan, photo or screenshot before it is sent, filed or attached, or anonymize it so the document stays readable with tags such as [Person 1]. Use when the user asks to redact, black out, anonymize or pseudonymize names, addresses, phone numbers, emails, bank details, card numbers or ID numbers in a document.","included_files":[],"name":"redact-before-sharing","skill_md_contents":"---\nname: redact-before-sharing\ndescription: Permanently remove personal data from a PDF, scan, photo or screenshot before it is sent, filed or attached, or anonymize it so the document stays readable with tags such as [Person 1]. Use when the user asks to redact, black out, anonymize or pseudonymize names, addresses, phone numbers, emails, bank details, card numbers or ID numbers in a document.\n---\n\n# Redact or anonymize a document\n\n## 1. Get the document\n\nCall `create_upload_link` and give the user the `upload_url` as a link. They choose the file on that page and it goes straight to Redact PDF AI, not through this conversation. Do not read an attached copy of the document before redacting it.\n\n## 2. Run it\n\nWhen the user says the file is uploaded, call `redact_pdf_and_wait` with the `upload_id`.\n\n- To black out personal data, leave `mode` at its default.\n- To keep the document readable, pass `mode: \"pseudonymize\"`: every person, company and address becomes a consistent tag such as [Person 1], and the result includes `document_text`, the document with tags in place of names.\n- `pii_excluded_terms` keeps words visible, such as the employer's name on a payslip. `pii_included_terms` always removes extra words, such as a reference number.\n\nIf the answer is `waiting_for_upload`, the user has not finished: ask them, then call it again.\n\n## 3. Report back\n\nGive the user the `download_url` as a link and the page count. The removed text is deleted from the file, not hidden under a box. Automatic detection can miss something, so for a filing or anything public the user should check the redacted PDF before sending it.\n\nIn pseudonymize mode, work only from `document_text` and keep every tag exactly as written. When the user wants the real names back in what you wrote, call `restore_names` with the `document_id`, the `text_version` and your text, and give them the link it returns. Never open the correspondence link yourself: it contains the real names.\n\n## 4. Delete on request\n\nWhen the user asks to delete a document, confirm first, then call `delete_job` with the `job_id`. The files and links stop working at once.\n"},"changes":[],"summary":"First saved snapshot. No earlier version is available for comparison.","summary_kind":"deterministic","summary_metadata":{}}