Drafts and length-checks X (Twitter) posts and builds a dated posting plan; publishes only via your own connector or scheduler after approval, since the X create-post API has no schedule field.
---
name: twitter-post-scheduler
description: Drafts posts for X (formerly Twitter), checks length and links, builds a dated posting plan, and publishes a post through an X connector or the user's own scheduling tool only after confirmation. The X API create-post endpoint has no scheduling field, so timed posting relies on a scheduler the user already has. Use when asked to write, queue, plan or schedule tweets or X posts.
compatibility: Publishing needs an existing X connector or credentials with the tweet.write scope in the agent's environment, or a third-party scheduler the user already uses. Without either, this skill only drafts and plans.
metadata:
version: "1.0.0"
category: "social-media-management"
---
# Twitter Post Scheduler
Plans and drafts X posts and publishes them through tools the user already has. It does not run a background scheduler.
## When to use / when not to
- Use for: drafting single posts or short threads, a dated content calendar, publishing an approved post now, handing posts to an existing scheduler.
- Do not use for: automated engagement (auto-likes, auto-follows, mass replies), multiple accounts posting the same content, or claims about reach or engagement.
## Inputs to collect
- Account handle and audience.
- Topic, key facts and links; any required hashtags or mentions.
- Desired publish date, time and IANA time zone for each post.
- Media: files the user supplies (alt text for each image).
## Workflow
1. Draft each post. X's documented limit is 280 characters. Every URL counts as 23 characters, and each emoji or CJK character counts as two. Report the counted length and trim if needed.
2. For threads, number the posts and make the first one stand on its own.
3. Build the plan as a table: `# | publish at (time zone) | text | media | status (draft)`.
4. Ask the user to approve the exact text of each post.
5. Publish or schedule only with an existing tool:
- Publish now through an X connector: `POST /2/tweets` with `{"text": "..."}` (replies use `reply.in_reply_to_tweet_id`; media uses `media.media_ids` from an earlier upload). This endpoint publishes immediately; it has no scheduled-time field.
- Publish later: hand the approved posts and times to a scheduling tool the user already uses, or give them the table to enter manually. Do not claim a post is scheduled unless that tool confirms it.
6. Report the post ID or URL returned for each published post, or the error. Mark unscheduled items as "draft".
## Without a connector
Output the approved posts, character counts and the posting table. State that nothing was published or scheduled.
## Safety and limits
- Confirm every publish; never post on a timer you control yourself.
- X API access is billed per usage and may be unavailable for the user's account; do not promise posting volume.
- Do not publish the same text twice; check the plan for duplicates.
- No predictions of engagement, reach or best posting times unless the user provides their own analytics.
## Example
Request: "Draft 3 posts announcing our webinar on Nov 20, 2026 at 17:00 Europe/London (link https://example.com/webinar) and plan them for Nov 13, Nov 18 and Nov 20 at 09:00 London time."
Result: three drafts each under 280 counted characters (URL counted as 23), a 3-row plan with `Europe/London` times, a request for approval, and a note that the posts will only go out via the user's scheduler or a manual publish.
Generate a GitHub Actions (or other CI) pipeline from the repo's real scripts, with least-privilege permissions, caching, concurrency and a gated deploy.
Generate a compose.yaml for your app, database and cache with health-checked startup, named volumes and secrets in .env, validated with docker compose config.
Automate notifications and alerts
Illustrative input and expected result. This example is a verification guide, not a recorded model run.
Content reviewed .
A marketer wants three posts promoting a webinar planned for specific dates, and uses an external scheduling tool for timed posts.
Draft 3 posts announcing our webinar on Nov 20, 2026 at 17:00 Europe/London (link https://example.com/webinar) and plan them for Nov 13, Nov 18 and Nov 20 at 09:00 London time.
Three distinct drafts, each with a counted length under 280 where the URL counts as 23 and emoji count as 2; a plan table with rows for 2026-11-13, 2026-11-18 and 2026-11-20 at 09:00 Europe/London and status 'draft'; a request to approve each text; and a statement that the posts will go out only through the user's scheduler or a manual/connector publish, because POST /2/tweets publishes immediately. No engagement predictions.
AI Agent Skills are reusable workflow packages that extend your AI coding assistant with multi-step capabilities. Install Twitter Post Scheduler by following these steps.
SKILL.md inside, in the location documented by your client. Do not assume every AI application reads the same directory.Requires an Agent Skills-compatible client; supported locations and activation vary by version. Read the SKILL.md setup guide. MCP connects tools and data and does not, by itself, install a skill.
Generate a GitHub Actions (or other CI) pipeline from the repo's real scripts, with least-privilege permissions, caching, concurrency and a gated deploy.
Generate a compose.yaml for your app, database and cache with health-checked startup, named volumes and secrets in .env, validated with docker compose config.
Automate notifications and alerts