Algorithmic Art
@anthropicsAnthropic's official algorithmic-art skill: a written algorithmic philosophy, then a self-contained p5.js viewer with seeded randomness, parameter sliders and seed navigation.
Instruction-and-template skill with no scripts; the generated HTML page loads p5.js from cdnjs and fonts from Google when opened, and makes no other network calls.
Install Algorithmic Art in Google Antigravity
Antigravity loads skills from .agents/skills/ in your project or ~/.gemini/config/skills/ for all projects (official docs). Full guide
Install the "Algorithmic Art" skill for Google Antigravity. Follow the steps at https://www.antigravityskills.org/install/algorithmic-art.md (source: https://github.com/anthropics/skills/tree/main/skills/algorithmic-art). Before running anything, show me what you will download and whether it includes scripts, and wait for my OK. Install it into this project (.agents/skills/) unless I say global. When done, check that Antigravity lists it as an installed skill.
The agent reads the install file, shows you what it will download and waits for your OK.
Option 2: install it yourself
- 1. Download the repository
git clone --depth 1 https://github.com/anthropics/skills /tmp/anthropic-skills && git -C /tmp/anthropic-skills log -1 --format=%h -- skills/algorithmic-art
The last change to the skill folder at our review was b9e19e6 (2026-04-20); a different hash means the skill changed after our review.
- 2. Copy the skill into this project (workspace skill)
mkdir -p .agents/skills && cp -r /tmp/anthropic-skills/skills/algorithmic-art .agents/skills/
Run from your project root. Antigravity then reads .agents/skills/algorithmic-art/SKILL.md; the templates/ folder (viewer.html and generator_template.js) comes with it.
- 3. Or install it for all projects (global skill)
mkdir -p ~/.gemini/config/skills && cp -r /tmp/anthropic-skills/skills/algorithmic-art ~/.gemini/config/skills/
Use this instead of the previous step. For the Antigravity CLI the global folder is ~/.gemini/antigravity-cli/skills/.
- 4. Check that Antigravity sees it
Antigravity 2.0 app: start a new conversation and ask "What skills do you have?" (the app has no /skills command). Antigravity CLI: run /skills; in a session that was already open, run /skills reload first. The skill is listed as algorithmic-art.
Anthropic documents only Claude Code, Claude.ai and the API; Antigravity is not mentioned. No API keys, binaries or scripts are needed. The generated page needs internet access to load p5.js and the Google Fonts when you open it.
Using Claude Code, Cursor or Codex? See other assistants below.
What is Algorithmic Art?
How to use Algorithmic Art?
Key features of Algorithmic Art
- ✓Two-step method: an algorithmic philosophy (.md), then a single HTML artifact with the p5.js sketch inline
- ✓Seeded randomness: SKILL.md requires randomSeed and noiseSeed, and seed navigation (previous, next, random, jump) in the viewer
- ✓viewer.html template we counted: 4 sliders (particle count, flow speed, noise scale, trail length), 3 colour pickers, a seed input and 4 buttons (Prev, Next, Random, Reset); its demo is a flow field of 5,000 particles
- ✓Five example philosophies in SKILL.md (Organic Turbulence, Quantum Harmonics, Recursive Whispers, Field Dynamics, Stochastic Crystallization)
- ✓Can offer seed presets or a gallery mode, and generate seeds 1-100 when asked
- ✓Everything inline in one file; p5.js 1.7.0 loads from cdnjs
When to use Algorithmic Art
- 1Generative backgrounds or hero art for a landing page concept
- 2Flow-field, particle or recursive-pattern pieces you can tune and re-seed
- 3A shareable single HTML file of an interactive art piece
- 4Exploring variations: step through seeds and keep your favourites
Installation & Setup Guide
Agent Rules / Prompt SetupFollow these steps (taken from the project's own docs) to configure Algorithmic Art in your development environment.
/plugin marketplace add anthropics/skills /plugin install example-skills@anthropic-agent-skills
Documented in the anthropics/skills README. algorithmic-art is one of the 12 skills in the example-skills plugin (.claude-plugin/marketplace.json), so this installs it with the others.
The anthropics/skills README says its example skills are already available to paid Claude.ai plans.
Not documented by the project.
Usage Example & Verification
1) Our example (SKILL.md and the repository README give no sample prompt): "Create algorithmic art of ink spreading in water, using the algorithmic-art skill." -> What should happen: a philosophy .md and one HTML file with seeded p5.js code, sliders for the parameters it needs and seed buttons. 2) Our example: "Same piece, but give me seed presets for seeds 1 to 100 and a gallery view." -> What should happen: per the Variations section the viewer gets seed presets and a Gallery Mode with thumbnails of several seeds, still inside the one file. 3) Our example: "Make the sketch static with noLoop and add a button that saves the canvas as a PNG." -> What should happen: expect the agent to add the save button itself: SKILL.md asks for a Download PNG button but the template has none (we checked).
Security Review
Static reviewInstruction-and-template skill with no scripts; the generated HTML page loads p5.js from cdnjs and fonts from Google when opened, and makes no other network calls.
Full review: scope, findings, risks
Static review at commit dbd4588 of anthropics/skills (nothing was executed). skills/algorithmic-art has 4 files: SKILL.md (404 lines), LICENSE.txt (Apache License 2.0), templates/viewer.html (598 lines) and templates/generator_template.js (222 lines). SKILL.md's frontmatter has name, description and license only; its body is Markdown guidance plus p5.js snippets for the agent to adapt, with no shell commands. It requires the agent to read viewer.html first and keep its structure and Anthropic styling. viewer.html's absolute URLs are the p5.js 1.7.0 script on cdnjs.cloudflare.com, fonts.googleapis.com and fonts.gstatic.com (Poppins and Lora); its inline script defines p5.js setup/draw, seed and parameter handlers (updateParam, updateColor, updateSeed, previousSeed, nextSeed, randomSeedAndUpdate, resetParameters) and uses no network, storage or dynamic-evaluation calls. License: Apache-2.0.
Operational Notes & Known Limitations
Known Limitations
- •Needs a browser to view the result and internet access when you open it: viewer.html loads p5.js 1.7.0 from cdnjs.cloudflare.com and Poppins and Lora from Google Fonts (the only URLs in the template, we counted)
- •SKILL.md tells the agent to keep Anthropic branding (Anthropic colours, Poppins/Lora fonts, layout) in the viewer's interface, so your page looks like an Anthropic artifact unless you ask for something else
- •The template and SKILL.md disagree: SKILL.md lists Regenerate, Reset and Download PNG as fixed actions, but viewer.html has no Download button and no separate Regenerate button (it has Prev, Next, Random and Reset), so the agent has to add them
- •Instruction plus template only: no scripts, no build step, no tests. It works in claude.ai artifacts per SKILL.md; in Antigravity you save the HTML and open it in a browser
- •Output is art, not product UI. For web interface work use frontend-design, Impeccable or UI/UX Pro Max
- •anthropics/skills' README says its skills are for demonstration and educational purposes and may differ from built-in Claude behavior
- •Neither the README nor SKILL.md mentions Antigravity (we searched). A modified community copy in sickn33/antigravity-awesome-skills shortens the description, adds a risk: critical label and generic sections; this page covers the Anthropic original
Frequently Asked Questions
What is the algorithmic-art skill?
Anthropic's official skill for generative art: the agent writes an algorithmic philosophy (.md), then one HTML file with a seeded p5.js sketch, parameter sliders and seed navigation.
How do I install algorithmic-art in Antigravity?
Clone github.com/anthropics/skills and copy skills/algorithmic-art into .agents/skills/ in your project, or into ~/.gemini/config/skills/ for all projects. Then ask "What skills do you have?" (CLI: /skills).
Is the algorithmic-art skill safe?
In our static review of commit dbd4588 the folder has no scripts and no network code of its own. The viewer template loads p5.js from cdnjs and two fonts from Google Fonts when you open the generated page; it has no fetch calls or storage.
How do I open the result?
Save the generated HTML file and open it in a browser. The same seed always reproduces the same picture; use the seed controls to explore.
Is this the same as the sickn33 version?
No. The community copy changes the description and adds generic sections; this page covers Anthropic's original in anthropics/skills.
Supported Platforms
Keep exploring this topic
Browse the full Antigravity skills directory for more source-linked skills with install steps and static safety reviews.
Related Skills
Canvas Design
@anthropics
Anthropic's official canvas-design skill: turns a poster or art request into a written design philosophy, then a one-page PNG or PDF, with 29 bundled font families.
Frontend Design (Anthropic)
@anthropics
Anthropic's official frontend-design skill: guidance for distinctive, intentional UI design, typography and copy that avoids templated AI defaults.
Web Artifacts Builder
@anthropics
Anthropic skill that scaffolds a React, TypeScript, Tailwind and shadcn/ui project and bundles it into one self-contained HTML file.
Popular Skills
View All →Agent Manager
@sickn33
Manage multiple local CLI agents via tmux sessions.
Systematic Debugging
@sickn33
Debug systematically, not randomly. Find and fix bugs methodically.
Browser Automation (Playwright)
@sickn33
Expert browser automation for cleaning scraping and reliable testing.