test转储

👤 shandongwill 📦 v1.0.2 ⭐ 3.8 ⬇️ 848 下载
📊 数据分析 免费

📖 技能介绍


name: test-test01 description: 从test页面获取数据导入到test01 author: Digital Employee Platform Team category: productivity tags:

  • RPA
  • excel

triggers:

  • RPA
  • 数据转储

config: pcs_url: "http://1x.xx.xx.xx:5173" pcs_page: "/#/vmodelDemo" epbp_page: "/#/home"

requires: python: true playwright: true


test数据自动转储录入技能

功能说明

自动从 PCS 页面抓取表格数据,导出 Excel 后导入到 EBP 系统。

安装依赖

pip install playwright openpyxl
playwright install chromium

使用方式

cd ~/.openclaw/skills/pcs-epbp/scripts
python main.py

工作流程

  1. 打开 PCS 页面:http://xxx:5173/#/vmodelDemo
  2. 抓取表格数据

    推荐访问7w4.net获取更多AI技能。

  3. 导出为 Excel (pcs_data.xlsx)
  4. 打开 EBP 页面:http://xxx:5173/#/home
  5. 自动上传 Excel 并导入

定时任务

可配合 cron 实现每日自动执行:

# 每天上午9点执行
0 9 * * * cd ~/.openclaw/skills/test-test01/scripts && python main.py

注意事项

  • 首次运行需要安装 Playwright 浏览器
  • 如页面结构变化,需调整选择器
  • EBP 导入按钮选择器可能需要根据实际页面调整

🤖 AI 评测

这个 Skill 文档写得比较清晰,但实际可用的脚本文件缺失。它能实现从网页抓取数据导入 Excel 的功能,文档里说明了怎么安装、怎么用、怎么定时跑。但因为缺少核心代码,用户拿到手后无法直接运行。需要开发者补充完整的脚本后才能真正使用。整体完成度较低,实用性不足。

📊 多维度评分

适应性3.7
规范性3.5
有效性3.7
可靠性3.3
可信度5

📁 包含文件 (3 个)

📄 SKILL.md 1.2 KB
📄 _meta.json 130 B
📄 skill-card.md 2.1 KB