← Back to Skills Marketplace
65
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install pku-portal
Description
北京大学校内信息门户 (portal.pku.edu.cn / its.pku.edu.cn) CLI 工具。当用户提及 portal、校内信息门户、空闲教室、空教室、教室查询、一教/二教/三教/四教/理教空闲、校历、学年校历、上课时间、网费、网费余额、网费充值、上网账号、查余额、微信充值网费、支付宝充值网费 时...
Usage Guidance
This SKILL.md appears to implement a real PKU portal CLI, but it does not transparently declare the sensitive credentials and API keys it will use. Before installing or enabling the skill: 1) Confirm where and how ITS (net) credentials are stored/loaded (keyring? plaintext?). 2) Ask the author to declare required env vars or keyring usage (including any third‑party captcha service API keys) in the metadata. 3) Review actual code (crates/portal/*) before granting access to real credentials — pay special attention to payment flow (cwsf.pku.edu.cn), QR rendering, and any network calls that could trigger charges or leak data. 4) Prefer manual invocation (do not allow always:true or unrestricted autonomous invocation) until you verify credential handling. 5) If you must try it, use a throwaway/test account or revokeable credentials, and disable any automation that can perform recharges/payments without explicit confirmation.
Capability Tags
Capability Assessment
Purpose & Capability
The name/description match the runtime instructions: querying free classrooms, extracting the campus calendar, and checking/recharging netfee via ITS/payment endpoints are coherent with the CLI architecture described. However, the doc explicitly requires user login (ITS net account) and reuse of a credential helper, yet the skill metadata declares no required credentials or env vars — that is a notable omission.
Instruction Scope
Instructions direct network calls to portal.pku.edu.cn, its.pku.edu.cn, simso.pku.edu.cn, and cwsf.pku.edu.cn (payment flow). They describe session persistence at ~/.config/info/portal/ and an auto‑login flow for AI agents. They also reference using third‑party captcha services (utool, ttshitu, yunma) and rendering/printing QR codes for payment. Those behaviours go beyond simple read‑only queries and include handling of credentials, payment initiation steps, and use of external captcha services — none of which are declared in the skill metadata.
Install Mechanism
Instruction-only skill with no install spec and no code files in the bundle; nothing is written to disk by an install step. This is the lowest install risk given the provided package.
Credentials
The SKILL.md requires access to ITS net account credentials (and references reuse of pkuinfo_common::credential and keyring). It also references third‑party captcha services which typically need API keys. Despite that, the registry metadata lists no required env vars or primary credential. That mismatch (undeclared sensitive credentials and API keys) is disproportionate and reduces transparency about what secrets an agent will need or access.
Persistence & Privilege
The skill will persist sessions under ~/.config/info/portal/, which is within a normal per‑user config scope. always:false is set. Still, because the skill can be invoked autonomously and it can perform payment-related flows and QR code generation, autonomous invocation combined with undeclared credential access increases the blast radius — consider restricting autonomous use until credential/behavior details are confirmed.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install pku-portal - After installation, invoke the skill by name or use
/pku-portal - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of the portal CLI for PKU campus information.
- Provides one-command access to 空闲教室 (free classrooms), 校历 (academic calendar), and 网费 (net fee) functions.
- Supports checking free classrooms, viewing the academic calendar, checking net fee balance and sessions, and quick net fee recharge (with QR code output).
- Implements low-balance monitoring for net fee with automated exit code for cron alerts.
- No login required for classrooms and calendar; net fee functions require ITS account credentials (not IAAA).
- All output in Chinese; robust error handling and session persistence included.
Metadata
Frequently Asked Questions
What is PKU Portal?
北京大学校内信息门户 (portal.pku.edu.cn / its.pku.edu.cn) CLI 工具。当用户提及 portal、校内信息门户、空闲教室、空教室、教室查询、一教/二教/三教/四教/理教空闲、校历、学年校历、上课时间、网费、网费余额、网费充值、上网账号、查余额、微信充值网费、支付宝充值网费 时... It is an AI Agent Skill for Claude Code / OpenClaw, with 65 downloads so far.
How do I install PKU Portal?
Run "/install pku-portal" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is PKU Portal free?
Yes, PKU Portal is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does PKU Portal support?
PKU Portal is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created PKU Portal?
It is built and maintained by wjsoj (@wjsoj); the current version is v1.0.0.
More Skills