agentleFS
Upload-PostUpload-Post/upload-post-plugin/skills/posting-queue/SKILL.md

posting-queue

Skill1 starsChanged 41 days agoMITView on GitHub

Configure and inspect the Upload-Post posting queue — the recurring time slots that queued content drips into. Use when the user wants a posting schedule or rhythm, asks when their next post goes out, wants to change posting times or days, or says they want to queue content instead of picking exact timestamps.

The file

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Call get_queue_settings with profile_username.

    line 12
  2. Distinctive:

    Only fall back to generic advice (2 slots/day, late morning and early evening, weekdays) when there is not enough history — and say that is …

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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

Manage the posting queue

The queue is a recurring weekly grid of slots per profile. Anything uploaded with addToQueue: true fills the next free slot instead of needing an explicit timestamp. This is how a user gets a consistent rhythm without picking dates by hand.

1. Read the current setup

Call get_queue_settings with profile_username. The schema marks it optional, but the API rejects the call with 400 profile_username is required — always pass it. Get the name from list_users first if you do not have it.

It returns timezone, slots, days_of_week, max_posts_per_slot, and full_slots (slots already at capacity).

Then call preview_queue (same profile_username) to show what is actually lined up. Pass nextSlot: true when the user only asks "when does my next post go out?" — it returns just next_slot with datetime_utc, datetime_local and timezone, instead of the whole grid. Quote the local time back to the user; the UTC field is for your own arithmetic.

Present it as a compact weekly view, not raw JSON. For example:

Europe/Madrid · Mon–Fri
  10:00  → "Behind the scenes" (Thu)
  16:00  → free

2. Change it

update_queue_settings takes:

  • profile_username — required.
  • timezone — IANA name (Europe/Madrid, America/New_York). Slots are local to this, so changing it moves every slot.
  • slots — array of { hour, minute } in 24-hour local time, sorted by time, max 24. minute defaults to 0.
  • days_of_week — allowed posting days, 0 = Monday through 6 = Sunday. Say this out loud when confirming; the off-by-one against the JS convention (where 0 = Sunday) is the most common mistake.
  • max_posts_per_slot — 1–100.

This call replaces the configuration wholesale — it is marked destructive for a reason. Omitted fields are not merged with what was there. So: read the current settings, apply the user's change on top, describe the grid you are about to send in plain language, get a yes, and only then write. Changing slots re-times content that is already queued.

3. Sensible defaults

If the user has no idea what to pick, do not invent a "best time to post" from thin air. Call get_analytics (and get_total_impressions for the headline) on the profile and derive slots from when their own audience actually engaged. Note that get_platform_metrics is not useful here — it takes no arguments and only lists which metric names exist per platform.

Only fall back to generic advice (2 slots/day, late morning and early evening, weekdays) when there is not enough history — and say that is what you are doing.

Handing off

  • Content ready to fill the queue → /upload-post:schedule-campaign with addToQueue: true.
  • A batch of clips to drip out → /upload-post:repurpose-video, then queue them.
  • Wondering whether the rhythm is working → /upload-post:analyze-performance.

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.