genart-skill README

README проекта с github.com/camilleroux/genart-skill. Одним файлом markdown: README.md.

genart — a generative art skill for Claude Code

Plugin version CI License: MIT

Create long-form generative art with AI assistance — deterministic, hash-seeded, ready for onchain platforms like Art Blocks, 256ART, Verse, Highlight, Plottables and bootloader.art — or for screens, via Artpoint.

This Claude Code plugin teaches Claude the working knowledge of the field: seeding a PRNG from a token hash, rendering the same composition at any resolution, designing traits and rarity tables, signalling preview capture, exporting for print and pen plotters, and where the ethical lines of generative art are. It covers creative coding with Canvas 2D, p5.js, three.js/WebGL and SVG — and ships runnable tools to verify that a sketch really is deterministic before you mint it.

Made by a generative artist, for generative artists using AI as a studio assistant — not as the artist.

Contact sheet of six seeds from Impossible Machine, each labelled with its token hash

Six seeds of Impossible Machine (Camille Roux) — hand-drawn technical blueprints, one hash each. The edition-level view the scripts are there to give you: same code, same rules, one sheet per seed.

Install

/plugin marketplace add camilleroux/genart-skill
/plugin install genart@camilleroux-genart

Then just talk about your sketch — the skill loads on its own. Or invoke it with /genart.

What's in it

One skill, genart, with reference sheets loaded on demand:

Checking and rendering

The plugin ships no code — only Markdown. When a sketch needs checking or rendering, Claude writes a small Playwright harness in your project, following the spec in references/verification.md, and reuses it from then on:

The harness lives in your repo, so you can read it, run it yourself, and keep it in CI. It needs Playwright as a dev dependency (npm i -D playwright && npx playwright install chromium). Claude proves it once by making it fail on a copy of your sketch with a Math.random() left in.

Why no shipped scripts: Anthropic's plugin directory accepts code only from Verified organizations, and the checks are short enough to rebuild from a precise spec.

The contract a sketch must follow (three lines of shim for any platform) and what the checks can and cannot prove are in references/verification.md.

How the platform sheets work

They contain no version numbers, no figures and no field names — only the stable mental model of each platform, the canonical doc URLs, and the questions to ask those docs. Claude fetches the real documentation before writing platform code.

That is deliberate. A copied value goes stale in months and is then worse than nothing, because you believe it. A link stays right.

On determinism claims

Nothing here can prove cross-machine determinism, and this plugin does not claim to. In WebGL, shader compilers, float precision, rasterisers and MSAA differ between GPUs; in JS, transcendental functions differ between engines. What is actually checkable is same-machine reproducibility, perceptual stability across sizes, and feature stability. references/verification.md is explicit about where the line falls.

Maintenance

CI checks monthly that the URLs in the sheets still resolve — confirmed 404/DNS only, bot walls don't count — opening an issue when one dies. The sheets contain no volatile facts, so dead links are the only thing that rots.

Show what you make

If you mint something with it, I would genuinely like to see it — open a Discussion with a render and the platform you released on, or post it and tag @camillerouxart. Pieces made with the skill get shared onward.

Reference sheets are the easiest thing to contribute: a platform that is missing, a doc URL that moved, a mental model that is wrong. Issues and PRs welcome — the editorial rules are short.

If it saved you an afternoon, a ⭐ is how the next artist finds it.

Author

Built and maintained by Camille Roux — generative/algorithmic artist. Maintainer of awesome-generative-art, the curated list of generative art platforms, libraries and resources.

Follow the art: art.camilleroux.com · X · Instagram · Farcaster · Bluesky · Mastodon · TikTok

License

MIT.

genart-skill (camilleroux/genart-skill)

Ищем в базе…

Что это?genart — плагин для Claude Code, который обучает Claude техническим и этическим основам генеративного искусства — заданию PRNG из хэша токена, детерминированному рендерингу, дизайну признаков и редкости, — и поставляет скрипты, чтобы проверить, что скетч действительно детерминирован, прежде чем минтить его ончейн.
Это отдельное приложение или плагин для Claude Code?Это плагин Claude Code (скилл), а не отдельное приложение. Он загружается автоматически, когда вы обсуждаете свой скетч внутри Claude Code, либо его можно вызвать напрямую командой /genart.
Как начать им пользоваться?Установите плагин в Claude Code, затем просто говорите о своём скетче — скилл загрузится сам, либо вызовите его явно командой /genart.
Нужно ли что-то помимо Claude Code для запуска проверочных скриптов?Да — check.mjs и render.mjs требуют установленного в вашем проекте Playwright (npm i -D playwright && npx playwright install chromium); сам плагин поставляется без package.json и встроенных зависимостей.
Может ли он гарантировать, что моё искусство выглядит одинаково на чужом компьютере?Нет — детерминизм между машинами доказать нельзя. Компиляторы WebGL-шейдеров, точность float и растеризаторы различаются между GPU, а трансцендентные функции — между JS-движками, так что реально проверяемы лишь воспроизводимость на одной машине и стабильность признаков и восприятия.
Какие инструменты креативного кодинга он охватывает?Canvas 2D, p5.js, three.js/WebGL и SVG — скетч можно построить на любом из них, если он соблюдает трёхстрочную заглушку детерминизма, описанную в verification.md.
Какие ончейн-платформы ему известны?Art Blocks, 256ART, Verse, Highlight, Plottables, bootloader.art, самостоятельно развёрнутые решения, а также Artpoint для работ, показываемых на экранах (без минта).
Что на самом деле делают два запускаемых скрипта?render.mjs --hash рендерит заданный seed в PNG, чтобы Claude мог посмотреть на результат и дорабатывать его, а check.mjs проверяет воспроизводимость и стабильность признаков и падает на таких вещах, как случайный вызов Math.random().
Почему в справочных материалах по платформам нет конкретных спецификаций?В них намеренно нет номеров версий и имён полей — только устойчивая концептуальная модель и канонические URL документации, чтобы Claude загружал настоящую актуальную документацию, а не полагался на значения, которые устаревают и вводят в заблуждение.
Автор
camilleroux
Размер
0.8 MB
Звёзды
167
Возраст
3 мес
Коммиты · 90 дней