← 返回 Skills 市场
hlcle

Bupt Empty Classroom

作者 huanglecheng · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ 安全检测通过
249
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install bupt-empty-classroom
功能描述
Query empty classrooms at BUPT (Beijing University of Posts and Telecommunications) Xitucheng campus. Use when the user needs to find available/empty classro...
使用说明 (SKILL.md)

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 (教务)
安全使用建议
This skill is coherent and low‑privilege: it simply automates browser interactions with https://ec.jray.xyz/ to find empty classrooms and does not request secrets or install software. Before installing, consider: (1) the agent will fetch and snapshot pages from that external site — if the site ever required credentials you should not provide them to this skill; (2) snapshots may capture any visible data on the page, so avoid using the skill on pages that contain private information; and (3) if you do not want the agent to call skills autonomously, adjust your agent's invocation policy even though this skill itself is harmless.
功能分析
Type: OpenClaw Skill Name: bupt-empty-classroom Version: 2.0.0 The skill is a legitimate utility for querying empty classroom availability at Beijing University of Posts and Telecommunications (BUPT) via the third-party site https://ec.jray.xyz/. It uses standard browser automation commands (open, click, snapshot) to navigate the web interface and extract data as described in SKILL.md, with no evidence of malicious intent, data exfiltration, or unauthorized system access.
能力评估
Purpose & Capability
Name/description match the runtime instructions: the SKILL.md only directs the agent to open the BUPT empty-classroom website, select campus/building/time, and snapshot the results. No unrelated services, binaries, or credentials are requested.
Instruction Scope
Instructions are narrowly scoped to browser interactions (agent-browser open/click/snapshot) against https://ec.jray.xyz/ and to re-snapshot when refs change. They do not instruct reading local files, environment variables, or transmitting results to other endpoints.
Install Mechanism
No install spec and no code files are present (instruction-only). Nothing is downloaded or written to disk by the skill package itself.
Credentials
The skill declares no required environment variables, credentials, or config paths — consistent with an ad-hoc web-scraping/browser-interaction helper.
Persistence & Privilege
always:false (normal). disable-model-invocation is false (agent may call the skill autonomously) — this is the platform default and not, by itself, a red flag. If you prefer to avoid autonomous runs, restrict invocation policies in your agent environment.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install bupt-empty-classroom
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /bupt-empty-classroom 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
- Updated to version 2.0.0 with minor file structure changes. - Added _meta.json for metadata management. - Removed scripts/query.sh script file. - No functional or workflow changes to the skill itself.
v1.0.0
- Initial release of the bupt-empty-classroom skill. - Enables users to query available/empty classrooms at BUPT Xitucheng campus. - Supports building selection (教2, 教3, 教4, 未来学习大楼) and specific time periods. - Guides through step-by-step workflow using the ec.jray.xyz website for classroom availability. - Provides troubleshooting tips for common issues like button refs and unavailable time slots.
元数据
Slug bupt-empty-classroom
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Bupt Empty Classroom 是什么?

Query empty classrooms at BUPT (Beijing University of Posts and Telecommunications) Xitucheng campus. Use when the user needs to find available/empty classro... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 249 次。

如何安装 Bupt Empty Classroom?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install bupt-empty-classroom」即可一键安装,无需额外配置。

Bupt Empty Classroom 是免费的吗?

是的,Bupt Empty Classroom 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Bupt Empty Classroom 支持哪些平台?

Bupt Empty Classroom 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Bupt Empty Classroom?

由 huanglecheng(@hlcle)开发并维护,当前版本 v2.0.0。

💬 留言讨论