algorithmic-art

algorithmic-art is a command for Claude Code from hamr0/agentic-toolkit. It costs 62 tokens per session (4,151 once invoked), scanned A, original, Apache-2.0.

A code-based generative-art workflow using p5.js, a JavaScript library for drawing in the browser. It creates an artistic concept and expresses it through interactive sketches with controlled randomness.

In plain words
What is it for?
Use it to create flow fields, particle systems, mathematical patterns, and other interactive algorithmic-art sketches as HTML, JavaScript, and written concept files.
Why use it?
It provides a defined process for turning an idea into original, editable artwork generated by code rather than a fixed image.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it to create flow fields, particle systems, mathematical patterns, and other interactive algorithmic-art sketches as HTML, JavaScript, and written concept files.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/hamr0/agentic-toolkit/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.

Clone the repo
git clone --depth 1 https://github.com/hamr0/agentic-toolkit

Made for: Claude Code.

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/commands/hamr0/agentic-toolkit/algorithmic-art/github.svg)](https://agentmods.dev/commands/hamr0/agentic-toolkit/algorithmic-art)
Your own site
<a href="https://agentmods.dev/commands/hamr0/agentic-toolkit/algorithmic-art"><img src="https://agentmods.dev/badge/commands/hamr0/agentic-toolkit/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/commands/hamr0/agentic-toolkit/algorithmic-art"><img src="https://agentmods.dev/badge/commands/hamr0/agentic-toolkit/algorithmic-art.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,151 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.00062 $0.04151
Opus 5.5 $0.00025 $0.01660
Sonnet 5.5 $0.00012 $0.00830
Haiku 4.5 $0.00006 $0.00415

Measured 3mo ago against content hash 3bc4092c0980, 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 3mo 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.

ai/customize/skill-to-command/commands/algorithmic-art.md · 405 lines

How it starts

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

Algorithmic philosophies are computational aesthetic movements that are then expressed through code. Output .md files (philosophy), .html files (interactive viewer), and .js files (generative algorithms).

This happens in two steps:

  1. Algorithmic Philosophy Creation (.md file)
  2. Express by creating p5.js generative art (.html + .js files)

First, undertake this task:

ALGORITHMIC PHILOSOPHY CREATION

To begin, create an ALGORITHMIC PHILOSOPHY (not static images or templates) that will be interpreted through:

  • Computational processes, emergent behavior, mathematical beauty
  • Seeded randomness, noise fields, organic systems
  • Particles, flows, fields, forces
  • Parametric variation and controlled chaos

THE CRITICAL UNDERSTANDING

  • What is received: Some subtle input or instructions by the user to take into account, but use as a foundation; it should not constrain creative freedom.
  • What is created: An algorithmic philosophy/generative aesthetic movement.
  • What happens next: The same version receives the philosophy and EXPRESSES IT IN CODE - creating p5.js sketches that are 90% algorithmic generation, 10% essential parameters.

Consider this approach:

  • Write a manifesto for a generative art movement
  • The next phase involves writing the algorithm that brings it to life

The philosophy must emphasize: Algorithmic expression. Emergent behavior. Computational beauty. Seeded variation.

HOW TO GENERATE AN ALGORITHMIC PHILOSOPHY

Name the movement (1-2 words): "Organic Turbulence" / "Quantum Harmonics" / "Emergent Stillness"

Articulate the philosophy (4-6 paragraphs - concise but complete):

To capture the ALGORITHMIC essence, express how this philosophy manifests through:

  • Computational processes and mathematical relationships?
  • Noise functions and randomness patterns?
  • Particle behaviors and field dynamics?
  • Temporal evolution and system states?
  • Parametric variation and emergent complexity?

CRITICAL GUIDELINES:

  • Avoid redundancy: Each algorithmic aspect should be mentioned once. Avoid repeating concepts about noise theory, particle dynamics, or mathematical principles unless adding new depth.
  • Emphasize craftsmanship REPEATEDLY: The philosophy MUST stress multiple times that the final algorithm should appear as though it took countless hours to develop, was refined with care, and comes from someone at the absolute top of their field. This framing is essential - repeat phrases like "meticulously crafted algorithm," "the product of deep computational expertise," "painstaking optimization," "master-level implementation."
  • Leave creative space: Be specific about the algorithmic direction, but concise enough that the next Claude has room to make interpretive implementation choices at an extremely high level of craftsmanship.

Read the full file on GitHub · 405 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. 3mo ago First seen · 405 lines · 62 tokens per session scan A 3bc4092c0980

Subscribe to this mod's changes

algorithmic-art is a command published in the GitHub repository hamr0/agentic-toolkit (23 stars, last pushed 3d ago), licensed Apache-2.0. It adds 62 tokens to every session and 4,151 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-08-30.

Related

algorithmic-art compared with commands from other repositories

algorithmic-art next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
algorithmic-arthamr0/agentic-toolkitCommand233d agoApache-2.0A62Claude Code
spec-researchfengshao1227/ccg-workflowCommand6.0k11d agoMITA16Claude Code
triagen8n-io/n8nCommand212ktodaynoneA7Claude Code
landgmickel/flow-nextCommand735todayMITA13Claude Code
syncgmickel/flow-nextCommand735todayMITA15Claude Code
wayfinddwarvesf/dwarves-kitCommand15todayMITA71Claude Code
devs-teamdwarvesf/dwarves-kitCommand15todayMITA41Claude Code