agentleFS
LucfaceLucface/claude-skills/skills/algorithmic-art/SKILL.md

algorithmic-art

Skill1 starsChanged 3 days agoMITView on GitHub

Creates generative and computational art using p5.js with seeded randomness, particle systems, and interactive exploration. Covers creative coding and procedural aesthetics.

186 other projects use a version of this, 2 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use fal-generate, academy-guide and 8 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • xfstudioSkill

    fal-generate

    Generate images and videos using fal.ai AI models

    Also in 5 projects that use this

  • AnthropicSkill

    academy-guide

    Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials, and use cases from Claude Academy (academy.claude.com), Anthropic's learning hub. Trigger on: "how do I", "how can I", "getting started with", "what can Claude do", "teach me", "learn to use"; questions about artifacts, projects, skills, plugins, connectors, MCP; requests about rolling Claude out to a team, class, or organization; and any ask for training materials, onboarding content, or learning resources. Use it when the user is learning how to use a feature or product — not when they are mid-task and just want the task done. This skill composes with other skills: after consulting product documentation to answer how a Claude feature works, also check here for a matching course or tutorial — a docs-grounded answer and an Academy recommendation belong together. Only recommend on a strong match; never invent Academy content.

    Also in 9 projects that use this

  • allanninalSkill

    libafl

    LibAFL is a modular fuzzing library for building custom fuzzers. Use for advanced fuzzing needs, custom mutators, or non-standard fuzzing targets.

    Also in 4 projects that use this

  • zephyrwang6Skill

    deepl

    Übersetzt Texte, Dokumente und XLIFF-Dateien via DeepL API. Verwende für Übersetzungen mit /deepl translate, /deepl file oder /deepl xliff.

    Also in 4 projects that use this

  • zephyrwang6Skill

    imagemagick-conversion

    Convert and manipulate images with ImageMagick. Covers format conversion, resizing, batch processing, quality adjustment, and image transformations. Use when user mentions image conversion, resizing images, ImageMagick, magick command, batch image processing, or thumbnail generation.

    Also in 4 projects that use this

  • nek1987Skill

    timeline-creator

    Create HTML timelines and project roadmaps with Gantt charts, milestones, phase groupings, and progress indicators. Use when users request timelines, roadmaps, Gantt charts, project schedules, or milestone visualizations.

    Also in 4 projects that use this

  • +4 more from zephyrwang6

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 1 is distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 178 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create computational art using p5.js with seeded randomness and interactive exploration.

    line 7
  2. Distinctive:

    Create a manifesto describing the computational aesthetic (4-6 paragraphs):

    line 12

“Common” is measured: kept by at least 6 in 10 of the 178 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Algorithmic Art Creation

Create computational art using p5.js with seeded randomness and interactive exploration.

Core Process

Phase 1: Algorithmic Philosophy

Create a manifesto describing the computational aesthetic (4-6 paragraphs):

  • Emphasize emergent behavior
  • Focus on mathematical beauty
  • Express craftsmanship philosophy

Phase 2: P5.js Implementation

Express the philosophy through a single self-contained HTML artifact.

Key Principles

On Craftsmanship: The algorithm must feel meticulously crafted, refined through countless iterations by someone at the absolute top of their field.

On Generative Art: Focus on process over product. Each seed run produces unique outputs. Beauty emerges from algorithmic execution, not static composition.

Technical Requirements

Seeded Randomness (Art Blocks Pattern)

let seed;

function setup() {
  createCanvas(800, 800);
  seed = parseInt(getURLParams().seed) || floor(random(999999));
  randomSeed(seed);
  noiseSeed(seed);
}

Self-Contained HTML Structure

<!DOCTYPE html>
<html>
<head>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.9.0/p5.min.js"></script>
  <style>
    body { margin: 0; display: flex; justify-content: center; align-items: center; min-height: 100vh; background: #111; }
    canvas { display: block; }
    .controls { position: fixed; bottom: 20px; left: 20px; color: white; font-family: monospace; }
  </style>
</head>
<body>
  <div class="controls">
    <button onclick="prevSeed()">Prev</button>
    <span id="seedDisplay">Seed: 0</span>
    <button onclick="nextSeed()">Next</button>
    <button onclick="randomSeed()">Random</button>
  </div>
  <script>
    // Your generative algorithm here
  </script>
</body>
</html>

Common Generative Techniques

Particle Systems:

class Particle {
  constructor(x, y) {
    this.pos = createVector(x, y);
    this.vel = p5.Vector.random2D().mult(random(1, 3));
    this.life = 255;
  }

  update() {
    this.pos.add(this.vel);
    this.life -= 2;
  }

  draw() {
    noStroke();
    fill(255, this.life);
    circle(this.pos.x, this.pos.y, 4);
  }
}

Flow Fields:

function flowField(x, y, scale) {
  let angle = noise(x * scale, y * scale) * TWO_PI * 2;
  return p5.Vector.fromAngle(angle);
}

Recursive Subdivision:

function subdivide(x, y, w, h, depth) {
  if (depth === 0 || random() < 0.2) {
    rect(x, y, w, h);
    return;
  }

  if (random() < 0.5) {
    let split = random(0.3, 0.7) * w;
    subdivide(x, y, split, h, depth - 1);
    subdivide(x + split, y, w - split, h, depth - 1);
  } else {
    let split = random(0.3, 0.7) * h;
    subdivide(x, y, w, split, depth - 1);
    subdivide(x, y + split, w, h - split, depth - 1);
  }
}

Color Palettes

const palettes = {
  midnight: ['#0d1b2a', '#1b263b', '#415a77', '#778da9', '#e0e1dd'],
  sunset: ['#ff6b6b', '#feca57', '#48dbfb', '#ff9ff3', '#54a0ff'],
  forest: ['#2d3436', '#636e72', '#b2bec3', '#dfe6e9', '#00b894'],
  ocean: ['#0a3d62', '#1e5f74', '#289672', '#38ada9', '#82ccdd'],
};

Output

Every artwork produces:

  1. Markdown explaining the generative aesthetic philosophy
  2. Single HTML artifact containing algorithm, UI, and all functionality

Source

Adapted from https://github.com/anthropics/skills (Apache-2.0, Copyright 2026 Anthropic, PBC.). Changed for this repo by Lucas Cooper-Bey in 2026: condensed from 302 lines to 111, keeping the two-phase algorithmic philosophy then p5.js flow.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.