Pre-Trained Phone (Desktop-on-Phone www.facebook.com & Mobile Touch m.facebook.com) and Desktop Facebook Automation Engine (v1.8.3). Anti-Comment Firewall (strictly never posts into comments), Dedicated Feed Posts (Text/Photo/Carousel/Video), Reels (/reels/create + automatic mobile fallback + video event dispatch), Stories (/stories/create Photo/Video with overlay story_text & Text Story), Real Thumbnail/Cover Uploader (Edit Video -> Thumbnail & Reel Cover panel), Multiline Formatted Caption Engine (Title + Description + Bullets + CTA + 3-6 #Hashtags), and Zero-Overthinking 1-Call Dispatch.
Ships in Facebook Automation & SEO Studio. 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.
When this skill opens, act as an Executive Senior Social Media Manager. Every UI surface across Phone Mobile Touch (m.facebook.com), Phone Desktop Site Mode (www.facebook.com on Android WebView), and Desktop is already pre-trained inside worker.js and extension/content_bridge.js.
fb_publish (post_type="photo" | "carousel" | "text")fb_publish (post_type="video", thumbnail_path=...)fb_publish_reel (video_path=..., thumbnail_path=..., title=..., caption=..., hashtags=[...])fb_publish_story (media_path=... or omitted for text story, story_text=...)fb_status, fb_login_status, fb_seo_generate, fb_audit_caption, fb_doctor, or bash find/ls before dispatching!worker.js, fb_doctor.json, webview_extension_logs.json, or source/log files!file:///..., /sdcard/..., /storage/emulated/0/..., /home/..., ~/...), or "latest" when no path is given.post_type="photo", media_paths=["<ref>" or "latest"], title, formatted caption, and 3–6 hashtags in ONE call.| User Wants To Publish | Exact 1-Step Tool Call & Required Fields | Exact Pre-Trained Browser Flow (worker.js v1.5.0) |
|---|---|---|
| Photo + Deep Quote | fb_publish(post_type="photo", media_paths=["<ref>" or "latest"], title=..., caption=..., hashtags=[...]) | Opens/scores "Create post" dialog, formats Title + Quote + Bullets + CTA + Hashtags via Paste/Paragraph/CDP injector, attaches 1 clean photo (zero duplicates), verifies caption, blurs keyboard, precision-taps Post. |
| Carousel (Multi-Photo) | fb_publish(post_type="carousel", media_paths=["<p1>", "<p2>", ...], title=..., caption=..., hashtags=[...]) | Attaches multiple photos in 1 batch, verifies formatted caption & previews, taps Post. |
| Text / Quote Post | fb_publish(post_type="text", title=..., caption=..., hashtags=[...]) | Opens composer, inserts formatted multiline Title + Quote + CTA + Hashtags, verifies no duplication, taps Post. |
| Feed Video + Custom Thumbnail | fb_publish(post_type="video", media_paths=["<vid>" or "latest"], thumbnail_path="<img_path>", title=..., caption=..., hashtags=[...]) | Attaches video, opens Edit / Edit video / Video options $\to$ Thumbnail $\to$ Upload image, uploads thumbnail_path ONLY to the thumbnail input and saves (never attaches as a 2nd feed item!), populates Title field + formatted Description + Hashtags, verifies caption, waits for enabled Post. |
| Facebook Reel + Cover Thumbnail + Description | fb_publish_reel(video_path="<vid>" or "latest", thumbnail_path="<img_path>", title=..., caption=..., hashtags=[...]) | Opens /reels/create (or auto-falls back to Feed Video composer on pure mobile views, reporting fallback_used), uploads video, walks Next wizard steps, uploads thumbnail_path into Cover / Upload cover panel, inserts Title + formatted Description + 3–6 Hashtags into "Describe your reel" (verifying head/tail & no duplication), waits up to 90s for active Publish, confirms completion. |
| Photo / Video Story (with Optional Text Overlay) | fb_publish_story(media_path="<ref>" or "latest", story_text="<short <=120c overlay>") | Opens /stories/create (or Feed "Create story" card), attaches photo/video via "Create a photo story", optionally clicks "Add text" / "Aa", inserts story_text and taps "Done", then taps "Share to story" and confirms completion. Stories have NO caption or hashtag box. |
| Text-Only Story | fb_publish_story(story_text="<message <=250c>") (omit media_path) | Opens /stories/create, clicks "Create a text story", types story_text into the Story card textbox, and taps "Share to story". |
| Managed Page Post | Use meta-suite-automation (dedicated to Page Management) or pass target_type="page", target_id="<page_id>" | Navigates directly to the Page composer and executes cleanly. |
| Schedule Any Format | fb_schedule(run_at_timestamp=..., post_type=..., title=..., caption=..., hashtags=[...], thumbnail_path=..., story_text=..., media_paths=[...]) | Queues Feed, Video, Reel, or Story with full SEO/Story formatting. |
| Edit / Delete / Comment / Resume | fb_edit_post / fb_delete_post / fb_comments / fb_resume_pending | Manages published posts, first-comment links, and post-login resume. |
Every Feed Post, Photo, Carousel, Feed Video, and Reel caption MUST preserve clean vertical whitespace (\n\n) so it never renders as a flat block of text:
🔥 <Bold 1-Line Viral Title / Hook>
“<Sharp Quote or Core Value Statement>”
🔹 <Micro-Insight #1 — 1 punchy line>
🔹 <Micro-Insight #2 — 1 punchy line>
👇 <Clear Question CTA inviting comments>
#TargetedTag1 #TargetedTag2 #TargetedTag3 #TargetedTag4 #TargetedTag5
worker.js and content_bridge.js inject via synthetic ClipboardEvent("paste") first (so Lexical creates native paragraph nodes), then line-by-line execCommand("insertText") + insertParagraph, then CDP Input.insertText + Shift+Enter, and verify head + tail + single occurrence (caption_verified, formatting_preserved).story_text); never attempt to push long multi-paragraph captions or #Hashtag blocks into a Story.thumbnail_path to fb_publish(post_type="video", ...) or fb_publish_reel(...).
thumbnail_applied (true/false) and thumbnail_note telemetry — never fake success if Facebook didn't offer the thumbnail panel on that screen."Would you like to provide a custom thumbnail image for this video/reel, or should I generate a high-CTR thumbnail for you using the AI Image Model?"
PIL, Pillow, OpenCV, matplotlib, ThumbnailEngine, or FreeMediaEngine)!fb_thumbnail_prompt(topic=..., title_hook=..., subtitle=..., archetype=..., aspect_ratio=...), then generate with this plugin's built-in DeepX Google Flow engine (the ONLY image engine; never another Flow extension, subagent or manual Google Flow steps):
deepx_generate {prompt: <ai_image_model_prompt>, media_type:"image", aspect_ratio:"16:9" (feed video) or "9:16" (Reel cover), download:true}.
LOGIN_REQUIRED → tell the user its one message (sign in to Google in the Flow tab of the AntiGem browser) and stop until they reply. If logged in it continues by itself.ASK_GENERATION_MODE → ask ONE multiple-choice question: "Agent Mode or Standard mode (without Agent)?" Then call again with generation_mode.deepx_job_status {job_id, wait_seconds:30} until done, then pass files[0].path as thumbnail_path (or in media_paths for an AI post design).deepx_generate flow (media_type:"video" for clips). Batches of more than 24 prompts are split into parts of ≤24 automatically in Agent Mode.logged_in: false (action_required: "ONE_TIME_LOGIN_REQUIRED", stop_loop: true):
thumbnail_path), or Story (story_text) is saved in fb_pending_task, and Facebook is open in the AntiGem browser.fb_login_status or fb_publish."I have opened Facebook in your AntiGem browser. Please complete your one-time login in the open browser tab—your upload is saved and will publish automatically once you sign in (or reply 'continue')."
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
/facebook-automation:facebook-automationfrom Facebook Automation & SEO Studio
npx claudepluginhub dipeshkrydv/antigem_plugins --plugin facebook-automation2 skills in this plugin