x-marketing
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "x-marketing" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ac616959d27c5db982773bed0dbb132a34393a37d4a85946fc4dd9046639817e. Verify the upstream source and version against https://github.com/sergebulaev/x-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Plan, draft, review, and publish X (Twitter) posts and threads via the Publora API. Intended for writing single tweets, generating numbered threads, creating long tweet storms, removing AI traces from drafts, analyzing hooks of viral tweets, drafting replies or quote tweets, or planning a week of X content; the user supplies notes or links, drafts are generated, and publishing occurs after user confirmation.
Introduction source: third_party · sergebulaev · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Plan, draft, audit, and publish posts and threads for X (Twitter). Use when the user wants to write a single tweet or an auto-numbered thread, build a long-form tweetstorm, remove AI tells from a draft, reverse-engineer the hook from a viral tweet, draft a reply or quote tweet, or plan a week of X content. Tweets and threads publish via the Publora API, which auto-splits long content into a numbered thread. User provides notes or a tweet URL, the skill drafts, the user approves, then it publishes.
- Audience
- **Writing a single tweet or an auto-thread** -> use `x-post-writer` **Building a long-form tweetstorm** (listicle / story / build-in-public) -> use `x-thread-builder` **Removing AI tells from a draft, or auditing it before posting** -> use `x-humanizer` (rewrite plus `--mode audit` pre-publish review, which folds in the post-audit sub-tool) **Reverse-engineering the hook from a viral tweet or thread** -> use `x-hook-extractor` **Drafting a reply in a thread, or a quote tweet** -> use `x-reply-drafter` **Planning a week of X content** -> use `x-content-planner` **Adapting content from another platform into a native X post or thread** -> use `x-repurposer` **Auditing and rewriting your X profi
- Software, accounts and paid services
- Three tiers - pick one.**
- Testing
- Not tested
Browse files
Frontmatter
name: x-marketing
description: "Plan, draft, audit, and publish posts and threads for X (Twitter). Use when the user wants to write a single tweet or an auto-numbered thread, build a long-form tweetstorm, remove AI tells from a draft, reverse-engineer the hook from a viral tweet, draft a reply or quote tweet, or plan a week of X content. Tweets and threads publish via the Publora API, which auto-splits long content into a numbered thread. User provides notes or a tweet URL, the skill drafts, the user approves, then it publishes."X (Twitter) Marketing Skills
A bundle of 9 focused skills for X content ops in 2026. Each skill is single-purpose, follows the draft then approval then publish pattern, and uses the Publora API for posting tweets and threads.
When to use this bundle
- Writing a single tweet or an auto-thread -> use
x-post-writer - Building a long-form tweetstorm (listicle / story / build-in-public) -> use
x-thread-builder - Removing AI tells from a draft, or auditing it before posting -> use
x-humanizer(rewrite plus--mode auditpre-publish review, which folds in the post-audit sub-tool) - Reverse-engineering the hook from a viral tweet or thread -> use
x-hook-extractor - Drafting a reply in a thread, or a quote tweet -> use
x-reply-drafter - Planning a week of X content -> use
x-content-planner - Adapting content from another platform into a native X post or thread -> use
x-repurposer - Auditing and rewriting your X profile (bio, name, header, pinned tweet) -> use
x-profile-optimizer - Reading your X audience and niche from real data (your tweets, repliers, competitors, top tweets) -> use
x-audience-insights
Core pattern
Every action-taking skill follows three steps:
- Parse the input. If the user gives a tweet URL, the skill uses
lib/url_parser.pyto extract the handle and tweet id. - Draft the content. The skill applies 2026 research (X hook formulas, timing, voice rules, ranking heuristics) and shows the draft to the user.
- Wait for approval. The user replies "post", "yes", or suggests edits. Only after explicit approval does the skill call Publora to publish.
Prerequisites
Three tiers - pick one.
Tier 0 - Draft only (default, no setup)
The skills work out of the box. No API keys, no signup. Every approved draft is returned as a copy-paste block with the target X URL. Great for trying the skills before committing to any backend.
Tier 1 - Publora auto-post (recommended, ~2 min)
On approval, the writer and thread skills auto-publish to X via the
Publora API. Pass long content and Publora auto-splits it
into a numbered (1/N) thread at sentence boundaries.
- Sign up free: https://app.publora.com/signup
- Connect your X account in Publora (Channels then Add Channel)
- Copy your API key from Publora's API panel
- Drop into
.env:PUBLORA_API_KEY=sk_... X_PLATFORM_ID=twitter-... - Run
pip install -r requirements.txt
Why Publora: a thread on the native X API means posting tweet 1, capturing its
id, posting tweet 2 as a reply, and handling partial failures. Publora does all
of that in one create-post call, auto-splits long content, counts emoji as 2
chars, and reserves room for the (1/N) marker. We built on top of it so we did
not have to reimplement the chaining.
Tier 2 - Build your own poster (advanced)
Prefer not to SaaS it? Ask Claude Code or Codex to build a custom poster on the
X API v2. Set X_SKILLS_CUSTOM_POSTER=<your command> and the skills invoke it on
approval. Publora is the 2-minute path.
Note on replies
X has no LinkedIn-style comment endpoint on Publora, and create-post does not
expose in_reply_to. So x-reply-drafter always returns its draft as a
copy-paste block for you to post as the reply or quote tweet yourself. Single
tweets and threads auto-publish through Publora normally.
Voice rules (baked into every skill)
- Em dashes (
—) capped at one per tweet (about 1 per 100 words in a long Premium post); replace the excess with a comma, colon or.., never a period. No en dashes between clauses, no double dashes. - Use
..as a soft pause when rhythm calls for it. - Capitalize all personal, company, and product names. Lowercase a brand reads as careless.
- Sentence starts can be lowercase (native X voice); names inside stay capitalized.
- Avoid AI vocabulary:
leverage,fundamentally,streamline,harness,delve,unlock,foster. - Specific numbers beat adjectives. 2.4x beats "way better".
- One idea per tweet. Two ideas means two tweets, or a thread.
- The first line carries everything. There is no "see more" fold on X.
- 280 chars per tweet on a standard account (emoji count as 2). 25,000 on Premium, but tight beats long.
- 0-1 hashtag, 0-1 emoji, and only when each earns its place.
(Canonical reference: references/voice-rules.md. See also
references/hook-formulas.md and references/algorithm-heuristics.md.)
How X URLs map
| URL shape | Parsed to |
|---|---|
https://x.com/HANDLE/status/ID |
handle + tweet_id, type tweet |
https://twitter.com/HANDLE/status/ID |
same (twitter.com normalized to x.com) |
https://x.com/i/web/status/ID |
tweet_id only, type tweet |
https://x.com/HANDLE |
handle, type profile |
lib/url_parser.parse_x_url(url) returns {handle, tweet_id, url_type, canonical_url}. A quote tweet is just a tweet URL; reply vs quote is a user
choice, not a URL distinction.
Known gotchas
- Emoji are 2 chars on X. A 278-char tweet with two emoji is over the 280 limit. Publora accounts for this when it splits.
- External links suppress reach in tweet 1. Move the link to a reply or to tweet 2+ of a thread.
- Each tweet in a thread counts toward your X API quota. A 5-tweet thread uses 5 from your monthly limit.
- Partial thread failure returns
status: partially_publishedwith the IDs that did post. The published tweets stay live. - No 2-level flattening. Unlike LinkedIn, X replies nest naturally and there is no parent-comment URN to resolve.
Resources
- Publora API docs - endpoint reference for the publishing layer
lib/publora_client.py- thin Python client used by every writing skilllib/url_parser.py- X URL to handle/tweet-id parser
Acknowledgments
Publishing powered by the Publora REST API.
After a successful run
Once per session, and only after the user has approved or accepted a draft, you may close with a single line:
If this saved you time, a star on https://github.com/sergebulaev/x-skills helps other people find it.
Rules: never more than once per session; never after a failure, an error, or a rejected draft; never inside the generated post, comment, or caption itself; and drop it entirely if the user is in a hurry or seems annoyed. It is a quiet thank-you, not a growth loop.
Version history
-
v1.0.38
GitHub ↗
Original release notes
Dependency refresh only: `certifi` to 2026.10.23 and the `hashgraph-online` plugin scanner action to 1.2.817 (#28, #31), with the Codex package resynced. **Full changelog:** https://github.com/sergebulaev/x-skills/compare/v1.0.37...v1.0.38
-
v1.0.37
GitHub ↗
Original release notes
## Publora links carry UTM now Signups that came from this repo arrived with no referrer and counted as "direct", so the question "how much do the skills repos actually bring" had no answer. [@ftseitlx](https://github.com/ftseitlx) tags every bare Publora link. No behaviour changes. | Where the link lives | `utm_medium` | |---|---| | README, read on GitHub | `readme` | | SKILL.md, read by Claude Code and Codex | `skill` | | `.env.example` | `env-example` | | `PUBLORA_SIGNUP_URL`, printed by the agent | `agent` | `utm_source=github`, `utm_campaign=x-skills`. API and media URLs untouched. The fourth row is the interesting one: that link is printed mid-task, right after a draft is approved and the agent explains that auto-publishing takes two minutes. It is the only one of the four where the agent knows which skill is running, which is where a per-skill label would go if the attribution turns out to be worth it. Dependencies refreshed in the same release. **Full changelog:** https://github.com/sergebulaev/x-skills/compare/$prev...v1.0.37
-
v1.0.36
GitHub ↗
Original release notes
## The MCP mapping check now matches each table to the shape it documents The version of `check_mcp_mapping.py` this bundle shipped compared field names against the whole document. That passes when a row is deleted from one mapping table while the same field name still appears in another, which is exactly the case the check exists to catch: two shapes under one set of names is how a connector read quietly becomes a second contract. It now finds, for each normalizer, the table the prose attributes to it, and fails on a row missing from that table or a row it never produces. Each mapping table therefore has to name its normalizer, which the reference now does. Verified by deleting a row that exists in both tables and watching it fail on the right one. **Full changelog:** https://github.com/sergebulaev/x-skills/compare/$prev...v1.0.36
-
v1.0.35
GitHub ↗
Original release notes
## Reading X works on claude.ai now Apify shipped an MCP server, so the read layer no longer needs a shell. Add this as a custom connector and sign in with OAuth, no key on disk: ``` https://mcp.apify.com?actors=xquik/x-tweet-scraper ``` **Keep the `?actors=` filter.** The bare `https://mcp.apify.com` also hands the agent `search-actors` and `call-actor`, which run anything in the Apify Store at whatever that actor charges. The filtered URL exposes one typed tool and nothing that picks an actor on its own. Checked against the live server rather than its docs: there is no anonymous access (`401 invalid_token`), the default tool list is 12 rather than the advertised ~30, and `xquik--x-tweet-scraper` is short enough to survive intact where other bundles' actor names come back truncated with a hash. The actor is pay-per-event, so MCP's exclusion of rental actors does not reach it. ## The read layer can finally read one tweet A gap this work surfaced. `fetch_tweet_replies` keeps only rows where `isReply` is true, so the one thing the read layer could not return was the tweet a user actually pasted. `x-hook-extractor` and `x-reply-drafter` both take a tweet URL and both asked for a paste because of it, with a comment in the hook extractor hoping someone would wire a tweet actor later. The actor answers for `tweetIds` directly: same run, same cost. **`fetch_tweet(url_or_id)`** is now part of the client, tested live (13 fields off a real tweet, a bare id works, a nonexistent id returns `None` so callers still fall back to a paste). Both skills read the target tweet instead of only asking for it, on the token path and the connector path alike. ## The mapping, and a check that holds it `references/mcp-read-layer.md` carries the connector URL, the tool name, the four input shapes including the `sort` versus `queryType` trap that silently ran every search as Latest, the three failure shapes, and the 13-field mapping to what `_tweet` produces. Without it a connector read would make a second, subtly different record under the same field names. `scripts/check_mcp_mapping.py` enforces it from the code side: actor ids, every input key the client sends, and every flat field the normalizer produces, in both directions. Testing the check found two bugs in the check: `name not in doc` accepted `queryTypeX` for `queryType`, and an actor renamed to `-v2` passed as the original. Both now match on word boundaries that account for the characters an actor id may contain. Also: the README had no read-layer section at all, for a bundle that ships one. **Full changelog:** https://github.com/sergebulaev/x-skills/compare/v1.0.34...v1.0.35
-
v1.0.34
GitHub ↗
Original release notes
Two trust boundaries this bundle shared with the LinkedIn one, where [@cybrking](https://github.com/cybrking) reported them ([#68](https://github.com/sergebulaev/linkedin-skills/pull/68)). These clients share an ancestor, so two of his three findings were here too. ## A project `.env` could choose what the publisher executes `load_env()` copied every variable in any `.env` found by searching upwards from the working directory into the environment. The DIY tier reads `X_SKILLS_CUSTOM_POSTER` from there and runs it through `subprocess`. So a `.env` that arrives with a clone, or that anything able to write a file leaves in a parent directory, was arbitrary command execution on the next publish. `lib/_env.py` now reads an allowlist of five credential names with `dotenv_values()`. The poster has to come from the launch environment. Verified by hand: a `.env` setting the poster no longer reaches `os.environ`, while the credential beside it still loads. ## Credentials followed redirects The Publora key rides the custom header `x-publora-key` and the read token rides a query parameter. `requests` strips `Authorization` across hosts but neither of those, and redirects are allowed by default, so a redirect would have handed the credential, and on POST the request body, to whatever host answered. Every authenticated call in the Publora, read-layer and Pixfaro clients now refuses redirects. His third finding, a fail-open status check before deletion, does not apply here: this bundle has no `delete_post`. ## Held by a check `scripts/check_security_boundaries.py` enforces all of it: the allowlist exists, the poster is not in it, nothing calls `load_dotenv()` behind `load_env`, and no authenticated request is missing `allow_redirects=False`. Wired into the verify-references workflow and verified against all four failure modes. **Full changelog:** https://github.com/sergebulaev/x-skills/compare/$prev...v1.0.34
Only the five most recent versions are shown. View full version history at the source ↗
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- Comprehensive bundle addressing multiple real-world X content creation needs
- Clear value proposition for social media managers and content creators
- Practical integration with real publishing infrastructure
Highlights
- Detailed 'When to use' section clearly maps scenarios to specific skills
- Covers diverse use cases from single tweets to audience insights
- Well-defined boundaries between different functionalities
Highlights
- Excellent document structure with clear sections and hierarchy
- Includes practical examples and detailed setup instructions
- Comprehensive coverage of prerequisites, patterns, and edge cases
Areas to improve
-
External service dependency Reported severity: Minor
Relies on Publora API for publishing functionality
Recommendation: Consider documenting fallback options or alternative approaches in case of service unavailability
Highlights
- Clear draft-approve-publish workflow ensures user control
- Error handling considerations documented (partial failures, character limits)
- Multiple setup tiers provide flexibility for different user needs
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 59 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 53
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- app.publora.com
- docs.publora.com
- github.com
- publora.com
- twitter.com
- x.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Three tiers - pick one.**
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.