Free guide
How to build your own posting system with Claude Code
A cockpit that shows you every day what's next on Facebook, Instagram, YouTube and TikTok. And a studio where reels and post images are made from code. Free, to build yourself.
Online with copy buttons: https://www.mindriclab.de/en/guide/posting-system/
I'm Rico, and I build my own tools with AI. Two of them I use every day for my channels: a posting cockpit and a reel studio. Claude Code wrote both. I said what I needed and tested.
This is not a finished app to download. It's the build guide: how the system is put together, in which order you have it built, and with which briefings. You can copy the briefings and adapt them to your channels. Your system will end up looking different from mine, and that's a good thing.
You don't need to know how to program. But you should read what the AI is planning, ask questions and try everything yourself.
1What you end up with
The cockpit is a small app on your computer that runs in its own window.
- At the top you see, for each channel, when you last posted and how much is ready.
- Below that there's a tab per channel showing what's due today, for example one reel and one post.
- Every card has buttons: copy text, copy image, copy video, show in folder, mark as done.
- You change the order by dragging.
- Anything the AI has newly written carries a "new" label until you've read it.

The studio is a Remotion project. Remotion turns code into videos and images. In it I make vertical reels with music, with scenes that change on the beat, plus post images, carousel slides and covers.
Claude Code sits in between. It writes new posts straight into the cockpit's file, builds images and reels in the studio and adds them to the list.
You ── briefing ──▶ Claude Code ── writes ──▶ posts.json ◀── reads, marks done ── cockpit window
│ │
└── builds ──▶ studio ── renders ──▶ images and reels ─────────┘
▼
you copy and post yourselfWhat it doesn't do: post. The cockpit has no access to your accounts, no passwords, no connection to Facebook or TikTok. You copy and post yourself. That's on purpose: you read every post before it goes out, and no program can publish anything in your name.
2What you need
- Windows 10 or 11. My system runs on Windows. Some parts, such as copying video files to the clipboard, use Windows directly. The basic idea works on Mac or Linux too, but Claude would have to build those parts differently. I haven't tried that.
- Claude Code. You need a Claude subscription that includes Claude Code, or an API account with Anthropic. Current terms are on Anthropic's site.
- Python 3 for the cockpit. It only uses the standard library, so no extra packages.
- Node.js for Remotion.
- Microsoft Edge (included with Windows) or Chrome for the app window.
- ffmpeg if you want to cut music and measure the beat.
- Git and a GitHub account if you want automatic backups (recommended, not required).
- Suno for your own music. Important note on licensing in chapter 9.
I deliberately don't say how long this takes. My system wasn't built in one go. I'm still adding and improving things whenever I notice something missing in daily use. That's exactly how you should approach it too: start small, use it, then expand.
3How I work with Claude Code
Before we build anything, the way of working. It matters more than any single briefing.
Plan first, then GO. Claude Code isn't allowed to start right away. First it shows what it intends to do: which files, which steps, what it needs from me. I read it, ask questions, change things, and only when I type "GO" does it build. That way you catch misunderstandings before they end up in the code.
One stage at a time. Not the whole cockpit in one briefing. First the basic version, use it, then the next stage. The briefings in chapter 6 are split up exactly like that.
Test it yourself. When the AI says "done", that doesn't mean it works. I click every button myself and say what doesn't work. Ideally with a screenshot.
Review before it goes in. I look at every reel and every image before it goes into the cockpit.
One topic per chat. When a chat gets very long, the AI gets less precise. At the end I have it write a handover and open a new chat for the next topic.
Write decisions down. A file decisions.md records what's been decided and why. Otherwise you'll be discussing the same question again three weeks later.
Template 1Frame for every briefing
I want [goal in one sentence].
What it should do:
- [...]
- [...]
What it should not do:
- [...]
Setup: Windows, [Python / Node.js], as few dependencies as possible.
Show me a plan first: which files, which steps, what you need from me.
Ask if anything is unclear. Don't start until I write GO.Template 2Handover at the end of a chat
Let's stop here. Write into HANDOVER.md:
- what got finished today
- what's still open, each with the next step
- which decisions we made and why
- what to read first in a new chat
Short and without repetition. Replace old status, don't append.4Folders and CLAUDE.md
This is the structure. You can pick your own names.
my-posting-system/
├─ CLAUDE.md rules for Claude, apply in every session
├─ HANDOVER.md current status
├─ decisions.md what's decided and why
├─ content-rules.md how your posts should sound
├─ ideas.md ideas that aren't built yet
├─ cockpit/
│ ├─ CLAUDE.md data model and rules for the cockpit
│ ├─ cockpit.pyw the small server
│ ├─ data/posts.json all posts, the single source
│ └─ web/ interface: index.html, app.js, style.css
├─ studio/ Remotion project
│ ├─ CLAUDE.md
│ └─ src/
└─ media/
├─ images/
├─ reels/
└─ music/LICENSES.mdClaude Code reads CLAUDE.md on its own at the start of every session. It holds your fixed rules and where things live. Keep it short, or the important parts get lost. Subfolders like cockpit/ and studio/ get their own CLAUDE.md with the details for that part.
A folder with keys or passwords doesn't belong in this project folder. If you do have one, write in CLAUDE.md that Claude must never open it.
Template 3CLAUDE.md, basic version
# My posting system – rules for Claude
Talk to me in English. I'm not a developer, explain technical terms briefly.
Read HANDOVER.md first for the current status.
## Always
- Show a plan first, then wait for my GO. Only reading is allowed without GO.
- Say honestly what has been tested and what hasn't.
- When you change cockpit/data/posts.json: increase "revision" by 1.
- Add new decisions at the top of decisions.md.
## Never
- Never put anything into Windows startup. No hidden start scripts (VBS, invisible windows).
If something should start automatically, tell me how to set it up myself.
- Don't delete files. Anything that should go is moved to the folder _discard, I delete myself.
- No passwords or API keys in code, texts or Git.
- Don't post or publish anything. I do that myself.
## Where things are
- cockpit/ – the app. All posts in cockpit/data/posts.json (single source)
- studio/ – Remotion project for reels and images
- media/ – finished images, reels, music (origin in media/music/LICENSES.md)
- content-rules.md – how my posts should sound
- ideas.md – ideas that aren't built yet5The heart: one file for all posts
Everything depends on one single file: posts.json. It holds all posts, their texts, images, videos and, for every channel, whether and when it was posted.
Why one file and not a database?
- Claude Code can read it directly and write new posts into it. The app then simply shows them.
- You can open it in any editor and see right away what's in it.
- With Git every change is backed up and can be restored.
Here's an excerpt (made-up examples):
{
"version": 1,
"revision": 41,
"next_id": 13,
"posts": [
{
"id": "p011",
"position": 4,
"title": "Prompt: understand an error message",
"type": "Template",
"new": true,
"text": "Finished Facebook text with the template …",
"comment": "",
"image": "media/images/error-message.png",
"images": [],
"video": "",
"cover": "",
"tasks": [
{ "channel": "Facebook", "what": "Post with image", "done": null },
{ "channel": "Instagram", "what": "Image post with caption",
"text": "Separate caption for Instagram …", "done": null }
],
"note": ""
},
{
"id": "p012",
"position": 5,
"title": "Reel: plan first, then GO",
"type": "Reel",
"new": false,
"ai_label": true,
"text": "Facebook text for the reel …",
"video": "media/reels/plan-go/reel-plan-go.mp4",
"cover": "media/reels/plan-go/cover-plan-go.png",
"tasks": [
{ "channel": "Facebook", "what": "Reel with this text", "done": "2026-01-14" },
{ "channel": "Instagram", "text": "Caption …", "done": "2026-01-14" },
{ "channel": "YouTube", "title": "Title …", "text": "Description …", "done": null },
{ "channel": "TikTok", "text": "Description …", "done": null }
]
}
]
}The key ideas behind it:
- One task per channel, with its own text and its own checkmark. Instagram wants different text than Facebook, YouTube needs a title. And often you don't post everywhere on the same day.
positionis the order, without gaps, starting at 1. The app renumbers it when you reorder.revisionis a counter that goes up with every change. This is the most important trick in the whole system. The app remembers which revision it loaded. If Claude has added something in the meantime, the revision in the file is higher. Then the app reloads instead of overwriting Claude's entry with its old version.new: truemarks what Claude wrote. The app shows a label until you mark the post as done.- Placeholders: A post with an empty
textand a note like "Not written yet" is a topic for later. The app shows it under "In preparation" and skips it for "Next up". - Paths relative to the project folder. Then everything still works if you move the folder.
- Safe saving: write to a temporary file first, keep the old version as
.bak, then replace. If something crashes in the middle of writing, the file isn't broken.
Copy your own data model into cockpit/CLAUDE.md, with one sentence on each field. Then Claude sticks to it in every session.
6Building the cockpit, step by step
Each stage is its own briefing, and after each stage the cockpit is usable. Use it for a few days before you tackle the next stage. Then you'll know what you're really missing.
Stage 1: The basic version
A small Python server that only runs on your computer, and an HTML interface that opens in its own window. Edge can open a page in app mode, without address bar and tabs. Then it looks like a program of its own.
Two security things belong in from the start. The server only answers on your own computer (127.0.0.1). And it only accepts changes from its own window: it checks the Host header and requires a custom header that other websites can't set. Otherwise, in principle, any website you have open on the side could send requests to your local server.
Template 4Cockpit, stage 1
Build me a posting cockpit in the folder cockpit/.
Technology:
- A small local server in Python, standard library only, no framework.
- It only listens on 127.0.0.1. It only answers requests whose Host header is its own
address. It only accepts changes (POST) with a custom header, e.g. X-Cockpit: 1.
- The interface is plain HTML, CSS and JavaScript in the folder web/, no internet.
- On start, Edge opens in app mode (--app=...) with its own profile folder.
- If the server is already running, a second start only opens the window.
- Saving: write to a temporary file first, keep the old version as .bak, then replace.
- When saving, the app sends the "revision" it knows. If the file has changed in the
meantime, the server refuses and the app reloads. A successful save increases
"revision" by 1.
Data: all posts in cockpit/data/posts.json. Data model:
[paste your data model from chapter 5 here]
Interface, first stage:
- At the top, one tile per channel: when I last posted, how many posts are ready.
- Below, one tab per channel: [your channels, e.g. Facebook, Instagram, YouTube, TikTok]
- In each tab: "Next up" (first open post with a task in this channel),
below it the list "After that".
- Each tab only shows the text and the checkmark for its own channel.
- Marking as done sets today's date on that task.
- Create 5 made-up sample posts for testing.
Start by double-click: a shortcut to pythonw.exe with the script, no console window.
Don't put anything into Windows startup.
Show me a plan first. Don't start until I write GO.Starting it: Claude creates a shortcut for you. If the cockpit should start with Windows, put it into the startup folder yourself: press Win + R, type shell:startup, copy the shortcut in. Why yourself is explained in chapter 12.
Stage 2: Copying, preview, folder
Now it gets convenient in daily use. You copy text and image with one click and paste them into Facebook or Instagram with Ctrl + V.
For videos that doesn't work through the browser. So my server puts the video file directly on the Windows clipboard, exactly as if you had copied it in Explorer with Ctrl + C. In the platform's upload window you then paste it with Ctrl + V. The same works for several carousel slides at once.
Template 5Cockpit, stage 2
Next stage for the cockpit: buttons and preview on every card.
- "Copy text": copies the text for the current channel.
- "Copy image": puts the image on the clipboard as PNG, so I can paste it with Ctrl+V
directly into Facebook or Instagram.
- Carousel: copy each slide on its own, plus a button "all slides" (as files).
- "Copy video": the server puts the video file on the Windows clipboard, like
Ctrl+C in Explorer (format CF_HDROP). Then I paste it in the upload window with Ctrl+V.
- "Show in folder": opens Explorer with the file selected.
- Image or video as a preview in the card.
The server may only serve or copy files from my project folder.
Show me a plan first. Don't start until I write GO.Stage 3: Today view and order
If you post several things a day on one channel, for example a reel and an image post, a today view with two cards helps. On top of that comes reordering and a warning when your stock runs low. My reels are only made together with me (music, review), so I want to know in time when new ones are due.
Template 6Cockpit, stage 3
Next stage: daily plan and order.
- On [Facebook and Instagram] I post one reel and one post every day. Show "Today" at the
top there with two cards: next reel, next post. Below it "After that" with the
filter All / Reels / Posts.
- Changing the order: drag cards, arrows ▲▼ and a button "Next up".
Afterwards renumber "position" of all open posts without gaps.
- Posts without text are placeholders: their own section "In preparation",
never under "Next up".
- Posts with "new": true get a label "new – please read". It disappears
when I mark them done on [Facebook].
- A notice at the top when fewer than 7 reels are open.
- The app regularly asks the server for the "revision". If it's higher than the loaded one,
it reloads and briefly shows "New posts have arrived".
Show me a plan first. Don't start until I write GO.Stage 4: Close the window, stop the server
A server that keeps running after the window is closed ends up forgotten in the background. So the window checks in with the server regularly, and if it stays silent for a long time, the server shuts down.
I walked into a trap here: Edge heavily throttles hidden windows. While I was uploading a video in another window, no more check-ins arrived, the server shut down, and marking things as done afterwards failed. The fix is a few start options for Edge, they're in the briefing.
Template 7Cockpit, stage 4
When I close the cockpit window, the server should shut down too.
- The window checks in with the server every 10 seconds (heartbeat),
and immediately when it comes back to the foreground.
- If there's no check-in for 5 minutes, the server shuts down.
- Start Edge without background throttling:
--disable-background-timer-throttling --disable-renderer-backgrounding
--disable-backgrounding-occluded-windows
Otherwise the heartbeat stops when the window is hidden.
- If the server is gone, the window shows a clear message instead of errors when marking done.
Show me a plan first. Don't start until I write GO.Stage 5: Archive
After a few weeks there are lots of images and videos lying around that were posted long ago. An archive button moves them into an outbox that you copy to another drive. Nothing gets deleted.
Template 8Cockpit, stage 5
Build an archive into the cockpit.
- A button "Move to archive".
- It takes posts that are marked done on all their channels, except the newest 30.
- Images, slides, videos and covers move to archive/<year-month>/<date>_<title>/,
together with a post.txt containing all texts and done dates,
and one overview.html per month.
- Files that another post still needs are only copied, not moved.
- Delete nothing. Record in the post since when it's in the archive.
The card then shows "in archive since …" instead of the image.
I copy the archive folder to another drive myself.
Show me a plan first. Don't start until I write GO.Automatic backup to GitHub is the last stage, it's in chapter 11.
7Letting Claude write posts
My cockpit has no "New post" button. Claude Code writes posts directly into the file. For them to sound like you and not like AI, Claude needs fixed rules.
The rules file
content-rules.md says who you're writing for, which kinds of posts there are, how they should sound and what the platforms require. The more specific, the better. The list of banned phrases is especially worth it.
Template 9content-rules.md
# Rules for my posts
## Who it's for
[Who reads this? e.g.: people who have used ChatGPT or Claude and want to build
something themselves. Not developers.]
## What a good post is
Something you can try yourself today: a prompt, a template, a step.
## Types
- Template: problem → template to copy → why it works → when it doesn't help
- Build guide: what you end up with → the steps → where it gets stuck
- Workshop report: what happened → why → one concrete detail
Never two posts of the same type in a row.
## Tone
- First person, talking to "you", casual, as a person, not as a company.
- The hook is in the first two lines, only those show before "See more".
- Short paragraphs. Emojis only for structure, e.g. 👉 before list items.
- Set templates apart with divider lines: ––– To copy ––– and ––– End –––
- Never: "Let's dive in", "game changer", "revolutionary", a question as the opener,
emoji chains, promises, engagement bait ("Comment YES").
- 0–3 hashtags at the end.
## Platforms
- Links only in the first comment, at most one.
- Instagram: caption at most 2,200 characters, links aren't clickable there.
- YouTube: title and description without < and >.
- TikTok: links in the text aren't clickable.
- Reels with AI music: AI label on.
## Images
Every post image is a save-worthy image: the template or steps are on it completely and
readable, people should want to save it. Longer content becomes a carousel with 3–6 slides.
## Don't make things up
Experiences, numbers and results only from my own notes. If a topic is thin, say so.Save-worthy images instead of decoration
A post image with just a headline gets scrolled past. An image with the whole template readable on it gets saved. That's why, for every image post, Claude builds a save-worthy image (1080 × 1350 pixels) in the studio, or a carousel if it doesn't fit on one image. How, is in chapter 8.
A new post every morning
The Claude desktop app has scheduled tasks: an instruction that runs on its own at a fixed time. Mine writes at most one new post with an image in the morning when the stock runs low. It only gets posted once I've read it.
Three things have proven worthwhile:
- At most one per run. Otherwise texts pile up that you never read.
- The limits go right at the top. What must never happen is more important than the actual task.
- A small script for slotting posts in. The rules for where a new post goes in the order live in a Python script in my setup. Claude only calls it. That way the task needs only a few commands that are always the same, and you can permanently allow those in Claude Code. Then it runs through without asking.

