foliage
Skill by kevinpbuckley
Creates foliage types and places or scatters foliage instances on Unreal Engine landscapes and meshes using FoliageService. Aimed at users who want to populate a level with trees, grass, bushes or rocks.
Install foliage
Built from the published package, never by AI.
git clone --depth 1 https://github.com/kevinpbuckley/VibeUE /tmp/VibeUE && mkdir -p ~/.claude/skills && cp -r /tmp/VibeUE/Content/Skills/foliage ~/.claude/skills/foliageRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/kevinpbuckley/VibeUE /tmp/VibeUE && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/VibeUE/Content/Skills/foliage ~/.gemini/antigravity-cli/skills/foliageAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill lets an AI assistant work with foliage in Unreal Engine through the FoliageService Python class. It can create a reusable foliage type from a static mesh, scatter instances in a circle or rectangle, place instances at given locations, and scatter on a painted landscape layer. It can also list foliage types, query instances within a radius, and remove foliage.
Placement traces downward to find the ground, and instances with no surface hit are rejected and counted in the result. A seed value gives reproducible layouts. The source includes guidance for World Partition levels, where foliage types must be assets and cells must be loaded first. It is intended for Unreal Engine users who want to build or edit vegetation with an AI assistant.
Written from the project's SKILL.md and checked against it.
What it can do
- create_foliage_typeCreates a reusable foliage type asset from a static mesh with scale, slope and culling settings.
- scatter_foliageScatters foliage instances randomly within a circle around a center point.
- scatter_foliage_rectScatters foliage instances randomly within a rectangular area.
- scatter_foliage_on_layerScatters foliage only where a named landscape paint layer exceeds a weight threshold.
- add_foliage_instancesPlaces foliage instances at specified world locations with optional surface trace and random yaw.
- list_foliage_typesLists the foliage types in the level with their mesh paths and instance counts.
- get_foliage_in_radiusReturns foliage instances within a radius, with location, rotation and scale.
- remove_foliage_in_radiusRemoves foliage instances of a given type within a radius.
- remove_all_foliage_of_typeRemoves all instances of one foliage type from the level.
- clear_all_foliageRemoves all foliage from the entire level.
What you need
- Unreal Engine with the unreal Python module
- VibeUE FoliageService classes
Try asking
- Scatter 300 pine trees in a 5000 unit radius around the origin
- Create a foliage type from SM_Bush with scale 0.5 to 1.0
- Scatter grass only where the Grass paint layer is strong on MyTerrain
Good to know
- Instances with no surface hit are rejected, so scatter centers must overlap the landscape.
- On World Partition levels, the target cell must be loaded before placing or removing foliage.
- clear_all_foliage removes foliage from the whole level, not one landscape.
- Scatter on a paint layer needs a painted layer on the named landscape.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: Content/Skills/foliage/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to foliage
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
foliage: common questions
What does the foliage skill do in Unreal Engine?
It lets an assistant create foliage types, scatter or place foliage instances, and list, query or remove foliage using the FoliageService class.
How do I get reproducible foliage scatter patterns?
Use the seed parameter. The same seed and the same parameters produce the same layout, while seed 0 gives a random result.
Why did my scatter place zero instances?
Check instances_rejected. Instances fail when no surface is hit or the layer weight is too low, and the scatter circle may be off the painted landscape.
How do I install foliage?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is foliage free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is foliage safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to foliage?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
