The AI-powered Claude Cowork plugin that crafts scroll-stopping, algorithm-optimized posts for LinkedIn, Twitter/X, and Facebook β in seconds.
Getting Started Β· Commands Β· How It Works Β· Examples Β· Customization
ViralPen is a Claude Cowork plugin that transforms any context you share β a project launch, an achievement, a product update, an industry insight β into high-performing social media posts tailored for LinkedIn, Twitter/X, and Facebook.
Every post ViralPen generates:
- β Uses proven viral hook formulas to stop the scroll
- β Follows platform-specific algorithm best practices (2025β2026)
- β Maintains a professional, consistent tone aligned with your brand
- β Includes SEO-friendly hashtags without keyword stuffing
- β Structures content with hooks β storytelling β CTA for maximum engagement
- β Returns every post inside a code block β ready to copy and paste
- β
Appends the footer:
π ππ’π§π€ π’π§ ππ‘π ππ¨π¦π¦ππ§ππ¬!
viralpen/
βββ .claude-plugin/
β βββ plugin.json # Plugin manifest
βββ commands/
β βββ linkedin.md # /viralpen:linkedin
β βββ twitter.md # /viralpen:twitter
β βββ facebook.md # /viralpen:facebook
β βββ viral-all.md # /viralpen:viral-all
β βββ rewrite.md # /viralpen:rewrite
β βββ hooks.md # /viralpen:hooks
β βββ thread.md # /viralpen:thread
βββ skills/
β βββ social-post-generation/SKILL.md # Core content framework
β βββ platform-algorithms/SKILL.md # Algorithm intelligence
β βββ hook-writing/SKILL.md # Hook formulas & patterns
βββ README.md
- A paid Claude subscription (Pro, Max, Team, or Enterprise)
- The Claude Desktop app for macOS with Cowork enabled
Option 1 β Upload via Cowork UI (Recommended)
- Download the latest
viralpen.zipfrom the Releases page. - Open the Claude Desktop app and switch to the Cowork tab.
- Click Plugins in the bottom-left sidebar.
- Click the + button β Select "Upload local plugin".
- Drag and drop
viralpen.zipinto the upload area, or click Browse files to select it. - Click Upload β the plugin is now installed and active.
Option 2 β Clone from GitHub
# Clone the repository
git clone https://github.com/mejba13/viralpen-cowork-plugin.git
# Navigate into the plugin directory
cd viralpen-cowork-plugin
# Zip the plugin folder
zip -r viralpen.zip viralpen/
# Then upload viralpen.zip to Cowork using the steps aboveAfter uploading, you should see ViralPen listed under your Plugins panel in Cowork. Type / in the Cowork command bar β you should see all viralpen: commands available.
These are the shortcut commands you can invoke anytime in Cowork by typing / followed by the command name.
| Command | Description | Use When |
|---|---|---|
/viralpen:linkedin |
Generate a viral LinkedIn post | You want a professional, storytelling-driven LinkedIn post |
/viralpen:twitter |
Generate a viral Twitter/X post | You want a punchy tweet or single-post for Twitter/X |
/viralpen:facebook |
Generate a viral Facebook post | You want a conversational, community-focused Facebook post |
/viralpen:viral-all |
Generate posts for all 3 platforms at once | You want LinkedIn + Twitter + Facebook from one context |
/viralpen:rewrite |
Rewrite & optimize an existing post | You have a draft post that needs a virality upgrade |
/viralpen:hooks |
Generate 5 scroll-stopping hook options | You want to pick the best hook before writing the full post |
/viralpen:thread |
Generate a full Twitter/X thread (5β10 tweets) | You have in-depth content that works best as a thread |
Type the command followed by your context. For example:
/viralpen:linkedin I just launched MeetVerse AI, a video conferencing platform with real-time AI translation and smart meeting summaries
ViralPen will instantly generate a fully formatted, algorithm-optimized LinkedIn post based on that context.
ViralPen is powered by 3 specialized skills that activate automatically when relevant:
The core content engine. It defines:
- Post structure: Hook β Body β CTA β Footer β Hashtags
- Formatting rules: Line breaks, emoji usage, unicode bold, code block output
- Quality standards: No jargon, reads naturally aloud, clear value proposition
- Platform-specific length: LinkedIn (1200β1800 chars), Twitter (200β280 chars), Facebook (400β800 chars)
Deep knowledge of how each platform's algorithm ranks and distributes content:
- LinkedIn: Dwell time, comment velocity, no external links in body, "see more" optimization
- Twitter/X: Engagement rate, bookmarks as signals, thread performance, recency bias
- Facebook: Meaningful interactions, native content preference, community engagement
10 proven hook formulas with a selection guide:
- Contrarian, Curiosity Gap, Story Opener, Bold Claim, Number Hook, Question Hook, Hot Take, Before/After, Stop Doing, List Tease
- Each formula includes templates, examples, and platform-specific adjustments
- Scroll-stop power ratings for every hook type
Input:
/viralpen:linkedin I built an AI-powered video conferencing platform called MeetVerse AI that supports real-time translation in 40+ languages
Output:
π LINKEDIN POST
βββββββββββββββββ
I built a video conferencing tool that speaks 40 languages.
No, seriously.
6 months ago, I was frustrated watching international teams
struggle through calls with awkward pauses and misunderstandings.
So I built π π²π²ππ©π²πΏππ² ππ.
Here's what it does:
β Real-time AI translation across 40+ languages
β Smart meeting summaries delivered instantly
β Zero setup β works in any browser
The result?
Teams that used to lose 30% of meeting time
to language barriers now operate seamlessly.
Building this taught me one thing:
The best products don't add complexity.
They remove friction people didn't know they had.
What's one friction point in your workflow
that you wish AI could just handle?
π ππ’π§π€ π’π§ ππ‘π ππ¨π¦π¦ππ§ππ¬!
#AI #VideoConferencing #MeetVerseAI #SaaS #AIDeveloper
Input:
/viralpen:viral-all RevSignal AI is a predictive revenue intelligence platform that helps SaaS companies forecast churn before it happens
ViralPen generates three separate, platform-optimized posts β each with a different hook and angle β inside individual code blocks.
Input:
/viralpen:hooks Building AI agents for enterprise automation
Output:
π― HOOK OPTIONS
βββββββββββββββββ
1. [CONTRARIAN] β‘β‘β‘β‘β‘
"Most companies building AI agents are solving the wrong problem."
2. [CURIOSITY GAP] β‘β‘β‘β‘
"I replaced a 6-person ops team with one AI agent. Here's the blueprint:"
3. [STORY OPENER] β‘β‘β‘β‘
"Last quarter, an enterprise client asked me to automate something 'impossible.'"
4. [DATA-DRIVEN] β‘β‘β‘β‘β‘
"AI agents cut enterprise operational costs by 47%. But only if you build them right."
5. [QUESTION] β‘β‘β‘
"What if your next hire wasn't a person β but an AI agent?"
ViralPen is fully file-based (Markdown + JSON). You can customize everything:
Edit skills/social-post-generation/SKILL.md to add your specific:
- Brand tone guidelines
- Industry terminology
- Preferred emoji style
- Custom CTA templates
Edit skills/platform-algorithms/SKILL.md to update:
- Posting time recommendations for your timezone
- Platform-specific rules as algorithms evolve
- Content type priorities
Edit skills/hook-writing/SKILL.md to add:
- Your own proven hook templates
- Industry-specific hook patterns
- A/B tested formulas from your analytics
Add a new .md file in the commands/ folder with this frontmatter:
---
description: What this command does
argument-hint: <expected input>
---
Your command instructions here.| Feature | Twitter/X | ||
|---|---|---|---|
| Optimal Length | 1200β1800 chars | 200β280 chars | 400β800 chars |
| Best Hook Style | Professional storytelling | Punchy hot takes | Emotional & relatable |
| Hashtags | 3β5 | 2β3 | 0β3 |
| Links | In comments only | With context text | Native content preferred |
| Best Content | Personal stories, frameworks | Opinions, threads, data | Questions, community, stories |
| Peak Times | TueβThu 7β9 AM | Weekdays 9β11 AM | Weekdays 1β4 PM |
| Key Algorithm Signal | Dwell time + comments | Bookmarks + engagement rate | Meaningful interactions |
Contributions are welcome! ViralPen is just Markdown files β no build steps, no infrastructure.
- Fork this repository
- Create your feature branch:
git checkout -b feature/amazing-hook-formula - Commit your changes:
git commit -m 'Add amazing hook formula' - Push to the branch:
git push origin feature/amazing-hook-formula - Open a Pull Request
- New hook formulas that have been proven to work
- Platform algorithm updates as they evolve
- Additional slash commands for other platforms (Instagram, TikTok, etc.)
- Language-specific post templates
- Industry-specific skill files (tech, finance, healthcare, etc.)
Do I need to know how to code to use this plugin?
No. ViralPen is entirely Markdown and JSON β no coding required. Just upload the zip file to Cowork and start using the slash commands.
Can I use this with Claude Code instead of Cowork?
Yes! Claude Cowork plugins are compatible with Claude Code. Clone the repo and the skills/commands will work in your Claude Code environment as well.
How do I update the plugin?
Download the latest release, go to Plugins in Cowork, remove the old version, and upload the new zip file. Your customizations in local copies will be preserved if you've forked the repo.
Can I add Instagram or TikTok support?
Absolutely! Create new command files in the
commands/ folder and add platform-specific rules to the skills. Follow the existing LinkedIn/Twitter/Facebook patterns as templates.
Why are posts returned in code blocks?
Code blocks preserve exact formatting β line breaks, spacing, unicode characters, and emojis. This makes it easy to copy-paste directly into any social media platform without losing the carefully crafted structure.
This project is licensed under the MIT License β see the LICENSE file for details.
You are free to use, modify, and distribute this plugin for personal and commercial purposes.
If ViralPen helps you create better social media content, consider:
- β Starring this repository
- π΄ Forking it and adding your own customizations
- π’ Sharing it with your network
- π Opening issues for bugs or feature requests
I build AI-powered applications, mobile apps, and enterprise solutions. Let's bring your ideas to life!
| Platform | Description | Link |
|---|---|---|
| Fiverr | Custom builds, integrations, performance optimization | fiverr.com/s/EgxYmWD |
| Mejba Personal Portfolio | Full portfolio & contact | mejba.me |
| Ramlit Limited | Software development company | ramlit.com |
| ColorPark Creative Agency | UI/UX & creative solutions | colorpark.io |
| xCyberSecurity | Global cybersecurity services | xcybersecurity.io |
Built with β€οΈ using Claude Opus 4.6 Β· Powered by Anthropic