Schedule a Claude Code agent to clean MNHalal listings daily

Creator set his existing Claude Code listing-cleanup agent on a daily 6 a.m. routine and verified a 260-link check.

Used for
Side business
Skill needed
Low code
Shown in video
Partial demo
Summary based on
Transcript
Hamdi MohamudWatch on YouTube

What Is an AI Agent? I Set Mine Up to Work While I Sleep (Claude Code)

Published Nov 26, 202632:0149 views3 likes

Key moments

  • 14:30Claude Code explains scheduling options
  • 20:32CLAUDE.md updated and PR 21 opened
  • 29:59Rerun checks 260 links

What they made

Daily 6 a.m. routine enabled; test run checked 260 links and flagged one listing with a malformed link, opening no PR.

260 links checked

29:59

How they did it

  1. AI9:17

    Claude Code reads project memory notes and GitHub to remind the creator where the listing-cleanup agent stood since October.

    Stated in video · Claude Code
  2. AI + human14:30

    Creator asks for unattended daily runs; Claude Code explains scheduling options and recommends a Claude routine that runs even when the Mac is off.

    Stated in video · Claude Code
  3. AI20:32

    Claude Code edits CLAUDE.md to enable scheduled runs, commits, and opens PR 21 for a daily 10-listing review at 6 a.m.

    Stated in video · Claude Code
  4. Human23:28

    Creator merges PR 21 in GitHub to activate the schedule.

    Stated in video · GitHub
  5. AI

    First test run fails because the Claude environment has no network access; Claude Code reports the failure and no PR was opened.

    Creator-reported · Claude Code
  6. Human27:38

    Creator changes the Claude environment network access from Limited to Full in claude.ai settings.

    Stated in video · Claude
  7. AI29:59

    Rerun checks 260 links, rechecking Facebook and Instagram links in a real browser, and flags one listing with a malformed link.

    Stated in video · Claude Code

What you can reuse

  • A clear CLAUDE.md rule file plus a schedule turns an on-demand agent into an unattended daily routine.
  • Keep the agent PR-only so a human merges every change before it goes live.
  • Sandboxed agent environments may block web access; link checks need network permission set explicitly.

Trade-offs

  • First test run failed because the Claude environment could not reach the web; fixed by switching network access to Full.
  • Full network access lets the agent reach any site, including pages written by strangers.
  • Each run consumes Claude usage; the creator chose Sonnet over Opus to limit cost.
  • GitHub branch protection was unavailable on the private repo, so only agent-written rules keep changes off main.
  • Daily review skips if the previous day's PR is unmerged, so the creator must approve PRs regularly.

AI-generated case summaries can contain mistakes. Report an error

Related cases