PreClick : URL Security Scanner
by @cplusdev
Companion skill for @cybrlab/preclick-openclaw. Requires PreClick plugin tools to assess URLs for threats and intent alignment before navigation.
clawhub install preclickπ About This Skill
name: preclick description: Companion skill for @cybrlab/preclick-openclaw. Requires PreClick plugin tools to assess URLs for threats and intent alignment before navigation. user-invocable: true metadata: {"openclaw":{"requires":{"config":["plugins.entries.preclick-openclaw.enabled"]}}}
PreClick - Intent-aware URL security verifier for agents
You have access to a URL verification system that checks target web resources for security threats and evaluates whether they appear to correspond to the user's browsing goals. Use it to verify any URL before taking the next step β navigating, clicking, opening, or redirecting.
The goal is not only to detect threats but to help assess whether the target resource appears aligned with what the user actually intends to accomplish.
Quick Start (For Users)
1. Install plugin and restart gateway:
openclaw plugins install @cybrlab/preclick-openclaw
openclaw gateway restart
2. Verify plugin and skill:
openclaw plugins list | grep -i preclick
openclaw skills list | grep -i preclick
3. Try it:
Before opening https://example.com, run url_scanner_scan_with_intent with intent "log in to my account" and tell me whether I should proceed.
Free to use β no API key and no sign-up required (up to 100 requests/day). For higher limits, contact contact@cybrlab.ai.
When to Verify
Verify a URL before any of these actions:
Do not verify URLs that are internal references (localhost, file://, or intranet addresses the user is already working with).
Which Tool to Use
url_scanner_scan β Threat-focused verification.
url (the URL to verify).url_scanner_scan_with_intent β Threat verification plus destination-intent alignment.
url (the URL to verify).intent (the user's stated purpose).intent parameter so the system can evaluate whether the target
resource appears to correspond to the user's goal, in addition
to checking for threats.Prefer url_scanner_scan_with_intent whenever intent is available.
This catches mismatches that threat-only analysis may miss β for
example, a legitimate site that may not be the one the user intended
to use for their goal.
Compatibility async tools (non-blocking, no native MCP Tasks required)
url_scanner_async_scan and url_scanner_async_scan_with_intenttask_id immediately.
url_scanner_async_task_status checks task status (working,url_scanner_async_task_result returns the completed scan payloadOpenClaw task-method proxy tools
url_scanner_tasks_get checks task status (non-blocking).url_scanner_tasks_result waits for task completion and returns theurl_scanner_tasks_list lists current tasks.url_scanner_tasks_cancel cancels a queued or running task.Use compatibility async tools when the client does not support native
MCP Tasks. Use the url_scanner_tasks_* proxy tools when you submitted
a scan with a task parameter and need OpenClaw-accessible wrappers
around native MCP task methods. For normal conversational checks,
direct tools are usually sufficient.
How to Act on Results
Every verification returns an agent_access_directive. Follow it:
ALLOW β Proceed with navigation. Inform the user briefly thatDENY β Do not navigate. Tell the user the URL was flagged andagent_access_reason. Suggest they verify the URL or
use an alternative.
RETRY_LATER β Verification could not complete (temporaryREQUIRE_CREDENTIALS β The target requires authentication. AskInterpreting Additional Fields
risk_score (0.0 to 1.0): threat probability. Lower is safer.confidence (0.0 to 1.0): how certain the analysis is.analysis_complete (true/false): whether the full analysis finished.intent_alignment: alignment signal between user purpose and observedmisaligned: evidence suggests mismatch with user intent.
- no_mismatch_detected: no explicit mismatch signal detected.
- inconclusive: insufficient evidence to verify alignment.
- not_provided: no intent was provided.Timing
Verifications typically take around 70 to 80 seconds on current production traffic. Do not set short timeouts or abandon verification prematurely. Wait for the result before proceeding.
User-Facing Messaging
agent_access_directive andagent_access_reason, and state whether the destination appears
aligned with the user's goal when intent is provided.
Tool Availability Fallback
If PreClick tools are unavailable (including compatibility async and native task variants), do not proceed with scan logic. Tell the user to install the plugin and restart the gateway.