PromptsOpenClaw

Specific purposeDaily cron · YouTube, Instagram, X, TikTok

Daily social snapshots

Use case

You cannot tell which video earned subscribers and which one only earned views unless yesterday is written down. OpenClaw stores a daily snapshot for YouTube, Instagram, X, and TikTok, hands yesterday to the morning briefing, and leaves the tables where the business council can read them.

What to connect

YouTube Analytics, Instagram insights, an X API v2 bearer or user token, and TikTok account stats. One SQLite file per platform, or one file with a table per platform.

Setup

  1. Store each API key locally where OpenClaw can read it, and keep the keys out of git.
  2. Create the snapshot databases under [SOCIAL DB DIR].
  3. Schedule the snapshot after midnight local time so "yesterday" is a finished day.
  4. Confirm the morning-briefing skill is allowed to read these tables, and that business-council is too.
  5. Run one snapshot by hand and check that a video row has views, watch time, and engagement, not an empty shell.

Edit before you send: Which accounts to track, the database directory, and the snapshot time.

Prompt to paste into OpenClaw

Save this as a skill named social-tracker. Every day at [1:30] [TIMEZONE], store a snapshot of yesterday for my accounts. YouTube, in [SOCIAL DB DIR]/youtube.sqlite: - Per video: views, watch time, and engagement. - Subscriber conversion: which videos gained subscribers, separate from videos that only gained views. Instagram, in [SOCIAL DB DIR]/instagram.sqlite: - Per post: engagement. - Account growth for the day. X, using the X API v2, in [SOCIAL DB DIR]/x.sqlite: - Per post: impressions, likes, reposts, bookmarks, shares. - Follower change for the day. TikTok, in [SOCIAL DB DIR]/tiktok.sqlite: - Follower growth for the day. Write the rows even when a number is zero. If a platform fails, store the error on that platform's row and continue with the others. Do not copy yesterday's numbers forward and pretend they are new. The morning briefing reads yesterday from these tables. The business council reads them too. Do not also paste the raw tables into Telegram. The briefing already has that job.

Works with these prompts

These OpenClaw prompts call this one, or are called by it. Set them up together.

  • Nightly business council

    The numbers live in ten different tools, so the pattern stays invisible. Once a night, eight specialists each read only the slice that matches their job, in parallel, and a synthesizer turns that into a short numbered list. You reply with a number when you want the longer version, and you approve or reject so the next night fits you better.

  • Morning briefing with the room already filled in

    The useful version of a calendar is not the title of the meeting. At 7am you get one Telegram message: who is in each meeting, what you talked about last time, how yesterday's posts did, what is overdue, and which email threads belong to today's meetings.

  • Heartbeat that speaks only when something is wrong

    You should not have to ask whether the assistant is healthy. A heartbeat checks the things that rot quietly: stale social data, a repo that swallowed a large file, repeating errors, a gateway that is suddenly public. If you hear nothing, the checks passed.

More OpenClaw prompts

  • Video idea pipeline from a Slack mention

    A good idea shows up mid-thread and then vanishes. Someone mentions the assistant with a video idea, OpenClaw reads that thread, checks what people are saying and what you already saved, and files an Asana card. If the idea is too close to one you already pitched, it skips the card.

  • Earnings previews that schedule themselves

    Earnings week is a list of tickers and a clock. On Sunday morning you see what is coming, you pick the ones you care about, and OpenClaw creates a one-time job for each company that fires after the release, sends a short narrative, and deletes itself.

  • Food and symptom journal

    Stomach trouble is hard to connect to a meal you forgot by evening. You log food, drinks, symptoms, and notes in one Telegram topic, including a photo of the plate. Three reminders a day keep the log honest, and a weekly pass looks for foods that show up before bad days.

  • Telegram topics and Slack, each with one job

    An assistant that posts everything into one chat becomes noise you mute. You split Telegram into topics with a single kind of message each, and you let Slack wake the assistant only when you mention it. Files arrive as files. A task gets an acknowledgement and a result, and then it stops talking.