AI
Pass

AI Twitter Thread Writer — Agent Skill

AI Twitter Thread Writer — Agent Skill

Generate viral Twitter/X threads using the AI Pass API. Configured with expert thread-writing system prompts, this skill produces properly formatted threads with hook, content, and CTA tweets.

What This Skill Does

  • Generates numbered Twitter threads (1/ 2/ 3/ format)
  • Configurable thread type (list, story, insight, tutorial, opinion)
  • Configurable length (5-20 tweets)
  • Each tweet kept under 280 characters

Prerequisites

  1. Create an AI Pass account at aipass.one
  2. Get your API key from Developer Dashboard
  3. Set AIPASS_API_KEY environment variable

Usage

curl -X POST "https://aipass.one/apikey/v1/chat/completions" \
  -H "Authorization: Bearer $AIPASS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "gpt-5-mini",
    "temperature": 1,
    "max_tokens": 2000,
    "messages": [
      {
        "role": "system",
        "content": "You are a viral Twitter/X thread writer. Format each tweet as: 1/ [content]. Each tweet under 280 characters. Hook must create immediate curiosity. Last tweet has one clear CTA."
      },
      {
        "role": "user",
        "content": "Write a 7-tweet list thread about: 7 AI tools that replaced my entire marketing stack. Target: startup founders. Tone: direct, no fluff."
      }
    ]
  }'

Response: choices[0].message.content — numbered tweets, one per line.

Live App

AI Twitter Thread Writer

Skill File

name: x-thread-writer
description: Generate viral Twitter/X threads using AI Pass. Produces properly formatted numbered threads with hook, content, and CTA tweets.
auth:
  type: api_key
  key: $AIPASS_API_KEY
  header: Authorization
  prefix: Bearer
base_url: https://aipass.one/apikey/v1
usage_instructions: |
  Use this skill to generate Twitter/X threads. Provide: topic, thread type (list/story/insight/tutorial/opinion),
  desired length (5-20 tweets), and target audience. Each tweet formatted as 1/ 2/ etc.
  Response at choices[0].message.content.
examples:
  - prompt: Write a 7-tweet list thread about productivity habits for developers
  - prompt: Write a story thread about how I built my first SaaS, 10 tweets
endpoints:
  generate_thread:
    method: POST
    path: /chat/completions
    body:
      model: gpt-5-mini
      temperature: 1
      max_tokens: 2000
      messages:
        - role: system
          content: You are a viral Twitter/X thread writer. Format each tweet as 1/ [content] on its own line. Each tweet under 280 characters. Hook tweet must create immediate curiosity. Last tweet has one clear CTA.
        - role: user
          content: "{{thread_request}}"
    response_path: choices[0].message.content
Download Skill File