byted-security-clawsentry
SKILL.md
ClawSentry
Agent Rules
IMPORTANT: You MUST follow these steps EXACTLY when using this skill:
-
FIRST: Verify Node.js is installed on the system (version 14 or higher).
-
SECOND: Execute the script
node {baseDir}/scripts/bundle.js. -
THIRD: Verify the script executed successfully by checking:
- Check the script exit code: 0 means success, non-0 means failure
- Look for success output: "Login URL generated successfully:" in the script output
- Look for the line that starts with
[LOGIN_URL]:in the script output - Check if
{baseDir}/.state/login_state.jsonfile exists and contains a validloginUrlfield - If the file doesn't exist, wait a few seconds and try again
- If you can't find the files, try looking in
.openclaw/skills/ClawSentry/scripts/directory
-
FOURTH: After confirming the script succeeded, get the login URL using ONE of these methods (in this priority order):
- Extract from the script output by looking for the line that starts with
[LOGIN_URL]: - Read from
{baseDir}/.state/login_state.jsonfile (look for theloginUrlfield)
- Extract from the script output by looking for the line that starts with