360 Secure SkillHub
360 安全技能中心

Bupt Empty Classroom

该 Skill 借助 agent-browser 打开北邮空教室查询站点,在默认的西土城校区间依次选择楼宇(教2/教3/教4/未来学习大楼)和时间段,再从页面快照中提取空教室表格,包含教室编号、座位数、类型与数据来源。需联网,仅西土城校区流程完整支持,结果不落盘。

hlcle
hlcle
热度 52.72
最近更新 2026-05-11 17:31:20
分类:搜索依赖:联网浏览搜索应用场景:工作流 / 研究

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add bupt-empty-classroom
Metadata
name
bupt-empty-classroom
description
Query empty classrooms at BUPT (Beijing University of Posts and Telecommunications) Xitucheng campus. Use when the user needs to find available/empty classrooms for a specific building and time period at Xitucheng campus. Supports selecting buildings (教2, 教3, 教4, 未来学习大楼) and time periods.

BUPT Empty Classroom Query

This skill queries the BUPT empty classroom system at https://ec.jray.xyz/

Workflow

Step 1: Open the website

Use agent-browser to open the URL:

agent-browser open https://ec.jray.xyz/

Step 2: Verify campus selection

  • The page defaults to "西土城" (Xitucheng) campus
  • Verify it's selected (look for [checked] on radio "西土城")
  • If not, click on it: agent-browser click @e2

Step 3: Select building

Click on the building button:

  • 教2: agent-browser click @e6
  • 教3: agent-browser click @e7
  • 教4: agent-browser click @e8
  • 未来学习大楼: agent-browser click @e9

Step 4: Select time period

After clicking the building, the time period buttons will appear. Each button shows the format: HH:MM 节次 HH:MM

Example buttons:

  • 08:00 01 08:45 (第1节)
  • 08:50 02 09:35 (第2节)
  • ...and so on

Click on the desired time period button (check refs from snapshot).

Step 5: Extract results

After selecting the time period, the page will show a table with empty classrooms:

Column Description
教室 Classroom ID (e.g., 教4-203)
座位数 Number of seats
类型 Room type (if available)
来源 Data source (usually "教务")

Use agent-browser snapshot or agent-browser snapshot -i to get the full table.

Example Session

# Step 1: Open website
agent-browser open https://ec.jray.xyz/

# Step 2: Get initial snapshot to see refs
agent-browser snapshot -i

# Step 3: Click on building (e.g., 教4)
agent-browser click @e8

# Step 4: Get updated snapshot
agent-browser snapshot -i

# Step 5: Click on time period (e.g., 17:25 11 18:10)
agent-browser click @e20

# Step 6: Get final results
agent-browser snapshot

Common Issues

  1. Button refs change after each navigation: Always re-run snapshot after clicking a building or time period.

  2. Some time periods are disabled: Passed time periods show [disabled] and cannot be clicked.

  3. No empty classrooms: If no classrooms are shown after selecting a time period, it means all classrooms are occupied at that time.

Notes

  • The website defaults to current date
  • Only Xitucheng campus is fully supported (沙河 campus can be selected but workflow is same)
  • Data source is usually the university's academic system (教务)