agentleFS
ottowebmasterottowebmaster/otto-content-skills/skills/post-queue/SKILL.md

post-queue

Skill2 starsChanged 14 days agoMITView on GitHub

Posts content you already made and approved at set times, for Otto connections that can publish but can't schedule. Builds a queue file, gets your approval on every item once, and sets up your assistant's scheduled tasks to publish each approved item through Otto when it's due. Use when someone says "post this at 9am tomorrow", "queue these reels", "schedule these posts" (and Otto scheduling isn't available), "post one a day for a week", or "set up a posting queue".

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Follow the settings, scope and capability rules in otto-rules.md (in this skill's folder) ("How every skill talks to the user").

    line 13
  2. Very specific:

    Read brand/settings.md (or the assistant's memory) for workspace, accounts and timezone.

    line 14
  3. Distinctive:

    Only queue for platforms the user named, or the defaults in settings.

    line 15
  4. Very specific:

    Write social-data/queue/queue.json (or queue.md if the user prefers to read it).

    line 23
  5. Distinctive:

    Create one recurring task per posting time (e.g.

    line 50
  6. Distinctive:

    Use browser automation or any route other than Otto's publish tools.

    line 76
  7. Very specific:

    Use this when channel_submit_plan is available and not refused.

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Post queue

Some Otto connections can publish now but can't schedule for later. This skill fills that gap: approved posts wait in a queue file, and a scheduled task in your assistant publishes each one when it's due, through Otto's own publish tools. Posting happens while nobody is watching, so approval is explicit, per item, and nothing outside the approved queue ever goes out.

0. Setup

Follow the settings, scope and capability rules in otto-rules.md (in this skill's folder) ("How every skill talks to the user"). In short:

  • Read brand/settings.md (or the assistant's memory) for workspace, accounts and timezone. Ask only what's missing, in one bundled multiple-choice question, and save the answers.
  • Only queue for platforms the user named, or the defaults in settings.
  • Capability check first. If this session has channel_submit_plan (scheduling with publishAt), schedule through Otto instead (posting-plan step 5 shows how). This skill is for connections with publish tools (meta_ig_publish_reel, meta_page_publish_video, ...) where channel_submit_plan is missing or comes back refused. With neither, give the user the files, captions and times to post by hand.
  • Output is visual by default (artifact / HTML file / canvas) unless settings or the user say chat.

Skill questions: posting times (e.g. 9:00, 12:00, 16:00), the daily cap (default 3 posts a day per account), and where the user's assistant runs (see step 3).

1. Build the queue

Write social-data/queue/queue.json (or queue.md if the user prefers to read it). One entry per post:

{
  "id": "q-2026-11-20-01",
  "platform": "instagram_reel",
  "account": "<Instagram account id or Facebook Page id, from settings>",
  "files": { "video": "social-data/queue/media/reel-01.mp4", "cover": "social-data/queue/media/reel-01-cover.jpg" },
  "mediaId": null, "coverMediaId": null,
  "caption": "<exact approved caption>",
  "publishAt": "2026-11-20T09:00:00", "timeZone": "America/Chicago",
  "status": "pending", "approvedAt": null, "approvedFingerprint": null,
  "result": null, "error": null
}
  • Status flows pending → approved → posted or failed. Only approved items are ever published.
  • Captions are final text, not notes. Check length (Instagram caption max 2,200 characters).
  • Files are the user's own (from cover-designer, their editor, their camera). Check each path exists before showing the queue, and that each video fits its platform: Instagram Reels 3 s to 15 min, up to 300 MB; Facebook Reels 3-90 s.
  • Platform tools: Instagram reel meta_ig_publish_reel (igAccountId, mediaId, caption, optional coverMediaId, confirm: true; the cover can only be set at publish). Facebook reel meta_page_publish_video (pageId, mediaId, the caption as description, optional coverMediaId, confirm true). Instagram image and carousel tools take public image URLs, not library ids; if the library can't give a public URL, those items stay manual (unverified, test first).

2. One approval, item by item

Show the whole queue as it will post: for each item the platform and account, the time with timezone, the full caption, and the video/cover/images (preview in the visual). Then ask once, with options: "Approve all", "Approve some (list ids)", "Change something". Mark only the approved ids approved with approvedAt and approvedFingerprint (each file's byte size and SHA-256, and the caption's SHA-256). Any later edit to an item sets it back to pending and needs a new yes.

3. Set up the scheduled tasks

Create one recurring task per posting time (e.g. daily at 9:00, 12:00, 16:00), or one task per item for a short queue. Where tasks can run:

EnvironmentWorks?
Claude desktop / Cowork scheduled tasksBest fit: reads local files. The app and computer must be on at post time
Claude Code scheduled cloud agentsOnly if the files are reachable from the cloud (local files aren't). Prefer desktop
ChatGPT tasksNo local files: only for items whose media is already in the Otto library (mediaId filled). The fingerprint then holds the caption hash and the approved mediaIds; post only if both still match

Say "unverified, test on a test account first" for any environment you haven't seen a successful run in. Before relying on it, run one task by hand against a test item.

The task prompt (paste as is, with the queue path filled in):

Read <path>/social-data/queue/queue.json. Take the single earliest item with status approved whose publishAt is now or up to 30 minutes past, in its timeZone. If none, stop. Check today's posted count for that account is under the cap of <n>; if not, stop. Before uploading or publishing, check the item against approvedFingerprint: if it has local files, they must exist and each file's size and SHA-256 must match; if its media is already in the Otto library (no local files), its mediaIds must match the approved ones; in both cases the caption's SHA-256 must match. If the item has no mediaId, upload its file to the Otto library: media_create_upload (filename, mimeType, byteSize, purposes ["publish"]), PUT the bytes to the returned URL, then media_complete (for a multipart plan, PUT each part and pass parts with their etags); do the same for the cover. Save the ids in the item. Publish with the item's platform tool, using the item's account (for an Instagram reel: meta_ig_publish_reel with the account as igAccountId, mediaId, the caption exactly as stored, coverMediaId if present, confirm true; for a Facebook reel: meta_page_publish_video with the account as pageId, mediaId, the caption exactly as stored as description, coverMediaId if present, confirm true). On success set status posted and store the permalink in result. Append one line to social-data/queue/log.md: time, id, platform, result or error. If a file is missing, anything differs from approvedFingerprint, or any call fails: do not retry, set status failed with the error, log it, and stop. Never publish an item that isn't approved.

4. After it runs

Each day (or on request), read log.md and the queue, and report: posted with links, failed with the reason, still waiting. A failed item goes back to the user; fixing it means a new approval. Hand posted items to comment-to-lead and, from day 3, reel-diagnosis.

Output

The queue as a visual: one card per item (preview, platform, time, caption, status), plus the list of scheduled tasks created and the test result. In chat mode, a table: id | platform | time | caption (first 60 characters) | status.

Never

  • Publish an item that wasn't approved in this conversation, or one changed since approval.
  • Retry a failed post in a loop, or post over the daily cap.
  • Use browser automation or any route other than Otto's publish tools.
  • Say something is posted without a permalink from the tool result.
  • Use this when channel_submit_plan is available and not refused.

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.