Skip to main content
skill CX Codex

building-loops — Claude Code skill: PostHog Loops and setup

The building-loops Claude Code skill builds Loops in PostHog Desktop, where an event or schedule starts an AI task. A Slack or email notification can follow the task.

no license 122 installs ★ 101 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add PostHog/ai-plugin --skill building-loops -a claude-code
Open on GitHub

What building-loops does

The skill creates a PostHog Desktop Loop with a trigger, an AI task, and an exit; an optional notification can sit between the task and exit. It applies to requests to create or adjust a recurring task or automation triggered by GitHub, Slack, or PostHog activity.

The task runs unattended, so its prompt needs to spell out the work and the expected result. The triggering event arrives separately from the prompt. Code tasks need a repository with access enabled; without one, the task has no repository access.

The workflow starts as a draft and is tested step by step. Schedule-based Loops also need a schedule configuration, and the workflow is enabled after approval. Desktop makes workflows with a different structure read-only in its Loops screens. PostHog Desktop is required.

What it helps with

  • start an AI task from a GitHub event
  • run an AI task on a schedule
  • send the task result through Slack or email
  • change a Loop in PostHog Desktop

Example prompts for the agent

  • Create a PostHog Desktop Loop that starts an AI task when a GitHub issue opens.
  • Set up a scheduled AI task in PostHog Desktop.
  • Add an email notification with the task result to this Loop.

How to install building-loops

1Skills CLI (Vercel)

npx skills add PostHog/ai-plugin --skill building-loops -a claude-code

2Manually: put the files in place

~/.claude/skills/building-loops/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/building-loops/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about building-loops

How do I install building-loops in Claude Code?

Run npx skills add PostHog/ai-plugin --skill building-loops -a claude-code. The skill file is at ~/.claude/skills/building-loops/SKILL.md.

What does building-loops do?

It helps create Loops in PostHog Desktop. A schedule or event starts an AI task, with an optional Slack or email notification after it finishes.

What does building-loops require?

It requires PostHog Desktop. Code-related tasks also need access to the repository they use.

Similar skills

SKILL.md skills catalog →

From the same set82

The whole set →
suggesting-path-cleaning-rules suggesting-path-cleaning-rules is a Claude Code skill that proposes URL path-cleaning rules for web analytics. It engages on requests to generate or inspect suggestions and troubleshoot path_cleaning_suggestions issues. CX Codex +1 148installs authoring-data-quality-checks authoring-data-quality-checks is a Claude Code skill that adds and runs dbt-style data quality checks on warehouse tables and HogQL metrics. It runs when validating models or checking for nulls and duplicates. CX Codex +1 148installs querying-canvas-data The querying-canvas-data Claude Code skill helps put PostHog data into a canvas and make its metrics traceable to their source. It applies when a canvas needs charts, tables, analytics events, or data from GitHub or an MCP server. CX Codex +1 148installs creating-surveys The creating-surveys Claude Code skill creates PostHog surveys and forms through MCP. It activates for requests to build a survey or call survey-create. CX Codex +1 127installs checking-member-access The checking-member-access Claude Code skill explains member and role permissions in a PostHog project through access-control MCP tools. It answers who can view or edit dashboards, flags, and data. CX Codex +1 122installs signals-scout-pr-follow-up signals-scout-pr-follow-up — a Claude Code skill checks merged pull requests against post-deploy telemetry. It looks for the promised effect and regressions tied to a specific change. CX Codex +1 122installs signals-scout-workflows The signals-scout-workflows Claude Code skill checks email-step metrics in PostHog workflows and drafts a change for review. It only examines workflows whose owners enabled suggestions. CX Codex +1 111installs posthog This plugin lets Claude Code query PostHog analytics, feature flags, experiments, and error tracking. Use it when product data needs to be handled from a coding session. ★ 101repo stars

Project sponsors

Companies that keep this analytics open