Claude Forgets Everything Overnight — The 3:30 AM Batch That Harvests What It Learned A developer built a batch process that runs at 3:30 AM to harvest non-obvious procedures from Claude Code conversation logs and save them as reusable skill files, enabling the AI assistant to start each day with accumulated knowledge. The engineer reports that this environment investment, rather than raw coding speed, drove their revenue from ¥100,000 to ¥1.2 million per month across multiple gigs. My conversation logs are gone by morning. My environment, meanwhile, wakes up smarter than it went to bed. When I started freelancing on the side, I was burning three to four hours every night to make ¥100,000 a month. Once I started using Claude Code to mass-produce content, I got up to ¥600,000 a month across multiple gigs — and then I was laid off and went back to zero. Six months on, what actually supports my current ¥1.2M/month in revenue is honestly not the code itself. It's the environment . What do I mean by "environment"? My definition: a mechanism that lets next week's me start out smarter than this week's me. This is not about taking notes on what you learn. You skip notes. Note-taking interrupts the work. And three weeks later you never look at them again. When I'm pair-programming with Claude Code, I hit "oh, this is useful" moments several times a day. How to run a batch without tripping an API rate limit. Why the shell PATH dies inside a launchd plist and how to work around it. Why an automation script's writes get blocked unless you copy through a staging directory — none of this is in the docs. It's non-obvious knowledge you only acquire by tripping over it in that specific environment. The problem is that this kind of knowledge evaporates across sessions . Claude Code closes its context per session. Even if today's conversation teaches me that "anything under ~/.claude/ is write-protected by Claude Code itself, so you have to copy through staging," tomorrow's session doesn't have that knowledge. The next time I hit the same wall, I pay the same cost again. Most people start out thinking "let's use Claude to work faster." I did too. But work speed has a ceiling — the physical wall of 24 hours in a day. Investing in the environment moves that ceiling. If this week's me does the work with 100 units of knowledge and next week's me does it with 150, I can handle more complex work in the same time. Once my skill library passed 200 entries, the quality of my instructions to Claude Code visibly changed. Just adding "same pattern as that skill" gets non-obvious procedures executed without any context explanation. The catch is that doing this "environment investment" by hand falls apart. Re-reading conversation logs and writing notes is not sustainable in a side-hustle setting full of interruptions. The solution is simple: write a rule into CLAUDE.md telling Claude Code, "when you find a useful procedure, write yourself a skill file." That rule actually exists. ~/.claude/CLAUDE.md(抜粋) スキル自己生成(auto-skills) 再利用価値のある手順(5回以上ツールの非自明タスク完遂・回避策発見・ アプローチ修正された・再利用手順発見)は頼まれなくても ~/.claude/skills/auto/