canvas-design

canvas-design is a skill for Claude Code, Codex from oyi77/1ai-skills. It costs 55 tokens per session (2,782 once invoked), scanned A, original, MIT.

A set of programming approaches for creating visual art, diagrams, charts, generative graphics, and interactive sketches with HTML Canvas, p5.js, SVG, or Pillow.

In plain words
What is it for?
It helps build visualizations, infographics, diagrams, generative art, presentation graphics, and other custom images.
Why use it?
It lets you create graphics from code when you need repeatable, scalable, data-driven, or interactive output.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Part of the 1ai-skills plugin — 209 skills, 4 commands shipped together

Good fit It helps build visualizations, infographics, diagrams, generative art, presentation graphics, and other custom images.

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

Made for: Claude Code, Codex.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 209 skills, 4 commands.

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 canvas-design

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/canvas-design"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/canvas-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,782 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.00055 $0.02782
Opus 5 $0.00028 $0.01391
Sonnet 5 $0.00011 $0.00556
Haiku 4.5 $0.00006 $0.00278

Measured 12d ago against content hash 757aadb4bdd0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

canvas-design 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 12d 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.

content/canvas-design/SKILL.md · 231 lines

How it starts

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

Canvas Design

When to Use

Trigger phrases:

  • "canvas design"

  • "Design visual art and graphics using HTML5 Canvas, p5"

  • When creating visual diagrams, charts, or infographics

  • When generating algorithmic/generative art

  • When building interactive data visualizations

  • When designing custom graphics for presentations or documents

When NOT to Use

  • For photo editing (use image editors)
  • For UI component design (use frontend-ui-design)
  • For video content (use video generation skills)

Overview

Create professional visual content using programmatic design tools. Supports HTML5 Canvas, p5.js for generative art, SVG for scalable graphics, and Canvas API for data visualization.

Canvas design spans three approaches: pixel-level rendering (HTML Canvas API, node-canvas) where every pixel is explicitly drawn; declarative vectors (SVG) where shapes are defined as DOM elements that remain selectable and scalable; and creative coding (p5.js, Processing) which provides a friendly API for generative art and interactive sketches.

Python stack: Pillow (PIL) for server-side image generation, compositing, and batch processing. Works in CI/CD pipelines, web backends, and data workflow automation. Browser stack: HTML5 Canvas 2D API for raster graphics, SVG for vector graphics, and p5.js for generative art and creative coding. Zero-install — runs in every browser. Node.js stack: node-canvas provides a Cairo-backed Canvas API for server-side rendering, enabling automated social media image generation, chart rendering, and thumbnail creation.

Key capabilities: generative art with algorithmic patterns, data-driven infographics and charts, responsive diagrams that scale across devices, real-time interactive visualizations, and automated asset generation for content pipelines.

Workflow

  1. Define visual spec — Dimensions, style, color palette, content
  2. Choose tool — p5.js (generative), SVG (scalable), Canvas (pixel)
  3. Create composition — Layout, shapes, text, images
  4. Apply style — Colors, gradients, shadows, typography
  5. Export — PNG, SVG, or interactive HTML

Read the full file on GitHub · 231 lines

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. 12d ago First seen · 231 lines · 55 tokens per session scan A 757aadb4bdd0

Subscribe to this mod's changes

canvas-design is a skill published in the GitHub repository oyi77/1ai-skills (12 stars, last pushed today), licensed MIT. It adds 55 tokens to every session and 2,782 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

svg-diagram

An SVG diagram generator for structured visuals such as architecture diagrams, flowcharts, sequence diagrams, hierarchy charts, and comparisons. SVG is a web image format that keeps diagrams sharp and allows flexible layouts.

PM-Shawn/Abu-Cowork · 70 tokens

skin-creator

Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.

netease-youdao/LobsterAI · 48 tokens

data-viz-renderer

Generate self-contained HTML/SVG infographics from JSON data, including stat cards, bar charts, flow diagrams, and mixed dashboards. Offers 8 color palettes and built-in icons with no external dependencies. Triggered when users request data visualization, infographics, charts, or dashboards.

zebbern/claude-code-guide · 62 tokens

mermaid-diagram

Use this skill when you need to draw diagrams including: Flowchart, Sequence Diagram, Class Diagram, State Diagram, ER Diagram, User Journey, Gantt Chart, Pie Chart, Quadrant Chart, Requirement Diagram, Gitgraph, Mindmap, Timeline, Sankey, XY Chart (Bar/Line), Block Diagram, Packet Diagram, Kanban, Architecture…

wecode-ai/Wegent · 102 tokens

architecture-diagram

Create a professional, dark-themed software/system architecture diagram as a single self-contained HTML file with inline SVG. Use when asked to visualize system components, layers, services, or how parts of a codebase fit together.

AgentEra/Agently · 47 tokens

guizang-ppt-skill

A generator for presentation decks delivered as a single HTML file that runs in a web browser. It provides magazine-style and Swiss-style visual templates for swipeable presentations.

seaworld008/Commonly-used-high-value-skills · 56 tokens