Install
openclaw skills install cnki-watchQuery CNKI by journal name or research topic, and create journal or topic subscriptions that periodically push new CNKI paper metadata into the main OpenClaw chat. Use for one-off CNKI lookups and recurring CNKI monitoring.
openclaw skills install cnki-watchUse this skill when the user wants CNKI results in either of these modes:
package.json and declared dependencies.package.json on first use. Browser discovery supports Playwright-managed Chromium plus common Chrome/Edge installs. No custom NODE_PATH is required.CNKI_COOKIE. CNKI_USERNAME plus CNKI_PASSWORD is a fallback path for establishing a CNKI login session.CNKI_COOKIE or a manually refreshed session. Do not invent alternative scraping logic in the model.quick_validate.py quirks at the expense of runtime compatibility.Reference files:
references/config.mdreferences/schedule.mdreferences/commands.mdAlways use the bundled script instead of ad hoc CNKI browsing:
node {baseDir}/scripts/cnki-watch.mjs <command> [flags]
For local development outside OpenClaw:
cd {baseDir}
npm install
node scripts/cnki-watch.mjs --help
npx cnki-watch query-topic --topic "人工智能" --json
node {baseDir}/scripts/cnki-watch.mjs query-journal --journal "计算机学报" --json
node {baseDir}/scripts/cnki-watch.mjs query-topic --topic "大模型安全" --json
node {baseDir}/scripts/cnki-watch.mjs subscribe-journal --journal "计算机学报" --schedule "daily@09:00" --json
node {baseDir}/scripts/cnki-watch.mjs subscribe-topic --topic "大模型安全" --schedule "weekly@mon@09:00" --json
node {baseDir}/scripts/cnki-watch.mjs list-subscriptions --json
node {baseDir}/scripts/cnki-watch.mjs unsubscribe --id "<subscription-id>" --json
node {baseDir}/scripts/cnki-watch.mjs run-subscription --id "<subscription-id>" --json
query-journal for a journal lookup and query-topic for a topic lookup.subscribe-journal or subscribe-topic for recurring pushes. If the user does not supply a schedule, use the configured defaultSchedule.browserProfile, timezone, defaultSchedule, maxManualResults, and maxPushResults.chat.inject.CNKI_COOKIE or a manually refreshed CNKI session.CNKI_COOKIE, or CNKI_USERNAME plus CNKI_PASSWORD, in the skill env config before retrying.