Claude skill · Design and art · Anthropic
Algorithmic art skill for Claude
algorithmic-art is an Anthropic skill for generative art in p5.js. Claude writes a short algorithmic philosophy, then a seeded sketch inside a fixed viewer template, so the same seed redraws the same piece and controls change its parameters. It loads when you ask for art made with code. Install it with the example-skills plugin or copy the folder.
- Command
- /algorithmic-art
- Licence
- Apache-2.0, copying allowed with attribution
- Folder
- 4 files, 58 KB
- Runs code
- 1 script
Overview
What does algorithmic-art do?
Like canvas-design, it starts from a written “algorithmic philosophy”, then implements it in p5.js. The work is seeded, so the same seed reproduces the same piece, and the result is an interactive viewer where you can change parameters and explore variations.
Claude must read templates/viewer.html before writing any HTML and keep its fixed sections, so every piece shares a working structure and only the algorithm and its controls change. A second template shows the expected p5.js code structure.
Triggers
When does Claude use it?
- Requests for art made with code: generative or algorithmic art, flow fields, particle systems.
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems. Create original algorithmic art rather than copying existing artists' work to avoid copyright violations.
What it needs
- Nothing to install; the output is an HTML artifact that loads p5.js.
Install
How do I install it in Claude Code?
From the plugin marketplace
/plugin marketplace add anthropics/skills
/plugin install example-skills@anthropic-agent-skillsThe example-skills plugin brings 12 skills, including this one; it runs as /example-skills:algorithmic-art.
As a personal or project skill
git clone --depth 1 https://github.com/anthropics/skills.git
mkdir -p ~/.claude/skills
cp -r skills/skills/algorithmic-art ~/.claude/skills/git clone --depth 1 https://github.com/anthropics/skills.git
mkdir -p .claude/skills
cp -r skills/skills/algorithmic-art .claude/skills/Either way it’s available as /algorithmic-art.
claude.ai and API
How do I use it in claude.ai and the API?
claude.ai
Anthropic’s skills README says its example skills are already available on paid claude.ai plans, so check Customize > Skills before uploading anything.
Claude API
Upload the folder through the Skills API, then list it in container.skills as type custom with the returned ID, alongside the code execution tool. Uploaded skills are shared across your workspace.
from anthropic import Anthropic
from anthropic.lib import files_from_dir
client = Anthropic()
skill = client.skills.create(files=files_from_dir("algorithmic-art"))
print(skill.id) # use as a custom skill_id with the code execution toolAPI containers have no network access, so its scripts can’t download anything there.
Checks
SKILL.md validator results
Its SKILL.md (405 lines) run through our SKILL.md validator, with the folder’s file list, for both targets. These check the file’s format, not whether the skill works well.
Claude Code
0 errors, 0 warnings, 0 tips
claude.ai and the API
0 errors, 0 warnings, 1 tip
- tipThe Claude Help Center’s upload guide gives a 200-character description limit for claude.ai, though the platform docs say 1,024. Keep it under 200 if you’ll upload it there.
Folder
What’s in the folder?
- LICENSE.txt11 KB
- SKILL.md19 KB
- templates/2 files, 28 KB
SKILL.md sections
- ALGORITHMIC PHILOSOPHY CREATION
- THE CRITICAL UNDERSTANDING
- HOW TO GENERATE AN ALGORITHMIC PHILOSOPHY
- PHILOSOPHY EXAMPLES
- ESSENTIAL PRINCIPLES
- DEDUCING THE CONCEPTUAL SEED
- P5.JS IMPLEMENTATION
- ⚠️ STEP 0: READ THE TEMPLATE FIRST ⚠️
- TECHNICAL REQUIREMENTS
- CRAFTSMANSHIP REQUIREMENTS
- OUTPUT FORMAT
- INTERACTIVE ARTIFACT CREATION
- CRITICAL: WHAT'S FIXED VS VARIABLE
- REQUIRED FEATURES
- USING THE ARTIFACT
- VARIATIONS & EXPLORATION
- THE CREATIVE PROCESS
- RESOURCES
Source
Licence and source
- Published by Anthropic in anthropics/skills/skills/algorithmic-art, last changed 2026-04-20.
- Licence: Apache-2.0, copying allowed with attribution. Our copy of the SKILL.md is unmodified, served with its licence.
- Read from commit
ca45fc4; write-up checked 2026-10-14. - Before installing, read the SKILL.md on GitHub and its scripts. Anthropic advises using skills only from sources you trust (security considerations).
FAQ
Questions people ask
What does seeded randomness mean in algorithmic-art?
The sketch draws its random numbers from a seed, a starting value. The same seed always produces the same sequence of numbers, so the same artwork comes out every time. Change the seed and you get a new variation from the same algorithm. Keep the seed of a piece you like and you can reproduce it exactly.
What do I get from the algorithmic-art skill?
An interactive HTML artifact built from the skill’s templates/viewer.html, which loads p5.js. It shows the piece with controls for its parameters and seed, so you can explore variations without asking Claude again. Claude keeps the template’s fixed sections and changes only the algorithm and its controls.
Is the algorithmic-art skill free to copy?
Yes. It is under the Apache 2.0 licence, so you can copy and adapt it, keeping the licence with it. The folder holds four files: SKILL.md, the licence, a viewer template and a p5.js code template. Copy it into ~/.claude/skills for every project, or into a repository’s .claude/skills folder.
Related
Related skills
All Claude skillsWrite your own skillSlash command builderGuide: subagents, skills and commands