parallel-monitor

Liên tục theo dõi web để phát hiện thay đổi theo chu kỳ lặp lại. Sử dụng khi người dùng yêu cầu 'giám sát', 'theo dõi thay đổi của', 'xem xét', hoặc 'cảnh báo tôi khi' một điều gì đó…

npx skills add https://github.com/parallel-web/parallel-cursor-plugin --skill parallel-monitor

Web Monitor

Action: $ARGUMENTS

Requires parallel-cli ≥ 0.4.0 for the GA Monitor commands. If a Monitor command or option is missing, tell the user to update through their installation method (see https://docs.parallel.ai/integrations/cli), then retry.

What this skill does

Monitors are long-running, server-side jobs that re-check the web on a cadence and emit events when something changes. Unlike search/research/findall (one-shot lookups), monitors persist until cancelled and can optionally deliver detected events through a webhook. Creation does not establish an ongoing agent notification service: explain how to read server-side events or use the configured webhook, without promising chat or email alerts.

The default type is event_stream, with frequency 1d and server processor lite. A snapshot monitor requires an existing Task run ID. Create or modify only the resource requested by the user; do not create a monitor just to demonstrate the skill.

Decide the action

Parse the user's request and pick one:

IntentAction
"Track / watch / monitor / alert me when X"create
"What am I monitoring?" / "List monitors"list
"What changed?" / "Show me events for monitor X"events
"Show monitor X" / "Get details for X"get
"Change cadence / webhook for X"update
"Check monitor X now" / "Run it now"trigger
"Show me the full payload for event group X"events with --event-group-id
"Stop / delete monitor X"cancel (permanent; verify authority and exact ID)

Create a monitor

parallel-cli monitor create "<query>" --frequency 1d --json

Frequency accepts <n><unit> with h, d, or w (for example 1h, 1d, or 1w), within the supported range of 1 hour to 30 days. The aliases hourly, daily, weekly, and every_two_weeks are also accepted. Match cadence to the user's request and how often the source actually changes.

Optional flags:

  • --webhook https://example.com/hook — deliver detected events to a URL
  • --metadata '{"team":"competitive-intel"}' — attach JSON metadata for your own bookkeeping
  • --output-schema '<json>' — structure the event payload (advanced)

Capture the returned monitor_id immediately with the query, frequency and requested settings. Verify creation with get using that ID. Tell the user:

  • The monitor has been created with its ID
  • The frequency (so they know how often the monitor checks)
  • That recent events are available server-side — they can run parallel-cli monitor events $MONITOR_ID later to see what changed

If creation or another mutation times out or the response is lost, resolve the existing monitor/action before retrying. Resume with the saved ID, get and events; do not automatically recreate it. Recreating can duplicate persistent monitoring and billing.

List monitors

parallel-cli monitor list -n 10 --json

Default to -n 10 for concise output. list returns active monitors only by default; add --status active --status cancelled when the user asks to include cancelled monitors. Raise the limit only for a larger set. Present as a table: ID, query or Task Run (truncated), frequency, created.

Note: monitor list is sorted newest-first. If a user is verifying creation, prefer monitor get $MONITOR_ID (using the ID returned by create) over scanning the list.

View events for a monitor

parallel-cli monitor events "$MONITOR_ID" --json

Events are returned newest-first. If the response contains next_cursor, pass it with --cursor to retrieve another page.

An empty event list does not prove that a check completed without changes. To inspect completion history as well as detected events:

parallel-cli monitor events "$MONITOR_ID" --include-completions --limit 10 --json

Distinguish typed detected events, no-change completion events and error events. Use their actual timestamps and report failures. An empty completion history is not execution proof. Retain event_id and event_group_id when present; these identify events and executions, not monitor IDs.

For deeper detail on a specific event group:

parallel-cli monitor events "$MONITOR_ID" --event-group-id "$EVENT_GROUP_ID" --json

Event-group detail ignores pagination arguments. Summarize detected changes separately from completions/errors, with dates or timestamps. Read typed output or changed_output and available basis; cite its source URLs for factual claims. Do not invent provenance when the payload lacks basis. Surface response warnings and continue pagination only as needed for the requested period.

Get / update / trigger / cancel

parallel-cli monitor get "$MONITOR_ID" --json
parallel-cli monitor update "$MONITOR_ID" --frequency 1w --json
parallel-cli monitor update "$MONITOR_ID" --webhook https://example.com/hook --json
parallel-cli monitor trigger "$MONITOR_ID" --json
parallel-cli monitor cancel "$MONITOR_ID" --json

Only supply fields the user requested to update. A webhook-only update leaves frequency unchanged; update has no default frequency. Metadata and advanced event-stream settings can also be updated through the CLI, but query and Task run identity are immutable. A different query needs a new monitor with separate authority and a deliberate decision about the old monitor; do not silently recreate or cancel it.

trigger enqueues a real billed off-schedule execution without changing the regular schedule. It is not a synthetic webhook test and must not substitute for a request to test notification delivery. A successful trigger response confirms enqueueing, not completion. It emits a detected event only if material change is found; inspect completion history for no-change execution. Cancelled monitors cannot be triggered.

Cancellation is irreversible, not deletion or a temporary pause. Explain this and obtain confirmation for the exact monitor ID unless the user has already authorized that permanent cancellation or cleanup of the specific disposable monitor. After cancelling, verify its state with get. Never recreate it automatically to resume monitoring.

On authentication or API errors, report the actual error and retain IDs for recovery. Do not classify every error as an outdated CLI or every permission error as insufficient credit. Failed reads are not evidence that a monitor stopped; reading events does not cancel it.

If the parallel-cli binary is not installed

If the shell reports command not found: parallel-cli, stop and tell the user to run /parallel-setup, then retry their request. Do not substitute built-in search, another provider or an answer from memory.

Command and authentication failures

No such command, No such option or unrecognized arguments from an installed CLI indicate a stale or mismatched interface. Check its version and upgrade through its installation method using /parallel-setup; parallel-cli update is for standalone installs only. Verify the required command in the same Cursor terminal before retrying.

For authentication errors, run parallel-cli auth --json and inspect authenticated; exit zero alone does not prove authentication. Use /parallel-setup for terminal login or environment-key guidance, without requesting credentials in chat. A 403 can be an authorization or billing error: report the actual error and do not assume insufficient balance or add funds automatically.

For other API/input errors, report the error without calling it a version problem. Reuse saved run IDs to resume asynchronous work. After an ambiguous creation failure, resolve whether a job exists before retrying creation.

Thêm skills từ parallel-web

parallel-monitor
parallel-web
Liên tục theo dõi web để phát hiện thay đổi theo chu kỳ lặp lại. Sử dụng khi người dùng yêu cầu 'giám sát', 'theo dõi thay đổi của', 'xem xét', hoặc 'cảnh báo tôi khi' một điều gì đó…
migrate-to-parallel
parallel-web
Di chuyển hoàn toàn các tích hợp dữ liệu web từ Exa, Tavily, Perplexity hoặc Firecrawl sang các sản phẩm Parallel phù hợp trong khi vẫn bảo toàn hành vi của ứng dụng. Sử dụng…
parallel-data-enrichment
parallel-web
Làm giàu hàng loạt dữ liệu công ty, con người hoặc sản phẩm với các trường lấy từ web như tên CEO, thông tin tài trợ và liên hệ. Chấp nhận dữ liệu JSON nội tuyến hoặc tệp CSV; xuất kết quả đã làm giàu ra CSV. Chạy không đồng bộ với theo dõi tiến độ qua URL giám sát và lệnh thăm dò. Yêu cầu công cụ parallel-cli và kết nối internet; xử lý tập dữ liệu lớn với thời gian chờ có thể cấu hình. Hỗ trợ yêu cầu trường linh hoạt thông qua mô tả ý định ngôn ngữ tự nhiên (ví dụ: "tên CEO và năm thành lập").
parallel-deep-research
parallel-web
Nghiên cứu toàn diện với các tùy chọn điều chỉnh độ sâu, độ trễ và chi phí cho các chủ đề phức tạp. Ba cấp xử lý (pro-fast, ultra-fast, ultra) từ 30 giây đến 25 phút, với chi phí từ 1x đến 3x so với mức cơ bản. Thực thi bất đồng bộ với cơ chế polling: khởi tạo nghiên cứu ngay lập tức, theo dõi tiến độ qua URL, lấy kết quả khi sẵn sàng mà không bị chặn. Đầu ra bao gồm báo cáo định dạng markdown và siêu dữ liệu JSON; tóm tắt điều hành được in ra stdout để xem nhanh. Được thiết kế cho các...
parallel-findall
parallel-web
Khám phá các thực thể (công ty, con người, sản phẩm, v.v.) khớp với mô tả ngôn ngữ tự nhiên. Sử dụng khi người dùng yêu cầu 'tìm tất cả X' hoặc 'liệt kê mọi Y mà…' —…
parallel-memory
parallel-web
Nhớ lại các lần chạy Parallel Task, Monitor và FindAll trước đây khi chúng có thể hữu ích; loại bỏ các lần chạy hoặc xóa bộ nhớ khi được yêu cầu.
parallel-web-extract
parallel-web
Trích xuất nội dung từ nhiều URL song song, tiết kiệm token. Xử lý trang web, bài báo, PDF và các trang nặng JavaScript chỉ với một lệnh. Chạy trong ngữ cảnh fork để giảm thiểu chi phí token so với WebFetch tích hợp sẵn. Hỗ trợ trích xuất hàng loạt nhiều URL với mục tiêu tập trung tùy chọn. Yêu cầu cài đặt và xác thực parallel-cli; xuất nội dung đã trích xuất dưới dạng markdown vào tệp cục bộ cho các truy vấn tiếp theo.
parallel-web-search
parallel-web
Tìm kiếm web nhanh để lấy thông tin hiện tại, nghiên cứu và tra cứu thực tế trên internet. Thực hiện các truy vấn dựa trên một mục tiêu duy nhất hoặc nhiều tìm kiếm từ khóa song song, trả về tối đa 10 kết quả kèm trích đoạn và siêu dữ liệu. Hỗ trợ lọc nhạy cảm với thời gian qua --after-date và tìm kiếm theo tên miền cụ thể với --include-domains. Xuất ra JSON có cấu trúc với tiêu đề, URL, ngày xuất bản và trích đoạn để dễ dàng phân tích và truy vấn tiếp theo. Yêu cầu trích dẫn nội tuyến cho mọi tuyên bố bằng markdown...