social-media-post-drafting
Drafting Social Media Posts
Use when the user asks for a short-form social media post — anything from a single toot/tweet to a longer Mastodon or LinkedIn-formatted post. Not for blog posts (use article-writing + pico-sh), cover letters (use cover-letter-generator), or other long-form content.
Critical pitfalls
1. Don't default to a platform's "famous" char limit
Platforms are configurable. Guessing the default is the most common failure mode:
- Mastodon default is 500, but admins set
MAX_TOOT_CHARSper instance. Jason's instance is 1989. - X/Twitter default is 280 (free) or 4000 (Premium). Don't assume 280.
- LinkedIn posts: 3000 chars. Comments: 1250.
- Bluesky: 300. Threads: 500. Facebook: effectively no limit.
If the user says "my instance" or "my account," ask for the actual cap. See references/char-limits.md for the full table and verification commands.
2. Verify the char count programmatically
Don't eyeball. Use execute_code (or terminal running python3 << 'EOF' if execute_code is restricted in the context) with programmatic length checking and iterate. Eyeballing produced four over-shoot drafts in one session — len() would have caught each one in milliseconds.
Note for Mastodon: Mastodon normalizes all URLs to 23 characters regardless of raw length. Account for this in the calculation: