◉CLAUDE LABJP
●CC 2.1.332 — 2.1.332 (11/25) is still current. Skills from MCP servers appear as server:skill (beta)●OPUS 4.5 — Opus 4.5 is now scheduled to retire from the Claude API on 2027/1/22. Move to claude-opus-5-5●SONNET 4.5 — Sonnet 4.5 retires from the Claude API tomorrow, 11/30. Last day to check for hard-coded IDs●DISK — Users on Windows report Cowork's session disk filling up with no way to clean it●NEW — New: Asking Cowork for a meeting draft? Hand over old minutes after the outline is set●JETBRAINS — Our guide to using Claude with JetBrains IDEs is still among the most-read pages●CC 2.1.332 — 2.1.332 (11/25) is still current. Skills from MCP servers appear as server:skill (beta)●OPUS 4.5 — Opus 4.5 is now scheduled to retire from the Claude API on 2027/1/22. Move to claude-opus-5-5●SONNET 4.5 — Sonnet 4.5 retires from the Claude API tomorrow, 11/30. Last day to check for hard-coded IDs●DISK — Users on Windows report Cowork's session disk filling up with no way to clean it●NEW — New: Asking Cowork for a meeting draft? Hand over old minutes after the outline is set●JETBRAINS — Our guide to using Claude with JetBrains IDEs is still among the most-read pages
Articles/Cowork
◈ Cowork/2026-11-27Intermediate

Before Handing Weekly Site Checks to Cowork, I Write Down When It Should Speak Up and When It Can Stay Quiet

Once routine checks run on a schedule, there comes a week when you stop opening the reports. Claude Desktop notifies you every time a run finishes, so the thing to quiet down is the first line of the report, not the notification. Here is how I write the speak-up and stay-quiet conditions, plus a small check script that returns a one-line verdict.

scheduled-tasks6cowork17notificationsworkflow45site-operations

One Monday morning I opened my iMac to a row of reports from checks that had run over the weekend. Each one was a few careful paragraphs, and each one ended with some version of "no issues were found." By the third week of reading that same ending, I had started marking them read without opening them.

The trouble came the week after. On one of the WordPress sites I run, a plugin update had changed the sitemap URL. The report did mention it — in the third paragraph, inside a sentence that began with "just to be safe."

The check itself had worked. What I, as an indie developer looking after apps and websites on my own, had skipped was deciding what should make me stop and look before I handed the check off.

The place to go quiet is the first line, not the notification

A Cowork scheduled task runs a saved prompt in a fresh session at the time you set. The official documentation (Scheduled tasks in Claude Desktop) describes how results reach you:

unless the user has turned them off, Claude Desktop sends a desktop notification when a run finishes, fails, waits for the user, or can't start

So unless you have turned notifications off, you get one every time a run finishes, whether or not anything is wrong. Writing "don't notify me if everything is fine" into the prompt won't stop that notification.

Which means "staying quiet" really means something else: making it obvious, at a glance, that you don't need to open this one. If the first line starts with "All clear," scanning the notification list is the whole morning check.

The app tells me whether it ran; the first line tells me whether to look. That's the split I build around now.

Don't re-implement what the app already reports

The same page lists what happens when a run doesn't go to plan. Reading it before writing the prompt saves you from building a second, overlapping alarm.

  • If the device was asleep or the app was closed at the scheduled time, the task runs once after it wakes or opens. Several missed times still produce one run, for the latest, and times older than seven days don't run
  • If the provider returns errors such as 500, 503 or 529, the run is retried up to eight times over three to four hours, and you're notified of the first failure and the final outcome
  • If a step asks for approval and nobody answers, the run waits and you're notified. In Cowork, that can push the next run back by up to two hours
  • A recurring task starts up to ten minutes after its scheduled time, unless you turn on Run at exact time

Failed, waiting, couldn't start: the app covers those. The prompt only has to handle runs that finished but found something wrong.

There's one behavior that's easy to miss, though:

The task's connectors are signed in: otherwise the run continues without the connector

If a connector's sign-in has lapsed, the run carries on without it. The notification shows Reconnect, but the report itself may still say "no issues in what I could see." That's why I always put "a connector or tool I couldn't use" on the speak-up side. I wrote more about deciding whether to wait or hand back on those mornings in three states of an unavailable connector.

Three speak-up lines, three stay-quiet lines

Before touching the prompt, I write the conditions in a plain note. The key is not to define "quiet" as "none of the alert conditions." Spell out what has to be true for silence to be earned.

Speak up (any one)Stay quiet (all of these)
The check script returned ALERTThe check script returned QUIET
The script didn't run, or there's no verdict lineThe number of sites checked matches last time
A connector or tool couldn't be usedLast run's log exists and is within seven days

The second and third rows on the right are the ones that matter. If fewer sites were checked, or there's no previous log, an "all clear" may only mean nothing was measured. Anything that couldn't be measured never goes on the quiet side — I settle that line while it's still just a table.

A check script that returns a one-line verdict

If you leave every condition to Claude's reading, the tone of the report drifts from run to run. So I moved the mechanical part into a small script that prints only a verdict on its last line. It looks at three things: days left on the TLS certificate, the home page response, and the sitemap.xml response.

import socket
import ssl
import urllib.error
import urllib.request
from datetime import datetime, timezone
 
