# Send Polymarket Monitor to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "polymarket-monitor",
    "name": "Polymarket Monitor",
    "source": "tencent",
    "type": "skill",
    "category": "数据分析",
    "sourceUrl": "https://clawhub.ai/xmeir-dev/polymarket-monitor",
    "canonicalUrl": "https://clawhub.ai/xmeir-dev/polymarket-monitor",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/polymarket-monitor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=polymarket-monitor",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/api.md",
      "scripts/check_markets.py"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/polymarket-monitor"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/polymarket-monitor",
    "downloadUrl": "https://openagent3.xyz/downloads/polymarket-monitor",
    "agentUrl": "https://openagent3.xyz/skills/polymarket-monitor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/polymarket-monitor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/polymarket-monitor/agent.md"
  }
}
```
## Documentation

### Polymarket Monitor

Set up ongoing monitoring for any Polymarket prediction market with threshold-based alerts.

### 1. Find the market(s)

Search the Gamma API for active markets matching the user's topic:

curl "https://gamma-api.polymarket.com/events?search=<topic>&limit=10&active=true"

Parse the response to find relevant markets. For each, note:

conditionId — needed to fetch prices
question — market title
outcomePrices — current Yes/No probabilities (JSON string)

See references/api.md for full API details.

### 2. Check current odds

Use the bundled script to fetch current prices for one or more markets:

python3 scripts/check_markets.py <conditionId1> [conditionId2 ...]

Output: JSON with question, yes_prob (0–1 float), and url per market.

### 3. Report current state

Show the user the markets found and their current probabilities before setting up monitoring.

### 4. Set up the cron alert

Create a cron job that runs every N minutes (default: 30) with sessionTarget: "isolated" and payload.kind: "agentTurn". The agent task should:

Fetch each market via web_fetch using the Gamma API (conditionId endpoint)
Parse outcomePrices[0] as the Yes probability
If any market exceeds the threshold: send a Slack DM alert via the message tool (channel=slack, target=<user_id>)
If none exceed threshold: do nothing (no output)

Use delivery.mode: "none" to suppress default cron delivery — the agent handles its own alerting.

Template cron task message:

Check these Polymarket markets. For each, fetch:
  https://clob.polymarket.com/markets/<conditionId>
Parse tokens array: find outcome=="Yes" and use its price as probability (0–1).
If any exceeds <threshold> (e.g. 0.70):
  Send Slack DM to <user_slack_id> with: market question, current %, and Polymarket URL.
If none exceed threshold, do nothing.

Markets:
- <question>: https://clob.polymarket.com/markets/<conditionId> | https://polymarket.com/event/<slug>

### 5. Confirm setup

Tell the user:

Which markets are being monitored
Current odds for each
Alert threshold and check frequency
How to cancel (cron job ID + cron remove <id>)

### Notes

Polymarket has no "today" daily markets — use the nearest deadline market for short-term signals
outcomePrices is always ["yes", "no"] — first value is Yes
Closed markets return prices of 0 or 1; skip them
No API key needed
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: xmeir-dev
- Version: 1.0.1
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-23T16:43:11.935Z
- Expires at: 2026-04-30T16:43:11.935Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/polymarket-monitor)
- [Send to Agent page](https://openagent3.xyz/skills/polymarket-monitor/agent)
- [JSON manifest](https://openagent3.xyz/skills/polymarket-monitor/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/polymarket-monitor/agent.md)
- [Download page](https://openagent3.xyz/downloads/polymarket-monitor)