Agent skill

X Reply Drafter

by sergebulaev in sergebulaev/x-skills

Draft a reply or a value-add quote tweet for a specific X (Twitter) tweet from its URL.

MITAuto-check passedWriting & Content

Install X Reply Drafter

skills CLI
$ npx skills add sergebulaev/x-skills --skill x-reply-drafter -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install sergebulaev/x-skills x-reply-drafter --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/sergebulaev/x-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/x-reply-drafter .claude/skills/x-reply-drafter && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
x-reply-drafter
GitHub stars
123
Used in
1 other repo
Token cost
~1.6k tokens
SKILL.md length
912 words
Files
2 (incl. references)
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Draft a reply or a value-add quote tweet for a specific X (Twitter) tweet from its URL.

  • Works in 7 steps: Parse the URL.… → Read the context. Ask the user to paste… → Decide reply vs quote tweet using the… → …
  • Reply in a thread
  • SKILL.md covers When to use, Input, Output and Reply vs quote tweet, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

X Reply Drafter is an agent skill from sergebulaev/x-skills. Draft a reply or a value-add quote tweet for a specific X (Twitter) tweet from its URL. Use to reply in a thread, answer a creator, or quote-tweet with added value. Parses the tweet URL, reads pasted context, decides reply vs quote tweet, and drafts 1-3 variants in your voice. X has no LinkedIn-style 2-level thread flattening, so a reply is just a tweet. Publora has no reply endpoint, so the draft is returned as a copy-paste block to post yourself. Not for top-level posts (use x-post-writer).

Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/reply-templates.md`).

It sits in Writing & Content, covering Social media posts. It works with X (Twitter) and LinkedIn. The repository describes itself as: X (Twitter) marketing skills for Claude Code and Codex: write tweets, threads, and replies in your voice, strip AI tells, and publish via Publora. Open source, MIT. Content… The licence is MIT.

When your agent uses it

  • Reply in a thread
  • Answer a creator
  • Quote-tweet with added value

Example prompts

  • “/x-reply-drafter”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. Parse the URL. lib.url_parser.parse_x_url(url) returns handle,
  2. Read the context. Ask the user to paste the target tweet and the relevant
  3. Decide reply vs quote tweet using the table above. Recommend one, but let
  4. Draft 1-3 variants using references/reply-templates.md. If the
  5. Humanizer pass. Scrub 2026 AI vocab by density, cap em dashes (at
  6. Approval card. Show the thread context, the variants, the reply-vs-quote
  7. On approval. Call `lib.publish(kind="reply", draft_text=,

What it can do on your machine

Read from SKILL.md and the folder at commit 6ffd8e0. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • x.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

X Reply Drafter loads about 1.6k tokens when it runs, and up to ~2.3k if it reads all its reference files. Until then it costs about 128 tokens; SKILL.md has 912 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~128
When it runs · the whole SKILL.md, loaded when a task matches
~1.6k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from sergebulaev/x-skills at commit 6ffd8e0, republished under its MIT licence (© sergebulaev). 912 words, ~1,629 tokens.

Download SKILL.mdSave it as .claude/skills/x-reply-drafter/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
x-reply-drafter
description
Draft a reply or a value-add quote tweet for a specific X (Twitter) tweet from its URL. Use to reply in a thread, answer a creator, or quote-tweet with added value. Parses the tweet URL, reads pasted context, decides reply vs quote tweet, and drafts 1-3 variants in your voice. X has no LinkedIn-style 2-level thread flattening, so a reply is just a tweet. Publora has no reply endpoint, so the draft is returned as a copy-paste block to post yourself. Not for top-level posts (use x-post-writer).

X Reply Drafter

Drafts a reply in a thread, or a quote tweet, for a specific tweet. On X a reply is just a tweet posted in-reply-to another, and replies nest naturally: there is no LinkedIn-style 2-level flattening and no parent-comment URN to resolve.

When to use

  • User pastes a tweet URL and says "reply to this"
  • A creator replied to the user and they want to continue the thread
  • User wants to quote-tweet a take and add value (not a cheap dunk)

Input

An X tweet URL (x.com/HANDLE/status/ID or the twitter.com equivalent), plus the tweet text (and any thread context) pasted by the user, since this bundle has no built-in tweet reader.

Output

  • 1-3 reply or quote-tweet drafts, each under 280 chars
  • A reply vs quote tweet recommendation with the reason
  • A short context summary (who said what)
  • An approval card. On approval the draft is returned as a copy-paste block.

Reply vs quote tweet

Use a reply whenUse a quote tweet when
You are adding to the conversation in placeYour addition deserves its own reach
You are answering a question or engaging a creatorYour followers should see the original for context
You want intimacy over reachYou want reach and a take on your own timeline

Default to a reply for direct engagement and a quote tweet when the user's point is strong enough to stand as its own post. Never quote-dunk on a small account; add value or skip it.

Steps

Voice profile first (all drafts). If ../../references/voice-profile.md has filled: yes, load it and match the user's voice fingerprint, hard rules, and CTA/link style throughout. If it is not filled, mention once that x-humanizer --mode profile can learn their voice from a few posts, then proceed with the generic voice rules.

Story bank next. If ../../references/story-bank.md has filled: yes, load it and take every concrete detail (numbers, dates, named projects, positions) from there instead of asking mid-draft. Never invent a figure, a date or a client name that is not in the bank or supplied by the user in this conversation. If the bank has nothing that fits, ask the user, or say once that x-humanizer --mode interview fills it in 20 to 40 minutes. A draft with a plausible invented number is worse than a draft with none: one is vague, the other is a retraction.

  1. Parse the URL. lib.url_parser.parse_x_url(url) returns handle, tweet_id, canonical_url.
  2. Read the context. Ask the user to paste the target tweet and the relevant thread above it. If the user is already in the thread, include their prior tweet.
  3. Decide reply vs quote tweet using the table above. Recommend one, but let the user override.
  4. Draft 1-3 variants using references/reply-templates.md. If the counterpart asked a question, answer it plainly with one real detail. If they pushed back, concede then sharpen.
  5. Humanizer pass. Scrub 2026 AI vocab by density, cap em dashes (at most one per reply, never swap one for a period), strip reveal bridges and sincerity openers ("not gonna lie", "let me be honest"). Leave the rhythm alone; never insert a fragment for punch. Keep each variant under 280 chars (emoji = 2). One idea per reply. Canonical rules: x-humanizer V3.
  6. Approval card. Show the thread context, the variants, the reply-vs-quote recommendation, and the target URL.
  7. On approval. Call lib.publish(kind="reply", draft_text=<approved>, target_url=<canonical_url>) for a reply, or kind="quote" for a quote tweet. Publora has no reply endpoint, so kind="reply" always returns a copy-paste block. A kind="quote" could in principle post a new tweet containing the original URL via Publora, but the default is still copy-paste so the user controls the embed. Paste it on X yourself.
Show full SKILL.md (299 more words)Show less

The no-flattening note

Unlike LinkedIn (which flattens reply threads to 2 levels and needs the top-level comment URN as the parent), X nests replies naturally. There is no parent-comment URN to compute. A reply is simply a tweet you post while replying to the target tweet. This skill therefore does not walk any comment tree; it just drafts the text and hands it back for you to post in-reply.

Templates (references/reply-templates.md)

  • R1 Answer-Their-Question - they asked, you answer plainly plus one real detail
  • R2 Concede-Then-Sharpen - "fair, and the part I would push on is Y"
  • R3 Extend-Their-Point - take their point one layer deeper with a new framing
  • R4 Share-Lived-Experience - "we hit this last quarter, here is what broke"
  • R5 Value-Add Quote - quote tweet that adds the missing nuance (X4 shape)

Hard rules

Global voice rules: see root SKILL.md Voice rules. Additional skill-specific rules:

  • Under 280 chars (emoji = 2). Replies are tighter than posts.
  • Never paste a canned "great point!". Respond with content or do not reply.
  • Do not hard-sell the user's product in a reply on someone else's tweet. Describe what they do instead.
  • Never quote-dunk on a small account. Add value or skip it.

Example

User: "Reply to this: https://x.com/somebuilder/status/1790000000000000000"

Skill: parses -> handle somebuilder, tweet 1790000000000000000. Asks the user to paste the tweet. User pastes a take about pricing. Skill recommends a reply (direct engagement), drafts an R2 Concede-Then-Sharpen variant and an R3 Extend-Their-Point variant, each under 280 chars. Shows the approval card.

User: "post the first one"

Skill: returns the copy-paste block with the target URL for the user to post as a reply on X.

Files

  • SKILL.md - this file
  • references/reply-templates.md - 5 reply/quote templates with examples
  • x-post-writer - for a standalone tweet rather than a reply
  • x-thread-builder - for a multi-tweet response
  • x-humanizer - scrub the reply before posting

© sergebulaev, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file (references) in skills/x-reply-drafter of sergebulaev/x-skills.

  • SKILL.md
  • references/reply-templates.md

Open the folder on GitHubat commit 6ffd8e0

Used in 1 other repository

We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in sergebulaev/x-skills, which our catalogue first saw on October 7, 2026.

Compare with similar skills

X Reply Drafter next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

X Reply Drafter compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
X Reply Drafter this skillsergebulaev/x-skills1231 repos~1.6kAutomated safety check: PassMIT
Socialcoreyhaines31/marketingskills54k4 repos~4.5kAutomated safety check: PassMIT
Social Contentfreekmurze/dotfiles1k23 repos~2.1kAutomated safety check: PassNone
Typefullyfreekmurze/dotfiles1k1 repos~3.4kAutomated safety check: NotesNone
Changelog Social RecapFlorianBruniaux/claude-code-ultimate-guide6.1k—~1.8kAutomated safety check: NotesCC-BY-SA-4.0
Content Writerchrispangg/deepagentsdk128—~3.3kAutomated safety check: PassMIT

Similar skills

  • Social

    coreyhaines31/marketingskills

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, or Facebook, or wants to do social listening and engagement triage.

    54k GitHub starsUsed in 4 repos~4.5k tokens
    Writing & ContentAuto-check passed
  • Social Content

    freekmurze/dotfiles

    When the user wants help creating, scheduling, or optimizing social media content for LinkedIn, Twitter/X, Instagram, TikTok, Facebook, or other platforms.

    1k GitHub starsUsed in 23 repos~2.1k tokens
    Writing & ContentAuto-check passed
  • Typefully

    freekmurze/dotfiles

    Create, schedule, and manage social media posts via Typefully.

    1k GitHub starsUsed in 1 repo~3.4k tokens
    Writing & ContentAuto-check: notes
  • Changelog Social Recap

    FlorianBruniaux/claude-code-ultimate-guide

    Turns CHANGELOG.md entries for a release or a week into LinkedIn, Twitter/X, newsletter and Slack posts in French and English.

    6.1k GitHub stars~1.8k tokensUpdated 2 days ago
    Writing & ContentAuto-check: notes
  • Content Writer

    chrispangg/deepagentsdk

    Writing content across different platforms and styles. An agent skill from chrispangg/deepagentsdk.

    128 GitHub stars~3.3k tokensUpdated 7 mo ago
    Writing & ContentAuto-check passed
  • Code Snippet Images

    freekmurze/dotfiles

    Generate beautiful code snippet images (PNG) for social media, tweets, LinkedIn, and documentation.

    1k GitHub stars~1.1k tokensUpdated yesterday
    Writing & ContentAuto-check: notes

More from sergebulaev/x-skills

All 10 skills in this repo
  • X Marketing

    sergebulaev/x-skills

    Plan, draft, audit, and publish posts and threads for X (Twitter).

    123 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check: notes
  • X Content Planner

    sergebulaev/x-skills

    Generate a weekly X (Twitter) content plan from a theme, audience, and content pillars.

    123 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • X Hook Extractor

    sergebulaev/x-skills

    Reverse-engineer the hook from a viral X (Twitter) tweet or thread URL.

    123 GitHub starsUsed in 1 repo~964 tokens
    Auto-check passed
  • X Humanizer

    sergebulaev/x-skills

    Remove the AI tells human readers react to in a tweet or thread: 2026 vocabulary by density, reveal bridges, staccato stacks, stacked triads, performed sincerity.

    123 GitHub starsUsed in 1 repo~4.2k tokens
    Auto-check passed
  • X Post Writer

    sergebulaev/x-skills

    Draft a single tweet or short auto-thread for X (Twitter) using a 2026 X hook formula (one-liner contrarian, data-point, build-in-public, mini-list, relatable cold-open), picked by goal (replies…

    123 GitHub starsUsed in 1 repo~1.8k tokens
    Auto-check passed
  • X Audience Insights

    sergebulaev/x-skills

    Read your X (Twitter) audience and niche from real data. An agent skill from sergebulaev/x-skills.

    123 GitHub starsUsed in 1 repo~1.2k tokens
    Auto-check passed

Questions about X Reply Drafter

What does X Reply Drafter do?

Draft a reply or a value-add quote tweet for a specific X (Twitter) tweet from its URL. X Reply Drafter is an agent skill from sergebulaev/x-skills. Draft a reply or a value-add quote tweet for a specific X (Twitter) tweet from its URL.

When should I use X Reply Drafter?

X Reply Drafter fits situations like: reply in a thread; answer a creator; quote-tweet with added value.

How do I install X Reply Drafter in Claude Code?

Run `npx skills add sergebulaev/x-skills --skill x-reply-drafter -a claude-code`. Or copy the skill folder (skills/x-reply-drafter in sergebulaev/x-skills) into .claude/skills/x-reply-drafter in your project. Claude Code loads it when a task matches its description.

How do I install X Reply Drafter in Codex?

Run `npx skills add sergebulaev/x-skills --skill x-reply-drafter -a codex`. Or copy the skill folder (skills/x-reply-drafter in sergebulaev/x-skills) into .agents/skills/x-reply-drafter in your project. Codex loads it when a task matches its description.

Can I use X Reply Drafter in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add sergebulaev/x-skills --skill x-reply-drafter -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/x-reply-drafter, .gemini/skills/x-reply-drafter, .github/skills/x-reply-drafter and .opencode/skills/x-reply-drafter in your project.

What does X Reply Drafter need to run?

SKILL.md names no scripts, command-line tools or credentials: X Reply Drafter is instructions for the agent only.

Does X Reply Drafter access the network?

SKILL.md names 1 domain. As links in the text: x.com. This is read from the text; nothing was executed.

Is X Reply Drafter safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does X Reply Drafter use?

X Reply Drafter is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does X Reply Drafter use?

About 1.6k tokens (SKILL.md is roughly 6.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 625 tokens, read only when the agent opens those files.

What are the alternatives to X Reply Drafter?

Skills that share tags, products or a category with X Reply Drafter: Social (coreyhaines31/marketingskills, 54k stars), Social Content (freekmurze/dotfiles, 1k stars), Typefully (freekmurze/dotfiles, 1k stars) and Changelog Social Recap (FlorianBruniaux/claude-code-ultimate-guide, 6.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains X Reply Drafter?

sergebulaev (a GitHub user) maintains it in sergebulaev/x-skills, which has 123 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 7, 2026.

Source: sergebulaev/x-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.