algorithmic-art

algorithmic-art is a skill for Claude Code, Codex from saajunaid/caddis-plugin. It costs 54 tokens per session (2,199 once invoked), scanned A, original, MIT.

A browser-based creative coding skill using p5.js, a JavaScript library for making graphics and interactive sketches.

In plain words
What is it for?
Making generative art, animations, interactive visualizations, WebGL scenes, audio-reactive pieces, and exports such as HTML, PNG, GIF, MP4, or SVG.
Why use it?
It provides a way to create visual work that is generated by code, including motion, interaction, three-dimensional scenes, and visual responses to sound or data.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for hermes-agent. Also seen: built for hermes-agent.

Good fit Making generative art, animations, interactive visualizations, WebGL scenes, audio-reactive pieces, and exports such as HTML, PNG, GIF, MP4, or SVG.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/saajunaid/caddis-plugin/algorithmic-art
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 saajunaid/caddis-plugin --skill algorithmic-art
Clone the repo
git clone --depth 1 https://github.com/saajunaid/caddis-plugin

Made for: Claude Code, Codex.

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 algorithmic-art

README.md
[![agentmods](https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/algorithmic-art/github.svg)](https://agentmods.dev/skills/saajunaid/caddis-plugin/algorithmic-art)
Your own site
<a href="https://agentmods.dev/skills/saajunaid/caddis-plugin/algorithmic-art"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/algorithmic-art/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 algorithmic-art

Your own site · 80×15
<a href="https://agentmods.dev/skills/saajunaid/caddis-plugin/algorithmic-art"><img src="https://agentmods.dev/badge/skills/saajunaid/caddis-plugin/algorithmic-art.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,199 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.
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.00054 $0.02199
Opus 5.5 $0.00022 $0.00880
Sonnet 5.5 $0.00011 $0.00440
Haiku 4.5 $0.00005 $0.00220

Measured 2mo ago against content hash d09bca60cb86, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

algorithmic-art 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 2mo 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.

.github/skills/frontend/algorithmic-art/SKILL.md · 294 lines

How it starts

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

Algorithmic Art (p5.js)

Create browser-based visual art and interactive experiences using p5.js. The canvas is the medium; the algorithm is the brush.

Creative standard: work should be visually striking, not tutorial-like or generic. Articulate the creative vision before writing code.

7 Modes

Mode Use for
Generative Procedural composition — noise fields, recursive patterns, L-systems
Data Viz Interactive charts and data-driven visuals
Interactive User-driven experiences (mouse, keyboard, touch)
Animation Timed sequences, motion graphics, frame-by-frame
3D / WebGL Three-dimensional geometry, GLSL shaders
Image Processing Pixel manipulation, image filters
Audio-Reactive Sound-driven visuals using FFT analysis

Setup Template

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <style>
    body { margin: 0; overflow: hidden; background: #000; }
    canvas { display: block; }
  </style>
</head>
<body>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/p5.min.js"></script>
<!-- For audio-reactive: -->
<!-- <script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/addons/p5.sound.min.js"></script> -->
<script>
p5.disableFriendlyErrors = true; // production: always disable FES

const SEED = 42;

function setup() {
  createCanvas(800, 800); // or createCanvas(windowWidth, windowHeight)
  randomSeed(SEED);
  noiseSeed(SEED);
  colorMode(HSB, 360, 100, 100, 100); // HSB for intuitive color
  // noLoop(); // uncomment for static pieces
}

function draw() {
  // ...
}

function windowResized() {
  resizeCanvas(windowWidth, windowHeight);
}
</script>
</body>
</html>

Core Patterns

Seeded Randomness (reproducibility — always do this)

const SEED = 42;
randomSeed(SEED);
noiseSeed(SEED);
// Now random() and noise() produce the same output every run

Flow Fields

let cols, rows, scale = 20;
let particles = [];
let flowfield;

function setup() {
  createCanvas(800, 800);
  randomSeed(42); noiseSeed(42);
  cols = floor(width / scale);
  rows = floor(height / scale);
  flowfield = new Array(cols * rows);
  for (let i = 0; i < 1000; i++) particles.push(new Particle());
}

function draw() {
  let yoff = 0;
  for (let y = 0; y < rows; y++) {
    let xoff = 0;
    for (let x = 0; x < cols; x++) {
      let angle = noise(xoff, yoff) * TWO_PI * 4;
      flowfield[x + y * cols] = p5.Vector.fromAngle(angle);
      xoff += 0.1;
    }
    yoff += 0.1;
  }
  particles.forEach(p => { p.follow(flowfield); p.update(); p.show(); });
}

class Particle {
  constructor() {
    this.pos = createVector(random(width), random(height));
    this.vel = createVector(0, 0);
    this.acc = createVector(0, 0);
    this.maxSpeed = 4;
  }
  follow(ff) {
    let x = floor(this.pos.x / scale);
    let y = floor(this.pos.y / scale);
    this.acc.add(ff[x + y * cols]);
  }
  update() {
    this.vel.add(this.acc);
    this.vel.limit(this.maxSpeed);
    this.pos.add(this.vel);
    this.acc.mult(0);
    if (this.pos.x < 0) this.pos.x = width;
    if (this.pos.x > width) this.pos.x = 0;
    if (this.pos.y < 0) this.pos.y = height;
    if (this.pos.y > height) this.pos.y = 0;
  }
  show() {
    stroke(200, 60, 90, 8);
    strokeWeight(1.5);
    point(this.pos.x, this.pos.y);
  }
}

Read the full file on GitHub · 294 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. 2mo ago Changed · -32 tokens per session d09bca60cb86
  2. 2mo ago First seen · 294 lines · 86 tokens per session scan A 2a0dacd25a31

Subscribe to this mod's changes

algorithmic-art is a skill published in the GitHub repository saajunaid/caddis-plugin (0 stars, last pushed 3d ago), licensed MIT. It adds 54 tokens to every session and 2,199 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

algorithmic-art compared with skills from other repositories

algorithmic-art next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
algorithmic-artsaajunaid/caddis-pluginSkill03d agoMITA54Claude Code, Codex
goga-cookbookqarium/gogaSkill468d agoBSD-3-ClauseA19Claude Code, Codex
goga-review-planqarium/gogaSkill468d agoBSD-3-ClauseA11Claude Code, Codex
goga-define-experienceqarium/gogaSkill468d agoBSD-3-ClauseA6Claude Code, Codex
goga-task-by-specifyingqarium/gogaSkill468d agoBSD-3-ClauseA14Claude Code, Codex
goga-define-requirementsqarium/gogaSkill468d agoBSD-3-ClauseA7Claude Code, Codex
goga-discoverqarium/gogaSkill468d agoBSD-3-ClauseA31Claude Code, Codex