Template 10Scheduled task "new post"
You write for my posting cockpit. I'm usually not around, so don't ask,
act according to these rules and report briefly at the end.
Never: post, publish, push, delete files, install programs,
make things up, change existing done dates.
Read first: CLAUDE.md, cockpit/CLAUDE.md, content-rules.md.
Decide:
- If there's a placeholder among the next 10 open posts, write the first one.
- Otherwise: if fewer than 10 finished posts are open, write ONE new one.
- Otherwise: do nothing, just report "enough in stock".
When writing:
- No duplicate topics (check all existing titles and texts).
- Build the image as a save-worthy image or carousel in the studio, look at it yourself
(nothing cut off, easy to read), only then add it.
- Add it with tools/insert_post.py, with "new": true.
At the end, report briefly: what you wrote, or why nothing.One limit: the task only runs while the Claude app is open. If it was closed, it catches up on the next start.
8The studio: reels and images with Remotion
Remotion builds videos from React code. Every scene is a piece of code, every frame is calculated. That sounds cumbersome, but it has a big advantage: Claude Code can build, change and re-render reels without you touching an editing program. And because it's all code, every reel looks consistent.
On licensing: Remotion is free for individuals and companies with up to three employees, including for commercial videos. Larger companies need a company license. The exact terms are on remotion.dev under "License".
Formats
| What | Size | Note |
|---|---|---|
| Reel | 1080 × 1920, 30 fps | 15–30 seconds |
| Save-worthy image, carousel slide | 1080 × 1350 | 4:5 portrait for feed posts |
| Cover | 1080 × 1920 | Important content in the middle, Instagram only shows a crop on your profile |
Building blocks instead of starting over
The most important thing in the studio is reusable building blocks: background, headline, code block, chat window, terminal, outro. A new reel is then no longer new programming, just a description: which scenes, which text, which song. Almost all my reels follow the same structure:
Hook (the problem) → template readable on screen → result → why it works → outro.
Test frames first, then render
Rendering a reel takes a few minutes. Single frames take seconds. So I have Claude render and look at test frames from a few points before the whole reel gets built:
npx remotion still MyReel test.png --frame=120
npx remotion render MyReel reel.mp4 --codec=h264 --crf=18You create a new project with npx create-video@latest. The briefing does the rest.
Template 11Set up the studio
Set up a Remotion project (TypeScript) in the folder studio/ for my reels and post images.
Formats:
- Reel: 1080×1920, 30 fps, 15–30 seconds
- Save-worthy image and carousel slide: 1080×1350
- Cover: 1080×1920, important content in the middle area
Building blocks in src/shared/, reusable:
- Colors and fonts in one place (theme.ts)
- Background, headline, text block, code block, chat window (question and answer),
terminal window, outro with my name, progress bar
- a function barGrid(bpm) that converts bars into frames, so scenes change on the music
- frame for save-worthy images and a carousel slide with the footer "n / N · swipe →"
- a standard reel that is built from a description (scenes, texts, song, bars)
Create a sample reel and a sample image with made-up content.
Write a studio/CLAUDE.md: how to render, where the building blocks are,
how a new reel is made.
Show me a plan first. Don't start until I write GO.Template 12Build a reel
Build a reel on the topic: [topic].
Song: media/music/[file], from [minute:second], [BPM] BPM.
(Or: find a suitable passage with the beat script and tell me whether it has vocals.)
Structure: hook (the problem) → template readable on screen → result → briefly why → outro.
- Every scene starts on a bar boundary. The passage starts on a "1".
- Text large enough to read on a phone, and shown long enough.
- Nothing important at the edges, that's where Instagram and TikTok put their buttons.
Render test frames from 3–4 points first and show them to me.
The whole reel and the cover only after my OK.Template 13Save-worthy image or carousel
Turn this post into a save-worthy image (1080×1350) in the studio: [text or title of the post]
- The template or the steps are on it completely and easy to read.
The image has to work without the post text.
- If it doesn't fit on one image, make a carousel with 3–6 slides:
the first makes people curious, the last says "Save for later".
- Render it, look at it yourself (nothing cut off, no empty gaps)
and show it to me.9Music with Suno and the beat grid
Licensing first
I make my reel music with Suno. For channels where you might earn money, I only use songs I created with a paid Suno subscription. According to Suno, songs from the free plan are not cleared for commercial use, and subscribing later doesn't change that. Check Suno's current terms yourself, they can change.
I keep a list of where each song comes from and which reel it was used in. That helps if a platform asks, and it stops the same song from running twice in a row.
Template 14media/music/LICENSES.md
# Music – origin and license
| Title | Source | Created | License | Used in |
|---|---|---|---|---|
| [title] | Suno, my account | [date], with paid plan | commercial use per Suno terms at time of creation | Reel "[name]" (from 1:02, 28 s) |Template 15Suno style for reel music
Instrumental, with a groove from the first bars, so you don't have to skip 30 seconds of intro. In Suno, also switch on "Instrumental".
Melodic Progressive House, instrumental, 124 BPM; groove starts within the first bars, no long intro; steady four-on-the-floor kick, warm rolling bassline, deep atmospheric pads, sparse cinematic piano motif; clear 8-bar sections with a short filtered build every 16 bars; calm, focused mood, uncluttered midrange, spacious reverb, clean modern mix, -vocals, -choir, -spoken wordsCuts on the beat
A reel feels much calmer when every scene changes exactly at the start of a bar. The math is simple: a bar has four beats, so it lasts 4 × 60 / BPM seconds. Times 30 frames per second gives the length in frames.
const FPS = 30;
// convert bars into frames
export const barGrid = (bpm: number) => {
const bar = ((4 * 60) / bpm) * FPS;
return (bars: number) => Math.round(bars * bar);
};
// example: 124 BPM, scenes of 2, 4, 4 and 2 bars
const bar = barGrid(124);
bar(1); // 58 frames ≈ 1.9 seconds
bar(2); // 116 frames ≈ 3.9 secondsFor this to work, the tempo has to be exact, to a hundredth. And the passage has to start on a "1", the first beat of the bar.
The AI can't hear
Claude can't hear music. So in my setup a small Python script measures the tempo: it filters out the kick drum, tries tempos around an estimate and picks the one where the beats line up best with the kicks. From that come the start times of the bars and how much energy is in each bar. That way Claude finds passages where the song is in full swing.
Whether a passage has vocals or feels good, the script can't tell. Listen to the passage yourself before the reel gets built.
Template 16Beat script
You can't hear music. So build me a Python script that finds the tempo and bars
in a song.
Usage: python grid.py <song.wav> <approx_bpm> [from_second to_second]
- Read the audio with ffmpeg (mono), filter out the kick drum with a low-pass filter.
- Fine-search the tempo (±1.5 BPM around the estimate, in 0.01 steps) and
find the beat position where the beats line up best with the kicks.
- Find the downbeat (the "1" of the bar) from the strongest kick.
- Output per bar: start time, kick strength, energy. Mark section changes.
Only numpy and ffmpeg.
Show me a plan first. Don't start until I write GO.Loudness
Platforms normalize loudness. So I cut the passage straight to about −14 LUFS, with a short fade in and out. The example cuts a 28-second passage starting at second 62:
ffmpeg -ss 62 -t 28 -i song.wav -af "loudnorm=I=-14:TP=-1.5:LRA=11,afade=t=in:d=0.3,afade=t=out:st=27:d=1" -ar 48000 reel-audio.wavAI label: Because the music is AI-generated, I turn on the AI label for every reel on every platform. YouTube explicitly counts AI music as altered content.
10From finished reel to cockpit
Once a reel is approved, Claude adds it, with its own text for every platform.
Template 17Add a reel to the cockpit
The reel [name] is approved. Add it to cockpit/data/posts.json:
- type "Reel", set video and cover, new: true, ai_label: true
- four tasks, each with its own text:
Facebook: text with the complete template to copy
Instagram: caption, at most 2,200 characters
YouTube: title and description, without < and >
TikTok: like Instagram, but without pointing to a link
- In every text, before the hashtags: "🎵 Music: [song], made by me with Suno"
- Place it after the last open reel, renumber "position", increase "revision" by 1.
- Add the song to media/music/LICENSES.md under "Used in".11Backup
After a few weeks your cockpit holds a lot of work: all the texts, the order, what was posted when. So mine backs itself up.
- Code and data on GitHub, in a private repo. On start and on exit, the cockpit checks whether
posts.jsonhas changed, commits the change to Git and pushes it. If that fails, for example without internet, the cockpit keeps running normally. It tries again on the next start. - The studio as its own private repo. All images and reels can be re-rendered from the code.
- Images and videos not in Git. They make a repo heavy. They go into the archive (chapter 6, stage 5) and from there to a second drive.
- Never test with real data. Before Claude tests anything on the cockpit, it copies the data file aside and restores it afterwards. That belongs in
cockpit/CLAUDE.md.
You set up the GitHub login once yourself, for example via Git Credential Manager, which comes with Git for Windows. Don't give Claude a password for it.
Template 18Automatic backup
Set up a Git repo for cockpit/. I'll create the private repo on GitHub myself,
the address is: [address]
- .gitignore: media, logs, .bak and .tmp files, anything with keys.
- On start (in the background) and on exit: if posts.json has changed,
commit with "Backup <date>", then push. Push studio/ the same way.
- Errors (e.g. no internet) must never disturb the cockpit.
Show at the bottom of the window whether the last backup worked.
- Call git without a console window.
- Write in cockpit/CLAUDE.md: before tests, back up posts.json and restore it afterwards.
Show me a plan first. Don't start until I write GO.12What went wrong for me
My antivirus deleted my cockpit. The cockpit was supposed to start with Windows. Claude built a small script that starts the app invisibly and used a command to put a shortcut into the startup folder. My antivirus removed both as threats. No surprise: hidden start scripts and programs that write themselves into startup look exactly like malware to an antivirus. Since then my CLAUDE.md has the rule from template 3, and I set up startup myself.
The server shut down during an upload. Edge throttled the hidden window, and the heartbeat stopped arriving. The fix is in stage 4.
Two links, straight into the spam filter. A post with two links once ended up in the spam filter. Since then: at most one link, and only in the first comment.
YouTube rejects angle brackets. YouTube doesn't accept titles and descriptions with < or >, not even =>. Since then I write code for YouTube without tags and without arrow functions.
13Honest limits
- Windows and Edge. My system is built for Windows. Copying files to the clipboard and app mode are tested on Windows with Edge, nowhere else.
- No automatic posting. That's on purpose (chapter 1), but in the end you sit in front of every platform yourself.
- No statistics. You still see views and reach in the platforms' own apps.
- Claude Code costs money. Without a suitable subscription or API credit, none of this runs.
- The AI makes mistakes. You have to read, test and approve. That's the real effort, and it stays.
- It's never finished. My cockpit grows with every problem I notice in daily use. If that bothers you, a self-built system like this isn't for you.
14All templates at a glance
Questions, or found something that's wrong? Write to me: contact@mindriclab.de. More on building things yourself with AI at mindriclab.de.