Skip to main content
skill CX Codex

building-canvases — Claude Code skill for PostHog canvases

The building-canvases Claude Code skill creates and edits standalone PostHog canvas apps. It activates for requests to build, update, or fix one of these apps.

no license 149 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-canvases -a claude-code
Open on GitHub

What building-canvases does

The skill selects or creates a freeform canvas in PostHog, edits its source, then publishes the result. A canvas is a browser app inside a sandboxed iframe. Its source stays in PostHog rather than in a local repository, and the canvas-* tools handle reading and writing it.

The workflow moves through reading, editing, validation, publishing, and building. Companion skills cover React with Quill, plain HTML, querying PostHog data, and validation and publishing. Grid canvases, widget placement, and reusable components belong to composing-grid-canvases instead.

A supplied canvas ID identifies the target. Otherwise, the skill looks for a matching canvas in the task’s channel; if neither a canvas nor a channel is named, it asks which channel to use. Publishing through the tools saves the canvas source.

What it helps with

  • create a standalone PostHog canvas app
  • edit a canvas identified by its ID
  • fix an existing freeform canvas
  • choose between React with Quill and plain HTML

Example prompts for the agent

  • Create a PostHog canvas with a signup form.
  • Update canvas canvas-123 and publish the changes.
  • Fix the standalone app in my PostHog canvas.

How to install building-canvases

1Skills CLI (Vercel)

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

2Manually: put the files in place

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

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

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

Questions about building-canvases

How do I install building-canvases in Claude Code?

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

What does building-canvases do?

It creates and edits standalone browser apps stored in PostHog, then validates and publishes them using the canvas-* tools.

How is building-canvases different from composing-grid-canvases?

building-canvases handles standalone freeform apps. composing-grid-canvases covers widget grids, home canvases, placements, and reusable components.

Similar skills

All skills for Frontend and UI →

From the same set82

The whole set →
building-html-canvases The building-html-canvases Claude Code skill builds PostHog canvases with semantic HTML, CSS, and browser APIs. It runs when a canvas request is routed to a plain HTML implementation. CX Codex +1 149installs composing-grid-canvases The composing-grid-canvases Claude Code skill arranges PostHog grids from reusable widgets. It activates for requests to add, resize, move, or remove a placement, or assemble a whole canvas. CX Codex +1 149installs working-with-task-comments The working-with-task-comments Claude Code skill retrieves comments on PostHog tasks, their artifacts, and canvases. It activates when an agent needs to inspect feedback or follow a discussion thread. CX Codex +1 149installs signals-scout-customer-analytics-billing-and-usage signals-scout-customer-analytics-billing-and-usage — a skill for Claude Code that tracks product usage and forecast MRR changes within individual accounts. It spots product-level shifts hidden by a steady account total. CX Codex +1 149installs adding-warehouse-person-properties The adding-warehouse-person-properties Claude Code skill maps columns from a synced warehouse table to PostHog person or group properties. It activates for requests to add warehouse data to profiles or manage an existing mapping. CX Codex +1 148installs scanning-experiments-with-replay-vision The scanning-experiments-with-replay-vision skill for Claude Code sets up a PostHog Replay Vision scanner targeted at an experiment. It watches exposed user recordings and analyzes differences across test variants with an LLM. CX Codex +1 148installs creating-box-plot-insights The creating-box-plot-insights Claude Code skill builds box plot insights in PostHog from product analytics or SQL. It runs on requests to chart a numeric distribution, compare medians, or save an insight. CX Codex +1 148installs exploring-mcp-tool-original-user-motive The exploring-mcp-tool-original-user-motive Claude Code skill builds a taxonomy of the goals users had before reaching an MCP tool. It groups session openings and publishes the categories in a PostHog notebook. CX Codex +1 148installs

Project sponsors

Companies that keep this analytics open