uptime-check

uptime-check is a command for Claude Code from alifanov/darkflow. It costs 26 tokens per session (2,028 once invoked), scanned A, original, MIT.

A website availability check that tests domain lookup, the web response, and whether the page contains real content.

In plain words
What is it for?
Checking a configured website and creating an urgent repair task when DNS, HTTP, or page content checks fail.
Why use it?
It distinguishes a working site from one that only responds technically but shows an error, blank page, or maintenance screen.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Checking a configured website and creating an urgent repair task when DNS, HTTP, or page content checks fail.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/alifanov/darkflow/uptime-check
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/alifanov/darkflow

Made for: Claude Code.

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 uptime-check

README.md
[![agentmods](https://agentmods.dev/badge/commands/alifanov/darkflow/uptime-check/github.svg)](https://agentmods.dev/commands/alifanov/darkflow/uptime-check)
Your own site
<a href="https://agentmods.dev/commands/alifanov/darkflow/uptime-check"><img src="https://agentmods.dev/badge/commands/alifanov/darkflow/uptime-check/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 uptime-check

Your own site · 80×15
<a href="https://agentmods.dev/commands/alifanov/darkflow/uptime-check"><img src="https://agentmods.dev/badge/commands/alifanov/darkflow/uptime-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,028 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00026 $0.02028
Opus 5.5 $0.00010 $0.00811
Sonnet 5.5 $0.00005 $0.00406
Haiku 4.5 $0.00003 $0.00203

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

Security

Grade A, and why

uptime-check scanned grade A with 1 finding 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 15d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

> **Note — cheap pre-flight.** The dispatcher (`darkflow-run.sh`) runs a fast bash `curl` probe *before* launching this agent. On the common happy path (site returns 2xx with a real body) it writes the snapshot + metrics
templates/.claude/commands/darkflow/uptime-check.md · 151 lines

How it starts

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

Check whether this project's website is actually up: resolve DNS, hit the URL, verify the HTTP status is healthy, and confirm the page really loads (not a blank/error/maintenance page). If the site is down or broken, create an auto-approved critical-priority task so fix-issues picks it up immediately and restores it.

This is an active health check: when the site is healthy it does nothing but write a snapshot. When the site is broken it files a critical, auto-approved task describing exactly what failed (DNS, HTTP status, or empty/error body) so the fix can start without waiting for human triage.

Note — cheap pre-flight. The dispatcher (darkflow-run.sh) runs a fast bash curl probe before launching this agent. On the common happy path (site returns 2xx with a real body) it writes the snapshot + metrics itself and skips this agent entirely — so on healthy runs you are not invoked at all. This agent runs only when the probe finds the site down/broken or can't decide (no site_url, DNS failure, etc.). When you are invoked, perform the full check below from scratch (the probe is only a coarse filter) and file the issue.

Step 1 — Read project config

Load the project config (contract in .darkflow.d/claude.md → Project config). Uses: domain, language.

Step 2 — Resolve the URL to check

If domain is set, use it. Otherwise, auto-discover the production URL from the project (first match wins):

  • Coolify: coolify app list then the app's FQDN/domain (if the coolify CLI is configured)
  • vercel.json / .vercel/project.json production domain
  • netlify.toml site URL
  • CNAME file (GitHub Pages custom domain)
  • package.json → homepage
  • A production URL stated in README.md or docs/

If a URL is found this way, use it for this run and say in the output that domain should be set in the Web UI.

If no URL can be determined at all, do not create an issue. Output uptime-check: no site_url configured and none discoverable — skipping and still write the snapshot (Step 5) noting that the target is unknown. Done.

Read the full file on GitHub · 151 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. 15d ago Changed · +4 lines 37dee0242bf0
  2. 1mo ago Changed · -3 lines 3e309eccc8eb
  3. 3mo ago First seen · 150 lines · 26 tokens per session scan A c7716922cea4

Subscribe to this mod's changes

uptime-check is a command published in the GitHub repository alifanov/darkflow (4 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 2,028 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

uptime-check compared with commands from other repositories

uptime-check next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
uptime-checkalifanov/darkflowCommand4yesterdayMITA26Claude Code
localgetsentry/toolkitCommand977yesterdaynoneA0Claude Code
issuegetsentry/toolkitCommand977yesterdaynoneA0Claude Code
authgetsentry/toolkitCommand977yesterdaynoneA0Claude Code
debug-filesgetsentry/toolkitCommand977yesterdaynoneA0Claude Code
apigetsentry/toolkitCommand977yesterdaynoneA0Claude Code
eventgetsentry/toolkitCommand977yesterdaynoneA0Claude Code