x-writer
Creates viral X (Twitter) posts using proven formats, post templates, and creator voice matching. Use when user needs engaging, high-performing posts for X/Twitter.
What this skill does
# X Writer
## Purpose
Generate 3 viral X posts in different proven formats, matched to a creator voice, using battle-tested templates and patterns that drive engagement.
---
## Execution Logic
**Check $ARGUMENTS first to determine execution mode:**
### If $ARGUMENTS is empty or not provided:
Respond with:
"x-writer loaded, proceed with your topic or idea"
Then wait for the user to provide their requirements in the next message.
### If $ARGUMENTS contains content:
Proceed immediately to Task Execution (skip the "loaded" message).
---
## Task Execution
When user requirements are available (either from initial $ARGUMENTS or follow-up message):
### 1. MANDATORY: Read Reference Files FIRST
**BLOCKING REQUIREMENT — DO NOT SKIP THIS STEP**
Before doing ANYTHING else, you MUST use the Read tool to read ALL three reference files. This is non-negotiable:
```
Read: ./references/formats.md
Read: ./references/posts.md
Read: ./references/voices.md
```
**What you will find:**
- **formats.md**: 8 proven post formats with structure templates, psychology, and format-specific rules
- **posts.md**: 49+ proven viral posts organized by format type — the example library
- **voices.md**: Creator voice profiles with writing DNA, signature patterns, and example posts
**DO NOT PROCEED** to Step 2 until you have read all three files and have their content in context.
### 2. Check for Business Context
Check if `FOUNDER_CONTEXT.md` exists in the project root.
- **If it exists:** Read it and use the business context to personalize output (industry terminology, audience pain points, brand voice, company name, products).
- **If it doesn't exist:** Proceed using defaults from "Defaults & Assumptions."
### 3. Analyze Input & Select Voice
From the user's requirements, extract:
- **Topic/idea** — What they want to post about
- **Goal** — What they want the post to achieve (engagement, authority, education, humor)
- **Voice preference** — If they specified a voice or tone
**Voice Matching Logic:**
If the user specified a voice → use that voice directly.
If the user did NOT specify a voice:
1. Analyze the topic and FOUNDER_CONTEXT.md brand voice
2. Auto-suggest the best match based on topic:
- Business advice, mindset, pricing, sales, productivity → suggest **Alex Hormozi**
- Life philosophy, contrarian takes, self-improvement, minimalism → suggest **Naval Ravikant**
- Startup advice, CEO/founder roles, hiring, company building → suggest **Andrew Gazdecki**
- Self-improvement, productivity hacks, fitness + learning, habits → suggest **Dakota Robertson**
- AI trends, tool launches, tech stack recommendations, urgent opportunities → suggest **Machina**
- SaaS growth, AI productivity, founder mindset, revenue strategy → suggest **Ognjen Gatalo**
- Personal responsibility, escaping default paths, harsh reality checks, focus training → suggest **Dan Koe**
3. Ask the user to confirm using AskUserQuestion:
- **[Suggested Voice] (Recommended)** — [one-line description of why it fits]
- **[Other Voice 1]** — [one-line description]
- **[Other Voice 2]** — [one-line description]
- **My own voice** — Natural tone based on FOUNDER_CONTEXT.md brand voice
### 4. Generate 3 Viral Posts
Using the formats, posts, and voice you loaded in Steps 1-3:
1. **Select 3 DIFFERENT formats** from formats.md that best fit the user's topic and goal
2. **Study the example posts** in posts.md for those formats — internalize the rhythm, structure, and length
3. **Apply the selected voice** from voices.md — match their sentence structure, rhythm, and signature patterns (not their exact words or examples)
4. **Draft each post** following the format's structure template, the voice's DNA, and all Writing Rules below
5. **Run each post through the Screenshot Test:** "Would someone screenshot this and share it?" If no → rewrite before continuing
**Critical requirements:**
- Each post must use a DIFFERENT format (no repeats)
- Each post must sound like the selected voice (structural match, not word-for-word copy)
- Each post must be about the user's SPECIFIC topic (not generic advice)
- Each post must follow the format's structure template from formats.md
- Each post must be ready to copy-paste and post immediately — no placeholders
### 5. Format and Verify
- Structure output according to **Output Format** section
- Complete **Quality Checklist** self-verification before presenting output
- If any post feels generic, forced, or wouldn't pass the Screenshot Test → rewrite before presenting
---
## Writing Rules
Hard constraints. No interpretation.
### Core Rules (Apply to ALL posts)
- Maximum 280 characters for single posts. If a post exceeds 280 characters, it must be structured as a thread (each tweet under 280 characters).
- First line is the hook — it determines whether people click "Show more." Make it the strongest line in the post.
- Use line breaks strategically. White space = visual breathing room = readability.
- No hashtags. They reduce reach and look amateur on X.
- No engagement bait ("like if you agree", "RT if this resonates", "thoughts?"). It kills reach.
- No emojis unless the voice or topic specifically calls for it. When used, maximum 1-2 per post.
- Specific numbers > vague claims ("17 strategies" not "many strategies").
- Opinions > facts. X rewards bold takes, not Wikipedia summaries.
- Active voice only. Never passive.
- Present tense preferred.
- Every word must earn its place. If you can cut a word without losing meaning, cut it.
- No "I think" or "In my opinion" — just state the opinion as fact. Confidence is voice.
### Voice-Matching Rules
- Match the voice's SENTENCE STRUCTURE — short choppy lines vs flowing sentences, fragments vs complete thoughts.
- Match their RHYTHM — how they pace ideas, where they place line breaks, how they build tension.
- Match their PERSPECTIVE — coaching from authority (Hormozi) vs philosophical detachment (Naval) vs peer founder advice (Gazdecki).
- Do NOT copy their exact phrases, examples, or company references. Create original content that SOUNDS like them structurally.
- If the user chose "My own voice," use a natural, conversational tone that matches FOUNDER_CONTEXT.md brand voice. If no context exists, default to direct and conversational.
### Format-Specific Rules
- **One-Liners:** One sentence. One idea. No explanations. Every word carries weight.
- **Two-Part Punch:** Line break between parts. Second part MUST change the meaning of the first.
- **Numbered Lists:** Odd numbers preferred. Each item must be specific and standalone. Strong, opinionated closer.
- **Stacked Progression:** Same grammatical structure per line. Build momentum. The final line MUST break the pattern.
- **Comparison:** Stark, obvious contrast. Don't lecture — let the contrast make the point.
- **Example + Takeaway:** Use real, named companies or people. Minimum 3 examples. Actionable closer.
- **Reverse Advice:** Deadpan delivery. No winking. Every item is a real mistake people make.
- **Humor:** One joke per post. Deadpan > trying hard. Industry-specific > generic. Never explain the joke.
### The Screenshot Test
Before finalizing ANY post, ask yourself: "Would someone screenshot this and share it with their group chat?" If the answer is no — the post isn't good enough. Rewrite it.
---
## Output Format
Present exactly 3 posts, each labeled with its format and voice:
```markdown
## Your 3 X Posts
**Voice:** [Selected voice name]
**Topic:** [User's topic]
---
### Post 1 — [Format Name]
[Full post text, ready to copy and paste]
---
### Post 2 — [Format Name]
[Full post text, ready to copy and paste]
---
### Post 3 — [Format Name]
[Full post text, ready to copy and paste]
```
**Example:**
```markdown
## Your 3 X Posts
**Voice:** Alex Hormozi
**Topic:** Why most SaaS founders fail
---
### Post 1 — Comparison
SaaS founders who fail:
- Build for 6 months in silence
- Launch to crickets
- Blame the market
SaaS foundRelated in Image & Video
watch
IncludedWatch a video (URL or local path). Downloads with yt-dlp, extracts auto-scaled frames with ffmpeg, pulls the transcript from captions (or Whisper API fallback), and hands the result to Claude so it can answer questions about what's in the video.
physical-ai-defect-image-generation
IncludedUse when the user wants to orchestrate defect image generation, run associated setup, or handle outputs on OSMO. The Day 0 path handles cold-start with USD-to-ROI, image-edit augmentation, and AnomalyGen to create initial PCBA datasets. The Day 1 path performs inference and labeling on real images. This skill helps with first-time asset setup, creation of finetuning checkpoints, and configuring deployment. Trigger keywords: defect image generation, dig workflow, dig pipeline, defect image detection workflow, aoi pipeline, aoi anomalygen, usd2roi anomalygen, day 0 pcba, day 1 pcba, day 1 real-photo alignment, day 1 manual roi, metal surface anomaly, glass defect, anomalygen finetune, setup_pcb, setup_metal, setup_glass, setup_pretrained, dig setup, dig datasets, dig pretrained checkpoint, dig image-edit endpoint.
accelint-react-best-practices
IncludedReact performance optimization and best practices. ALWAYS use this skill when working with any React code - writing components, hooks, JSX; refactoring; optimizing re-renders, memoization, state management; reviewing for performance; fixing hydration mismatches; debugging infinite re-renders, stale closures, input focus loss, animations restarting; preventing remounting; implementing transitions, lazy initialization, effect dependencies. Even simple React tasks benefit from these patterns. Covers React 19+ (useEffectEvent, Activity, ref props). Triggers - useEffect, useState, useMemo, useCallback, memo, inline components, nested components, components inside components, re-render, performance, hydration, SSR, Next.js, useDeferredValue, combined hooks.
elevenlabs-agents
IncludedBuild conversational AI voice agents with ElevenLabs Platform using React, JavaScript, React Native, or Swift SDKs. Configure agents, tools (client/server/MCP), RAG knowledge bases, multi-voice, and Scribe real-time STT. Use when: building voice chat interfaces, implementing AI phone agents with Twilio, configuring agent workflows or tools, adding RAG knowledge bases, testing with CLI "agents as code", or troubleshooting deprecated @11labs packages, Android audio cutoff, CSP violations, dynamic variables, or WebRTC config. Keywords: ElevenLabs Agents, ElevenLabs voice agents, AI voice agents, conversational AI, @elevenlabs/react, @elevenlabs/client, @elevenlabs/react-native, @elevenlabs/elevenlabs-js, @elevenlabs/agents-cli, elevenlabs SDK, voice AI, TTS, text-to-speech, ASR, speech recognition, turn-taking model, WebRTC voice, WebSocket voice, ElevenLabs conversation, agent system prompt, agent tools, agent knowledge base, RAG voice agents, multi-voice agents, pronunciation dictionary, voice speed control, elevenlabs scribe, @11labs deprecated, Android audio cutoff, CSP violation elevenlabs, dynamic variables elevenlabs, case-sensitive tool names, webhook authentication
humanizer
IncludedHumanize AI-generated text by detecting and removing patterns typical of LLM output. Rewrites text to sound natural, specific, and human. Uses 28 pattern detectors, 560+ AI vocabulary terms across 3 tiers, and statistical analysis (burstiness, type-token ratio, readability) for comprehensive detection. Use when asked to humanize text, de-AI writing, make content sound more natural/human, review writing for AI patterns, score text for AI detection, or improve AI-generated drafts. Covers content, language, style, communication, and filler categories.
generating-mermaid-diagrams
IncludedSalesforce architecture diagrams using Mermaid with ASCII fallback. Use this skill when generating text-based diagrams for Salesforce architecture, OAuth flows, ERDs, integration sequences, or Agentforce structure. TRIGGER when: user says "diagram", "visualize", "ERD", or asks for sequence diagrams, flowcharts, class diagrams, or architecture visualizations in Mermaid. DO NOT TRIGGER when: user wants PNG/SVG image output (use generating-visual-diagrams), or asks about non-Salesforce systems.