Itinerary DOCX Template
v1.0.1Generate tourism itinerary DOCX by replacing only matched itinerary sections inside a provided Chinese template document. Use when the user sends a simplifie...
Security Scan
OpenClaw
Benign
medium confidencePurpose & Capability
Name/description match the included script and runtime instructions: the script parses simplified day lines, generates itinerary sentences/descriptions, and edits a provided DOCX template using python-docx. No unrelated credentials, binaries, or install steps are requested.
Instruction Scope
SKILL.md restricts actions to: save input text, run scripts/fill_from_simplified.py with a template and output path, and return the resulting .docx. The instructions do not ask the agent to read unrelated system files or transmit data externally. The note about installing python-docx via pip is appropriate for this task.
Install Mechanism
There is no install spec; the skill is instruction-only with a local Python script. The only external dependency mentioned is python-docx suggested to be installed via pip, which is standard and proportionate. No downloads from arbitrary URLs or archive extraction are present.
Credentials
No environment variables, credentials, or config paths are requested. The script works with user-supplied template and content files only, which is proportionate to the stated purpose.
Persistence & Privilege
The skill does not request permanent presence (always:false) and does not attempt to modify other skills or system-wide settings. It runs as a one-off script invocation per SKILL.md guidance.
Assessment
This skill appears coherent and limited to editing a provided DOCX template using a local Python script. Before running it: (1) review the full scripts/fill_from_simplified.py source yourself (or have someone trusted review) to confirm there are no unexpected network calls, subprocess.exec usage, or file-system accesses beyond the template/content/output files; (2) run it in an isolated environment (e.g., a disposable virtualenv or container) and test with non-sensitive sample templates; (3) ensure python-docx is installed from PyPI (python -m pip install python-docx) and avoid installing unknown extra packages; (4) verify generated text for accuracy and PII leakage (the script embellishes descriptions automatically). If you want higher assurance, paste the full script here or allow me to scan it for network/file operations and subprocess usage.Like a lobster shell, security has layers — review code before you run it.
latest
Itinerary DOCX Template Filler
Fill a Chinese travel-agency template DOCX from simplified itinerary lines, while preserving template style.
Workflow
- Save user simplified content into a UTF-8
.txtfile (one day per line). - Run
scripts/fill_from_simplified.pywith:--templatesource template docx--contentsimplified txt--outputoutput docx
- Send resulting
.docxback to user.
Simplified input format
One line per day:
1南宁接 三街两巷 中山路小吃街 住南宁丽呈瑞轩酒店(会展店)2明仕田园 太平古城 住崇左维纳斯度假酒店3德天瀑布 蓝洞咖啡 住龙州观堂酒店
Rules:
- Leading number = day number.
住...segment = hotel.- Remaining tokens after day head are scenic spots.
Notes
- Keep template clauses/terms unchanged; replace only itinerary-related paragraphs.
- If
python-docxis missing, install viapython -m pip install python-docx. - This script is tuned for the user's current template layout and paragraph anchors.
Comments
Loading comments...
