composing-grid-canvases

composing-grid-canvases is a skill for Claude Code, Codex from PostHog/posthog-foss. It costs 136 tokens per session (2,073 once invoked), scanned A, original, MIT.

A set of instructions for arranging reusable PostHog canvas widgets in grid layouts, including a personal home canvas. It covers placing, resizing, moving, removing, and creating widgets.

In plain words
What is it for?
Use it to build dashboards, home screens, task boards, weather widgets, and other grids of reusable components.
Why use it?
It helps keep canvas layouts organized and lets you reuse an existing widget instead of rebuilding the same one. Layout changes take effect immediately.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build dashboards, home screens, task boards, weather widgets, and other grids of reusable components.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/posthog-foss/composing-grid-canvases
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PostHog/posthog-foss --skill composing-grid-canvases
Clone the repo
git clone --depth 1 https://github.com/PostHog/posthog-foss

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for composing-grid-canvases

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/posthog-foss/composing-grid-canvases/github.svg)](https://agentmods.dev/skills/posthog/posthog-foss/composing-grid-canvases)
Your own site
<a href="https://agentmods.dev/skills/posthog/posthog-foss/composing-grid-canvases"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/composing-grid-canvases/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for composing-grid-canvases

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/posthog-foss/composing-grid-canvases"><img src="https://agentmods.dev/badge/skills/posthog/posthog-foss/composing-grid-canvases.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,073 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00136 $0.02073
Opus 5.5 $0.00054 $0.00829
Sonnet 5.5 $0.00027 $0.00415
Haiku 4.5 $0.00014 $0.00207

Measured today against content hash 7e918315f680, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

composing-grid-canvases scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

products/canvas/skills/composing-grid-canvases/SKILL.md · 149 lines

How it starts

The opening of the file, as written. The whole thing — 149 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Composing grid canvases

A grid canvas is a composition, not an app: a grid of placements, each rendering a component canvas (a reusable widget with its own source, build, and placement contract). The user's home canvas is an ordinary grid canvas in their personal channel. Layout is data — publishing or patching one is live immediately, with no build.

Three canvas kinds share one lifecycle:

  • freeform — a standalone app (the building-canvases skill owns these).
  • component — a reusable widget. Same source/build pipeline as freeform, plus a placement contract. Visibility rides its channel: personal channel = private, team channel = shared.
  • grid — a layout of placements referencing components. No file source; layout only.

The resolution ladder: configure, fork, build

When a grid placement needs content ("a weather widget here", "a kanban of my tasks"), resolve in this order — placing an existing component beats authoring a duplicate:

  1. Search the store: canvas-list with kind=component and search=<what the widget shows>. A component is placeable when both component_meta and published_build_id are set. If its configSchema can express the request ("weather for Lisbon" → existing weather component with config: {"location": "Lisbon"}), place and configure it — write no code.
  2. Fork when a component is close but its config cannot express the ask: read its source (canvas-source-retrieve), create a new component (canvas-create with kind=component), adapt, publish. Name the difference in the new component's description.
  3. Build new when nothing fits — see "Building a component" below.

New components land in the channel you create them in. Create them in the same channel as the grid they serve unless the user asks to share them more widely.

Building a component

A component is authored exactly like a freeform canvas — load building-react-quill-canvases (or building-html-canvases) plus querying-canvas-data and validating-and-publishing-canvases — with three additions. A component that shows PostHog data follows the same verifiability rule as any canvas: an insight-backed figure links its saved insight, an ad-hoc query exposes the exact query that ran (see "Verifiability" in querying-canvas-data). Start from the complete, buildable project in references/component-example.md; its envelope, placement contract, capability declarations, and defensive ph.state access are the parts that break when improvised.

Read the full file on GitHub · 149 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +3 lines 7e918315f680
  2. 5d ago Changed ece98e99975c
  3. 1mo ago Changed · +2 lines 9d1476ed0a27
  4. 2mo ago Changed 85289d6343eb
  5. 2mo ago Changed · -1 lines e1bf1e6634e4
  6. 2mo ago First seen · 145 lines · 136 tokens per session scan A c7b561f84b5b

Subscribe to this mod's changes

composing-grid-canvases is a skill published in the GitHub repository PostHog/posthog-foss (734 stars, last pushed today), licensed MIT. It adds 136 tokens to every session and 2,073 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

composing-grid-canvases compared with skills from other repositories

composing-grid-canvases next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
composing-grid-canvasesPostHog/posthog-fossSkill734todayMITA136Claude Code, Codex
webgl-holographic-foilnexu-io/open-designSkill110ktodayApache-2.0A41Claude Code, Codex
html-ppt-hermes-cyber-terminalnexu-io/open-designSkill110ktodayApache-2.0A53Claude Code, Codex
html-ppt-taste-brutalistnexu-io/open-designSkill110ktodayApache-2.0A78Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
glance-canonical-layoutsandroid/skillsSkill11k7d agoApache-2.0A56Claude Code
prototype-webnexu-io/html-anythingSkill17k2d agoApache-2.0A24Claude Code, Codex