← 返回 Skills 市场
nnswjlll

Itinerary DOCX Template

作者 nnswjlll · GitHub ↗ · v1.0.1
cross-platform ✓ 安全检测通过
263
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (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.
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install itinerary-docx-template
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /itinerary-docx-template 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Richer itinerary wording, stronger day descriptions, and Telegram-first workflow
元数据
Slug itinerary-docx-template
版本 1.0.1
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 263 次。

如何安装 Itinerary DOCX Template?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install itinerary-docx-template」即可一键安装,无需额外配置。

Itinerary DOCX Template 是免费的吗?

是的,Itinerary DOCX Template 完全免费(开源免费),可自由下载、安装和使用。

Itinerary DOCX Template 支持哪些平台?

Itinerary DOCX Template 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Itinerary DOCX Template?

由 nnswjlll(@nnswjlll)开发并维护,当前版本 v1.0.1。

💬 留言讨论