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.
git clone --depth 1 https://github.com/scrapfly/scrapfly-mcpnpx agentmods add skills/scrapfly/scrapfly-mcp/scrapfly-alertingWrote 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.
[](https://agentmods.dev/skills/scrapfly/scrapfly-mcp/scrapfly-alerting)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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.
- Discover account baseline — fetch the current per-product aggregates so you know what "normal" looks like.
- (Optional) Discover per-target baseline — when the user named a domain, fetch its breakdown.
- List metric families — the Alerting registry tells you the legal
metric_idvalues and theirallowed_dimensions. Never invent a metric ID; always pick from the registry. Unblocker errors arescrape.unblocker_errors_per_min. An existing alert may still carry a metric ID the listing no longer offers —scrape.asp_errors_per_minis 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. - 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.
- 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.
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.
- 3d ago Changed 5f8f607cda29
- 4d ago First seen · 291 lines · 146 tokens per session scan A c18a4170fbd0
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.
scrapfly-alerting compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| scrapfly-alertingscrapfly/scrapfly-mcp | Skill | 15 | 3d ago | MIT | A | 146 | Claude Code, Codex |
| camoufox-cliBin-Huang/camoufox-cli | Skill | 366 | 20d ago | MIT | A | 74 | Claude Code, Codex |
| hypersolutionsHyper-Solutions/hypersolutions-claude-code | Skill | 6 | 12d ago | none | A | 269 | Claude Code |
| argent-tv-interactsoftware-mansion/argent | Skill | 3.3k | today | Apache-2.0 | A | 57 | Claude Code, Codex |
| conversational-uxOwl-Listener/designer-skills | Skill | 3.5k | 11d ago | MIT | A | 43 | Claude Code, Codex |
| critique-colorOwl-Listener/designer-skills | Skill | 3.5k | 11d ago | MIT | A | 60 | Claude Code, Codex |
| animation-principlesOwl-Listener/designer-skills | Skill | 3.5k | 11d ago | MIT | A | 59 | Claude Code, Codex |