LabscoMCP early access ↗
PostHog avatar✓ Official

building-loops

MCP connection required★ 88 on GitHub
part of posthog/ai-pluginby posthog

Sets up a Loop in PostHog: a standing instruction that hands a job to an AI agent whenever something happens — on a timetable, when a GitHub issue opens, when someone posts in Slack — and sends the result to Slack or email.

WHEN TO USE

SCOPE

USE FOR

  • Have an AI agent look at every newly opened GitHub issue in a repository and report back.
  • Run the same AI job every weekday morning and get the result posted in a Slack channel.
  • Start a task when someone posts in a chosen Slack channel, with the answer in the thread.
  • React to a product event at most once per person, so a busy event can't burn the task budget.
  • Dry-run the loop step by step before switching it on, with nothing real created.

NOT FOR

  • Editing, publishing or reading logs of a general workflow — that's the building-workflows skill.
  • In-app or push notifications, or any extra kind of step — Loops doesn't support them yet.