Skip to content

mejba13/viralpen-cowork-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 

Repository files navigation

Claude Cowork Plugin Version 1.0.0 MIT License Platforms



πŸ–ŠοΈπŸ”₯ ViralPen

Turn Any Context Into Viral Social Media Posts

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




🎯 What Is ViralPen?

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: πŸ‘‡ 𝐋𝐒𝐧𝐀 𝐒𝐧 𝐭𝐑𝐞 𝐜𝐨𝐦𝐦𝐞𝐧𝐭𝐬!


πŸ“¦ Plugin Structure

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


πŸš€ Getting Started

Prerequisites

  • A paid Claude subscription (Pro, Max, Team, or Enterprise)
  • The Claude Desktop app for macOS with Cowork enabled

Installation

Option 1 β€” Upload via Cowork UI (Recommended)

  1. Download the latest viralpen.zip from the Releases page.
  2. Open the Claude Desktop app and switch to the Cowork tab.
  3. Click Plugins in the bottom-left sidebar.
  4. Click the + button β†’ Select "Upload local plugin".
  5. Drag and drop viralpen.zip into the upload area, or click Browse files to select it.
  6. 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 above

Verify Installation

After 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.



⚑ Slash Commands

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

How to Use a Command

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.



🧠 How It Works

ViralPen is powered by 3 specialized skills that activate automatically when relevant:

Skill 1 β€” Social Post Generation

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)

Skill 2 β€” Platform Algorithms

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

Skill 3 β€” Hook Writing

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


πŸ“ Examples

Example 1 β€” LinkedIn Post

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

Example 2 β€” All Platforms at Once

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.

Example 3 β€” Hook Generation

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?"


🎨 Customization

ViralPen is fully file-based (Markdown + JSON). You can customize everything:

Adjust Your Brand Voice

Edit skills/social-post-generation/SKILL.md to add your specific:

  • Brand tone guidelines
  • Industry terminology
  • Preferred emoji style
  • Custom CTA templates

Modify Algorithm Rules

Edit skills/platform-algorithms/SKILL.md to update:

  • Posting time recommendations for your timezone
  • Platform-specific rules as algorithms evolve
  • Content type priorities

Add Custom Hook Formulas

Edit skills/hook-writing/SKILL.md to add:

  • Your own proven hook templates
  • Industry-specific hook patterns
  • A/B tested formulas from your analytics

Create New Commands

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.


πŸ“Š Platform Optimization Cheat Sheet

Feature LinkedIn Twitter/X Facebook
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


🀝 Contributing

Contributions are welcome! ViralPen is just Markdown files β€” no build steps, no infrastructure.

  1. Fork this repository
  2. Create your feature branch: git checkout -b feature/amazing-hook-formula
  3. Commit your changes: git commit -m 'Add amazing hook formula'
  4. Push to the branch: git push origin feature/amazing-hook-formula
  5. Open a Pull Request

Contribution Ideas

  • 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.)


❓ FAQ

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.


πŸ“„ License

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.



⭐ Support This Project

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


Developed By

engr-mejba-ahmed

Engr Mejba Ahmed

AI Developer | Software Engineer | Entrepreneur

Portfolio LinkedIn GitHub


Hire / Work With Me

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

About

πŸ–ŠοΈπŸ”₯ ViralPen β€” Claude Cowork plugin that transforms any context into viral, SEO-friendly social media posts for LinkedIn, Twitter/X, and Facebook. Algorithm-optimized hooks, storytelling, and CTAs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors