[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77JNSKKT4TRA825P1MXEPYR":3,"skill-same:01M77JNSKKT4TRA825P1MXEPYR":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M77JNSKKT4TRA825P1MXEPYR","pdf",null,"Read, create, inspect, render, and verify PDF files where visual layout matters, including fillable AcroForms. Use Poppler rendering plus Python tools such as reportlab, pdfplumber, and pypdf for generation and extraction.","raaOS\u002Fsystem_prompts_leaks","raaOS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F214067397?v=4","01M77HV6K4ZTA4BZAGX00GTW6J","01M77HV6KX55HVRY679V25JXF8",0,"CC0-1.0","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002FCodex\u002Fplugins\u002Fpdf\u002Fskills\u002Fpdf\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"pdf\"\ndescription: \"Read, create, inspect, render, and verify PDF files where visual layout matters, including fillable AcroForms. Use Poppler rendering plus Python tools such as reportlab, pdfplumber, and pypdf for generation and extraction.\"\n---\n\n# PDF Skill\n\n## When To Use\n\n- Read or review PDF content where layout and visuals matter.\n- Create PDFs programmatically with reliable formatting.\n- Fill and validate interactive PDF forms.\n- Validate final rendering before delivery.\n\n## Tools + Contract Requirements\n\nImmediately before the first create\u002Fedit authoring command, run `mark_artifact_operation_started.mjs` successfully exactly once using the command below. Do not run it for read-only work. For edits, replace `create` with `edit`; adjust the expected count and output format to match the requested outputs.\n\n\n\n```bash\nnode container_tools\u002Fmark_artifact_operation_started.mjs --operation-kind create --expected-output-count 1 --output-format pdf\n```\n\n## Workflow\n\n1. Prefer visual review: render PDF pages to PNGs and inspect them.\n   - Use `pdftoppm` from the bundled runtime or system Poppler when available.\n   - If unavailable, install Poppler or ask the user to review the output locally.\n2. Use `reportlab` to generate PDFs when creating new documents.\n3. Use `pdfplumber` or `pypdf` for text extraction and quick checks; do not rely on text extraction for layout fidelity.\n4. After each meaningful update, re-render pages and verify alignment, spacing, and legibility.\n\n## Fill And Validate AcroForms\n\nVisual review alone is not a correctness check for a fillable PDF. A page `\u002FWidget` annotation can render a value from its appearance stream while the canonical `\u002FAcroForm\u002FFields` tree is missing or contains a stale value.\n\n1. Keep the result interactive by default; set `flatten=True` only when the user explicitly requests a completed, static form. Preserve the source PDF, and do not flatten a signed PDF without an explicit workflow decision.\n2. Inspect both representations before filling: enumerate fields from `reader.get_fields()` and `\u002FWidget` annotations from every page's `\u002FAnnots`, following `\u002FParent` and `\u002FKids`. If a widget and a canonical field have the same name but are distinct objects with no `\u002FParent` relationship, do not call `reattach_fields()` blindly: it can create a second top-level field with the same name. Report the ambiguity or produce a static result.\n3. Recover genuinely orphaned widgets, fill all pages, and write the result with `pypdf`:\n\n```python\nfrom pypdf import PdfReader, PdfWriter\nfrom pypdf.generic import NameObject\n\nreader = PdfReader(input_pdf)\nwriter = PdfWriter()\nwriter.clone_document_from_reader(reader)\n\n# Restores widgets that are missing from \u002FAcroForm\u002FFields.\nwriter.reattach_fields()\nfields = writer.get_fields() or {}\nmissing = set(expected_values) - set(fields)\nif missing:\n    raise ValueError(f\"Form fields not found after repair: {sorted(missing)}\")\n\nvalues_to_write = dict(expected_values)\nif flatten:\n    # Paint every existing value before removing every widget.\n    values_to_write = {\n        name: field.get(\"\u002FV\", \"\u002FOff\" if field.get(\"\u002FFT\") == \"\u002FBtn\" else \"\")\n        for name, field in fields.items()\n    }\n    values_to_write.update(expected_values)\n\nwriter.update_page_form_field_values(\n    None, values_to_write, auto_regenerate=False, flatten=flatten\n)\n\nif flatten:\n    # pypdf's flatten=True paints appearances but does not remove widgets.\n    writer.remove_annotations(subtypes=\"\u002FWidget\")\n    writer.root_object.pop(NameObject(\"\u002FAcroForm\"), None)\n\nwith open(output_pdf, \"wb\") as stream:\n    writer.write(stream)\n```\n\n4. Reopen the written PDF before delivery. For an interactive result, require every expected field to be present in `get_fields()` with the expected `\u002FV`, enumerate page widgets again, and confirm their effective `\u002FV` (the widget value or inherited `\u002FParent` value) agrees. Confirm each updated widget has a non-empty `\u002FAP` `\u002FN` appearance and render the final pages to catch stale or clipped appearances. Do not rely on `\u002FNeedAppearances` or a successful PNG render as proof that logical field data was updated.\n5. For a flattened result, require zero `\u002FWidget` annotations and no remaining `\u002FAcroForm` field tree after reopening, then render the final pages. Keep an editable copy when the user may need to revise the form.\n\n## Temp And Output Conventions\n\n- Use `tmp\u002Fpdfs\u002F` for intermediate files; delete them when done.\n- Write final artifacts under `output\u002Fpdf\u002F` when working in this repo.\n- Keep filenames stable and descriptive.\n\n## Dependencies\n\nPrefer the Codex bundled workspace\u002Fruntime dependencies when available. The primary runtime is expected to include:\n\n- Python packages: `reportlab`, `pdfplumber`, `pypdf`\n- Rendering tools: `pdftoppm` and `pdfinfo` from Poppler\n\nIf a dependency is missing, install only what is needed.\n\nPython packages:\n\n```bash\nuv pip install reportlab pdfplumber pypdf\n```\n\nIf `uv` is unavailable:\n\n```bash\npython3 -m pip install reportlab pdfplumber pypdf\n```\n\nSystem tools for rendering:\n\n```bash\n# macOS (Homebrew)\nbrew install poppler\n\n# Ubuntu\u002FDebian\nsudo apt-get install -y poppler-utils\n```\n\nIf installation is not possible in this environment, tell the user which dependency is missing and how to install it locally.\n\n## Environment\n\nNo required environment variables.\n\n## Rendering Command\n\n```bash\npdftoppm -png \"$INPUT_PDF\" \"$OUTPUT_PREFIX\"\n```\n\n## Quality Expectations\n\n- Maintain polished visual design: consistent typography, spacing, margins, and section hierarchy.\n- Avoid rendering issues: clipped text, overlapping elements, broken tables, black squares, or unreadable glyphs.\n- Charts, tables, and images must be sharp, aligned, and clearly labeled.\n- Use ASCII hyphens only. Avoid U+2011 and other Unicode dashes.\n- Citations and references must be human-readable; never leave tool tokens or placeholder strings.\n\n## Final Checks\n\n- Do not deliver until the latest PNG inspection shows zero visual or formatting defects.\n- Confirm headers, footers, page numbering, and section transitions look polished.\n- Keep intermediate files organized or remove them after final approval.\n\n## Final response\n\n### Final Response Citations\n\n- **Create\u002Fedit:** for created or edited PDFs, cite each final deliverable exactly once with `purpose=\"output\"`, in its own paragraph. Briefly describe the result without repeating its filename, path, or link. Never put output directives inside prose or list items.\n- **Q&A and summaries:** Every file whose contents you summarize or use to support an answer MUST receive a `:codex-file-citation{...}` with `purpose=\"source\"` in the final response. Use the source citation in place of the filename, wherever the filename would appear. Do not write the filename separately and append its citation at the end. Files merely inspected but not used in the answer need no citation. Do not emit output citations for unchanged files or read-only answers.\n\n- Emit `:codex-file-citation{...}` directly, without backticks, code fences, or a Markdown-link wrapper. Use verified targets only. No need to cite or reference intermediate work.\n\nFor file citations, set `path` to the verified absolute file path on the task host. Omit `mode`.\n\nSome illustrative examples, real responses use verified targets outside code fences.\n\n```text\n:codex-file-citation{path=\"\u002Fabsolute\u002Fpath\u002Freview.pdf\" purpose=\"output\"}\n```\n\n```text\nThe review of :codex-file-citation{path=\"\u002Fabsolute\u002Fpath\u002Freview.pdf\" purpose=\"source\"} is due Friday.\n```\n\n\n### Additional Citation Guidance\n\nFor PDF Q&A, inspect complete relevant pages and preserve material headings, table\u002Ffigure labels, footnotes, sources, and sample sizes. PDF citations support only plain file citations; do not add `artifact_kind`, `page_number`, or other locators.\n","# PDF Skill\n\n## When To Use\n\n- Read or review PDF content where layout and visuals matter.\n- Create PDFs programmatically with reliable formatting.\n- Fill and validate interactive PDF forms.\n- Validate final rendering before delivery.\n\n## Tools + Contract Requirements\n\nImmediately before the first create\u002Fedit authoring command, run `mark_artifact_operation_started.mjs` successfully exactly once using the command below. Do not run it for read-only work. For edits, replace `create` with `edit`; adjust the expected count and output format to match the requested outputs.\n\n\n\n```bash\nnode container_tools\u002Fmark_artifact_operation_started.mjs --operation-kind create --expected-output-count 1 --output-format pdf\n```\n\n## Workflow\n\n1. Prefer visual review: render PDF pages to PNGs and inspect them.\n   - Use `pdftoppm` from the bundled runtime or system Poppler when available.\n   - If unavailable, install Poppler or ask the user to review the output locally.\n2. Use `reportlab` to generate PDFs when creating new documents.\n3. Use `pdfplumber` or `pypdf` for text extraction and quick checks; do not rely on text extraction for layout fidelity.\n4. After each meaningful update, re-render pages and verify alignment, spacing, and legibility.\n\n## Fill And Validate AcroForms\n\nVisual review alone is not a correctness check for a fillable PDF. A page `\u002FWidget` annotation can render a value from its appearance stream while the canonical `\u002FAcroForm\u002FFields` tree is missing or contains a stale value.\n\n1. Keep the result interactive by default; set `flatten=True` only when the user explicitly requests a completed, static form. Preserve the source PDF, and do not flatten a signed PDF without an explicit workflow decision.\n2. Inspect both representations before filling: enumerate fields from `reader.get_fields()` and `\u002FWidget` annotations from every page's `\u002FAnnots`, following `\u002FParent` and `\u002FKids`. If a widget and a canonical field have the same name but are distinct objects with no `\u002FParent` relationship, do not call `reattach_fields()` blindly: it can create a second top-level field with the same name. Report the ambiguity or produce a static result.\n3. Recover genuinely orphaned widgets, fill all pages, and write the result with `pypdf`:\n\n```python\nfrom pypdf import PdfReader, PdfWriter\nfrom pypdf.generic import NameObject\n\nreader = PdfReader(input_pdf)\nwriter = PdfWriter()\nwriter.clone_document_from_reader(reader)\n\n# Restores widgets that are missing from \u002FAcroForm\u002FFields.\nwriter.reattach_fields()\nfields = writer.get_fields() or {}\nmissing = set(expected_values) - set(fields)\nif missing:\n    raise ValueError(f\"Form fields not found after repair: {sorted(missing)}\")\n\nvalues_to_write = dict(expected_values)\nif flatten:\n    # Paint every existing value before removing every widget.\n    values_to_write = {\n        name: field.get(\"\u002FV\", \"\u002FOff\" if field.get(\"\u002FFT\") == \"\u002FBtn\" else \"\")\n        for name, field in fields.items()\n    }\n    values_to_write.update(expected_values)\n\nwriter.update_page_form_field_values(\n    None, values_to_write, auto_regenerate=False, flatten=flatten\n)\n\nif flatten:\n    # pypdf's flatten=True paints appearances but does not remove widgets.\n    writer.remove_annotations(subtypes=\"\u002FWidget\")\n    writer.root_object.pop(NameObject(\"\u002FAcroForm\"), None)\n\nwith open(output_pdf, \"wb\") as stream:\n    writer.write(stream)\n```\n\n4. Reopen the written PDF before delivery. For an interactive result, require every expected field to be present in `get_fields()` with the expected `\u002FV`, enumerate page widgets again, and confirm their effective `\u002FV` (the widget value or inherited `\u002FParent` value) agrees. Confirm each updated widget has a non-empty `\u002FAP` `\u002FN` appearance and render the final pages to catch stale or clipped appearances. Do not rely on `\u002FNeedAppearances` or a successful PNG render as proof that logical field data was updated.\n5. For a flattened result, require zero `\u002FWidget` annotations and no remaining `\u002FAcroForm` field tree after reopening, then render the final pages. Keep an editable copy when the user may need to revise the form.\n\n## Temp And Output Conventions\n\n- Use `tmp\u002Fpdfs\u002F` for intermediate files; delete them when done.\n- Write final artifacts under `output\u002Fpdf\u002F` when working in this repo.\n- Keep filenames stable and descriptive.\n\n## Dependencies\n\nPrefer the Codex bundled workspace\u002Fruntime dependencies when available. The primary runtime is expected to include:\n\n- Python packages: `reportlab`, `pdfplumber`, `pypdf`\n- Rendering tools: `pdftoppm` and `pdfinfo` from Poppler\n\nIf a dependency is missing, install only what is needed.\n\nPython packages:\n\n```bash\nuv pip install reportlab pdfplumber pypdf\n```\n\nIf `uv` is unavailable:\n\n```bash\npython3 -m pip install reportlab pdfplumber pypdf\n```\n\nSystem tools for rendering:\n\n```bash\n# macOS (Homebrew)\nbrew install poppler\n\n# Ubuntu\u002FDebian\nsudo apt-get install -y poppler-utils\n```\n\nIf installation is not possible in this environment, tell the user which dependency is missing and how to install it locally.\n\n## Environment\n\nNo required environment variables.\n\n## Rendering Command\n\n```bash\npdftoppm -png \"$INPUT_PDF\" \"$OUTPUT_PREFIX\"\n```\n\n## Quality Expectations\n\n- Maintain polished visual design: consistent typography, spacing, margins, and section hierarchy.\n- Avoid rendering issues: clipped text, overlapping elements, broken tables, black squares, or unreadable glyphs.\n- Charts, tables, and images must be sharp, aligned, and clearly labeled.\n- Use ASCII hyphens only. Avoid U+2011 and other Unicode dashes.\n- Citations and references must be human-readable; never leave tool tokens or placeholder strings.\n\n## Final Checks\n\n- Do not deliver until the latest PNG inspection shows zero visual or formatting defects.\n- Confirm headers, footers, page numbering, and section transitions look polished.\n- Keep intermediate files organized or remove them after final approval.\n\n## Final response\n\n### Final Response Citations\n\n- **Create\u002Fedit:** for created or edited PDFs, cite each final deliverable exactly once with `purpose=\"output\"`, in its own paragraph. Briefly describe the result without repeating its filename, path, or link. Never put output directives inside prose or list items.\n- **Q&A and summaries:** Every file whose contents you summarize or use to support an answer MUST receive a `:codex-file-citation{...}` with `purpose=\"source\"` in the final response. Use the source citation in place of the filename, wherever the filename would appear. Do not write the filename separately and append its citation at the end. Files merely inspected but not used in the answer need no citation. Do not emit output citations for unchanged files or read-only answers.\n\n- Emit `:codex-file-citation{...}` directly, without backticks, code fences, or a Markdown-link wrapper. Use verified targets only. No need to cite or reference intermediate work.\n\nFor file citations, set `path` to the verified absolute file path on the task host. Omit `mode`.\n\nSome illustrative examples, real responses use verified targets outside code fences.\n\n```text\n:codex-file-citation{path=\"\u002Fabsolute\u002Fpath\u002Freview.pdf\" purpose=\"output\"}\n```\n\n```text\nThe review of :codex-file-citation{path=\"\u002Fabsolute\u002Fpath\u002Freview.pdf\" purpose=\"source\"} is due Friday.\n```\n\n\n### Additional Citation Guidance\n\nFor PDF Q&A, inspect complete relevant pages and preserve material headings, table\u002Ffigure labels, footnotes, sources, and sample sizes. PDF citations support only plain file citations; do not add `artifact_kind`, `page_number`, or other locators.\n",{"name":5,"description":7},"main","2975a5ac469614541ae22929d43b6da2635e1ee9","OpenAI\u002FCodex\u002Fplugins\u002Fpdf\u002Fskills\u002Fpdf","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks","https:\u002F\u002Fgithub.com\u002FraaOS","2026-11-14 21:19:17",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add raaOS\u002Fsystem_prompts_leaks --skill pdf",{"tool":35,"command":36},"bunx","bunx skills add raaOS\u002Fsystem_prompts_leaks --skill pdf",{"tool":38,"command":39},"pnpm","pnpm dlx skills add raaOS\u002Fsystem_prompts_leaks --skill pdf","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002FCodex\u002Fplugins\u002Fpdf\u002Fskills\u002Fpdf\u002FSKILL.md",true,[],[44,50,57,64,71,78],{"skillNo":45,"name":46,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":47,"categories":48,"keywords":49,"publishedAt":18},"01M77JV1M0ZZTZZREM9Q96TKZZ","model-council","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FPerplexity\u002Fskills\u002Fmodel-council\u002FSKILL.md",[],[],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M77JTYND3ETS9EGCX3B9CW6E","writing-style","Draft or edit writing in the user's voice for the person who will read it and where it will appear. Use for messages, emails, documents or slides written on their behalf, not for your own replies.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fwriting-style\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M77JTVWEHY80JC2H1JG1JMQB","write-page","Create or edit requested Page\u002FSpace content, or use for prose you have already decided to save as a standalone Markdown file, only if the user did not explicitly request a Markdown file. Honor established formats, destinations, and repository documentation. A selected Page alone does not authorize a write.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fwrite-page\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M77JTQ5ND23QPF6RJYJPXHSZ","software-engineering","For use only in threads for this proactive personal assistant. Investigate software issues; inspect, write, review, or test code; work on a repository or local engineering file; or create, fix, or monitor a pull request or CI run. Use for actual engineering or product QA work, not a general programming explanation.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fsoftware-engineering\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M77JTM3ZDPCYE8C1FW7G7S2B","slides-artifact","Use when the user asks to create, edit, or review slides or a presentation (PowerPoint or Google Slides), including when the task clearly calls for an audience-ready slide deck. Also use to answer questions that require inspecting an existing deck; not for general presentation advice or a chat-only outline.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fslides-artifact\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M77JTHTWZN2J27KD2H66XDBZ","slack","Use when reading Slack conversations, deciding when to respond, or sending messages, files, and reactions in Slack.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fslack\u002FSKILL.md",[],[]]