← Back to Skills Marketplace
hlcle

Bupt Empty Classroom

by huanglecheng · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ✓ Security Clean
249
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install 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 classro...
README (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 (教务)
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bupt-empty-classroom
  3. After installation, invoke the skill by name or use /bupt-empty-classroom
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug bupt-empty-classroom
Version 2.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is 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... It is an AI Agent Skill for Claude Code / OpenClaw, with 249 downloads so far.

How do I install Bupt Empty Classroom?

Run "/install bupt-empty-classroom" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Bupt Empty Classroom free?

Yes, Bupt Empty Classroom is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Bupt Empty Classroom support?

Bupt Empty Classroom is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Bupt Empty Classroom?

It is built and maintained by huanglecheng (@hlcle); the current version is v2.0.0.

💬 Comments