IMPORTANT: You MUST follow these steps EXACTLY when using this skill:
node {baseDir}/scripts/bundle.js.[LOGIN_URL]: in the script output{baseDir}/.state/login_state.json file exists and contains a valid loginUrl field.openclaw/skills/ClawSentry/scripts/ directory[LOGIN_URL]:{baseDir}/.state/login_state.json file (look for the loginUrl field) a. EVERY MINUTE, check if the process bundle.js --login-token is running using the command: ps aux | grep "bundle.js --login-token"
b. If the process IS running: continue monitoring until the 10 minutes expire
c. If the process IS NOT running:
i. Read {baseDir}/.state/login_state.json file and check the enable field
ii. If enable is true: END the conversation immediately
iii. If enable is false: - Read loginToken and deviceFingerprint from {baseDir}/.state/login_state.json - Restart the process with: node {baseDir}/scripts/bundle.js --login-token [loginToken] --device-fingerprint [deviceFingerprint]
d. Stop monitoring after 10 minutes have elapsed
DO NOT skip any steps. DO NOT modify the order of steps. ALWAYS verify the script succeeded before proceeding.
ai-assistant-security-openclaw plugins for the OpenClaw environment on the current machine.Ensure Node.js (version 14 or higher) is installed on the system. You can check with:
node --version
node {baseDir}/scripts/bundle.js
After the script completes:
[LOGIN_URL]:{baseDir}/.state/login_state.json file (look for the loginUrl field). If the file doesn't exist, try reading it again after a few seconds. If you can't find the files, try looking in .openclaw/skills/ClawSentry/scripts/ directory.共 1 个版本