wecom-workplan-summary

v0.1.2

团队工作计划周度/月度汇总分析。仅当用户**明确提供**了团队工作计划数据(粘贴内容或指向企微智能表格)并要求汇总/分析时触发。典型意图:"这是团队工作计划,帮我看下上周/本周情况"、"我把数据复制过来了,分析一下"、"帮我从企微表格拉取工作计划汇总"。**不触发**:仅提到"周报"、"本周工作"等通用词但未提供...

0· 119·0 current·0 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for zhangpengle/wecom-workplan-summary.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "wecom-workplan-summary" (zhangpengle/wecom-workplan-summary) from ClawHub.
Skill page: https://clawhub.ai/zhangpengle/wecom-workplan-summary
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install wecom-workplan-summary

ClawHub CLI

Package manager switcher

npx clawhub@latest install wecom-workplan-summary
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description match the implementation: the SKILL.md and scripts implement two input modes (paste file or MCP fetch) for summarizing team work plans. The script contains the DOCID and sheet_id used in the description and only calls a wecom_mcp helper and local parsing/formatting logic — nothing unrelated (no cloud API keys, no unrelated services).
Instruction Scope
Instructions are narrowly scoped to: (A) write user-provided table text to /tmp/workplan_paste.tsv and run the included Python script, or (B) call the local wecom_mcp binary to fetch the specified smart-sheet and run the script. Minor operational note: user data is written to /tmp (world-readable on many systems) and the script reads/writes files under ~/.openclaw/workspace/skills — this is expected for the task but may be relevant in multi-tenant or sensitive-data environments.
Install Mechanism
Instruction-only skill with an included script; there is no install spec, no network downloads, and nothing is written to disk beyond the normal workspace and /tmp files. This is the lowest-risk install posture.
Credentials
The skill declares no required environment variables or credentials. It invokes a local helper binary (wecom_mcp) to fetch smart-sheet data; relying on a platform-managed binary for auth is consistent with the described purpose. There are no other secret-named env vars or unrelated credential accesses.
Persistence & Privilege
The skill does not request always:true or any elevated persistent privileges. It runs as an ordinary user-invoked skill and only executes the included Python script and the local wecom_mcp helper per SKILL.md.
Assessment
What to check before installing: 1) Confirm the wecom_mcp helper is trusted and that you want it to access the named docid/sheet (wecom_mcp is the component that performs authenticated fetches). 2) Avoid pasting sensitive secrets into the clipboard input; pasted content is written to /tmp/workplan_paste.tsv (which may be readable by other processes/users on some systems). 3) Review the included scripts/summary.py (already inspected here) if you need to be certain of exact parsing/retention behavior; the script only parses dates/plans, aggregates by person, and formats structured output — it does not exfiltrate data to external endpoints. 4) If deploying in a shared environment, consider restricting filesystem permissions on /tmp or use a private temp location. If you want, I can produce a short checklist of changes to make the temp handling more private (e.g., use a secure temp file) or highlight any specific lines in the script for further review.

Like a lobster shell, security has layers — review code before you run it.

latestvk975hk3w9a09hgk0cw13hxfh41840gyz
119downloads
0stars
2versions
Updated 3w ago
v0.1.2
MIT-0

团队工作计划汇总技能

按周度或月度汇总团队工作记录,支持两种输入方式:从企微智能表格读取(MCP 模式),或直接粘贴表格内容(粘贴模式)。脚本负责数据整理,你负责生成自然语言报告。

数据源(MCP 模式)

智能表格

  • docid: dcrZNwuyF7QzK5GW4oQ9B3Y3i6Vdc_RzIxAc1zWMMVr9K4EWCEEza2Ea1XGGuQumBW2IKp9XR6au-lDtMi--j27A
  • sheet_id: q979lj
  • 字段:日期今日计划姓名/成员/提交人岗位/职位

执行步骤

分支 A — 粘贴模式(用户提供了工作计划内容)

