agentleFS
content-millcontent-mill/claude-plugin-facebook/skills/publish-post/SKILL.md

publish-post

Skill0 starsChanged 19 days agoMITView on GitHub

Preview and then publish or schedule a Facebook post through Content Mill. Use when the user wants to publish, post now, schedule or send a Facebook post.

5 other projects use a version of this, 4 of them edited.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

/content-mill-facebook:publish-post

Publishing is two steps, and the second only happens after the user has seen the first and said yes.

Arguments passed: $ARGUMENTS (the post, or the id of a draft to publish; ask if it is empty).

Steps

  1. list_social_accounts: use only Connected accounts; ask which Facebook account if it is unclear.
  2. get_platform_limits, then write or adjust the post to fit. Facebook posts go to Pages only (a personal profile can't be posted to). Media is optional: up to 10 images, or one video, never mixed; each image 100 to 4,096 pixels per side.
  3. Media, if any: upload_media_from_url (public https link) or create_media_upload then finish_media_upload. Never put file contents in a tool argument.
  4. preview_post with the exact content, account_ids, media_urls, and scheduled_at if the user wants it later (ISO 8601 with a timezone offset, in the future; ask if the timezone is unknown). Omit scheduled_at to publish as soon as it is confirmed.
  5. Show the user the preview (text, account, time) and wait for their approval. Never call publish_post without showing the preview, and never set confirmed on their behalf.
  6. publish_post with the preview_token and confirmed: true. A preview is single-use, expires after 10 minutes and publishes exactly what was previewed; to change anything, preview again.
  7. Publishing is asynchronous: call get_post afterwards and report the result and the link to the live post.

A scheduled post cannot be edited. To change one, remove it with delete_post and create it again through a new preview.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.