/harlan-agent-kit:tweet [draft, topic, release notes, screenshot, or ideas]from harlan-agent-kit
Generates tweet ideas, drafts launch posts, and polishes tweets with visual templates. Tracks history for voice consistency.
Ships in harlan-agent-kit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Find content opportunities, plan launch posts, and draft tweets. Add a visual when it helps the reader. Keep planning and polishing in this Skill.
Drafting does not authorize posting, replying, scheduling, or tagging accounts in a published post. Show the exact text and wait for publication approval. Never invent metrics, engagement, personal experience, or product claims.
length checks.sharp and @resvg/resvg-js need to be installed. If they're not global, install to a temp dir, don't pollute the project.im-part-human Skill. Preserve supplied facts and voice.Track tweet history for voice consistency:
# After finalizing a tweet, log it
echo "$(date -I) | VISUAL_TYPE | FINAL_TWEET_TEXT" >> "${CLAUDE_PLUGIN_DATA}/tweet-history.log"
On subsequent runs, read recent history to maintain consistent voice and avoid repeating hooks/angles.
Predict the reader's attention in the feed before choosing scope and depth. Lead with the most useful point. Keep secondary changes brief or link to them. Do not turn every release feature into another post or visual by default.
Select the mode from the user's request:
| Request | Mode | Next step |
|---|---|---|
| Ideas, content strategy, what to post, or no input | Discovery | Read planning, then offer ranked ideas. |
| A launch, release notes, changelog, or a new project | Launch | Read planning, then offer launch approaches. |
| A draft, topic, screenshot, or code snippet | Draft | Start Step 1. |
| Posting time or cadence only | Planning | Read planning and playbook. Answer the request. |
An explicit request wins over inferred input type. If the user asks to polish a release tweet, use Draft mode. If the user supplies an image without planning context, use Draft mode.
Read both References when the user asks for a content plan. After a Discovery or Launch choice, continue at Step 1 with the chosen angle. Keep that angle. Do not repeat research or produce another set of initial approaches. If the user already selected exact copy, skip Step 2. Generate a visual only when requested or useful.
Choose a visual only when requested or when it helps the reader understand or assess the point. Otherwise select No visual. Do not ask for an image merely because the input is text.
| Input type | Visual template | When to use |
|---|---|---|
| Screenshot/image path | wrap-screenshot.mjs | User has an existing screenshot to polish |
| Code snippet or mentions code | code-card.mjs | Showing a specific API, config, or code example |
| Release/launch with metrics | stat-card.mjs | GitHub stars, downloads, benchmarks, version milestones |
| General text, no useful visual | No visual | The text conveys the point without an image |
An explicit request for a visual wins. For a useful visual, choose the best fit from the table. If more than one fits, briefly suggest the best fit and why.
If a visual is selected, pick its theme. All templates share 6 color themes:
| Theme | Vibe | Best for |
|---|---|---|
midnight | Deep blue, electric accents | General dev content, default choice |
ocean | Teal/cyan, calm | Nuxt/Vue ecosystem (matches brand colors) |
sunset | Warm orange/purple | Creative tools, design content |
forest | Green, natural | Performance, sustainability, growth metrics |
lavender | Purple, elegant | TypeScript, DX tooling |
ember | Red, intense | Breaking changes, critical fixes, hot takes |
Default to ocean for Nuxt ecosystem content, midnight for everything else.
| Chrome | Look | Best for |
|---|---|---|
terminal | macOS terminal with traffic lights + monospace title | CLI tools, terminal output |
browser | Browser-style with URL bar | Web apps, UI screenshots |
minimal | Thin top bar, no buttons | Clean look, design screenshots |
none | Just the image on background | When the content speaks for itself |
Read the draft and identify:
Default to one polished draft. Offer alternatives when requested or when the user needs to choose an angle. Keep the set small. These are available approaches, not a required checklist:
For each variation show:
If alternatives are needed, ask which direction they prefer. Keep iterating until they're happy.
If No visual is selected, skip this step and continue to Step 4. Based on the selected template, create a temporary script in scratchpad.
wrap-screenshot.mjs)Use the Read tool to view the screenshot first. Then customize:
INPUT_PATH -- the screenshot file pathOUTPUT_PATH -- same directory, append -twitter before extensionTITLE -- contextual title based on content:
claude — ~/project or the command shownTHEME -- selected themeCHROME -- selected chrome stylecode-card.mjs)Extract the most interesting code snippet (max ~20 lines, the card clips overflow). Customize:
CODE -- the code to display (clean it up: remove irrelevant imports, focus on the "aha" moment)LANGUAGE -- for the title bar labelTITLE -- optional override (e.g., "nuxt.config.ts" or "Usage")THEME -- selected themeOUTPUT_PATH -- descriptive nameTips for good code cards:
stat-card.mjs)For milestones, releases with impressive numbers, benchmarks. Customize:
HEADLINE -- project name + version or milestone labelSUBHEADLINE -- one-line descriptionSTATS -- array of { label, value } objects (2-4 stats, 3 is ideal)THEME -- selected themeOUTPUT_PATH -- descriptive nameTips for good stat cards:
node /path/to/scratchpad/template.mjs
Dependencies (sharp, @resvg/resvg-js) should be available globally or in the project. If not, install to scratchpad:
cd /path/to/scratchpad && pnpm init && pnpm add sharp @resvg/resvg-js
Read the output image to verify it looks correct. Show the user the result. If something looks off (text overflow, bad contrast, wrong theme), fix and re-run.
Present:
Log to ${CLAUDE_PLUGIN_DATA}/tweet-history.log.
Use none as VISUAL_TYPE when no visual was generated.
Keep the handoff brief. Do not append a routine menu of more variants, themes, or follow-up posts.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub harlan-zw/harlan-agent-kit --plugin harlan-agent-kit35 skills in this plugin
/adversarial-reviewReview one pull request adversarially, hand permitted defects to Repair, verify the remote head, and publish the Harlan Agent Kit bot status. Use for rigorous pre-merge PR review./agent-feedbackImprove one Agent skill from explicit Review feedback. Use only for the agent-feedback Routine./agent-retroWeekly retro of Harlan GitHub Agent sessions. Group transcripts by goal, find repeated and wasted work, and rank fixes to the controller, prompts, skills, or model. Use for agent retro, session review, agent efficiency, or self-improvement runs.Other plugins' skills for the same job