← Back to Skills Marketplace
262
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install polymarket-opportunities-scanning
Description
Scan Polymarket prediction markets for book arbitrage opportunities (overbooked/underbooked multi-outcome markets), generate a formatted report, and deliver...
Usage Guidance
What to check before installing or running this skill:
- Delivery mismatch: SKILL.md claims Telegram + email delivery, but send-report.js only sends email via Apple Mail (osascript). If you expect Telegram messages, the code does not implement them — review and add a Telegram sender or confirm OpenClaw will handle Telegram separately.
- Platform & runtime: The code requires Node.js v18+ (native fetch) and relies on macOS (osascript) for email. The skill metadata did not declare an OS or Node requirement — run it only on a macOS machine with Node 18+ or adapt the email sending method.
- Environment variables: Create a .env with SMTP_TO (recipient) as documented. TELEGRAM_CHAT_ID is mentioned in docs but not used by the script; verify whether you need to configure Telegram elsewhere. Do not commit .env to version control.
- Safety / network: The scanner only calls Polymarket's public Gamma API and writes a local opportunities.json. There are no obvious external exfiltration endpoints. The email is sent via your local Mail app (osascript), which operates locally and then sends via your configured mail account.
- Injection risk: send-report.js builds an AppleScript and passes it to osascript via the shell; it applies escaping for backslashes, quotes, and single quotes before execSync. This reduces command-injection risk, but because event titles come from an external API, review escaping logic if you plan to modify message formatting or forwarding to other command-based senders.
- Operational advice: Run the scanner in an isolated environment first (not on a production machine), verify outputs, and confirm the email behavior works as you expect. If you need Telegram delivery, either run the script under an environment where OpenClaw's message tool will send the message, or modify send-report.js to call the Telegram API or a safe bot library (and then declare the required credentials).
If you want, I can: (1) point out exact lines to modify to add Telegram sending, (2) produce a variant that uses SMTP directly (instead of osascript) for cross-platform use, or (3) run a more detailed line-by-line coherence check on specific parts of the code.
Capability Analysis
Type: OpenClaw Skill
Name: polymarket-opportunities-scanning
Version: 1.0.0
The skill bundle is a legitimate tool for identifying arbitrage opportunities on Polymarket using its public Gamma API. The logic in `scripts/scanner.js` correctly calculates price deviations in multi-outcome markets, and `scripts/send-report.js` handles reporting via macOS Apple Mail (using `osascript`) as documented. No evidence of data exfiltration, malicious command execution, or harmful prompt injection was found; the scripts use standard Node.js functionality and follow the stated purpose.
Capability Assessment
Purpose & Capability
The code implements a Polymarket scanner using the public Gamma API, which aligns with the stated purpose. However, the SKILL.md says the report is delivered to BOTH Telegram (via OpenClaw message tool) and email, while the included send-report.js only sends email via Apple Mail/osacript and does not call any OpenClaw 'message' tool or other Telegram API. The skill also requires Node.js v18+ (uses native fetch) and macOS for osascript, but the registry metadata lists no OS restriction or required binaries—this is inconsistent.
Instruction Scope
Runtime instructions are specific: run scanner.js to fetch events, produce opportunities.json, then run send-report.js to send email. The instructions ask you to create a .env with SMTP_TO and mention TELEGRAM_CHAT_ID, but the send-report.js only reads SMTP_TO and does not use TELEGRAM_CHAT_ID. The scanner reads only the Polymarket API and writes local opportunities.json; send-report reads that file and uses AppleScript to send mail. There is no code that reads unrelated system files or exfiltrates secrets to external endpoints beyond the Polymarket API.
Install Mechanism
There is no install spec; the scripts are plain Node.js files that require Node v18+. The SKILL.md suggests running 'npm install' but the code uses only built-in fetch and fs and has no external package downloads. No network downloads or archives are installed by the skill itself.
Credentials
Registry metadata declares no required environment variables, but references/setup.md and send-report.js expect an optional .env (SMTP_TO, optional SMTP_FROM). TELEGRAM_CHAT_ID is documented in setup but not used in code. The skill is macOS dependent for email (osascript) but the skill metadata didn't declare an OS restriction. This mismatch between declared requirements and actual scripts is a proportionality/information gap that could surprise users.
Persistence & Privilege
The skill does not request persistent or elevated privileges, does not modify other skills or system-wide agent configuration, and 'always' is false. It runs as local Node scripts and writes only opportunities.json in the same directory.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install polymarket-opportunities-scanning - After installation, invoke the skill by name or use
/polymarket-opportunities-scanning - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: Scan Polymarket for book arbitrage opportunities (overbook/underbook), generate ranked report, deliver via Telegram and email. Includes full scanner.js and send-report.js scripts.
Metadata
Frequently Asked Questions
What is Polymarket Opportunities Scanning?
Scan Polymarket prediction markets for book arbitrage opportunities (overbooked/underbooked multi-outcome markets), generate a formatted report, and deliver... It is an AI Agent Skill for Claude Code / OpenClaw, with 262 downloads so far.
How do I install Polymarket Opportunities Scanning?
Run "/install polymarket-opportunities-scanning" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Polymarket Opportunities Scanning free?
Yes, Polymarket Opportunities Scanning is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Polymarket Opportunities Scanning support?
Polymarket Opportunities Scanning is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Polymarket Opportunities Scanning?
It is built and maintained by caoooqiii (@caoqi); the current version is v1.0.0.
More Skills