Build Your AI Software Factory with a Second Brain and a 24/7 VPS

The Folder Structure That Makes It All Work

The whole thing starts with what I call the second brain. It's a private GitHub repository that contains everything your AI agents need to know about your projects, your preferences, your workflows. If you've already got a local folder with your project contexts and skills, you just push that into a private repo and connect Claude Code to GitHub. The private part matters because this is your entire workspace.

Mine has a specific structure, but yours might look different. Everyone's second brain reflects how they think. Here's what my core folders look like.

I keep a raw folder and a context folder. The raw folder is where the unprocessed stuff lives. Meeting transcripts, emails, raw data from different sources. Things that haven't been synthesized yet. The context folder is the summary version. When your AI agent needs to answer a question like "what happened last Friday," it doesn't dig through the raw folder. It goes straight to context to pull the most updated, synthesized information. The raw folder is just the source material. Project requirements, scoping documents, whatever you've captured from Gmail or Google Meet or anywhere else.

Then there's the agents and Claude folder with skills, scripts, and documentation. And a projects folder where each application gets its own repository with its own version control. One project, one repo. The second brain manages all of them.

Setting Up the VPS So Claude Code Runs 24/7

This is where it gets interesting. You need a VPS that can run Claude Code and handle multiple AI agents working simultaneously. I went with the KVM2 plan. 8 GB of RAM and 100 GB of storage. The KVM1 plan with 4 GB and 50 GB works for smaller projects, but I run multiple agents across different work trees and different projects at the same time. You don't want to hit a ceiling mid-build.

During setup, pick the location with the lowest latency. For the OS, just type in Claude Code and select that image. It comes pre-installed, so once the VPS finishes provisioning, you SSH in and Claude Code is already there waiting.

The first time you connect, it walks you through a quick setup. Match your terminal theme, authenticate your Claude account with a subscription, paste in the code from the browser. Once that's done, rename your session to something meaningful. I called mine "master."

Now here's the trick. Enable remote control on that session. Type the command to keep the session running on the machine and allow other devices to remote into it. Then open your Claude Code desktop app. At the bottom, you'll see that session appear. You can type into it from your app, and even if your local computer is turned off, the agents keep running on the VPS. The Claude app just becomes a window into an always-on system.

Cloning Your Second Brain Into the Cloud

Once the VPS is running, you need to pull your second brain into it. Install git first if it's not there. Then clone your private repository. Now your entire Eric OS folder, your context, your skills, your project references, everything lives on the VPS.

At this point, you've got a cloud machine with Claude Code installed and your full knowledge base sitting right there. The agents you've built locally, the skills you've defined, the context you've curated. All of it carries over. You're not starting from scratch.

How the Software Factory Actually Works

This is the part I want to break down step by step because it's the core of the whole system. The software factory runs as a collection of skills that work together in a loop.

Super collect is the first skill. It finds real problems from real sources. User feedback from your application, pricing issues, feature requests, GitHub tickets where someone says "hey, I want this feature" or "this is missing." It collects all of those issues and adds them to your kanban board. You can have it convert them to spec tickets that the factory builds from, or you can drop them directly into the board and let the orchestrator handle them.

I ran super collect and it found eight tickets. Some urgent bugs in production, some improvements to the user experience, all sitting in the backlog. I told it to file everything into the ready column and process them in the next wave.

Superboard lint comes next. Before the factory spins up, you want to make sure every ticket has clear acceptance criteria. Run this in a fresh context window because the previous one gets bloated. It goes through each ticket, asks clarifying questions, makes sure you're aligned on what needs to be built.

Then you trigger super run. This is the entire factory. It spins up the builder, the QA agent, and the reviewer. They process tickets in waves. Each wave spawns three sub-agents working in different work trees. The factory ran for about 30 minutes and got through five waves while I was doing other things.

Here's the loop. Super collect gathers issues. Superboard lint validates the tickets. Super run builds them. You can piece these together and have them trigger automatically. You can also step in between stages if you want. Look at the tickets, give feedback, let Claude modify them before the fan-out happens. Either way works. Full autonomy or human-in-the-loop.

Running Multiple Sessions in Parallel

The really powerful thing is that you're not limited to one session. On the VPS, I had two sessions running simultaneously.

One session was the software factory, superboard, processing waves of tickets. It ran for 30 minutes, hit the fifth wave, and kept going. Each wave spins up three sub-agents, works on them in isolated work trees, and moves on.

The other session was super collect, set to run on a schedule. Every day at 7 a.m., it collects issues from Sentry, PostHog, GitHub, wherever your feedback lives, and adds them to the kanban board. You decide the logic. Either tickets go to the backlog for manual review, or hotfixes go straight to the ready column. Then the factory picks them up because it's listening for new tickets in the ready column.

Two sessions. One collecting, one building. Both running remotely. Both accessible from the Claude app on your phone even if your laptop is off.

Monitoring Your System Resources

When you're running dynamic workflows with multiple sub-agents, you need to watch your resource usage. The Hostinger dashboard shows you the last 24 hours. With the factory running, CPU hit around 70%. RAM spiked to about 7 GB at one point.

If you're on the KVM1 plan with 4 GB of RAM, you're going to hit the limit fast. KVM2 with 8 GB gives you headroom. If you need to dial things back, reduce the number of sub-agents per wave. Go from three to two. Or upgrade the plan. The dashboard tells you exactly where you stand.

Key Takeaways

  • Your second brain is a private GitHub repo containing your context, skills, and project references. Claude Code pulls from it directly on the VPS.
  • The VPS runs Claude Code with remote control enabled, so your agents stay on even when your local machine is off.
  • The software factory uses three skills in sequence: super collect finds issues, superboard lint validates tickets, super run builds them in waves with sub-agents.
  • You can run multiple sessions in parallel. One collects issues on a schedule. The other processes tickets from the ready column.
  • Monitor CPU and RAM through the VPS dashboard. Adjust sub-agents per wave or upgrade your plan if you're hitting limits.
  • The entire loop can run autonomously or with you stepping in to review tickets before the factory processes them.

This setup means you're not babysitting a terminal. The factory runs in the cloud, picks up real issues from real users, and builds fixes while you're asleep. You check in through the Claude app, see what's happening, and decide how much you want to be involved.