Install
openclaw skills install bp-reporting-templatesGenerate BP monthly/quarterly/half-year/year report filling templates from BP data (API first, file fallback) with strict reviewer checks for code anchors, numeric traceability, and alert rules. Use when asked to 生成BP报告/填写BP模板/月报/季报/半年报/年报, or when generating performance report templates.
openclaw skills install bp-reporting-templatesWhen this skill is used, always do two selections first:
Do not generate until both are confirmed.
scripts/main.py# 1) 列出可选周期(供用户选择)
python3 scripts/main.py --list-periods --app-key "$BP_APP_KEY"
# 2) 列出可选生成类型(供用户选择)
python3 scripts/main.py --list-template-types
# 3) 执行生成(示例:季报+年报)
python3 scripts/main.py "为产品中心生成" \
--app-key "$BP_APP_KEY" \
--period-id "<period_id>" \
--template-types "季报,年报" \
--output ./output
# 4) 输入中未识别组织时可显式指定
python3 scripts/main.py "生成季报" \
--app-key "$BP_APP_KEY" \
--period-id "<period_id>" \
--org-name "产品中心" \
--template-types "季报"
app_key must come from env/arg (BP_APP_KEY or COMPANY_APP_KEY), not hardcoded in code.BP_APP_KEY).