AgentSkillsCN

PresentDocx

根据指定域名/日期文件夹中的分析Markdown文件,生成可供管理者使用的DOCX演示文稿。

SKILL.md
--- frontmatter
name: PresentDocx
description: Build a manager-ready DOCX presentation from analysis markdown files for a named domain/day folder.
metadata: {"openclaw":{"requires":{"bins":["python","python3"]},"os":["win32","linux","darwin"]}}

PresentDocx

Creates a polished DOCX executive presentation from analysis outputs in datastore3.

Execution

python present_docx.py <domain> --timeframe <YYYY/MM/DD> [--source-domain <domain>] [--title <title>] [--max-files <n>]

Arguments

  • domain required output presentation domain (alphabetic only)
  • --timeframe required YYYY/MM/DD (also accepts '-')
  • --source-domain optional analysis source domain (defaults to domain)
  • --title optional presentation title
  • --max-files optional default 4

Dependencies

Install once in this skill folder:

pip install -r requirements.txt

Behavior

  1. Reads 02-Analysis/<source-domain>/<YYYY>/<MM>/<DD>/ markdown files.
  2. Parses section headings and narrative content.
  3. Builds manager-ready DOCX with title page, sections, bullets, and source list.
  4. Writes output to 03-Present/<domain>/<YYYY>/<MM>/<DD>/.

Output

On success returns JSON with:

  • domain
  • source_domain
  • timeframe
  • analysis_files
  • output_path
  • status

On error returns JSON with:

  • domain
  • source_domain
  • timeframe
  • error
  • status