Generate a deterministic, template-preserving 16-section SDS/MSDS package from 1 DOCX template, 1 prompt/rule file, and 1-3 source SDS/MSDS files, with DOCX/...
Use this skill when the user wants a traceable SDS/MSDS package that must preserve a supplied Word template.
Use {baseDir} to refer to this skill folder.
{baseDir}/config/fixed_company.yml with the owning company's approved supplier information.tesseract must be available on the host or in the sandbox/container runtime.soffice or libreoffice on the execution runtime..venv and installs requirements.lock inside the skill folder on first use.assets/templates/sds_base.docx is generated locally on first use when it is missing.Prefer the bundled cross-platform Python launcher instead of shell-only wrappers:
python3 {baseDir}/scripts/run_openclaw_skill.py --template-docx <template.docx> --prompt-file <rules.txt> --sources <source1> [<source2> <source3>] --outdir <target> --mode draft
Windows launcher variants:
py {baseDir}\scripts\run_openclaw_skill.py --template-docx <template.docx> --prompt-file <rules.txt> --sources <source1> [<source2> <source3>] --outdir <target> --mode draft
python {baseDir}\scripts\run_openclaw_skill.py --template-docx <template.docx> --prompt-file <rules.txt> --sources <source1> [<source2> <source3>] --outdir <target> --mode draft
python3 {baseDir}/scripts/runtime_doctor.py
On Windows use py or python..venv, installs requirements.lock, and generates a generic base template if assets/templates/sds_base.docx is missing.--enable-ocr only when scanned PDFs are expected. If no OCR backend is available, the run fails clearly.outputs/runs/.../final.outputs/runs/.../audit.Primary deliverables:
final/sds_document.docxfinal/sds_document.pdf when a PDF engine is availablefinal/structured_data.jsonfinal/field_source_map.csvfinal/review_checklist.mdAudit outputs may also include:
audit/content_policy_report.jsonaudit/ocr_audit.jsonaudit/field_source_map.mdrun_manifest.jsonstructured_data.json, field_source_map.csv, and review_checklist.md as first-class deliverables alongside the DOCX/PDF.ZIP package — ready to use