particle-swarm-sim

particle-swarm-sim is a skill for Claude Code from tdimino/claude-code-minoan. It costs 0 tokens per session (3,356 once invoked), scanned A, original, MIT.

A generator for interactive particle simulations with 20,000 or more moving points, using Three.js, a JavaScript 3D graphics library. It separates the rendering host from the generated particle behavior.

In plain words
What is it for?
Use it to create a complete gesture-controlled sandbox or generate particle behavior functions for effects such as galaxies and auroras.
Why use it?
It lets AI write only the movement and color rules while the host manages rendering, input, gestures, and security.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to create a complete gesture-controlled sandbox or generate particle behavior functions for effects such as galaxies and auroras.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tdimino/claude-code-minoan/particle-swarm-sim
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 tdimino/claude-code-minoan --skill particle-swarm-sim
Clone the repo
git clone --depth 1 https://github.com/tdimino/claude-code-minoan

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 particle-swarm-sim

README.md
[![agentmods](https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/particle-swarm-sim/github.svg)](https://agentmods.dev/skills/tdimino/claude-code-minoan/particle-swarm-sim)
Your own site
<a href="https://agentmods.dev/skills/tdimino/claude-code-minoan/particle-swarm-sim"><img src="https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/particle-swarm-sim/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 particle-swarm-sim

Your own site · 80×15
<a href="https://agentmods.dev/skills/tdimino/claude-code-minoan/particle-swarm-sim"><img src="https://agentmods.dev/badge/skills/tdimino/claude-code-minoan/particle-swarm-sim.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,356 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00000 $0.03356
Opus 5 $0.00000 $0.01678
Sonnet 5 $0.00000 $0.00671
Haiku 4.5 $0.00000 $0.00336

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

Security

Grade A, and why

particle-swarm-sim 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 12d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (assets/sims/dna-helix.js, assets/sims/flocking-murmuration.js, assets/sims/galaxy-spiral.js, …), 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.

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.

skills/design-media/particle-swarm-sim/SKILL.md · 295 lines

How it starts

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

Particle Swarm Simulator

Generate massive particle swarm simulations with a clean separation of concerns: a host runtime handles Three.js rendering, camera, input, gesture recognition, and security — the AI writes only a behavior function body that positions and colors 20,000+ particles per frame.

Not a narrative canvas. Not a phase engine. A sandbox where math becomes motion.

Quick Start

# Generate a sandbox runtime with gesture controls
/particle-swarm-sim --mode sandbox dark theme, 30K particles, gesture OS enabled

# Generate a sim function body
/particle-swarm-sim --mode sim aurora borealis — curtains of light flowing along magnetic field lines

# Generate from preset
python3 scripts/swarm_generator.py --mode sim --preset galaxy-spiral --output galaxy.js

The Separation of Concerns

HOST RUNTIME                          BEHAVIOR FUNCTION BODY
(sandbox-runtime.html)                (generated by AI)
                                      
Three.js scene                        target.set(x, y, z)
BufferGeometry (20K particles)   -->  color.setHSL(h, s, l)
Camera + input + gesture OS           addControl("speed", ...)
Security validator                    setInfo("title", ...)
Code injection pipeline               annotate("label", ...)
Dynamic controls UI                   
HUD + annotations                    

The host calls the function body 20,000 times per frame — once per particle. The function body mutates the provided target and color objects. Nothing else crosses the boundary.

API Contract

Read-Only Variables

Variable Type Description
i Integer Particle index (0 to count-1)
count Integer Total particle count
time Float Global simulation time in seconds
THREE Object Safe Three.js subset: Vector3, Color, MathUtils

Write-Only Variables

Variable Type Mutation
target THREE.Vector3 target.set(x, y, z) — particle position
color THREE.Color color.setHSL(h, s, l) or color.set(hex) — particle color

Read the full file on GitHub · 295 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. 12d ago First seen · 295 lines · 0 tokens per session scan A d45de3dd3d12

Subscribe to this mod's changes

particle-swarm-sim is a skill published in the GitHub repository tdimino/claude-code-minoan (41 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,356 tokens. 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

Other skills, from other repositories

manager

A session-to-GitHub tracker that creates, updates, and reads issues across repositories, including their labels, parent epics, and project-board placement.

serejaris/personal-corp-os · 63 tokens

art-director

Orchestrate iterative visual style searches with branch prompts, decision graphs, feedback loops, and final direction selection.

serejaris/personal-corp-os · 26 tokens

idea

Use when capturing ONE new idea the user voices and wants recorded — "save this idea", "I have an idea", "log this idea", "/idea", "idea: ...". Creates a provenance-tracked folder (one folder per idea) in your ideas repo, dedups against an index, optionally mirrors to a GitHub Project view filtered by label:idea. NOT…

serejaris/personal-corp-os · 135 tokens

pm-feedback

A feedback-analysis aid that turns spreadsheet data, CSV files, pasted text, or review screenshots into organized product insights. It groups themes, identifies sentiment, examines trends and sources, calculates NPS, and extracts user types.

serejaris/personal-corp-os · 132 tokens

pm-metrics

A product-metrics review aid that examines trends, unusual changes, possible causes, and recommended actions. It can organize a main product metric into lower-level measures, inspect retention and funnels, read A/B tests, and compare results with goals.

serejaris/personal-corp-os · 160 tokens

weekly-planning

A planning workflow that turns a completed weekly review and existing backlog into prioritized outcomes for one ISO calendar week.

serejaris/personal-corp-os · 49 tokens