SITES = ["example.com", "example.org"]  # domains to check
CERT_WARN_DAYS = 14                      # speak up below this many days
 
 
def cert_days_left(host):
    ctx = ssl.create_default_context()
    with socket.create_connection((host, 443), timeout=10) as sock:
        with ctx.wrap_socket(sock, server_hostname=host) as s:
            not_after = s.getpeercert()["notAfter"]
    expires = datetime.strptime(not_after, "%b %d %H:%M:%S %Y %Z")
    expires = expires.replace(tzinfo=timezone.utc)
    return (expires - datetime.now(timezone.utc)).days
 
 
def http_status(url, method="HEAD"):
    req = urllib.request.Request(url, method=method, headers={"User-Agent": "site-check/1.0"})
    try:
        with urllib.request.urlopen(req, timeout=15) as r:
            return r.status
    except urllib.error.HTTPError as e:
        if e.code == 405 and method == "HEAD":
            return http_status(url, "GET")  # for servers that refuse HEAD
        return e.code
 
 
alerts = []
for host in SITES:
    try:
        days = cert_days_left(host)
        if days < CERT_WARN_DAYS:
            alerts.append(f"{host}: certificate expires in {days} days")
        for path in ["/", "/sitemap.xml"]:
            code = http_status(f"https://{host}{path}")
            if code != 200:
                alerts.append(f"{host}{path}: HTTP {code}")
    except Exception as e:
        alerts.append(f"{host}: could not check ({type(e).__name__})")
 
for a in alerts:
    print(" - " + a)
print(f"VERDICT: {'ALERT' if alerts else 'QUIET'} sites={len(SITES)}")

Three notes on why it's written this way:

  • Exceptions count as ALERT. Skipping a site you couldn't reach quietly turns "couldn't check" into "fine"
  • The verdict appears exactly once, on the last line. The prompt only needs to say "read the VERDICT on the last line," and the wording of the report can't blur it. I used the same last-line marker idea in adding one marker line to completion logs
  • sites= prints the count. A count that differs from last time is reason enough to speak up

Some servers really do answer HEAD with 405, so only then does it retry with GET. urlopen follows redirects, so the verdict is based on the final response code.

The prompt holds only the conditions and the shape of line one

With the table and the script in place, the scheduled task's prompt stays short:

Runs every Monday morning.
1. Run site_check.py and read the VERDICT on its last line.
2. If any of these is true, start line 1 with "Needs a look:".
   - VERDICT is ALERT
   - There is no VERDICT line, or the script did not run
   - The sites= count differs from the last entry in check_log.txt
   - A connector or tool could not be used
3. Only when none are true and check_log.txt has an entry from the last 7 days,
   start line 1 with "All clear" and write nothing after it.
4. For "Needs a look", say what, where and the next step on line 1, under 80 characters.
5. Every run, append the date, VERDICT and sites= to check_log.txt.

"Write nothing after it" in step 3 helped me more than anything else. When quiet weeks still produce polite paragraphs, you learn to treat the reports as something you can skip. If a quiet week says so in one line, the one line in a bad week actually gets seen.

When picking the time, it helps to remember that a missed run fires once after startup. I covered weekday and frequency setups in checking whether a task will run next Saturday.

What I noticed after running it

My first version didn't have "last log within seven days" on the quiet side. One week the machine had been closed for a few days; the check ran once after I opened it and, naturally, said all clear. But check_log.txt showed the previous entry was more than ten days old. The result was right — and I still wanted to be told there had been a gap.

Limiting the "Needs a look" line to a short sentence also meant the notification preview alone told me what to do. "example.org/sitemap.xml: HTTP 404 — check plugin settings" sends me to the admin screen before I've even opened the report.

Start with a single table

You don't need the script on day one. Pick one check you already run and write three speak-up lines and three stay-quiet lines for it. Then see whether the quiet side has a line that confirms something was actually measured — that alone may change how you read your Monday notifications.

Share

Thank You for Reading

Claude Lab is ad-free, supported entirely by members like you. We publish practical guides daily with implementation code, benchmarks, and production-ready patterns. If you've found it useful, we'd love to have you on board.

  • ✦Copy-paste ready implementation code
  • ✦New advanced guides published daily
  • ✦$5/mo or $10 for lifetime access
View Membership →

If you found this article helpful, a small tip ($1.50) would mean a lot to us. Your support helps keep this site ad-free and covers server and hosting costs.

Related Articles

◈ Cowork2026-08-23
Not Every Unreachable Connector Means the Same Thing in an Unattended Run
When an unattended task cannot reach a connector, the cause splits into three states: still connecting, unauthenticated, or genuinely absent. Each demands the opposite response. Here is the resolver that tells them apart.
◈ Cowork2026-04-30
Codify Your Writing Voice as a Cowork Skill: A Personal Brand Style Guide Pattern
How to capture your own writing voice — vocabulary, rhythm, structural quirks — as a Cowork Skill, using a three-step loop of observation, SKILL.md authoring, and falsification testing, plus a small helper script that turns the numbers into a list of places to re-read.
◈ Cowork2026-10-08
The Night I Halved the Instructions I Load Every Time: Three Drawers Before Any Cutting
The longer an instruction file grows, the more rules slip through. Here is how I sorted what gets loaded every time into keep, move, and delete, plus a small script that measures each heading.