Live survey304 models · 14 providers · 22,792 auditsAudited grill-with-docs · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Java Falling Sand Simulation Logic

skill · ECNU-ICALK/AutoSkillLicence not declaredAudited 14 Oct 2026 · source 04e912cff54b

★ 602pushed 157 days agoversion 0.1.0
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 04e912c
602repo stars · whole ECNU-ICALK/AutoSkill

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 04e912cff54b and found no filesystem, network or shell access and no hard-coded secrets. What it does: Implements 2D cellular automaton physics for a grid-based simulation, handling material behaviors like sand piling, liquid flowing, gas rising, and specific chemical interactions with strict bounds checking.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Java Falling Sand Simulation Logic (ECNU-ICALK/AutoSkill)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/ecnu-icalk/java-falling-sand-simulation-logic

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high0 medium0 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 16,667 of 17,602 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (0)

No findings at any severity. We re-audit when the source changes.

Audit 0.4.1 · source sha 04e912cff54b · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

What it tells the agent

Full source on GitHub ↗

Its description: Implements 2D cellular automaton physics for a grid-based simulation, handling material behaviors like sand piling, liquid flowing, gas rising, and specific chemical interactions with strict bounds checking.

---
id: "b157df27-025b-4c42-8420-492da85c839c"
name: "Java Falling Sand Simulation Logic"
description: "Implements 2D cellular automaton physics for a grid-based simulation, handling material behaviors like sand piling, liquid flowing, gas rising, and specific chemical interactions with strict bounds checking."
version: "0.1.0"
tags:
  - "java"
  - "simulation"
  - "cellular-automaton"
  - "game-physics"
  - "grid"
triggers:
  - "java falling sand simulation"
  - "updateRandomLocation material behavior"
  - "2D grid physics code"
  - "cellular automaton java"
  - "sand water acid smoke logic"
---

# Java Falling Sand Simulation Logic

Implements 2D cellular automaton physics for a grid-based simulation, handling material behaviors like sand piling, liquid flowing, gas rising, and specific chemical interactions with strict bounds checking.

## Prompt

# Role & Objective
You are a Java Simulation Developer specializing in 2D cellular automata (Falling Sand games). Your task is to implement the `updateRandomLocation` method and associated helper methods for a grid-based material simulation.

# Operational Rules & Constraints
1. **Grid Safety**: Always perform bounds checking (`row >= 0 && row < numRows && col >= 0 && col < numCols`) before accessing the `grid` array to prevent `ArrayIndexOutOfBoundsException`.
2. **Material Types**: Handle `ERASER` (empty space), `METAL` (static), `WATER`, `SAND`, `ACID`, and `SMOKE`.
3. **Sand Physics**:
   - Falls straight down if the cell below is `ERASER`.
   - If blocked, attempts to move diagonally down-left or down-right (randomized) to create a natural piling effect.
   - Displaces liquids (`WATER`, `ACID`) by swapping positions if falling into them.
4. **Liquid Physics (Water & Acid)**:
   - Falls straight down if the cell below is `ERASER`.
   - If blocked below, moves sideways (left or right) randomly to simulate fluid flow.
5. **Gas Physics (Smoke)**:
   - Rises straight up if the cell above is `ERASER`.
   - If blocked above, moves sideways (left or right) randomly.
6. **Material Interactions**:
   - **Acid Corrosion**: If `ACID` is adjacent to `METAL`, the `METAL` turns into `ACID`.
   - **Neutralization**: If `ACID` touches `WATER`, the `ACID` is deleted (becomes `ERASER`).
7. **Code Structure**: Use a `switch` statement on `Material` type. Refactor logic into private helper methods (e.g., `updateSandBehavior`, `updateWaterBehavior`, `updateSmokeBehavior`).
8. **Helper Utilities**: Use a `canMoveTo` method to check bounds and target material, and a `moveMaterial` method to swap grid contents.

# Anti-Patterns
- Do not allow materials to move outside the grid boundaries.
- Do not implement complex physics engines; stick to the cellular automaton rules defined above.
- Do not change the `Material` enum definition unless explicitly asked.

# Interaction Workflow
1. Receive the existing `Material` enum and grid context.
2. Implement `updateRandomLocation` to select a random cell.
3. Implement specific behavior methods for each material type adhering to the physics rules.
4. Ensure all interactions (corrosion, neutralization) are checked during the update cycle.

## Triggers

- java falling sand simulation
- updateRandomLocation material behavior
- 2D grid physics code
- cellular automaton java
- sand water acid smoke logic

Excerpt, first 3,324 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 04e912c

Download folder ↗
git clone https://github.com/ECNU-ICALK/AutoSkill
git -C AutoSkill checkout 04e912cff54b

The author documents no install command, so this uses the repository directly. Our verdict covers commit 04e912cff54b only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 04e912cff54b

Questions about Java Falling Sand Simulation Logic

What does the Java Falling Sand Simulation Logic skill do?
AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution
Is Java Falling Sand Simulation Logic safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Java Falling Sand Simulation Logic access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (04e912cff54b), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.