Install
openclaw skills install @awesomehou/szu-campusUse when an agent needs to install or operate the local szu-cli CLI for Shenzhen University web services. Covers CLI setup, login checks, read-only campus queries, safety boundaries, academic database access, and JSON error handling.
openclaw skills install @awesomehou/szu-campusUse the local szu-cli CLI as the source of truth. Keep this skill as operating guidance only; do not implement campus scraping, browser automation, or campus business logic here.
Check local readiness before campus queries:
node --version
szu-cli --version
szu-cli requires Node.js 20 or newer. If Node.js is missing or too old, tell the user to install or upgrade Node.js first.
If szu-cli is missing, ask before changing the user's environment, then have the user run:
npm install -g szu-cli@beta
Verify the CLI after installation:
szu-cli doctor --json
szu-cli auth status --json
If the user is using a Codex environment and needs the bundled skill installed from the npm package, tell them to run:
szu-cli skill install --target codex --json
Do not install the CLI silently. If login is required, ask the user to run:
szu-cli auth login
The user should complete login in the browser window opened by the CLI.
--json; add --headed only for commands that require a visible browser.ok: false, branch on error.code with references/errors.md.ok: true, answer from returned fields only and include the minimum private data needed.--json for agent workflows and parse JSON, not stdout prose.RATE_LIMITED; handle login and network errors once.szu-cli >= 0.2.0-beta.1.Read only the reference needed for the task:
references/commands.md: compact user-intent routing for common campus queries.references/academic-databases.md: CNKI and Wanfang metadata search, citation export, item lookup, and single visible-button downloads.references/errors.md: structured error handling, retry limits, and follow-up commands.references/privacy-safety.md: password, cookie, profile, download, private-data, and state-changing boundaries.When details conflict, trust the installed szu-cli behavior and docs/cli-contract.md in the project that shipped the CLI.