Skip to content
Agentmart
Submit a tool

web-monitor

Monitor a web page for changes or new items (e.g.

Skill by ivoras

IndexedAGPL-3.0★ 6
Write a review

Chalk Labs

Need help deploying web-monitor?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/ivoras-web-monitor

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Monitor a web page for changes or new items (e.g. "tell me when there are new <items> on <url>", "check this page every N hours"). Set up once with AI, then re-check on a schedule with zero AI cost. load_skill this whenever the user asks to watch/monitor a page.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Node.js package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/web-monitor

What's inside

Skill name
web-monitor
Description
Monitor a web page for changes or new items (e.g. "tell me when there are new <items> on <url>", "check this page every N hours"). Set up once with AI, then re-check on a schedule with zero AI cost. load_skill this whenever the user asks to watch/monitor a page.
License
AGPL-3.0
Instructions
72 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (3)

  • SKILL.md
  • check.js · lib/
  • extract.js · lib/

SKILL.md (first lines)

# Watch a web page for changes

Find what to watch ONCE with **WebFetchDOM**, then schedule a **cron** job that
re-checks it with no AI.

**Use only `WebFetchDOM` to find and confirm the selector — never `run_js` for this.**
WebFetchDOM saves the page to a `tmp://…​.html` handle; that file is **data, not a
script**. Do NOT pass it to `run_js` as `script` (that runs HTML as JS and fails with
"Unexpected token <"). You do not need `run_js` at all to set up a watch.

## Step 1 — Find the selector for the list

Call **WebFetchDOM** with only the `url`. It returns **candidate lists**, each with a
`selector`, a `count`, and a `sample`. Choose the candidate whose `sample` matches the
items the user wants (e.g. the subsidy-call titles) and take its `selector`.

- To confirm, call **WebFetchDOM** again with `selector="<candidate>"` — it should
  return the full list of items.
- If no candidate fits, call **WebFetchDOM** with `grep="<a few words from one item>"`
  and build a selector from the returned node's `class` (as `tag.class`) or use its `path`.

The selector must match EVERY item (the repeating row), not just one.

## Step 2 — Decide where to notify

A change can be delivered via **inapp** (the built-in TUI/web notification),
**email**, or **telegram**. Pick the channel:
- If the user already said where ("email me", "send it to Telegram"), use that.
- Otherwise call **notify_channels** to see what's available for this user, then
  **ask_user** which one they want (only offer the channels it returns — e.g. don't
  offer Telegram if it isn't configured). Default is `inapp` if they don't care.

## Step 3 — Schedule the watch

Call **cron_create** (kind `js`), pointing at the shipped checker, passing the watch
config as `input` (a JSON string) and the chosen `notify_channel`:

    cron_create(
      name:           "<short-slug>",
      spec:           "<schedule>",
      kind:           "js",
      target:         "skill://web-monitor/lib/check.js",
      input:          "{\"name\":\"<short-slug>\",\"url\":\"<url>\",\"selector\":\"<selector>\",\"label\":\"<what is watched>\"}",
      notify_channel: "<inapp|email|telegram>"
    )

Schedules: 5-field cron, `@hourly`/`@daily`, or `@every <dur>`. **Every 12 hours →
`"0 0,12 * * *"`** (00:00 and 12:00), or `"@every 12h"`.

The first run saves the current items as the baseline; later runs report only
additions/removals, and the user is notified (on the chosen channel) when the list
changes. Transient fetch failures do not notify.

## Step 4 — Baseline now (optional) and confirm

Call **cron_run** with the new job's id to run it immediately and capture the baseline
(otherwise it first runs at the next scheduled time). Then tell the user what is being
watched, on what schedule, where they'll be notified, and how many items are there now.

## Notes
- Re-check a saved watch by hand:
  `run_js({ script: "skill://web-monitor/lib/check.js", args: { name: "<slug>" } })`.
- Helpers in `skill://web-monitor/lib/extract.js`: `fetchDoc`, `allTextAt`,
  `attrAt`, `diffList`, `runWatch`. Sandbox JS runs on goja (ES5.1-compatible;
  common ES6 like let/const, arrow functions and template literals also works).
- Prefer `target="skill://web-monitor/lib/check.js"` over hand-written inline JS.
  If you ever do write inline JS for a cron job, it is the **body** of a function the
  runtime wraps for you: write top-level statements (top-level `return` is fine) and
  do **not** wrap it in `function(){...}` — an un-called function runs nothing, and
  `function() {` is a syntax error.

From ivoras/harlequin, AGPL-3.0.

Signals

Stars
6
Forks
0
Open issues
0
Last commit (this folder)
Jun 29, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
AGPL-3.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get web-monitor running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying web-monitor?

CallGet help
Cite this page

web-monitor skill. Agent Mart. https://agentmart.dev/skills/ivoras-web-monitor (last updated 2026-10-24)