/ayrshare:draft-in-brand-voicefrom Ayrshare - Unified Social Media API for AI Agents
Drafts on-brand social posts by analyzing a profile's past posts via Ayrshare MCP. Produces platform-appropriate copy for review; never publishes.
Ships in Ayrshare - Unified Social Media API for AI Agents. 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.
None: SKILL.md is the whole skill.
A workflow skill, not a single tool. It turns "write me a post" into "write me a post that sounds like this brand" by grounding the draft in the profile's actual posting history before a word is written. The wedge: an agent that learns voice from real past posts beats one that guesses a tone from the topic alone.
This skill drafts only. It never publishes. The output is copy for the user to review; publishing is the separate, explicit validate_post → confirm → create_post step documented in ../post/SKILL.md.
mcp__ayrshare__get_platform_history — native posts on a platform, including ones not made through Ayrshare. This is the broadest, most honest sample of how the brand actually writes. Start here for voice. (See ../history/SKILL.md.)mcp__ayrshare__get_post_history — posts sent via Ayrshare (with status/notes). Useful for recent voice plus any internal notes already attached.mcp__ayrshare__get_post_analytics / mcp__ayrshare__get_post_analytics_by_social_id — optional, but this is the "optimize on history" half: pull metrics on past posts to see which voice/format actually performed, and bias the draft toward that. (See ../analytics/SKILL.md.)mcp__ayrshare__generate_post — optional AI drafting from a topic/brief. Brief it with the voice you observed; it returns draft text only and never publishes. (See ../generate/SKILL.md.)mcp__ayrshare__validate_post — dry-run the finished draft against each target platform's rules before you hand it back as "ready to post."These are profile-scoped: choose the profile with the optional profileKey argument on each call or the connection's Profile-Key header (the argument wins when both are set). (generate_post is the exception: it takes no profileKey argument; see ../generate/SKILL.md.) The voice you match is the voice of whichever profile you target, so settle that first and use it consistently across the calls.
profileKey argument on each call, or set the Profile-Key connection header (see ../getting-started/SKILL.md); if the user has several profiles and none is given, ask which client this is for rather than guessing.mcp__ayrshare__get_platform_history for each target platform (and/or mcp__ayrshare__get_post_history for recent Ayrshare-sent posts). Aim for a representative recent set, not one post.mcp__ayrshare__get_post_analytics for the Ayrshare Post IDs from get_post_history, and mcp__ayrshare__get_post_analytics_by_social_id for the native Social Post IDs surfaced by get_platform_history (native posts have no Ayrshare Post ID). Weight the draft toward the formats/voice that engaged best. This is the "train on voice + optimize on history" pairing — say so to the user when you use it.mcp__ayrshare__generate_post with an explicit voice description (tone, length, emoji/hashtag rules) and refine its output. Produce a platform-appropriate variant for each network rather than one string posted everywhere.mcp__ayrshare__validate_post on each variant to catch platform-rule issues (length, media, format) before calling it ready. Present the drafts for review. To publish, continue with the post pipeline in ../post/SKILL.md (validate_post → confirm → create_post) — this skill stops at the validated draft.get_platform_history is the better voice sample because it includes native posts not made through Ayrshare. get_post_history is narrower (Ayrshare-sent only) but carries status and notes. Use both when you can.generate_post is a drafting aid, not a voice oracle. It generates from the brief you give it. The brand-voice matching is your analysis of the history shaping that brief (and your edits afterward) — feeding it only the topic produces generic copy. It returns text only; it never publishes.validate_post is a dry run; running it on the final variants catches over-limit text or unsupported media before the user tries to post.create_post from here. Drafting and publishing are deliberately separate so the user reviews on-brand copy before anything goes live.profileKey argument (per call) or the Profile-Key header. Drafting for the wrong client is an auth-layer mistake, not a content one, so settle the profile first and use it consistently. (generate_post takes no profileKey argument; the history/analytics/validate tools do.)generate_post output is not pre-validated against platform rules. Run validate_post before treating it as postable.mcp__ayrshare__explain_error, then surface it — don't loop. A missing TikTok link (for recommend_hashtags), unreachable media, or an empty history won't fix itself on retry. (Mirrors the global retry-safety rule in ../getting-started/SKILL.md.)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub ayrshare/ayrshare-social-media-api-claude-plugin --plugin ayrshare13 skills in this plugin
/analyticsSocial media analytics for the Ayrshare MCP server — metrics for a specific post, and account/network-level analytics on a connected social network (followers, impressions, reach, demographics). Use whenever someone wants performance data: "how did my post do", "engagement on that tweet", likes/comments/shares/views/impressions/reach for a post, follower counts, reach or impressions for an account, "analytics for our LinkedIn", "how is our Instagram growing", or comparing networks. Also use when pulling analytics for a post that was NOT created through Ayrshare (by its native Social Post ID). Trigger when calling `mcp__ayrshare__get_post_analytics`, `mcp__ayrshare__get_post_analytics_by_social_id`, or `mcp__ayrshare__get_social_network_analytics`, and even without the word "Ayrshare" — if the user wants social media stats for a post or a network through an AI assistant, this is the skill. For the shared auth model and retry rules, see `../getting-started/SKILL.md`.
/commentsUse whenever someone wants to read, add, or reply to comments on a social media post through the Ayrshare MCP server — the `mcp__ayrshare__get_comments`, `mcp__ayrshare__add_comment`, and `mcp__ayrshare__reply_comment` tools. Trigger on phrasings like "leave a comment on that post", "reply to that commenter", "respond to the top comment", "what are people saying on my LinkedIn post", "pull the comments", or "answer the question someone left on Instagram" — even if the user never says "Ayrshare", "MCP", or names a tool. Also trigger when a user wants to engage with an audience under an existing post rather than create a new post. For installing/configuring the server and the auth model, this skill cross-links to `../getting-started/SKILL.md`. To create the post being commented on, see `../post/SKILL.md`.
/errorsError explanation for the Ayrshare MCP server: translate an Ayrshare error code into a plain-English cause, a classification, and a fix. Use whenever a code or numeric error needs decoding: "what does Ayrshare error 156 mean", "why did that post fail with code 272", "explain this error", "what is error code 110 on Instagram", "how do I fix this Ayrshare error". Trigger when calling `mcp__ayrshare__explain_error`, and even without the word "Ayrshare": if the user surfaces a social-posting error code and wants to know what it means or how to fix it, this is the skill. CRITICAL: whenever ANY OTHER Ayrshare MCP tool returns a structured error code (for example `Error 156: ...`), look the code up here and explain or fix it rather than echoing the raw error back. For the shared auth model and the global retry-safety rule, see `../getting-started/SKILL.md`.
/generateAI content generation for the Ayrshare MCP server — draft post copy and suggest hashtags. Use whenever someone wants help WRITING social content rather than publishing it: "write me a post about our product launch", "draft a tweet announcing the sale", "generate a caption for this image", "give me a LinkedIn post about X", "what should I caption these photos", "suggest hashtags for sustainable fashion", "recommend trending hashtags for ...". Trigger when calling `mcp__ayrshare__generate_post` or `mcp__ayrshare__recommend_hashtags`, and even without the word "Ayrshare" — if the user wants AI-written social copy or hashtag ideas through an assistant, this is the skill. These tools produce DRAFTS ONLY; they never publish. The natural next step is `mcp__ayrshare__validate_post` then `mcp__ayrshare__create_post` (see `../post/SKILL.md`). For the shared auth model and retry rules, see `../getting-started/SKILL.md`.
/getting-startedFoundation skill for the Ayrshare MCP server: auth model, installation, client onboarding, and retry safety. Use it when installing, configuring, or wiring up the Ayrshare MCP plugin or server in Claude Code; when an Ayrshare tool returns 401/403 or "unauthorized", or no Ayrshare tools appear; when it is unclear WHICH credential to use (Business API key vs Profile-Key, how to act as a client); when onboarding a client profile; or when the user has no Ayrshare account or API key yet. Trigger even without the word "Ayrshare" if tools named `mcp__ayrshare__*` are involved, or the user asks how to set up an MCP server for social posting or connect a client's social accounts through an AI assistant. Every other Ayrshare skill cross-links here for the shared auth and retry rules.
/historyPost history for the Ayrshare MCP server — list past and scheduled posts, optionally filtered by recency, platform, and status. Use whenever someone wants to see what's been posted: "show my recent posts", "what did we publish last week", "history for this client", "did that scheduled post go out", "list our LinkedIn posts", or to look up a post id for analytics. Also the verification step after onboarding a client — confirming their accounts linked — and the way to find a NATIVE Social Post ID for analytics on a post that wasn't created through Ayrshare. Trigger when calling `mcp__ayrshare__get_post_history` or `mcp__ayrshare__get_platform_history`, and even without the word "Ayrshare" — if the user wants a log of social posts through an AI assistant, this is the skill. For the shared auth model and the full onboarding sequence, see `../getting-started/SKILL.md`.
Other plugins' skills for the same job