p5js

p5js is a skill for Claude Code, Codex from perasyudha/Nyxora. It costs 20 tokens per session (6,876 once invoked), scanned A, a copy of p5js, MIT.

A production guide for p5.js, a JavaScript library for drawing interactive graphics and animations in a web browser.

In plain words
What is it for?
It is for generative art, canvas sketches, animations, data visualisations, 2D and 3D scenes, shaders, and audio-reactive graphics.
Why use it?
It gives a structured way to plan, build, interact with, and export browser-based visual projects.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for generative art, canvas sketches, animations, data visualisations, 2D and 3D scenes, shaders, and audio-reactive graphics.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/perasyudha/nyxora/p5js
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 perasyudha/Nyxora --skill p5js
Clone the repo
git clone --depth 1 https://github.com/perasyudha/Nyxora

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 p5js

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/perasyudha/nyxora/p5js"><img src="https://agentmods.dev/badge/skills/perasyudha/nyxora/p5js.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,876 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 98% copy Near-identical to another mod 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.00020 $0.06876
Opus 5 $0.00010 $0.03438
Sonnet 5 $0.00004 $0.01375
Haiku 4.5 $0.00002 $0.00688

Measured 8d ago against content hash b16897dcb0ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

p5js scanned grade A with 1 finding 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 8d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/export-frames.js, scripts/render.sh, scripts/serve.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| **Noise vocabulary** | Perlin noise, simplex, fractal (octaved), domain warping, curl noise | `references/visual-effects.md` § Noise |
Origin

This is a copy

98% identical to p5js — 10 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

packages/core/playbooks/creative/p5js/SKILL.md · 557 lines

How it starts

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

p5.js Production Pipeline

When to use

Use when users request: p5.js sketches, creative coding, generative art, interactive visualizations, canvas animations, browser-based visual art, data viz, shader effects, or any p5.js project.

What's inside

Production pipeline for interactive and generative visual art using p5.js. Creates browser-based sketches, generative art, data visualizations, interactive experiences, 3D scenes, audio-reactive visuals, and motion graphics — exported as HTML, PNG, GIF, MP4, or SVG. Covers: 2D/3D rendering, noise and particle systems, flow fields, shaders (GLSL), pixel manipulation, kinetic typography, WebGL scenes, audio analysis, mouse/keyboard interaction, and headless high-res export.

Creative Standard

This is visual art rendered in the browser. The canvas is the medium; the algorithm is the brush.

Before writing a single line of code, articulate the creative concept. What does this piece communicate? What makes the viewer stop scrolling? What separates this from a code tutorial example? The user's prompt is a starting point — interpret it with creative ambition.

First-render excellence is non-negotiable. The output must be visually striking on first load. If it looks like a p5.js tutorial exercise, a default configuration, or "AI-generated creative coding," it is wrong. Rethink before shipping.

Go beyond the reference vocabulary. The noise functions, particle systems, color palettes, and shader effects in the references are a starting vocabulary. For every project, combine, layer, and invent. The catalog is a palette of paints — you write the painting.

Be proactively creative. If the user asks for "a particle system," deliver a particle system with emergent flocking behavior, trailing ghost echoes, palette-shifted depth fog, and a background noise field that breathes. Include at least one visual detail the user didn't ask for but will appreciate.

Dense, layered, considered. Every frame should reward viewing. Never flat white backgrounds. Always compositional hierarchy. Always intentional color. Always micro-detail that only appears on close inspection.

Read the full file on GitHub · 557 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. 8d ago First seen · 557 lines · 20 tokens per session scan A b16897dcb0ba

Subscribe to this mod's changes

p5js is a skill published in the GitHub repository perasyudha/Nyxora (5 stars, last pushed 8d ago), licensed MIT. It adds 20 tokens to every session and 6,876 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 98% identical to p5js, differing in 10 lines, and is treated as a copy.

Related

Other skills, from other repositories

angular-migration

Master AngularJS to Angular migration, including hybrid apps, component conversion, dependency injection changes, and routing migration.

pinkpixel-dev/skills-collection-1 · 26 tokens

design

Use when the user wants the visual/experiential design of a product done systematically — a design system, a screen, a landing page, or a visual identity — grounded in researched real-world prior art and free of AI slop. Establishes/extends the design system, invokes the matching local taste skill, dispatches the…

jeremylongshore/tons-of-skills-marketplace · 126 tokens

remotion

Best practices for Remotion video creation in React — compositions, sequences, animation, timing, and rendering. Use when building, reviewing, or debugging Remotion videos.

jdrhyne/agent-skills · 36 tokens

viral-tech-reel-editor

End-to-end viral tech reel production for Instagram Reels and TikTok using 2026 trend grammar — retention-first pacing, punch-ins, 3D cinematic AI-generated shots, motion design graphics, proof b-roll, trending SFX, karaoke captions (Georgian/English), safe-zone layout, and QA-gated 1080x1920 export. This skill should…

tornikebolokadze1-cyber/awesome-ai-pulse-georgia · 172 tokens

remotion-best-practices

Build, inspect, and improve Remotion video projects with React-based composition discipline.

aaronnat23/disp8ch · 0 tokens

three

Build browser-based Three.js and WebGL scenes, animations, and interactive 3D visualizations with a small vanilla JavaScript starting point. Do not use this skill for unrelated requests; route to the nearest named specialist.

magnus919/agent-skills · 46 tokens