← 返回 Skills 市场
wjsoj

PKU Portal

作者 wjsoj · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
65
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install pku-portal
功能描述
北京大学校内信息门户 (portal.pku.edu.cn / its.pku.edu.cn) CLI 工具。当用户提及 portal、校内信息门户、空闲教室、空教室、教室查询、一教/二教/三教/四教/理教空闲、校历、学年校历、上课时间、网费、网费余额、网费充值、上网账号、查余额、微信充值网费、支付宝充值网费 时...
安全使用建议
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.
能力标签
cryptocan-make-purchases
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pku-portal
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pku-portal 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug pku-portal
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

PKU Portal 是什么?

北京大学校内信息门户 (portal.pku.edu.cn / its.pku.edu.cn) CLI 工具。当用户提及 portal、校内信息门户、空闲教室、空教室、教室查询、一教/二教/三教/四教/理教空闲、校历、学年校历、上课时间、网费、网费余额、网费充值、上网账号、查余额、微信充值网费、支付宝充值网费 时... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 65 次。

如何安装 PKU Portal?

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

PKU Portal 是免费的吗?

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

PKU Portal 支持哪些平台?

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

谁开发了 PKU Portal?

由 wjsoj(@wjsoj)开发并维护,当前版本 v1.0.0。

💬 留言讨论