← Back to Skills Marketplace
wjsoj

Course

by wjsoj · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ⚠ suspicious
163
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install pku-course
Description
PKU Teaching Platform (北大教学网/Blackboard Learn) CLI tool built in Rust. Use this skill when working on the course crate, debugging course commands, adding fea...
Usage Guidance
This skill reads/writes local config and may try to use your OS keyring or environment creds but does not declare those needs. Before installing or invoking it: (1) confirm you have the `course` binary or the repository present and know what exact commands will run; (2) avoid running the skill with automatic keyring access — prefer providing a dedicated test account or entering credentials interactively; (3) inspect the local repo files the skill references (crates/course/) to ensure they are what you expect; and (4) if you don't want new files, monitor or sandbox writes to `~/.config/info/course/`. The inconsistencies could be benign (developer helper) but warrant caution.
Capability Analysis
Type: OpenClaw Skill Name: pku-course Version: 1.1.0 The skill bundle describes a Rust-based CLI tool for interacting with the Peking University (PKU) Blackboard teaching platform. The functionality, including course management, assignment submission, and SSO authentication via the IAAA system, is consistent with its stated purpose. The use of standard session persistence in `~/.config/info/course/` and credential management via the OS keyring are typical for CLI applications and do not show signs of malicious intent or unauthorized data exfiltration.
Capability Assessment
Purpose & Capability
The SKILL.md describes a Rust CLI (crates/course/, commands like `course login`, `video-download`, etc.) and refers to local source files. Yet the skill declares no required binaries, no install steps, and no required config paths. That mismatch means the skill either assumes the agent already has the course binary and source tree available, or it will attempt runtime actions (login, file access) without making its dependencies/privileges explicit.
Instruction Scope
The instructions explicitly reference running commands (e.g., `course login -p`, `info-auth check`), accessing HTML-scraping code and crate files, and using multipart uploads. They also describe an auth flow and session persistence. These runtime directions imply reading local repo files and invoking binaries that can access user data — scope beyond a simple descriptive skill and not declared in requirements.
Install Mechanism
No install spec is present (lowest install risk). That is safe from a supply-chain viewpoint, but inconsistent with a skill that describes a CLI binary and crate: the SKILL.md assumes the binary/crate exists in the environment but provides no guidance on how to obtain or build it.
Credentials
The doc states credentials are resolved via `info_common::credential` (keyring → env → interactive) and that sessions persist to `~/.config/info/course/`. Yet the skill lists no required env vars or config paths. Asking agents to auto-login using the OS keyring or environment without declaring that need is a disproportionate, undeclared access to sensitive local secrets.
Persistence & Privilege
The skill will persist session state to `~/.config/info/course/` and encourages auto-login behavior. It does not request always: true and doesn't claim system-wide config changes. Persisting its own session is expected for a CLI, but the fact this is not declared in the skill metadata reduces transparency and could surprise users who don't expect local files to be written or keyring access.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pku-course
  3. After installation, invoke the skill by name or use /pku-course
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
更新 description: 课表问题改用 treehole skill
v1.0.0
Major update: New CLI tool for PKU's Blackboard Learn platform (course crate) with robust features and SSO login. - Provides commands to list courses, browse content, manage assignments, and download materials (including videos and attachments). - Authenticates via IAAA SSO and persists sessions locally. - Uses HTML scraping (no API) and supports multipart file uploads for homework submission. - All commands and outputs are in Chinese; robust error handling included. - Supports auto-login for automation and AI agent integration. - Credential management integrates with OS keyring and environment variables.
Metadata
Slug pku-course
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Course?

PKU Teaching Platform (北大教学网/Blackboard Learn) CLI tool built in Rust. Use this skill when working on the course crate, debugging course commands, adding fea... It is an AI Agent Skill for Claude Code / OpenClaw, with 163 downloads so far.

How do I install Course?

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

Is Course free?

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

Which platforms does Course support?

Course is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Course?

It is built and maintained by wjsoj (@wjsoj); the current version is v1.1.0.

💬 Comments