composing-grid-canvases — Claude Code skill for PostHog grids
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.
no license 149 installs ★ 101 updated 2026-10-24
npx skills add PostHog/ai-plugin --skill composing-grid-canvases -a claude-codeWhat composing-grid-canvases does
The skill helps build PostHog grid canvases from reusable widgets and edit their placements. If a stored component cannot express the requested setup, the agent can adapt an existing component or create one. For a canvas-wide request, it plans the widgets first and lays them out without overlaps.
Grid edits follow a read-and-patch cycle; after a version conflict, the agent reloads the layout and applies the change again. A placement moves through creation and build states before it is live or marked as failed. Building a component also calls for building-react-quill-canvases or building-html-canvases, plus querying-canvas-data and validating-and-publishing-canvases. A component needs a ready build before it can go live on a grid.
What it helps with
- add a weather widget to a PostHog home canvas
- resize or move a grid placement
- compose a full canvas from a single request
- create a reusable component when stored options do not fit
Example prompts for the agent
- Add a weather widget for Lisbon to my home canvas.
- Move the task widget and resize its placement.
- Build a canvas that summarizes my work in progress.
How to install composing-grid-canvases
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill composing-grid-canvases -a claude-code2Manually: put the files in place
~/.claude/skills/composing-grid-canvases/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/composing-grid-canvases/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill composing-grid-canvases -a codex2Manually: put the files in place
.agents/skills/composing-grid-canvases/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill composing-grid-canvases -a cursor2Manually: put the files in place
.cursor/skills/composing-grid-canvases/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install PostHog/ai-plugin skills/composing-grid-canvases2Manually: put the files in place
.github/skills/composing-grid-canvases/SKILL.md1Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill composing-grid-canvases -a gemini-cli2Platform CLI
gemini skills install https://github.com/PostHog/ai-plugin --path skills/composing-grid-canvasesManually: put the files in place
.devin/skills/composing-grid-canvases/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add PostHog/ai-plugin --skill composing-grid-canvases -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about composing-grid-canvases
How do I install composing-grid-canvases in Claude Code?
Run npx skills add PostHog/ai-plugin --skill composing-grid-canvases -a claude-code. The skill file is placed at ~/.claude/skills/composing-grid-canvases/SKILL.md.
What does composing-grid-canvases do?
It helps compose PostHog grid canvases from reusable widgets, configure their placements, and change the layout.
Which skills are needed to build a new component?
Use building-react-quill-canvases or building-html-canvases, along with querying-canvas-data and validating-and-publishing-canvases.