AI Watch · AI Code Tutorials
Brief the agent.
Keep the judgement.
Coding agents can now run real operations on real infrastructure. The hard part is no longer typing the commands; it is knowing what to ask for, in what order, and what has to be true before the next step. Each tutorial explains one job in plain terms and ends with a prompt you can copy.
The tutorials
Start here.
Encrypt your local .env with age and 1Password.
A plaintext .env is readable by every install script and tool that runs as you. Encrypt it, keep the only key in a 1Password vault behind Touch ID, and have a coding agent build and test it on dummy data.
- 0 Create the vault
- 1 Inspect, no secrets read
- 2 Build and test on dummies
- 3 Generate the key
- 4 Migrate and verify
- 5 Run without plaintext
No. 04 · 14 min
Why we build with Flask and vanilla JS, not React or Next.js
The October 2026 security week hit the PHP and Node.js runtimes while Python stayed in a few patchable libraries. The security and speed case for a small server-rendered stack, with an audit prompt.
No. 03 · 13 min
Stop PHP and WordPress scanners at Cloudflare, not at your app
PHP2Shell and a run of WordPress flaws have scanners spraying every domain. One Cloudflare rule turns them away at the edge, and a coding agent fits it to your routes so no real visitor is blocked.
No. 02 · 19 min
Give your app its own MySQL or Postgres user, not root
Why a leaked superuser credential is a takeover and a leaked app credential is not, and how to brief a coding agent to make the switch on Railway or anywhere else, with no downtime.
No. 01 · 16 min
Rotate Postgres and Redis passwords on Railway with an AI agent
Brief a coding agent to change database passwords through a private tunnel, without restarting Postgres and with seconds of exposure instead of minutes.
How they work
Plain words, then a prompt.
Explained first
What is going on, in plain terms, with diagrams. You should understand the job before you delegate it.
Safe by construction
Read-only first, gates between phases, nothing secret printed. The agent asks before it touches anything live.
Tested on real systems
Every method has been run on production apps before it is published here.
A prompt to copy
One click gives you a brief to paste into Claude Code, Codex, Cursor or any agent that runs shell commands.
Want an agent workflow built around your own stack?
We set these up with teams in our AI workshops: the briefs, the guard rails and the habits.