composing-grid-canvases
Skill by PostHog
Composes PostHog grid canvases from reusable widget components. It places, configures, forks, builds, and resizes widgets on a grid or home canvas. Aimed at PostHog users and agents who manage canvas layouts.
Install composing-grid-canvases
Built from the published package, never by AI.
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.claude/skills && cp -r /tmp/posthog/products/canvas/skills/composing-grid-canvases ~/.claude/skills/composing-grid-canvasesRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install composing-grid-canvases in Claude Code
git clone --depth 1 https://github.com/PostHog/posthog /tmp/posthog && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/posthog/products/canvas/skills/composing-grid-canvases ~/.gemini/antigravity-cli/skills/composing-grid-canvasesAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install composing-grid-canvases in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill teaches an AI assistant to compose PostHog grid canvases. A grid canvas is a layout of placements, and each placement renders a reusable component canvas. The user's home canvas is an ordinary grid canvas in their personal channel. Layout is data, so publishing or patching it goes live without a build.
The skill sets out a resolution ladder: search the component store first, configure an existing component if its config schema fits, fork a close component when it does not, and build a new one only when nothing fits. It also covers the component placement contract, the placement lifecycle from pending to live or failed, a guarded layout patch loop, and reading canvas comment threads. It is for people building PostHog dashboards and widgets with an AI assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- canvas-listSearches the component store with kind=component and a search term.
- canvas-source-retrieveReads the source of an existing component before forking it.
- canvas-createCreates a new component canvas in the channel you choose.
- canvas-layout-getReads the current layout of a grid canvas before editing it.
- canvas-layout-patchApplies surgical layout operations such as adding, updating, or removing placements.
- canvas-layout-publishPublishes a complete layout document for an initial layout or full restructure.
- canvas-comments-listLists comment threads on a canvas so open feedback can be addressed.
- canvas-comments-retrieveRetrieves a single comment thread on a canvas.
Try asking
- Add a weather widget for Lisbon to my home canvas
- Fill the drawn box on my grid canvas with a task kanban
- Build a home canvas that summarizes my work in progress
Good to know
- Placements can only use components that are published and visible to the acting user.
- A component in someone else's personal channel cannot be placed.
- Config schemas accept only an allowlist of keywords. $ref and pattern cause validation to fail.
- Size ranges are advisory. Users may resize placements beyond the suggested range.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: products/canvas/skills/composing-grid-canvases/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
references/component-example.md6 KB
Alternatives to composing-grid-canvases
All alternatives →Guides an assistant through the Kaggle CLI, covering competitions, datasets, notebooks, models, benchmarks, authentication and quota. It is for people who use the kaggle command-line tool.
Generates Python code that uses BigQuery DataFrames (BigFrames) for data processing, analysis and machine learning on BigQuery. It is meant for Python data tasks, and the source says to use bigquery-basics for SQL-first workflows.
Discovers connected data sources and proposes loading options when a workspace lacks the data a question needs. Suited to users who want to connect database, warehouse or cloud sources from the chat.
Guides developers through enabling the Data Manager API, setting up Application Default Credentials, and installing its client libraries. Built for developers who are getting started with the API and need local environment and access setup.
Guides authoring and validating Apache Airflow DAGs for Managed Service for Apache Airflow (MSAA), formerly Cloud Composer. Built for developers who create or extend Airflow DAGs in these environments.
Extracts structured JSON data from over 40 websites, including Amazon, LinkedIn, Instagram, TikTok, Facebook and YouTube. Built on Bright Data's Web Data APIs, it returns product details, profiles, reviews, posts and comments from a URL.
Compare with kaggle-cli, bigquery-bigframes or data-loading
composing-grid-canvases: common questions
What is a component canvas in PostHog?
A component canvas is a reusable widget with its own source, build, and placement contract. Grid canvases place components as placements on a layout.
Does the skill create a new widget every time?
No. It searches the component store first and configures an existing component when its config schema can express the request. It forks or builds only when no existing component fits.
Are layout changes live right away?
Yes. The source says publishing or patching a layout is live immediately, with no build step.
How do I install composing-grid-canvases?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is composing-grid-canvases free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is composing-grid-canvases safe to use?
It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to composing-grid-canvases?
Similar skills: kaggle-cli, bigquery-bigframes, data-loading, data-manager-api-setup.
