name: dataease-resource-skill description: 通过自然语言查询 DataEase 组织、切换组织、列出仪表板或数据大屏,并把指定资源导出为截图或 PDF。
根据用户的自然语言请求,调用 DataEase 接口完成以下工作:
7w4.net收录了海量优质技能插件。
用户可能会这样表达需求:
用户输入中可能包含:
dashboard 或 dataVjpeg 或 pdf1920*1080输出内容应包括:
orgIddataVdashboardbusiType=dashboardpixel=1920*1080extWaitTime=0resultFormat=0,表示 JPEGresultFormat=1在匹配组织名称或资源名称前,需要做标准化处理:
access key、secret key 等敏感凭证硬编码到 skill 文件中base_url、access key、secret key、username、passwordDATAEASE_BASE_URLDATAEASE_ACCESS_KEYDATAEASE_SECRET_KEYDATAEASE_USERNAMEDATAEASE_PASSWORDDATAEASE_LOGIN_ORIGIN.envusername 和 password,脚本会先调用 dekey 和 /login/localLogin 获取 x-de-tokenaccessKey 和 secretKey,脚本会自动生成:signaturex-de-ask-tokenx-de-tokenx-de-token,脚本可直接复用saved_filescripts/capture_dashboard.py 执行 API 调用和文件保存scripts/browser_capture.mjs 打开预览页并完成本地截图references/api.md 查看接口说明和鉴权接入方式references/resource_aliases.jsonpython3 scripts/capture_dashboard.py list-orgspython3 scripts/capture_dashboard.py switch-org --org-id 1225813472202330112python3 scripts/capture_dashboard.py list-resources --org-id 1225813472202330112 --busi-type dashboardpython3 scripts/capture_dashboard.py list-resources --org-id 1225813472202330112 --busi-type dataVpython3 scripts/capture_dashboard.py capture --org-id 1225813472202330112 --resource-name 销售总览 --busi-type dashboardpython3 scripts/capture_dashboard.py capture --org-id 1225813472202330112 --resource-name 门店运营监控 --busi-type dataV --result-format 1这个 Skill 质量中上,功能比较实用,能完成组织切换、查询看板和导出截图等常见需求。文档写得清楚详细,配置方式灵活,两种登录方式也考虑周全。不过依赖本地浏览器环境,安装配置稍显麻烦,而且代码缺乏测试保障,长期维护可能存在风险。总体来说功能够用,但环境准备和稳定性还有提升空间。