Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

A weekly Claude Code audit workflow for site security and code health

AI summary

A Reddit user says they created two Claude Code skills to run 20-plus security checks and identify broken, slow, heavy, or hard-to-maintain code. The weekly workflow uses Launchd and Caffeinate, launches subagents to inspect the site, and emails severity-ranked findings through the Resend API; the user says it has been running for six months and regularly surfaces issues to fix.

In-depth insight

The post provides a concrete, user-reported example of combining Claude Code with scheduled local tasks, subagents, and email reporting for recurring security and code-quality audits.

Being non-technical, I've been concerned about my lack of coding knowledge as my site scales.

Here's the setup I've found helpful to catch vulnerabilities and messy code using Claude Code.

It's been running for 6 months and regularly catches things to fix, while keeping me confident in what I ship.

How I set it up:

  • Told Claude Code I'm non-technical and wanted my site as secure and healthy as possible - Had it research top exploits, code flaws, and hacking methods in 2026
  • Then had Claude build 2 skills off what it found: - Security audit: 20+ checks, like logins, API routes, file uploads, rate limits, exposed secrets - Codebase audit: finds things that are broken, slow, heavy, or hard to maintain
  • Scheduled them to run once a week at night when my usage is low - Launchd runs them and Caffeinate keeps my Mac on

What happens each week:

  • The skills launch a bunch of subagents to read the code and suggest fixes - One week a month they scan the full site, the other weeks they scan only the new commits
  • I get an email through the Resend API with findings ranked by severity - Full detailed reports are saved too
  • Each finding gets added to a log for tracking
  • I patch the biggest things, merge Dependabot updates, and repush the site
  • The log is updated with any fixes and decisions

Hope this helps other new builders make their sites more secure!

submitted by /u/chasing_next [link] [comments]

#Claude Code#Launchd#Caffeinate#Resend API#Dependabot

Original · 1 min readRead the original
Group chat

No comments yet. Start the conversation.