building-canvases

building-canvases is a skill for Claude Code, Codex from PostHog/skills. It costs 148 tokens per session (3,999 once invoked), scanned A, a copy of building-canvases, MIT.

A procedure for creating or editing freeform canvases in PostHog. A canvas is a small browser application, such as a board, document, form, visualization, or experiment, stored and displayed inside PostHog.

In plain words
What is it for?
It helps build, update, or fix standalone browser-based boards, documents, forms, graphics, and small tools.
Why use it?
It gives these small applications a place to live inside PostHog instead of requiring a separate local file or repository.

Skill for Claude CodeCodex

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

Good fit It helps build, update, or fix standalone browser-based boards, documents, forms, graphics, and small tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/posthog/skills/building-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/skills --skill building-canvases
Clone the repo
git clone --depth 1 https://github.com/PostHog/skills

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 building-canvases

README.md
[![agentmods](https://agentmods.dev/badge/skills/posthog/skills/building-canvases/github.svg)](https://agentmods.dev/skills/posthog/skills/building-canvases)
Your own site
<a href="https://agentmods.dev/skills/posthog/skills/building-canvases"><img src="https://agentmods.dev/badge/skills/posthog/skills/building-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 building-canvases

Your own site · 80×15
<a href="https://agentmods.dev/skills/posthog/skills/building-canvases"><img src="https://agentmods.dev/badge/skills/posthog/skills/building-canvases.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,999 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.
Origin 100% copy Near-identical to another mod 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.00148 $0.03999
Opus 5.5 $0.00059 $0.01600
Sonnet 5.5 $0.00030 $0.00800
Haiku 4.5 $0.00015 $0.00400

Measured 5d ago against content hash 7456bddf5d33, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

building-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 5d ago.

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

This is a copy

100% identical to building-canvases — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/omnibus/building-canvases/SKILL.md · 247 lines

How it starts

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

Building canvases

A canvas is a client-side browser application that runs in a sandboxed iframe inside PostHog. Its source lives in PostHog — not in a repository — and you read and write it through the canvas-* tools. Never write a canvas to a local file; publishing through the tool is what saves it.

Canvas work can start from any ordinary task. A dedicated canvas mode or pre-created canvas is not required. When the user asks for a board, document, form, visualization, or small app that should live in PostHog, treat that as a canvas request and follow this skill.

This skill owns freeform canvases (standalone apps). Two other canvas kinds exist: grid canvases (widget grids, including the user's home canvas) and component canvases (reusable widgets grids place). When the target is a grid or home canvas, a placement, or a reusable widget/component, load composing-grid-canvases instead — it owns the store search → configure → fork → build ladder and the layout patch loop. Authoring a component's source still uses the implementation companions below.

Resolve the target canvas

  • If the task names a canvas id (canvas-initiated tasks do), that is the target. Do not create another.
  • Otherwise the target channel is the one the task was created in — named in the task's context (the channel_context block or the generation instructions). List that channel's canvases with canvas-list (scope with channel). If one is clearly what the request refers to — an earlier iteration of the same board or tool — build on it instead of creating a near-duplicate, and say so in your reply so the user knows where the result landed.
  • Only when nothing existing fits, create one with canvas-create in that same channel, named with a short descriptive title drawn from the request — never "Untitled canvas".
  • Never survey channels to choose a target yourself: use channel-list only to resolve a channel the USER named to its id. Its listing puts the personal #me channel first, and #me is never a default — a canvas filed there is invisible to everyone else. If the task names neither a canvas nor a channel, ask which channel to use instead of guessing.

Read the full file on GitHub · 247 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. 6d ago Changed · +2 lines 13f210d39604
  2. 1mo ago Changed · +5 lines 7456bddf5d33
  3. 1mo ago Changed · +15 lines 39619d500d37
  4. 2mo ago Changed · +1 lines a33fd876262d
  5. 2mo ago Changed · +40 lines 0a6d52c1aa65
  6. 2mo ago Changed · +1 lines cb6ff21e2873
  7. 2mo ago Changed · +6 lines 23469bf405dd
  8. 2mo ago Changed · +2 lines 2b07b4ef56a8
  9. 2mo ago First seen · 177 lines · 148 tokens per session scan A eb7a2a26c3c8

Subscribe to this mod's changes

building-canvases is a skill published in the GitHub repository PostHog/skills (81 stars, last pushed yesterday), licensed MIT. It adds 148 tokens to every session and 3,999 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to building-canvases, differing in 0 lines, and is treated as a copy.

Related

building-canvases compared with skills from other repositories

building-canvases next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
building-canvasesPostHog/skillsSkill81yesterdayMITA148Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill101ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill395ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill331k2d agoMITA21Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
next-cache-components-adoptionvercel/next.jsSkill144kyesterdayMITA95Claude Code