PageSourceSearch

https://postiz.com/_next/static/chunks/pages/claude-code-bf61347e25e58c89.js

js postiz.com collected 2026-09-24 18:30:52 UTC 36,177 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5247],{44886:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/claude-code",function(){return s(20158)}])},20158:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return I}});var a=s(85893),o=s(67294),i=s(39428),n=s(9008),d=s.n(n),r=s(41664),l=s.n(r),c=s(65154),p=s(86245),m=s(68845),h=s(39709);let x="claude mcp add --transport http postiz ".concat("https://mcp.postiz.com/mcp-oauth-dynamic"),u="npx skills add gitroomhq/postiz-agent",g=[{name:"X (Twitter)",slug:"x",description:"Tweets, threads, and reply controls"},{name:"LinkedIn",slug:"linkedin",description:"Professional posts and image carousels"},{name:"Instagram",slug:"instagram",description:"Feed posts, stories, and reels"},{name:"Facebook",slug:"facebook",description:"Text posts, links, and media"},{name:"Reddit",slug:"reddit",description:"Subreddits, flairs, and post types"},{name:"YouTube",slug:"youtube",description:"Video uploads, thumbnails, and tags"},{name:"TikTok",slug:"tiktok",description:"Videos, privacy, duets, and stitches"},{name:"Pinterest",slug:"pinterest",description:"Pins, boards, and link pins"},{name:"Discord",slug:"discord",description:"Channel messaging and media"},{name:"Slack",slug:"slack",description:"Channel messaging and team updates"},{name:"Telegram",slug:"telegram",description:"Bot-powered channel messaging"},{name:"Twitch",slug:"twitch",description:"Chat messages and announcements"},{name:"Kick",slug:"kick",description:"Chat messages and notifications"},{name:"Medium",slug:"medium",description:"Articles, publications, and tags"},{name:"Dev.to",slug:"devto",description:"Developer articles and organizations"},{name:"Hashnode",slug:"hashnode",description:"Blog posts and publications"},{name:"WordPress",slug:"wordpress",description:"Posts, pages, and featured images"},{name:"Dribbble",slug:"dribbble",description:"Design shots and team portfolios"},{name:"Warpcast",slug:"warpcast",description:"Farcaster casts and channels"},{name:"Lemmy",slug:"lemmy",description:"Federated community posts"},{name:"Moltbook",slug:"moltbook",description:"AI agent social network"},{name:"Google My Business",slug:"google-my-business",description:"Business posts, events, and offers"},{name:"Listmonk",slug:"listmonk",description:"Email campaigns and newsletters"},{name:"Skool",slug:"skool",description:"Community posts and groups"},{name:"Whop",slug:"whop",description:"Company forums and experiences"}],f=[{question:"What is Claude Code?",answer:"Claude Code is Anthropic's agentic coding tool. It runs in your terminal, with extensions for VS Code and JetBrains, reads your codebase, runs commands, and calls MCP tools to finish multi-step tasks. Connected to Postiz, it can also draft, schedule, and publish social media posts across 30+ platforms from the same session."},{question:"How do I connect Postiz to Claude Code?",answer:"Run claude mcp add --transport http postiz https://mcp.postiz.com/mcp-oauth-dynamic in your terminal. Claude Code opens a browser tab where you sign in to Postiz, and the connection is done with no API key. Alternatively, run npx skills add gitroomhq/postiz-agent in your project and set POSTIZ_API_KEY so Claude Code picks up the Postiz skill."},{question:"Is Claude Code the same as Claude Cowork or the Claude.ai connector?",answer:"No. Claude Code is the terminal and IDE agent for developers. Claude Cowork is Anthropic's desktop agent for knowledge workers and needs no terminal. The Claude.ai connector adds Postiz to the Claude chat app in the browser, desktop, or mobile. All three can use Postiz, and this page covers Claude Code only."},{question:"Does the official Postiz connector from the Claude directory work in Claude Code?",answer:"Yes. If you connected Postiz in Claude.ai, it is available in Claude Code when you sign in with the same account. The directory version covers posting, scheduling, and analytics. To also get image generation, video generation, and clipping, add the custom MCP link with claude mcp add. Everything else works the same."},{question:"What can Claude Code do with Postiz?",answer:"It can list your connected channels, draft posts from files in your repo, upload images and videos, create threads and comments, apply platform settings such as Reddit flairs or YouTube visibility, schedule or cancel posts, pull analytics, and plan a content calendar. Over the custom MCP link it can also generate images and videos and clip long videos."}
1,{question:"Can I automate posting without an interactive Claude Code session?",answer:'Yes. Claude Code\'s headless mode, claude -p "...", runs a single prompt and exits. Put it in a shell script, cron job, or GitHub Action, for example asking Claude Code to summarize changes since the last git tag and schedule a launch post on X and LinkedIn through Postiz. The MCP server or skill must be configured on that machine.'},{question:"Do I need an API key to use Postiz with Claude Code?",answer:"Not with the MCP route. The Postiz MCP server uses OAuth, so you sign in once in the browser and Claude Code stores the connection. No Postiz key and no social network developer keys are involved. The skill route is the exception: the Postiz CLI it installs reads POSTIZ_API_KEY from your environment."},{question:"Claude Code does not see the Postiz tools. What should I check?",answer:"First run claude mcp list to confirm the postiz server is registered; if not, rerun the claude mcp add command. Then start a new Claude Code session, since servers are loaded at startup, and complete the OAuth sign-in when the browser opens. If you use the skill instead, check that POSTIZ_API_KEY is exported in the shell that starts Claude Code."},{question:"Which social media platforms can Claude Code post to?",answer:"Postiz supports 30+ channels, including X, LinkedIn, Instagram, Facebook, Reddit, YouTube, TikTok, Pinterest, Discord, Slack, Telegram, Threads, Bluesky, and Mastodon. This site has a dedicated Claude Code guide for 25 of them, each with example prompts, the platform's settings reference, and platform-specific limits. Follow the links in the platforms section above."},{question:"Is it free to start?",answer:"Postiz offers a free trial on the hosted plan, and the open-source version is free to self-host on your own server. Claude Code itself is billed by Anthropic under your Claude plan or API account. Connect Postiz to Claude Code during the trial, test a few posts, then pick a plan on the pricing page."}],y="https://postiz.com/claude-code",C="Claude Code Social Media: Post Anywhere with Postiz",w="Connect Postiz to Claude Code with one terminal command and schedule posts to 30+ social platforms by asking. OAuth sign-in, no API key, headless mode for CI.",b=[{method:"Postiz MCP server (custom link)",command:x,auth:"OAuth sign-in in the browser",apiKey:"No",toolset:"Full: posting, scheduling, analytics, image and video generation, clipping",bestFor:"Most Claude Code users"},{method:"Official connector from the Claude directory",command:"Connect Postiz in Claude.ai, then sign in to Claude Code with the same account",auth:"OAuth via Claude.ai",apiKey:"No",toolset:"Posting, scheduling, analytics (no image, video, or clipping tools)",bestFor:"People already using Postiz in Claude.ai"},{method:"Postiz skill (CLI)",command:u,auth:"POSTIZ_API_KEY in your environment",apiKey:"Yes",toolset:"Postiz CLI commands described in SKILL.md",bestFor:"Projects that prefer a CLI or cannot use MCP"}],j=[{surface:"Claude Code",where:"Terminal, VS Code, JetBrains",audience:"Developers",connect:"claude mcp add ... or the Postiz skill",extra:"Reads your repo, headless mode (claude -p), CI and cron",href:"/claude-code"},{surface:"Claude Cowork",where:"Desktop app",audience:"Knowledge workers",connect:"Postiz skill or MCP connector, no terminal",extra:"Works with local files and desktop apps",href:"/claude-cowork"},{surface:"Claude.ai connector",where:"Browser, desktop, mobile chat",audience:"Anyone on Claude.ai",connect:"Official directory connector or custom MCP link",extra:"Directory version lacks image, video, and clipping tools",href:"/claude"}],v={"@context":"https://schema.org","@graph":[{"@type":"WebPage","@id":y,url:y,name:C,description:w,dateModified:"2026-09-23",isPartOf:{"@type":"WebSite",name:"Postiz",url:"https://postiz.com"},about:{"@type":"SoftwareApplication",name:"Postiz",applicationCategory:"BusinessApplication",operatingSystem:"Web",url:"https://postiz.com",description:"Open-source social media scheduling platform that AI agents drive through an MCP server, a CLI, and a public API."}},{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://postiz.com"},{"@type":"ListItem",position:2,name:"Claude Code",item:y}
1]},{"@type":"HowTo",name:"How to install Postiz in Claude Code",totalTime:"PT1M",step:[{"@type":"HowToStep",position:1,name:"Add the Postiz MCP server",text:"Run ".concat(x," in your terminal.")},{"@type":"HowToStep",position:2,name:"Sign in to Postiz",text:"Claude Code opens a browser tab. Sign in to Postiz and approve access. No API key is needed."},{"@type":"HowToStep",position:3,name:"Ask Claude Code to post",text:"Start claude and type a request such as: Post 'Hello from Postiz!' to X and LinkedIn tomorrow at 9am. Claude Code asks for permission, then schedules the posts."}]},{"@type":"FAQPage",mainEntity:f.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}))}]},P=e=>{let{icon:t,title:s,description:o}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-4 p-6 sm:p-8 bg-[#1A1919] rounded-[16px] sm:rounded-[20px] border border-white border-opacity-10",children:[(0,a.jsx)("div",{className:"w-12 h-12 sm:w-14 sm:h-14 flex items-center justify-center bg-gradient-to-br from-[#682EE1] to-[#2A0772] rounded-xl",children:(0,a.jsx)("span",{className:"text-2xl sm:text-3xl",children:t})}),(0,a.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:s}),(0,a.jsx)("p",{className:"text-[16px] leading-[20.83px] sm:text-[18px] sm:leading-[23.44px] text-[#d1d1d1]",children:o})]})},k=e=>{let{children:t,title:s}=e;return(0,a.jsxs)("div",{className:"rounded-[16px] overflow-hidden border border-white border-opacity-10",children:[s&&(0,a.jsx)("div",{className:"bg-[#1A1919] px-5 py-3 border-b border-white border-opacity-10",children:(0,a.jsx)("p",{className:"text-[14px] text-[#d1d1d1] font-mono",children:s})}),(0,a.jsx)("pre",{className:"bg-[#0e0e0e] p-5 overflow-x-auto",children:(0,a.jsx)("code",{className:"text-[14px] leading-[22px] text-[#d1d1d1] font-mono whitespace-pre",children:t})})]})},N=["Run ".concat(x," in your terminal"),"Claude Code opens a browser tab. Sign in to Postiz and approve access, no API key needed","Start claude and ask it to post. Claude Code asks for permission, then schedules through Postiz","Prefer the CLI skill? Run ".concat(u," and export POSTIZ_API_KEY instead")],z=[{category:"Launch",title:"Turn your README into a thread",prompt:"Turn README.md into a 5-tweet launch thread and schedule it on X for tomorrow at 9am.",icons:["X"]},{category:"Release notes",title:"Post a changelog with media",prompt:"Read CHANGELOG.md and post about v2.4 on X and LinkedIn with ./assets/release.png, tomorrow at 9am.",icons:["X","Linkedin"]},{category:"Community",title:"Check flairs, then post",prompt:"What flairs are available in r/programming? Pick the right one and post the release there, then drop the link in Discord.",icons:["Reddit","Discord"]},{category:"Analytics",title:"Review the calendar",prompt:"What's scheduled for this week, and how did my X account do last month?",icons:["X","Linkedin","Instagram"]}];var I=!0;t.default=(0,c.C)(()=>{let[e,t]=(0,o.useState)(null),s=(0,o.useCallback)(e=>{navigator.clipboard.writeText(e),t(e),setTimeout(()=>t(null),2e3)},[]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(d(),{children:[(0,a.jsx)("title",{children:C}),(0,a.jsx)("meta",{name:"description",content:w}),(0,a.jsx)("link",{rel:"canonical",href:"https://postiz.com/claude-code"}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:url",content:"https://postiz.com/claude-code"}),(0,a.jsx)("meta",{property:"og:title",content:"Claude Code Social Media: Post Anywhere with Postiz"}),(0,a.jsx)("meta",{property:"og:description",content:w}),(0,a.jsx)("meta",{property:"og:image",content:"https://cms.postiz.com/wp-content/uploads/2024/06/OG-1-1024x538.png"}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:title",content:"Claude Code Social Media: Post Anywhere with Postiz"}),(0,a.jsx)("meta",{name:"twitter:description",content:w}),(0,a.jsx)("meta",{name:"twitter:image",content:"https://cms.postiz.com/wp-content/uploads/2024/06/OG-1-1024x538.png"}),(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(v)}})]}),(0,a.jsx)(h.ZI,{badge:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.eA,{className:"w-[44px] h-[44px]"}
1),(0,a.jsx)("span",{className:"text-[15px] sm:text-[16px] font-jakarta font-semibold text-white text-opacity-90",children:"Claude Code + Postiz"})]}),title:"Claude Code Social Media Automation with Postiz",bullets:["One terminal command adds Postiz to Claude Code","Draft, schedule and manage posts on 30+ platforms","Reads your repo, asks permission, runs headless in CI"],actions:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.Z,{size:"lg",variant:"primary",className:"!w-full sm:!w-fit",eventKey:"claude-code-register",alt:"Start for $0"}),(0,a.jsx)(p.zx,{variant:"secondary",size:"lg",className:"!w-full sm:!w-fit",alt:"Copy the Claude Code MCP command",onClick:()=>s(x),children:e===x?"Copied!":"Copy MCP command"})]}),footnote:(0,a.jsxs)("p",{children:["Please make sure there is always a human in the loop. Last updated"," ","September 2026",". Part of the"," ",(0,a.jsx)(l(),{href:"/agent",className:"underline underline-offset-2 hover:text-white transition-colors",children:"Postiz AI agents guide"}),"."]}),image:{src:"/pngs/claude-code-hero.png",width:712,height:800},accent:"orange"}),(0,a.jsx)("div",{className:"flex flex-col items-center max-w-[1440px] mx-auto overflow-hidden w-full",children:(0,a.jsx)("section",{id:"connect",className:"py-[60px] sm:py-[100px] px-5 w-full scroll-mt-[120px]",children:(0,a.jsxs)("div",{className:"max-w-[1200px] mx-auto space-y-8",children:[(0,a.jsx)("h2",{className:"text-center",children:"How to install Postiz in Claude Code"}),(0,a.jsx)("p",{className:"max-w-[700px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"The fastest way is one terminal command that registers the Postiz MCP server and signs you in with OAuth. The Postiz skill is the alternative for projects that prefer a CLI. Either way takes under a minute."}),(0,a.jsx)(h.DI,{}),(0,a.jsx)("div",{className:"min-h-[8px]"}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 items-stretch",children:[(0,a.jsxs)(h.Id,{step:1,label:"Install",meta:"under a minute",title:"Run this in your terminal",description:"One command registers the Postiz MCP server. Claude Code opens a browser tab, you sign in to Postiz, and the full toolset is ready.",children:[(0,a.jsx)(h.yP,{title:"terminal",code:x,onCopy:()=>s(x),copied:e===x}),(0,a.jsxs)("p",{className:"text-[13px] leading-[18px] text-[#d1d1d1] text-opacity-80",children:["Recommended. Sign in to Postiz in the browser and you get posting, scheduling, analytics, plus image and video generation and clipping. No API key. Prefer the CLI skill? Run"," ",(0,a.jsx)("code",{className:"font-mono text-white",children:u})," ","and set POSTIZ_API_KEY. Details in the"," ",(0,a.jsx)("a",{href:"https://docs.postiz.com/mcp/introduction",className:"text-[#a87fef] hover:text-white underline underline-offset-2 transition-colors",children:"Postiz MCP docs"}),"."]})]}),(0,a.jsxs)(h.Id,{step:2,label:"Ask",meta:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"w-1.5 h-1.5 rounded-full bg-[#28c840]","aria-hidden":"true"}),"live in Postiz"]}),title:"Ask Claude Code to post for you",description:"Type the request in a Claude Code session. It reads your repo for the copy, asks for permission, then schedules through Postiz.",children:[(0,a.jsx)(h.X$,{user:"Read CHANGELOG.md and post a thread about v2.4 on X and LinkedIn with ./assets/release.png, tomorrow at 9am.",reply:"Read CHANGELOG.md and uploaded release.png. Scheduled via Postiz: X, 5-tweet thread at 9:00 AM tomorrow; LinkedIn, single post at 9:00 AM. Both include the image.",avatar:(0,a.jsx)(i.eA,{className:"w-7 h-7"}),via:["X","Linkedin"]}),(0,a.jsx)(h.Yk,{items:["List my connected channels","Turn README.md into a launch thread","What's scheduled for this week?"]})]})]}),(0,a.jsx)(h.zP,{steps:N})]})})}),(0,a.jsx)(h.go,{title:"One terminal command powers every channel you run",description:"Connect your accounts in Postiz once. From then on Claude Code can post to any of them from your terminal, and Postiz publishes at the time you set.",center:(0,a.jsx)(i.eA,{className:"w-full h-full"}),accent:"orange"}),(0,a.jsxs)("div",{className:"flex flex-col items-center max-w-[1440px] mx-auto overflow-hidden w-full",children:[(0,a.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,a.jsxs)("div",{className:"max-w-[1200px] mx-auto 
1space-y-[40px]",children:[(0,a.jsx)("h2",{className:"text-center",children:"Which way should I connect Postiz to Claude Code?"}),(0,a.jsx)("p",{className:"max-w-[700px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Use the custom MCP link unless you have a reason not to. It is the only route with the full toolset, and it needs no API key. The table compares all three options."}),(0,a.jsx)("div",{className:"overflow-x-auto",children:(0,a.jsxs)("table",{className:"w-full border-collapse",children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:["Method","How you connect","Auth","API key","Toolset","Best for"].map(e=>(0,a.jsx)("th",{className:"text-left p-4 border-b border-white border-opacity-10 text-[16px] font-jakarta font-semibold",children:e},e))})}),(0,a.jsx)("tbody",{children:b.map((e,t)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-white text-[16px] font-jakarta font-semibold",children:e.method}),(0,a.jsx)("td",{className:"p-4 border-b border-white border-opacity-5",children:(0,a.jsx)("code",{className:"text-[13px] font-mono text-[#d1d1d1] bg-white bg-opacity-5 px-2 py-1 rounded break-all",children:e.command})}),(0,a.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[#d1d1d1] text-[16px]",children:e.auth}),(0,a.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[#d1d1d1] text-[16px]",children:e.apiKey}),(0,a.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[#d1d1d1] text-[16px]",children:e.toolset}),(0,a.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[#d1d1d1] text-[16px]",children:e.bestFor})]},t))})]})}),(0,a.jsxs)("p",{className:"text-center text-[14px] leading-[22px] text-[#d1d1d1]",children:["The same MCP server works with other agents too. See the"," ",(0,a.jsx)(l(),{href:"/mcp",className:"text-[#a87fef] hover:text-white transition-colors",children:"Postiz MCP server"})," ","page and the"," ",(0,a.jsx)(l(),{href:"/agent",className:"text-[#a87fef] hover:text-white transition-colors",children:"AI agents overview"}),"."]})]})}),(0,a.jsxs)("section",{className:"space-y-[40px] sm:space-y-[60px] py-[50px] sm:py-[90px] px-5 w-full",children:[(0,a.jsx)("h2",{className:"text-center",children:"Why use Claude Code for social media automation?"}),(0,a.jsx)("p",{className:"max-w-[700px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Claude Code already knows your codebase, so release notes, docs, and screenshots become posts without copy-pasting. Postiz gives it structured tools for every platform, so one prompt can cover a whole campaign."}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 max-w-[1200px] mx-auto",children:[(0,a.jsx)(P,{icon:"\uD83E\uDD16",title:"AI Agent Ready",description:"Postiz returns structured results, so Claude Code can plan, run, and verify multi-step social media workflows on its own."}),(0,a.jsx)(P,{icon:"\uD83C\uDF10",title:"30+ Platforms",description:"Post to Twitter/X, LinkedIn, Reddit, Instagram, YouTube, TikTok, and 22 more platforms. One request from you, Claude Code handles every platform."}),(0,a.jsx)(P,{icon:"\uD83E\uDDF5",title:"Threads & Comments",description:"Create threaded posts with multiple comments, each with their own media. Automatic conversion to platform-native threads."}),(0,a.jsx)(P,{icon:"\uD83D\uDCF7",title:"Rich Media Support",description:"Upload and attach images, videos, audio, and documents. With the MCP server, Claude Code can also generate images and videos and clip long videos into shorts."}),(0,a.jsx)(P,{icon:"\uD83D\uDCC5",title:"Scheduled Posting",description:"Schedule posts with precise timestamps, create drafts for review, and batch schedule entire content campaigns."}),(0,a.jsx)(P,{icon:"⚙️",title:"Platform-Specific Settings",description:"Dynamic discovery of platform features like Reddit flairs, YouTube playlists, Pinterest boards, and LinkedIn company pages."})]})]}),(0,a.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,a.jsxs)("div",{className:"max-w-[1200px] mx-auto 
1space-y-[40px] sm:space-y-[60px]",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,a.jsx)(i.eA,{className:"w-[56px] h-[56px]"}),(0,a.jsx)("h2",{className:"text-center",children:"What is Claude Code?"}),(0,a.jsx)("p",{className:"max-w-[700px] text-center text-[18px] leading-[23.44px] sm:text-[22px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Claude Code is Anthropic's agentic coding tool. It lives in your terminal, understands your codebase, runs commands, calls MCP tools, and takes real actions on your behalf — including managing your social media with Postiz."})]}),(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("h3",{className:"text-center text-[24px] leading-[28px] sm:text-[30px] sm:leading-[34px] font-jakarta font-semibold",children:"Claude Code vs Claude Cowork vs the Claude.ai connector"}),(0,a.jsx)("p",{className:"max-w-[700px] mx-auto text-center text-[16px] leading-[24px] text-[#d1d1d1]",children:"All three are Anthropic products that can drive Postiz, but they run in different places and suit different people. This page is about Claude Code."}),(0,a.jsx)("div",{className:"overflow-x-auto",children:(0,a.jsxs)("table",{className:"w-full border-collapse",children:[(0,a.jsx)("thead",{children:(0,a.jsx)("tr",{children:["Surface","Where it runs","Who it is for","How Postiz connects","Notable difference"].map(e=>(0,a.jsx)("th",{className:"text-left p-4 border-b border-white border-opacity-10 text-[16px] font-jakarta font-semibold",children:e},e))})}),(0,a.jsx)("tbody",{children:j.map(e=>(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[16px] font-jakarta font-semibold",children:(0,a.jsx)(l(),{href:e.href,className:"text-[#a87fef] hover:text-white transition-colors",children:e.surface})}),(0,a.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[#d1d1d1] text-[16px]",children:e.where}),(0,a.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[#d1d1d1] text-[16px]",children:e.audience}),(0,a.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[#d1d1d1] text-[16px]",children:e.connect}),(0,a.jsx)("td",{className:"p-4 border-b border-white border-opacity-5 text-[#d1d1d1] text-[16px]",children:e.extra})]},e.surface))})]})})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:[(0,a.jsx)(P,{icon:"\uD83D\uDCBB",title:"Terminal Native",description:"Talk to Claude Code right where you work. Run it in any terminal, or inside VS Code and JetBrains, and manage your socials next to your code."}),(0,a.jsx)(P,{icon:"\uD83E\uDDE9",title:"Skills & MCP",description:"Claude Code extends its abilities through skills and the Model Context Protocol. Postiz works as a skill or as an MCP server — connect once and go."}),(0,a.jsx)(P,{icon:"⚡",title:"Headless & Scriptable",description:"Run a single prompt with claude -p and exit. Put Postiz posting in shell scripts, cron jobs, or CI pipelines — announce every release automatically."})]}),(0,a.jsx)("div",{className:"bg-[#0e0e0e] rounded-[20px] p-6 sm:p-10 border border-white border-opacity-10",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-8",children:[(0,a.jsxs)("div",{className:"flex-1 space-y-4",children:[(0,a.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:"How Postiz Works with Claude Code"}),(0,a.jsx)("p",{className:"text-[16px] leading-[24px] text-[#d1d1d1]",children:"Add Postiz as an MCP server and Claude Code sees every Postiz tool — channels, posts, media, analytics — the moment you sign in. Or install the Postiz skill in your project and Claude Code reads the bundled SKILL.md to learn the CLI commands and how to compose posts for each platform."}),(0,a.jsx)("ul",{className:"space-y-3",children:["One command: claude mcp add --transport http postiz <link>","Sign in to Postiz in the browser — no API key to manage","Or install the skill: npx skills add gitroomhq/postiz-agent","Claude Code asks for permission before it acts","Works with Claude.ai, Console, Bedrock, and Vertex AI accounts"].map((e,t)=>(0,a.jsxs)("li",{className:"flex items-start gap-3 text-[16px] leading-[24px] text-[#d1d1d1]",children:[(0,a.jsx)("span",{className:"text-[#682EE1] mt-1 shrink-0",children:"✓"}),e]},t))})]}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)(k,{title:"Install in Claude Code",children:'# Option A: add the Postiz MCP server\nclaude mcp add --trans
1port http postiz \\\n  https://mcp.postiz.com/mcp-oauth-dynamic\n\n# Option B: install the Postiz skill\nnpx skills add gitroomhq/postiz-agent\nexport POSTIZ_API_KEY=your_api_key\n\n# Verify it\n$ claude "List my social media integrations"\n\n# Claude Code replies with your connected\n# channels — you are ready to post'})})]})})]})}),(0,a.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,a.jsxs)("div",{className:"max-w-[1200px] mx-auto space-y-[40px] sm:space-y-[60px]",children:[(0,a.jsxs)("div",{className:"flex flex-col items-center space-y-4",children:[(0,a.jsx)("h2",{className:"text-center",children:"How do I post to social media from the terminal with Claude Code?"}),(0,a.jsx)("p",{className:"max-w-[700px] text-center text-[18px] leading-[23.44px] sm:text-[22px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Type the request in a Claude Code session, or pass it to claude -p in a script. Claude Code discovers your channels through Postiz, uploads media, applies platform settings, and schedules the posts while you keep coding."})]}),(0,a.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-6 p-6 sm:p-8 bg-[#1A1919] rounded-[20px] border border-white border-opacity-10",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)(i.eA,{className:"w-12 h-12 sm:w-14 sm:h-14"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:"Just Ask"}),(0,a.jsx)("p",{className:"text-[14px] text-[#d1d1d1]",children:"One prompt, full automation"})]})]}),(0,a.jsx)("p",{className:"text-[16px] leading-[24px] sm:text-[18px] sm:leading-[27px] text-[#d1d1d1]",children:"Type a prompt in your Claude Code session. It finds your accounts via Postiz, uploads media, and schedules posts — and it can read the files in your repo to write the copy."}),(0,a.jsx)(k,{title:"Claude Code",children:"> Read CHANGELOG.md and post a thread about\n  v2.4 on X and LinkedIn with\n  ./assets/release.png, tomorrow at 9am\n\nClaude Code: Done! Posts scheduled:\n  - X (Twitter): 5-tweet thread, 9:00 AM\n  - LinkedIn: single post, 9:00 AM\n  Both include release.png"})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-6 p-6 sm:p-8 bg-[#1A1919] rounded-[20px] border border-white border-opacity-10",children:[(0,a.jsxs)("div",{className:"flex items-center gap-4",children:[(0,a.jsx)(i.eA,{className:"w-12 h-12 sm:w-14 sm:h-14"}),(0,a.jsxs)("div",{children:[(0,a.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:"Headless & CI"}),(0,a.jsx)("p",{className:"text-[14px] text-[#d1d1d1]",children:"Scripts, cron, and GitHub Actions"})]})]}),(0,a.jsx)("p",{className:"text-[16px] leading-[24px] sm:text-[18px] sm:leading-[27px] text-[#d1d1d1]",children:"Run Claude Code non-interactively with a single prompt. Wire it into a release pipeline or a nightly job and Postiz posts without anyone opening a terminal."}),(0,a.jsx)(k,{title:"release.sh",children:'#!/bin/bash\n# Runs after a new tag is pushed\n\nclaude -p "Summarize the changes since the\n  last git tag and schedule a launch post\n  on X, LinkedIn, and r/programming via\n  Postiz for today at 10am. Attach\n  ./assets/release.png."\n\n# Claude Code reads the git history,\n# writes the copy, and schedules via Postiz'})]})]}),(0,a.jsx)("div",{className:"bg-[#0e0e0e] rounded-[20px] p-6 sm:p-10 border border-white border-opacity-10",children:(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-8",children:[(0,a.jsxs)("div",{className:"flex-1 space-y-4",children:[(0,a.jsx)("h4",{className:"text-[20px] leading-[22px] sm:text-[24px] sm:leading-[26.4px] font-jakarta font-semibold",children:"Why Claude Code + Postiz"}),(0,a.jsx)("ul",{className:"space-y-3",children:["Every tool returns structured results Claude Code can act on","MCP server or CLI skill — pick whichever fits your setup","Full toolset over MCP: image and video generation, clipping","Platform-specific options (flairs, playlists, boards) are queryable live","Headless mode turns any script or CI job into a publisher","Permission prompts keep a human in the loop"].map((e,t)=>(0,a.jsxs)("li",{className:"flex items-start gap-3 text-[16px] leading-[24px] text-[#d1d1d1]",children:[(0,a.jsx)("span",{className:"text-[#682EE1] mt-1 shrink-0",children:"✓"}),e]},t))})]}),(0,a.jsx)("div",{className:"flex-1",children:(0,a.jsx)(k,{title:"SKILL.md (auto-discovered)",children:"---\nname: postiz\ndescription: Social media automation\n  CLI for scheduling posts across\n  30+ platforms\nmetadata:\n  claude-code:\n    requirements:\n      env:\n        - POSTIZ_API_KEY\n      binaries:\n        - postiz\n---\n\n# Available Commands\n- postiz integrations:list\n- postiz integrations:settings <id>\n- postiz posts:create\n- postiz upload <file>\n- postiz analytics:platform <id>"})})]})})]})}),(0,a.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,a.jsxs)("div",{className:"max-w-[1200px] mx-auto 
1space-y-[40px]",children:[(0,a.jsx)("h2",{className:"text-center",children:"What can you ask Claude Code to do in Postiz?"}),(0,a.jsx)("p",{className:"max-w-[700px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[20px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Anything the Postiz tools expose: channels, posts, media, settings, and analytics. Here are typical requests and what Claude Code does with each one."}),(0,a.jsx)(h.mn,{cards:z})]})}),(0,a.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,a.jsxs)("div",{className:"max-w-[1200px] mx-auto space-y-[40px]",children:[(0,a.jsx)("h2",{className:"text-center",children:"Which platforms can Claude Code post to?"}),(0,a.jsx)("p",{className:"max-w-[700px] mx-auto text-center text-[18px] leading-[23.44px] sm:text-[22px] sm:leading-[28.64px] text-[#d1d1d1]",children:"Postiz supports 30+ channels, and these 25 have a dedicated Claude Code guide with example prompts, a settings reference, platform-specific limits, and a FAQ. Connect once in Postiz and post everywhere."}),(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-4",children:g.map(e=>{let{name:t,slug:s,description:o}=e;return(0,a.jsxs)(l(),{href:"/claude-code/".concat(s),className:"flex flex-col gap-2 p-5 bg-[#1A1919] rounded-[16px] border border-white border-opacity-10 hover:border-[#682EE1] hover:border-opacity-50 transition-all group",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsx)("h4",{className:"text-[18px] font-jakarta font-semibold group-hover:text-[#a87fef] transition-colors",children:t}),(0,a.jsx)("span",{className:"text-[#d1d1d1] group-hover:text-[#682EE1] transition-colors",children:"→"})]}),(0,a.jsx)("p",{className:"text-[14px] leading-[20px] text-[#d1d1d1]",children:o})]},s)})})]})}),(0,a.jsx)("section",{className:"py-[50px] sm:py-[90px] px-5 w-full",children:(0,a.jsxs)("div",{className:"max-w-[900px] mx-auto space-y-[30px] sm:space-y-[40px]",children:[(0,a.jsx)("h2",{className:"text-center",children:"Frequently Asked Questions"}),(0,a.jsx)("div",{className:"space-y-4",children:f.map((e,t)=>{let{question:s,answer:o}=e;return(0,a.jsxs)("div",{className:"p-6 sm:p-8 bg-[#1A1919] rounded-[16px] sm:rounded-[20px] border border-white border-opacity-10",children:[(0,a.jsx)("h3",{className:"text-[18px] leading-[24px] sm:text-[20px] sm:leading-[26px] font-jakarta font-semibold",children:s}),(0,a.jsx)("p",{className:"mt-3 text-[16px] leading-[24px] sm:text-[18px] sm:leading-[27px] text-[#d1d1d1]",children:o})]},t)})}),(0,a.jsxs)("p",{className:"text-center text-[14px] leading-[18px] text-[#d1d1d1]",children:["Using Claude in the browser or on desktop instead? See the"," ",(0,a.jsx)(l(),{href:"/claude",className:"text-[#a87fef] hover:text-white transition-colors",children:"Claude"})," ","and"," ",(0,a.jsx)(l(),{href:"/claude-cowork",className:"text-[#a87fef] hover:text-white transition-colors",children:"Claude Cowork"})," ","guides, the"," ",(0,a.jsx)(l(),{href:"/agent",className:"text-[#a87fef] hover:text-white transition-colors",children:"AI agents overview"}),", the"," ",(0,a.jsx)(l(),{href:"/mcp",className:"text-[#a87fef] hover:text-white transition-colors",children:"Postiz MCP server"})," ","page, and"," ",(0,a.jsx)(l(),{href:"/pricing",className:"text-[#a87fef] hover:text-white transition-colors",children:"pricing"}),". Claude Code is open source on"," ",(0,a.jsx)("a",{href:"https://github.com/anthropics/claude-code",target:"_blank",rel:"noopener noreferrer",className:"text-[#a87fef] hover:text-white transition-colors",children:"GitHub"}),"."]})]})}),(0,a.jsx)("section",{className:"py-[50px] sm:py-[90px] sm:px-5 w-full",children:(0,a.jsxs)("div",{className:"flex flex-col lg:flex-row justify-between items-left lg:items-center gap-10 px-5 py-10 sm:p-15 rounded-none sm:rounded-[20px] w-full max-w-[1200px] mx-auto",style:{backgroundColor:"#682EE1"},children:[(0,a.jsxs)("div",{className:"space-y-5 sm:space-y-4",children:[(0,a.jsx)("h3",{className:"text-left text-[30px] leading-[33px] sm:text-[48px] sm:leading-[52.8px] font-jakarta font-[700]",children:"Start automating today"}),(0,a.jsx)("p",{className:"max-w-[620px] text-white text-left text-[18px] leading-[23.44px] sm:text-[22px] sm:leading-[28.64px] font-[400]",children:"Connect Postiz to Claude Code once and let it handle social media posting across every platform from your terminal."})]}),(0,a.jsx)("div",{className:"flex flex-col sm:flex-row gap-4 lg:shrink-0",children:(0,a.jsx)(m.Z,{size:"lg",variant:"primary",eventKe
1y:"claude-code-cta-register",alt:"Start for $0",reverseColor:!0})})]})})]})]})})}},function(e){e.O(0,[7947,7246,5154,9709,2888,9774,179],function(){return e(e.s=44886)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.