Publit.Si
All posts

Claude Code as your social media manager

What Claude Code can do for Instagram, TikTok and YouTube on its own, what it can't, and how skills, MCP and a daily run make it your social media manager.

· 6 min read

Diesen Artikel auf Deutsch lesen

Claude Code is a coding agent, not a social media tool. But it reads your project, writes text, runs your scripts and connects to other tools through MCP. Give it your brand rules, a way to render videos and a place to hand over drafts, and it does most of what a social media manager does each day, while you keep the last word.

This guide shows what Claude Code can do on its own, where it stops, and how to set it up so it plans, writes and renders your posts every day.

What Claude Code is

Anthropic describes Claude Code as "an agentic coding tool that reads your codebase, edits files, runs commands, and integrates with your development tools". It runs in the terminal, in IDEs, in a desktop app and in the browser, on macOS, Windows and Linux.

For social media, three abilities matter:

  • It works in a folder: your app's repository or a marketing folder with logos, screenshots and render scripts.
  • It runs commands: a render script, ffmpeg, a test that checks a video's length.
  • It uses tools through MCP: servers that give it new abilities, for example reading your posting slots or creating drafts.

What it can do on its own

Without any extra tool, Claude Code can already:

  • write captions, hooks, hashtags and replies in your tone, for each platform's length;
  • write video scripts and turn them into Shorts with code, for example with a render script in your repository;
  • look at screenshots and images you give it and describe or crop them;
  • keep notes on what worked in a file it reads next time.

Where it stops

Some things Claude Code doesn't do by itself:

  • It doesn't post. It has no login to Instagram, TikTok or YouTube. Posting needs a tool with access to each platform's API, or you.
  • It doesn't paint images. Anthropic says Claude "doesn't generate photos or illustrations the way image-generation tools do". Visuals come from code: rendered text, charts, screenshots, animations. For painted images you need another tool; in Publit.Si, Codex can join a chat as a helper and paint them.
  • It doesn't remember your posting plan. Which slot is free, which video is still missing on TikTok, which post did well last week: that lives in your scheduling tool, not in Claude Code.

That last part is where MCP comes in.

Give it your brand: CLAUDE.md and a skill

Claude Code reads CLAUDE.md files at the start of every session. Put your brand rules there: who you write for, words you never use, how long a hook may be. Anthropic calls them "persistent instructions"; Claude treats them as context, not as hard rules, so keep them short and clear.

For a task that comes back often, write a skill. A skill is a SKILL.md file in .claude/skills/<name>/. Claude loads it on its own when its description fits, or you call it with /name:

---
name: social-captions
description: Write captions for Instagram, TikTok, YouTube Shorts, LinkedIn, X and Threads in our brand voice.
---

- Start with the result, not with "In this video".
- One idea per post. No more than 3 hashtags.
- X: under 280 characters. LinkedIn: up to 3 short paragraphs.

Skills follow the open Agent Skills standard, so the same file works in other agents that support it.

Connect it to your accounts with MCP

To plan real posts, Claude Code needs your posting plan. Publit.Si comes with an MCP server that runs on your own computer. Connect it once in the publitsi folder:

claude mcp add --scope user publitsi -- pnpm --silent --dir "$(pwd)" mcp

On Windows, AI agents shows the PowerShell version. With --scope user it's available in all your projects. From then on, Claude Code can read your backlog, posting slots and numbers and create drafts. Ask in plain words:

  • "Fill my free slots for the next seven days with drafts."
  • "Which of my Shorts did best this month, and why?"
  • "Write captions for the two videos that aren't on TikTok yet."

Claude Code can create, change and delete its own drafts. It can't schedule or publish them: you approve every draft under Queue › Review. The list of MCP tools shows everything it can read and do.

Let it run every day

There are three ways to make Claude Code work without you starting it:

  • Headless mode: claude -p "…" runs one task without the interactive session, for scripts and cron jobs.
  • Anthropic's cloud scheduled tasks run Claude Code in Anthropic's cloud on a schedule. They're a research preview and work on a fresh copy of your repository, so they can't see files that only exist on your computer. The desktop app also has local scheduled tasks.
  • Publit.Si's automation starts Claude Code (or Codex, Cursor, OpenCode) on your own computer at a fixed time. It follows a short recipe from a chat whose Short you liked, renders new Shorts with your scripts and hands them to Queue › Review. How automations work.

Keep control

Claude Code has permission modes. In manual mode it starts read-only and asks before it edits files or runs commands. Newer versions start interactive sessions in auto mode, where a classifier checks actions instead of asking you each time; headless runs with claude -p start in manual mode. Pick the mode that fits how much you trust the task.

For posting, Publit.Si adds one more gate: nothing goes online until you click Approve. Your own computer then posts at the planned time through the platforms' official APIs; for TikTok and X it opens the post in your Chrome, and you click Post.

What it costs

Claude Code is included in Anthropic's Pro, Max and Ultra plans; the Free plan doesn't include it. Usage counts against the same limits as Claude in the browser. With an ANTHROPIC_API_KEY set, Claude Code is billed per token through the API instead. Check Anthropic's pricing page for today's prices.

Publit.Si is a one-time purchase with the full source code; see pricing.

A week with Claude Code as social media manager

  1. Monday morning: the automation has rendered three Shorts overnight. You watch them under Queue › Review and approve two.
  2. Monday: you ask Claude Code which posts did best last week. It reads the numbers and saves what it learned, so the next captions use it.
  3. Wednesday: you drop new screenshots into the project. Claude Code turns them into an image carousel for Instagram and LinkedIn.
  4. Every day: your computer posts at the planned times. You answer comments in one place.

Want to see the posting part in detail? Read How to post to Instagram with Claude Code, or see what Publit.Si does with Claude Code.

Sources

This blog is planned, written with Claude Code and measured in Publit.Si, like any other channel.