Skip to content
SkillMixed4,075 tokens in use

algorithmic-art

Anthropic's generative art skill: Claude writes an algorithmic philosophy, then builds it as a seeded p5.js sketch in an interactive HTML viewer.

197,763 stars on the repositoryanthropics/skills · skills/algorithmic-art
/plugin install example-skills@anthropic-agent-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing algorithmic-art costs

62tokens idle
4,075tokens in use
8,493tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Mixed

Script-ledMixedModel-led

Scripts do part of the work and the model's judgement does the rest.

This describes the skill's structure, how much of it is scripts. It does not say how well it works. Scripts: templates/generator_template.js.

Touches

Nothing detected: no shell, network, file writes, git or credentials in its files.

Declared tags come from the skill's frontmatter; detected ones from its scripts and code blocks. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter15/15
  • Structure25/25
  • Examples15/15
  • Output10/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity72
  • Maintenance32
  • Community68
  • Maturity36
  • Momentum40

algorithmic-art is one of the example skills in Anthropic’s public skills repository. It triggers when someone asks for art made with code, generative art, flow fields or particle systems, and has Claude work in two steps: first write an algorithmic philosophy, a short manifesto for a named generative art movement such as “Organic Turbulence” or “Stochastic Crystallization”, saved as a Markdown file; then express that philosophy as a p5.js sketch.

The sketch is built from a bundled HTML viewer template that Claude must read first and keep the fixed parts of: the layout, the Anthropic fonts and colors, the seed controls and the action buttons. Claude replaces only the algorithm, the parameters object and the slider and color controls for them. Randomness is always seeded with randomSeed and noiseSeed so the same seed redraws the same piece, and the frontmatter asks Claude to make original work rather than copy existing artists.

What You Get

  • A two-step method: a named algorithmic philosophy written to a Markdown file, then a p5.js implementation of it
  • Five worked philosophy examples, from Perlin-noise flow fields to Voronoi tessellation and recursive branching
  • templates/viewer.html, a ready layout with a sidebar for seed, parameters, colors and actions, which Claude uses as the literal starting point
  • templates/generator_template.js, a commented reference for parameter objects, seeded randomness, the p5.js lifecycle, entity classes and PNG export
  • Rules for seeded, reproducible output where one seed always draws the same piece
  • Craftsmanship guidance on balance, color harmony, composition and performance

Common Use Cases

  • Making a flow field or particle system sketch that can be explored seed by seed
  • Turning a loose theme or mood into an original generative art piece
  • Producing a shareable single-file HTML artwork that opens in any browser
  • Generating a series of variations from one algorithm, such as seeds 1 to 100 or a gallery of presets

What Makes It Unique

Where frontend-design steers Claude’s interface design and pdf routes document tasks to Python tools, algorithmic-art is a creative skill that puts writing before code: Claude has to articulate an aesthetic movement in prose before it writes a line of p5.js, and the code is meant to express that philosophy rather than pick a pattern from a menu. It also fixes the presentation, not the art: every piece shares the same viewer layout, Anthropic styling and seed controls, while the algorithm and its parameters change each time.

Under The Hood

The skill is a SKILL.md of instructions plus two template files and the license text; it ships no scripts and runs no commands. Claude reads templates/viewer.html, then writes the philosophy as a Markdown file and the artwork as a single HTML file with the algorithm inline. That page loads p5.js 1.7.0 from cdnjs and the Poppins and Lora fonts from Google Fonts when it is opened, so it needs a network connection in the browser; nothing else is fetched. generator_template.js is a reference only, and its export helper saves the canvas as a PNG named after the seed. The guide asks for Regenerate and Download PNG buttons alongside Reset, though the template’s Actions section ships only Reset, so Claude adds the others.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers