How-To Guide
Which Claude Code commands help with social media, and where does a person still need to approve?
The Claude Code commands that connect a social account, prepare a post and repeat the work, and the permission rules that decide when a person approves.
The commands divide into three jobs. Connecting uses /mcp for the server connection and OAuth sign-in, and /permissions for the allow, ask and deny rules. Preparing uses /model, /context, /compact and /clear to keep the session usable, plus skills that hold the voice and the checklist, up to six chained in one message. Repeating uses /loop for a polling loop, /schedule for cloud scheduled tasks, and claude -p for a single run from cron, with /tasks and /status to see what happened. None of these publishes. The approval question is answered by the permission system, not by a command: rules are evaluated deny, then ask, then allow, a broad deny beats a narrower allow, and a PreToolUse hook can return a deny before a call runs. Publishing arrives through a connector, and the person decides at the prompt or through the rule that replaced the prompt.
- The official command reference summarises its own scope as switching models, managing permissions, clearing context and running a workflow; publishing is not in that list.
- A permission prompt shows what Claude is about to do before the person answers, and a saved approval writes a rule to .claude/settings.local.json at the repository root.
- Rules run in a fixed order, deny then ask then allow, so a broad deny cannot be reopened by a narrower allow.
- PreToolUse runs before a tool call and can deny it; PostToolUse runs after a call succeeds, which is where a receipt belongs.
The short answer: commands prepare and ship, two gates decide
If you have been typing prompts into Claude Code and wondering which command finally posts the thing, the honest answer is that none of them does. The official command reference describes its own scope in one sentence: commands control Claude Code from inside a session, and they provide a quick way to switch models, manage permissions, clear context, run a workflow, and more. Publishing to a social network is not in that sentence, and no command in the reference is named after a platform.
So the useful question splits in two. Which commands make the work good and repeatable, and where does an approval actually happen? The first list is short and practical: /mcp, /permissions, /model, /context, /compact, /clear, skills, /loop, /schedule, /tasks, /hooks, /status, and the non-interactive claude -p form. The second answer is not a command at all. It is the permission system, made of rules, modes and hooks.
This matters because a lot of the material on this keyword blurs the line. One widely read guide opens by saying that most guides on this keyword are giant developer cheat sheets, then spends its length on commands that save tokens. That is fair advice, and it still leaves the reader holding a terminal full of drafts. A skills guide puts the boundary more usefully: a skill cannot publish by itself, and for that Claude needs a connector to a tool that can post.
Once a connector is in place, the real design question is what may run without a person. A connector vendor states its own preference clearly, that the safest setup is not one where Claude silently posts everywhere. Everything below is about holding that line while keeping the loop fast enough to be worth using.
Original diagram from the official Claude Code command reference and permissions page, both stored November 17, 2026. The gates are what decide whether a call runs; the commands only prepare it.
Make it work for your brand
Find it. Remake it. Post it. Superdirector turns the viral formats in your niche into your brand's carousels, X posts and video scripts, and keeps the calendar full.
Commands that connect an account
Two commands own the connection. The /mcp command manages MCP server connections and OAuth authentication, which covers adding the server, signing in to the platform through it, and seeing which tools the server exposes. The /permissions command manages allow, ask and deny rules for tool permissions, which is where you decide what those tools may do afterwards. Treat them as a pair: the first gives access, the second bounds it.
The naming matters when you write rules. An MCP tool is addressed by server and tool, and the permission glob mcp__* matches every MCP tool across all servers. That glob is how an organisation can switch off connector calls wholesale, and the documentation shows the exact shape:
{
"permissions": {
"deny": [
"mcp__*"
]
}
}A deny like that is blunt, and it is the right first move on a client account. You can then open exactly the server you need by name, rather than starting from everything and trying to claw back. This is also where a connector vendor's advice lines up with the official rule: bundle.social tells readers that by default Claude follows the client's tool-call confirmation flow, which is a default you are allowed to change and therefore a decision you have to make.
One practical warning. A saved broad deny rule blocks every matching call, including calls that also match a narrower allow rule, because rules are evaluated deny, then ask, then allow. If a posting tool suddenly refuses to run, read the deny list before you debug the connector.
Commands that prepare the post
Preparation is where the session either stays sharp or drifts. Four commands do most of the work. /model switches the model and saves the choice as the default for new sessions, so a cheaper model can be the standing choice and a stronger one the exception. /context visualises current context usage as a colored grid, which shows what is actually filling the window. /compact frees context by summarising the conversation so far, and /clear starts a new conversation with empty context.
The pattern that works for a week of posts is to clear between jobs, not inside one. Draft all of Monday's posts in one session, then clear before reading the analytics. Mixing the two means the model carries last week's numbers into this week's copy, which is how a post ends up citing a figure nobody checked.
Voice and checklists belong in skills, because custom commands are added through the skills mechanism rather than a separate registry, and up to six skills can be chained in one message with the trailing text passed to each as arguments. That chaining is the useful part. A voice skill and a fact-check skill can run on the same paragraph in a single message, which is far more dependable than remembering to ask for the check separately.
Keep the boundary clear in your own head. A cited guide says a skill is know-how, not access, and that is exactly right. A skill that says how long a hook should be and what to verify before scheduling will not post anything. It makes the posting step shorter and the review step real.
Commands that make it repeat
Three ways to repeat, and they fail differently. /loop repeats a prompt on an interval inside the current session; the official example is /loop 5m check if the deploy finished. It dies when the session does. /schedule creates, updates, lists or runs cloud scheduled tasks, so it survives a closed laptop but runs somewhere other than your working copy. The claude -p form queries through the SDK and then exits, which is the shape a cron job wants: one task, one result, no lingering process.
Then read what happened. /tasks lists the current session's background work, including subagents that have finished, and /status opens the settings interface on the status tab with version, model, account and connectivity. Those two are unglamorous and they are how you avoid reporting a run that never started.
| Command | What it repeats | What ends it |
|---|---|---|
| /loop | A task inside this session, on an interval | The session closing |
| /schedule | A cloud scheduled task, formerly a routine | Removing the task |
| claude -p | One query, then exit | The query finishing |
Two cautions from the sources. Command availability depends on your platform, plan and environment, so a schedule that works for one operator may not exist in another's build; the documentation says plainly that not every command appears for every user. And repetition is not review. A competitor concedes the point about its own routines: neither one reviews its own work either.
Where a person still approves
The approval is a property of the permission system, and it has three layers you should be able to name out loud: the rule, the mode, and the hook. Start with the rule. Rules are evaluated in a fixed order, deny then ask then allow, and a broad deny blocks every matching call including ones a narrower allow would have covered. That single sentence explains most of the confusing behaviour people report after they add one allow rule and nothing changes.
The mode decides which calls ask at all. In manual mode, the name the permissions page uses for the CLI, Claude Code asks before the action runs for shell commands, file changes, web fetches and searches, and a permission prompt shows what Claude is about to do followed by your options. acceptEdits automatically accepts file edits and common filesystem commands. plan lets Claude read and explore without editing source files. bypassPermissions skips prompts except for the actions no mode auto-approves. In auto mode a classifier reviews actions instead of you.
What you save, and for how long, is worth knowing before you click. Choosing the persistent approval saves the rule to .claude/settings.local.json at the root of the git repository, and it applies to future sessions there. A file-modification approval is the exception: it lasts only until the session ends. So a posting permission you granted casually on Monday can still be live on Friday, which is either convenience or a hole depending on what you meant.
Two constraints sit above the individual operator. Connector tools that an organisation set to ask are denied even when the session has allowed them, and the dialog lists all permission rules and the settings.json file each rule comes from, so the person can see which file is responsible. On a client account, check both before promising that a person will review every post.
Vendors describe the same line from their side. One says a create_post tool can default to draft status so posts queue for review before going live, and another says that by default Claude follows the client's tool-call confirmation flow. Both are settings, not product laws. The person approving is whoever holds the prompt or owns the rule that removed it.
Original diagram of the permission evaluation order and the modes that change which calls ask, from the official permissions page stored November 17, 2026.
Hooks: the checkpoint that does not need a person
A permission rule answers a fixed question: does this tool match this pattern. A hook answers a question about the call itself. As the hooks reference describes it, PreToolUse fires before a tool call executes, and its script can return a permission decision of deny for that specific call; when it returns no decision, the normal permission flow applies. PostToolUse fires after a tool call succeeds, which is where a receipt belongs.
The reason hooks are worth the setup is their cadence. Tool events fire on every tool call inside the agentic loop, so the check cannot be skipped by forgetting to ask for it. For a social workflow the useful pair is narrow: before a publish call, refuse if the post text contains a figure that is not in the approved source; after a publish call, append the returned post id to a local log. Everything else stays out of the hook, because a hook that tries to judge tone will block good posts as often as bad ones.
Read the current configuration before you trust it. The /hooks command shows the configured hooks, and a hook file that was edited in another project directory is not the one running here. This is the same discipline as reading the deny list before debugging a connector.
A cited guide warns that fully autonomous posting agents are a mistake because social media mistakes are public and permanent, and its remedy is simple: always keep a human review step.
A week of posts, in order
Here is the sequence I would run, with the command that carries each step and the reason the step exists. It is a recommendation, not a product default, and it assumes the connector is already connected.
- Draft the week in one session, with the voice skill and the fact-check skill chained in the same message. Two skills, one paragraph, one check.
- Run /context to see what the session is carrying. If the window is mostly tool output from an earlier job, run /compact or start fresh with /clear before the copy drifts.
- Run /hooks and read what is configured. You want a deny rule for unsourced figures and a PostToolUse receipt, and you want to know they are the ones actually loaded.
- Approve at the prompt. Read what the prompt says the call is about to do, because that sentence is the last cheap chance to catch a wrong account or a wrong image.
- Schedule the approved post with /schedule, or run a single claude -p call from cron when you want one post and no daemon.
- Read the result with /tasks, keep the post id the connector returned, and check the post on the account before you report it as published.
- Clear before analytics. Reading numbers in the same session that wrote the copy is how last week's figure ends up in this week's caption.
The split that makes this work is simple to state. Reading, drafting, formatting and summarising run without asking, because a mistake there costs an edit. The account, the words and the moment of publication keep a person in the loop, because a mistake there costs a public correction.
Original diagram of the sequence this guide recommends, built from the command reference and permissions page stored November 17, 2026. The split is advice, not a product default.
What breaks, and how you notice
The first failure is expecting a command that does not exist in your build. Command availability depends on your platform, plan and environment, and not every command appears for every user. If /schedule answers with an availability message rather than running, that is the documented behaviour, not a broken install. Check /status first, then the command list in your own session.
The second is a command that looks ignored. A command is only recognised at the start of a message, and text after the name becomes its arguments, so a slash command typed mid-sentence is just text. Related: a command sent while Claude is responding is queued and runs after the current turn finishes, so a fast operator can type three commands and see nothing happen until the turn ends.
The third is believing the connector ecosystem is further along than it is. A cited guide describes the social media MCP situation as a build-it-yourself one, and that remains a fair summary for the long tail of platforms. The major connectors exist and are documented; the niche ones often are not, and a missing endpoint returns nothing rather than an error.
The fourth is a cost surprise. Claude Code is billed on your Anthropic plan, and the connector is billed by its vendor. Superdirector's own pricing is separate from both: Growth is $199 a month for one AI-operated account, covering scheduled research, routines and supported Instagram and X publishing, while Starter at $29 a month is aimed at people who work from Claude or ChatGPT. Budget the three lines separately or the first invoice will look wrong.
If you remember one thing
Learn five commands before you learn fifty. /mcp to connect, /permissions to bound, /context and /clear to keep the session honest, and a skill that carries your voice and your checklist. Then put one PreToolUse hook in front of the publish call and one PostToolUse hook behind it. The commands make the work; the gates decide whether it leaves the terminal.