← Back to Skills Marketplace
nnswjlll

Itinerary DOCX Template

by nnswjlll · GitHub ↗ · v1.0.1
cross-platform ✓ Security Clean
263
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install itinerary-docx-template
Description
Generate tourism itinerary DOCX by replacing only matched itinerary sections inside a provided Chinese template document. Use when the user sends a simplifie...
README (SKILL.md)

Itinerary DOCX Template Filler

Fill a Chinese travel-agency template DOCX from simplified itinerary lines, while preserving template style.

Workflow

  1. Save user simplified content into a UTF-8 .txt file (one day per line).
  2. Run scripts/fill_from_simplified.py with:
    • --template source template docx
    • --content simplified txt
    • --output output docx
  3. Send resulting .docx back 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-docx is missing, install via python -m pip install python-docx.
  • This script is tuned for the user's current template layout and paragraph anchors.
Usage Guidance
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.
Capability Analysis
Type: OpenClaw Skill Name: itinerary-docx-template Version: 1.0.1 The skill bundle is a specialized utility for generating travel itineraries in DOCX format from simplified text inputs. The core logic in `scripts/fill_from_simplified.py` parses itinerary data and uses the `python-docx` library to populate a template with pre-defined Chinese descriptions of tourist attractions. The script and instructions in `SKILL.md` are consistent with the stated purpose, showing no signs of data exfiltration, malicious execution, or prompt injection.
Capability Assessment
Purpose & 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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install itinerary-docx-template
  3. After installation, invoke the skill by name or use /itinerary-docx-template
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Richer itinerary wording, stronger day descriptions, and Telegram-first workflow
Metadata
Slug itinerary-docx-template
Version 1.0.1
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Itinerary DOCX Template?

Generate tourism itinerary DOCX by replacing only matched itinerary sections inside a provided Chinese template document. Use when the user sends a simplifie... It is an AI Agent Skill for Claude Code / OpenClaw, with 263 downloads so far.

How do I install Itinerary DOCX Template?

Run "/install itinerary-docx-template" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Itinerary DOCX Template free?

Yes, Itinerary DOCX Template is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Itinerary DOCX Template support?

Itinerary DOCX Template is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Itinerary DOCX Template?

It is built and maintained by nnswjlll (@nnswjlll); the current version is v1.0.1.

💬 Comments