publisher-all — Claude Code command: content for every platform
One command runs four publishing flows in a row: an X thread, a LinkedIn post, a Medium article and a Dev.to RSS feed.
npx claude-code-templates@latest --command marketing/publisher-allWhat publisher-all does
It takes a slug, a file path or a URL and fires off /publisher:x, /publisher:linkedin, /publisher:medium and /publisher:devto one after another. Each platform gets its own rewrite rather than a copy-paste of the same text. X comes out as a thread with three format tabs, Medium as an HTML article, Dev.to as a ready RSS feed.
Output lands in x-thread-[LANG].html, medium-article-[LANG].html and rss-devto.xml, and the previews open in browser tabs. The LinkedIn piece goes out as a draft through the API or falls back to an HTML preview. A second argument sets the language; without it everything is generated in English.
The command is allowed to use Read, Write, Bash, Glob and WebFetch, the last one for URL inputs. If you have not wired up LinkedIn API access, plan on the HTML preview only. It lives in the plugin namespace, so a bare /publisher-all will not trigger it.
What it helps with
- produce an X thread in three formats in one pass
- draft a LinkedIn post from the same source material
- build a Medium-ready HTML article without hand-formatting
- generate an RSS feed for Dev.to
- re-run the same content in another language via the second argument
Example prompts for the agent
- /publisher:all my-post
- /publisher:all my-post ja
- /publisher:all article.md
How to install publisher-all
1claude-code-templates
npx claude-code-templates@latest --command marketing/publisher-all2Manually: put the files in place
.claude/commands/publisher-all.mdCall it with /publisher-all. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/publisher-all.mdCall it with /prompts:publisher-all. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/publisher-all.prompt.mdManually: put the files in place
.gemini/commands/publisher-all.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about publisher-all
How do I install publisher-all in Claude?
Run npx claude-code-templates@latest --command marketing/publisher-all, then confirm the file landed at .claude/commands/publisher-all.md.
What does publisher-all do?
It chains four publisher commands and prepares content for X, LinkedIn, Medium and Dev.to from a single input.
Which language does the generated content use?
English by default. A second argument such as ja switches the output language, which also shows up in filenames like x-thread-[LANG].html.
Source text
publisher-all.md · MIT
--- allowed-tools: Read, Write, Bash, Glob, WebFetch argument-hint: <input> [lang] description: Generate content for ALL platforms at once (X, LinkedIn, Medium, Dev.to) --- # All-Platform Content Generator Generate content for X/Twitter, LinkedIn, Medium, and Dev.to in a single command. **Usage:** `$ARGUMENTS` **Examples:** ```bash /publisher:all my-post # All platforms, English /publisher:all my-post ja # All platforms, Japanese /publisher:all article.md # From file path ``` **What it does:** Runs all publisher commands sequentially: 1. `/publisher:x` - X/Twitter thread (3 versions: thread, long, short) 2. `/publisher:linkedin` - LinkedIn post with media attachment 3. `/publisher:medium` - Medium-ready HTML article 4. `/publisher:devto` - Dev.to RSS feed (if not already generated) **Process:** For each platform: 1. Parse the same input (slug, file, or URL) 2. Generate platform-specific content 3. Create HTML previews 4. Open all previews in browser tabs **Output:** - `x-thread-[LANG].html` - X thread with 3 format tabs - LinkedIn draft post (via API) or HTML preview - `medium-article-[LANG].html` - Medium-ready content - `rss-devto.xml` - Complete RSS feed **Time Savings:** Instead of running 4 separate commands and spending ~2 hours manually adapting content, this generates everything in one go. **Next Steps:** 1. Browser tabs open automatically 2. Review each platform's content 3. Copy-paste or publish via API 4. Adjust as needed for your audience **Note**: Each platform's content is uniquely optimized - not just copy-paste across channels.
© davila7 · MIT · davila7/claude-code-templates