Pmos Search Menu Skill
Automates menu navigation on Gansu Electric Power Trading platform (PMOS) by opening specified menu paths, handling tabs, and capturing page snapshots.
MIT-0 · Free to use, modify, and redistribute. No attribution required.
⭐ 0 · 40 · 1 current installs · 1 all-time installs
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & Capability
Name/description match the actual behavior: scripts and SKILL.md use the OpenClaw browser tool to open https://pmos.gs.sgcc.com.cn/, take snapshots, click element refs, and handle tabs. Declared tools (browser) and optional exec/process reflect what the scripts use (execSync). No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
Runtime instructions and scripts stay within the stated scope (open site, wait for manual login, snapshot pages, click menu refs, switch tabs). Note: the skill captures page snapshots (page structure/ARIA refs) and uses the OpenClaw CLI via execSync — snapshots can contain sensitive page content if the logged-in session has private data, and the scripts prompt the user to paste element refs manually.
Install Mechanism
No install spec — instruction-only with included scripts. No downloads from external URLs or archive extraction. Scripts are local and executed by the agent/user, which is the lowest install risk category.
Credentials
The skill requests no environment variables or credentials. It requires the user's manual PMOS login (explicitly) rather than asking for credentials, which is proportionate to the task.
Persistence & Privilege
always:false and user-invocable:true. The skill does not declare any persistent or system-wide modifications and does not attempt to alter other skills or agent configuration.
Assessment
This skill appears to do what it says: it automates clicking menu items on the PMOS site using the OpenClaw browser CLI. Before using it: (1) review the local scripts (they are simple and call openclaw CLI via execSync) and run them locally rather than granting any remote service access; (2) be aware that browser snapshots capture the page DOM and could include sensitive information from a logged-in session—do not run this while logged in to unrelated sensitive accounts; (3) the skill requires you to log in manually (it does not collect credentials), so avoid pasting secrets into prompts; (4) if you need stronger isolation, run the scripts in a controlled environment (VM/container) or inspect/modify them to suit your security policies.pmos-search-menu-skill/scripts/navigate-pmos.js:31
Shell command execution detected (child_process).
scripts/navigate-pmos.js:31
Shell command execution detected (child_process).
Patterns worth reviewing
These patterns may indicate risky behavior. Check the VirusTotal and OpenClaw results above for context-aware analysis before installing.Like a lobster shell, security has layers — review code before you run it.
Current versionv1.0.1
Download ziplatest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
SKILL.md
pmos-search-menu-skill
版本: 1.0.0
作者: ClawTech
描述: 自动化爬取甘肃电力交易平台(PMOS)网站的菜单导航路径
功能
- 🌐 自动打开 PMOS 网站并等待登录
- 📍 按照指定路径逐级点击菜单
- 🔄 自动处理新标签页的打开和切换
- 📋 支持深度嵌套的菜单结构
- 📸 自动获取页面快照和元素引用
触发条件
当用户提到以下关键词时激活此技能:
- "PMOS 菜单导航"
- "甘肃电力交易平台"
- "sgcc.com.cn"
- "信息披露菜单"
- "电力交易菜单点击"
使用方法
基础用法
# 使用 PowerShell 脚本
.\scripts\navigate-pmos.ps1 -MenuPath "信息披露","综合查询","市场运营"
# 使用 Node.js 脚本
node scripts/navigate-pmos.js
# 使用 browser 工具手动操作
openclaw browser open https://pmos.gs.sgcc.com.cn/
完整菜单路径
信息披露
→ 综合查询 (打开新标签页)
→ 市场运营
→ 交易组织及出清
→ 现货市场申报、出清信息
→ 实时各节点出清类信息
→ 实时市场出清节点电价
依赖工具
browser- OpenClaw 浏览器控制工具
配置
无需特殊配置,但需要:
- PMOS 网站的有效登录账号
- OpenClaw browser 工具已启用
文件结构
pmos-search-menu-skill/
├── SKILL.md # 本文件
├── README.md # 详细使用说明
├── clawhub.json # ClawHub 包配置
├── references/
│ └── NAVIGATION_PATH.md # 详细导航路径和元素引用
└── scripts/
├── navigate-pmos.ps1 # PowerShell 导航脚本
├── navigate-pmos.sh # Bash 导航脚本
└── navigate-pmos.js # Node.js 导航脚本
注意事项
- 登录状态: 使用前必须先手动登录 PMOS 网站
- 新标签页: 点击"综合查询"会打开新标签页,后续操作都在新标签页进行
- 动态引用: 页面元素的 aria-ref 可能会变化,每次操作前建议重新获取快照
- 等待时间: 菜单展开和页面加载需要 2-3 秒延迟
故障排除
| 问题 | 解决方案 |
|---|---|
| 找不到菜单项引用 | 重新执行 browser snapshot 获取最新引用 |
| 点击后无反应 | 检查是否在新标签页操作,使用 browser focus 切换 |
| 菜单未展开 | 点击父菜单后等待 2-3 秒再获取快照 |
| 页面加载超时 | 增加脚本中的等待时间配置 |
相关文档
许可证
MIT License
Files
12 totalSelect a file
Select a file to preview.
Comments
Loading comments…
