Guide · Agent skill
How to use the Three.js Weather Effects agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The threejs-weather skill gives an AI coding agent a detailed playbook for adding weather to a 3D web scene built with Three.js, a popular JavaScript library for browser graphics. It is for front-end developers, creative coders and designers who want clear, rain, storm and snow to be states the viewer can switch between. After this guide you will know what the skill covers, how to install it, how to ask for it in plain language, and what to check before you accept the result.
Quick start
- 1Download the ZIP. Download the threejs-weather ZIP from this page.
- 2Unzip it into a skills folder. Unzip it into ~/.claude/skills/ for all projects, or into a project's .claude/skills/ folder for one project.
- 3Or upload it in the Claude apps. If you use the Claude apps, upload the skill under Settings → Capabilities → Skills.
- 4Open your Three.js project. Make sure the project is a web project that can run browser code and already uses Three.js.
- 5Ask for the weather you want. Name the skill and describe the states, such as clear, rain, storm and snow, and where they should appear.
- 6Test the result. Check that drops stay in view, snow whitens the ground over time, and each lightning strike comes from a different direction.
What the skill makes the agent do
Once installed, the agent follows the skill's guidance when you ask it to add weather to a Three.js scene. The skill covers keeping rain inside the camera's view, building a storm by intensifying the rain system rather than adding a second one, lightning on its own light with thunder timed by distance, snow that blows up into blizzards and settles on the ground, wet ground with puddles and splashes, and looping ambient audio without an audible seam.
The skill mainly guides how the code is written. It does not render anything itself, so you still need a Three.js project for the agent to work in.
- Rain volume anchored in front of the camera so drops are visible
- Storm built from the rain state with faster fall and more slant
- Lightning flashes with thunder delayed according to distance
- Blizzard cycles of calm, build, blow and ease
- Snow that accumulates on the ground while it falls
- Wet ground, puddles and splash rings
- Looping weather ambience with a cross-fade at the loop point
How to install the threejs-weather skill
Download the ZIP for the skill from this page. Unzip it into your personal skills folder, ~/.claude/skills/, so the skill is available in every project. To limit it to one project, unzip it into that project's .claude/skills/ folder instead.
If you use the Claude apps, you can instead upload the skill under Settings → Capabilities → Skills.
- Personal install: unzip into ~/.claude/skills/
- Project install: unzip into the project's .claude/skills/ folder
- Claude apps: upload under Settings → Capabilities → Skills
~/.claude/skills/How to trigger the skill with natural requests
You do not need a special command. Name the skill in your request, or describe the weather you want and mention Three.js. The skill's own description covers scene atmosphere, seasonal states, hero backdrops and any world where clear, rain, storm and snow should be a control the viewer can turn.
Be specific about the state and where it should appear. The demo prompt in the package asks for drops anchored inside the frustum rather than scattered over the world, which is the detail the skill is built to handle.
- Name it directly: use the threejs-weather skill to add rain and a storm to this scene
- Ask for a control: add clear, rain, storm and snow states that the viewer can switch between
- Ask for behaviour: make the snow blow into a blizzard after a while and leave the ground whiter over time
Use $threejs-weather to add rain and a storm to this Three.js scene, with the drops anchored inside the frustum rather than scattered over the world.Examples of what the agent builds
The package includes a demo called Four Weathers Over One Field. It describes one landscape with four states on a single control: clear, rain, storm and snow. The storm is visibly the rain state pushed harder, with more drops, faster fall and further slant. Lightning strikes on its own schedule, and snow arrives calm, blows up into a blizzard and eases off again.
The skill's guidance also covers small technical choices that affect how the result behaves. For example, it recommends setting a draw range to thin the drops instead of reallocating buffers when weather changes, which avoids a hitch while the viewer is watching.
What it needs and safety notes
You need Three.js and a web project that can run browser code. The listing does not mention API keys or accounts, and the skill's files do not use them.
The skill does not run scripts and does not use the network, according to its listing. It is a set of written instructions for the agent, so review the code the agent produces as you would any code before you deploy it.
The skill is not suited to every project. Simple static pages where a CSS or video background would do will pay a real rendering cost for this effect. It also does not show live forecast data.
- Requires Three.js and a browser-capable web project
- No API keys or accounts mentioned
- Runs scripts: no
- Uses network: no
Tips for getting a good result
Check the effect in the places where the skill says it usually fails. The guidance warns that the particles can miss the camera entirely, and that a rain system can look correct yet never move because the attribute holds a copy of the array you kept.
Test the state changes as well as the steady states. The skill suggests entering snow from clear several times to confirm it always starts calm, and leaving snow on for a couple of minutes to see the ground whiten.
- Watch a single raindrop from spawn to ground to confirm it is inside the view
- Leave snow running for two minutes and check that the ground is visibly whiter
- Stand in a storm and confirm strikes come from different sides
- Profile with the storm running, since relighting is usually the expensive part
What people use it for
- Animated hero backdrop for a product or portfolio landing page
- Interactive scene where the viewer switches between clear, rain, storm and snow
- Seasonal states for a 3D web experience, such as a winter version of a landscape
- Mood-driven scene for a game prototype or creative coding piece
- Ambient looping sound layered under a 3D scene
Frequently asked questions
How do I install the threejs-weather skill?
Download the ZIP from this page and unzip it into ~/.claude/skills/ for personal use, or into a project's .claude/skills/ folder for one project. In the Claude apps you can upload it under Settings → Capabilities → Skills instead.
What do I need to use the threejs-weather skill?
You need Three.js and a web project that can run browser code. The listing does not mention API keys or accounts.
Is the threejs-weather skill free?
The listing states that the skill is licensed under MIT. It does not mention any price.
Does the skill show real weather forecasts?
No. The skill adds visual weather effects to a scene and does not connect to live forecast data.
Why are my rain particles not visible in my Three.js scene?
The skill's guidance says rain often misses the camera when it is placed around the world origin with a long lens. It recommends a small volume carried in front of the camera, facing the way the camera faces, and turning off frustum culling on that volume.
Can I use this skill with a different 3D engine or a simple CSS background?
The patterns are specific to Three.js and will not transfer directly to other engines. For a simple static page, a CSS or video background is likely a better fit, since this skill adds real rendering cost and complexity.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
Choose this skill if you are building an interactive or atmospheric 3D scene in Three.js and want weather states the viewer can switch between. Pick something else if your project does not use Three.js, if a CSS or video background would do, or if you need real forecast data.
Download the skill