scrapfly-alerting

scrapfly-alerting is a skill for Claude Code, Codex from scrapfly/scrapfly-mcp. It costs 146 tokens per session (3,454 once invoked), scanned A, original, MIT.

A threshold-based alert system for Scrapfly project metrics such as success rate, block rate, errors, cost, and latency. It sends notifications when a metric stays beyond a chosen limit for a set time.

In plain words
What is it for?
Use it to create, inspect, pause, resume, and count active alerts, with notifications sent by email, webhook, or in-app messages.
Why use it?
It helps reveal sustained scraping failures or cost and performance changes without repeatedly checking account metrics by hand.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is scrapfly alert create --file ./alerts/success_rate.json.

Good fit Use it to create, inspect, pause, resume, and count active alerts, with notifications sent by email, webhook, or in-app messages.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/scrapfly/scrapfly-mcp
agentmods
npx agentmods add skills/scrapfly/scrapfly-mcp/scrapfly-alerting

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for scrapfly-alerting

README.md
[![agentmods](https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-alerting/github.svg)](https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-alerting)
Your own site
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-alerting"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-alerting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for scrapfly-alerting

Your own site · 80×15
<a href="https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-alerting"><img src="https://agentmods.dev/badge/skills/scrapfly/scrapfly-mcp/scrapfly-alerting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,454 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00146 $0.03454
Opus 5.5 $0.00058 $0.01382
Sonnet 5.5 $0.00029 $0.00691
Haiku 4.5 $0.00015 $0.00345

Measured 3d ago against content hash 5f8f607cda29, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

scrapfly-alerting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pkg/mcpskills/skills/scrapfly-alerting/SKILL.md · 291 lines

How it starts

The opening of the file, as written. The whole thing — 291 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Scrapfly Alerting

Scrapfly Alerting lets customers attach threshold rules to project metrics (success rate, block rate, error count, cost, latency, ...) and receive notifications when a rule sustains a breach over a configurable window. Three call paths share the same backend: REST API on api.scrapfly.io, MCP alert_* tools, and the scrapfly alert CLI subcommand. Pick whichever fits the caller — the same payload shapes, same state machine, same notification channels.

This skill is meant to be read by an AI agent that has been asked to set up an alert or manage existing alerts on a Scrapfly account. The golden rule is: never invent a threshold. Always ground the choice in real account behavior, then validate against history before committing.

When to use

  • The user says "alert me if X drops" / "tell me when Y goes above Z"
  • The user wants to monitor a specific domain, project, or product
  • The user wants to inspect existing alerts (list, get, snooze a noisy alert, unsnooze after a maintenance window, etc.)
  • A monitoring report wants to know which alerts are firing right now (count-active)

Prerequisites

  • Alerting is in open beta and available to all accounts.
  • A valid Scrapfly API key (scp-live-...). The MCP and CLI surfaces act in the project of the api-key, the only project a key reaches alerts in: an alert of another project is listed, created or changed with that project's API key, never by passing its --project-uuid / project_uuid.

The golden workflow

This is the same flow used by all three call paths. Run it in order; each step grounds the next.

  1. Discover account baseline — fetch the current per-product aggregates so you know what "normal" looks like.
  2. (Optional) Discover per-target baseline — when the user named a domain, fetch its breakdown.
  3. List metric families — the Alerting registry tells you the legal metric_id values and their allowed_dimensions. Never invent a metric ID; always pick from the registry. Unblocker errors are scrape.unblocker_errors_per_min. An existing alert may still carry a metric ID the listing no longer offers — scrape.asp_errors_per_min is the pre-rename ID of that same metric. Those alerts keep working and keep their ID; do not try to "fix" them, and do not reuse a superseded ID for a new alert.
  4. Preview the threshold against history — replay the unsaved rule over the lookback window. The preview returns "would-have-fired" markers without persisting anything. Aim for 0–2 fires over 24h: silent = rule too lax, more than ~2 = rule too noisy.
  5. Create the alert — two-step: first call returns a dry-run payload so the user can confirm, then re-call with confirm=true (or the CLI's interactive confirm) to commit.

Read the full file on GitHub · 291 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago Changed 5f8f607cda29
  2. 4d ago First seen · 291 lines · 146 tokens per session scan A c18a4170fbd0

Subscribe to this mod's changes

scrapfly-alerting is a skill published in the GitHub repository scrapfly/scrapfly-mcp (15 stars, last pushed 3d ago), licensed MIT. It adds 146 tokens to every session and 3,454 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.

Related

scrapfly-alerting compared with skills from other repositories

scrapfly-alerting next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scrapfly-alertingscrapfly/scrapfly-mcpSkill153d agoMITA146Claude Code, Codex
camoufox-cliBin-Huang/camoufox-cliSkill36620d agoMITA74Claude Code, Codex
hypersolutionsHyper-Solutions/hypersolutions-claude-codeSkill612d agononeA269Claude Code
argent-tv-interactsoftware-mansion/argentSkill3.3ktodayApache-2.0A57Claude Code, Codex
conversational-uxOwl-Listener/designer-skillsSkill3.5k11d agoMITA43Claude Code, Codex
critique-colorOwl-Listener/designer-skillsSkill3.5k11d agoMITA60Claude Code, Codex
animation-principlesOwl-Listener/designer-skillsSkill3.5k11d agoMITA59Claude Code, Codex