触发条件:用户消息中包含多行表格内容(tab 或逗号分隔),并说明这是团队工作计划数据。

  1. 将用户提供的表格内容原样写入 /tmp/workplan_paste.tsv

  2. 根据用户是否指定时间范围调用脚本:

    用户未指定时间(脚本自动从数据中检测):

    python3 ~/.openclaw/workspace/skills/wecom-workplan-summary/scripts/summary.py 周度 --data /tmp/workplan_paste.tsv
    

    用户指定了"上周"/"本周"/"第X周"(换算为周数后传入):

    python3 ~/.openclaw/workspace/skills/wecom-workplan-summary/scripts/summary.py 周度 <week_num> <year> --data /tmp/workplan_paste.tsv
    

    用户指定了月份

    python3 ~/.openclaw/workspace/skills/wecom-workplan-summary/scripts/summary.py 月度 <month> <year> --data /tmp/workplan_paste.tsv
    
  3. 根据脚本输出的结构化原始数据,生成最终报告(见下方"报告生成规范")

粘贴数据格式要求(可在执行前提示用户):

  • 必须包含列:日期姓名(或成员/提交人)、今日计划(或工作内容/工作计划
  • 可选列:岗位/职位
  • 支持 Tab 分隔(从企微/Excel/WPS 直接复制)或逗号分隔

分支 B — MCP 模式(用户未提供数据,要求从企微读取)

触发条件:用户明确说"从企微表格读取"、"帮我拉一下数据"等,未粘贴内容。

  1. 调用 wecom_mcp 获取智能表格记录:

    wecom_mcp call doc smartsheet_get_records '{"docid":"dcrZNwuyF7QzK5GW4oQ9B3Y3i6Vdc_RzIxAc1zWMMVr9K4EWCEEza2Ea1XGGuQumBW2IKp9XR6au-lDtMi--j27A","sheet_id":"q979lj"}'
    
  2. 根据用户指定时间范围调用脚本:

    python3 ~/.openclaw/workspace/skills/wecom-workplan-summary/scripts/summary.py 周度 <week_num> <year>
    python3 ~/.openclaw/workspace/skills/wecom-workplan-summary/scripts/summary.py 月度 <month> <year>
    
  3. 根据脚本输出生成最终报告(见下方"报告生成规范")


报告生成规范

脚本输出的是结构化原始数据(每人 + 每日计划明细),你需要将其转化为自然语言报告

输出格式模板

📅 第N周工作周报(MM/DD-MM/DD)

{姓名} · {岗位}
本周:{自然语言汇总}

🔹 目标对齐:{一句话判断}
💡 建议:{针对性建议}

---

{姓名} · {岗位}
本周:...

🔹 目标对齐:...
💡 建议:...

---

注:{未提交情况说明}

生成原则

本周汇总(最重要)

  • 相同或高度相似的任务合并,标注天数:HJJ驻场(4天)
  • 有明显进展逻辑的用 连接:接口页面重构 → SOP重构 → 页面内容优化
  • 多个不同任务用 + 连接:RAG知识库开发 + mineruAPI对接
  • 编号列表(1. 2. 3.)提炼为核心主题,不照搬编号
  • 请假直接标注:周三请假,其余时间:XX工作

🔹 目标对齐

  • 判断该人工作与团队当前目标的关联,1句话,要有实质内容
  • 不写"任务推进中"、"目标明确"等套话
  • 例:技术侧支撑AI标书工具开发 / 项目交付-前端重构推进 / 驻场支持客户现场

💡 建议

  • 结合当周实际工作内容给出具体建议,不泛泛而谈
  • 不写"持续推进"、"注意进度同步"等无意义话
  • 例:连续4天驻场,建议定期输出问题清单同步团队 / 单一任务深耕,可适当输出中间产物便于评估

结尾注释

  • 全员提交:注:本周全员均有记录
  • 有缺失:注:以下人员本周未提交记录:XX、XX

注意事项

  1. 管理层(张鹏乐、王紫龙、付岩)放在最前面
  2. 无记录人员单独在末尾说明,不猜测原因
  3. 语气亲切、专业,不严厉

依赖工具

  • wecom_mcp:MCP 模式下读取智能表格数据
  • Bash(python3:*):执行汇总脚本

Comments

Loading comments...