← 返回 Skills 市场
wjsoj

Elective

作者 wjsoj · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
152
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install pku-elective
功能描述
PKU Course Selection (选课网) CLI tool built in Rust. Use this skill when working on the elective crate, debugging elective commands, adding features, or when t...
安全使用建议
This skill's documentation shows it will run a local elective CLI, read credentials from your OS keyring or environment, write session files to ~/.config/info/elective/, and send CAPTCHA images to third‑party recognition services — but the skill metadata does not declare the required binaries, config paths, or API credentials. Before installing or enabling it (especially for autonomous use): - Ask the publisher to update the manifest to list required binaries (elective, info-auth), required config paths, and any environment variables/API keys for CAPTCHA backends. - If you plan to use third‑party CAPTCHA services (utool/ttshitu/yunma), verify which endpoints and keys are used and whether you consent to sending images (and potentially personal data) to those services. - Consider running the skill only when explicitly invoked (disable autonomous invocation) or in a restricted environment until the metadata is corrected. - Inspect or provide the elective binary from a trusted source; do not let the agent fetch arbitrary executables. - If you are uncomfortable with keyring access or session persistence, decline or sandbox the skill and request the author to make credential handling explicit and opt‑in. These mismatches may be benign omissions, but they materially affect what the skill can access; treat it as suspicious until clarified.
功能分析
Type: OpenClaw Skill Name: pku-elective Version: 1.1.0 The skill bundle describes a CLI tool for Peking University (PKU) course selection automation. It includes features for session management via IAAA SSO, automated enrollment loops, and CAPTCHA recognition using third-party services (utool, ttshitu, yunma). The architecture follows standard practices such as using the OS keyring for credentials and local configuration directories (~/.config/info/elective/). The instructions in SKILL.md are helpful for guiding the AI agent on handling dual-degree students and do not contain any malicious prompt injections or exfiltration attempts.
能力评估
Purpose & Capability
The SKILL.md documents a CLI tool (elective) with SSO, CAPTCHA backends, and session persistence. The manifest lists no required binaries, env vars, or config paths; that is inconsistent — a CLI that logs in, polls, and calls external CAPTCHA APIs plausibly needs the elective binary and API credentials.
Instruction Scope
Instructions tell the agent to run commands (elective, info-auth), read credentials via OS keyring/env/interactive, persist sessions to ~/.config/info/elective/, and send base64 CAPTCHA images to external backends (utool/ttshitu/yunma). Those runtime actions go beyond what's declared and could access sensitive secrets and third‑party endpoints.
Install Mechanism
There is no install spec (instruction-only), which is low risk from a code-install perspective. However, the runtime assumes the presence of local binaries (elective, info-auth) that the manifest does not enumerate—this is an operational inconsistency rather than an install risk.
Credentials
SKILL.md expects credentials resolved from keyring → env → interactive and mentions CAPTCHA recognition APIs (which typically require API keys), but the skill declares no required env vars or primary credential. Sensitive access (keyring, API keys) is implied but not declared or scoped.
Persistence & Privilege
The tool persists session data to ~/.config/info/elective/ and reads OS keyring entries. The manifest does not declare these config-path or credential accesses. Autonomous invocation is allowed by default (not disabled), which combined with undisclosed credential access increases potential risk.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install pku-elective
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /pku-elective 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
更新 description: 课表问题改用 treehole skill(elective show 只能看单个项目); captcha 模块已上移到 pkuinfo-common
v1.0.0
Major update with new features and improvements: - Redesigned CLI tool for PKU Course Selection (选课网), supporting enrollment, automation, and CAPTCHA solving. - Introduced modular architecture with clear command structure and multiple CAPTCHA backend options. - Added dual-degree support; login commands now require `--dual` flag for dual-degree students. - Implemented session management, persistent config, and auto-enrollment polling loop with adjustable intervals. - All output and errors now in Chinese; robust credential management via OS keyring.
元数据
Slug pku-elective
版本 1.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Elective 是什么?

PKU Course Selection (选课网) CLI tool built in Rust. Use this skill when working on the elective crate, debugging elective commands, adding features, or when t... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 152 次。

如何安装 Elective?

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

Elective 是免费的吗?

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

Elective 支持哪些平台?

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

谁开发了 Elective?

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

💬 留言讨论