hayba-foliage-layout

hayba-foliage-layout is a skill for Claude Code, Codex from zajalist/hayba. It costs 30 tokens per session (369 once invoked), scanned A, original, MIT.

A workflow for placing foliage in a bounded Unreal Engine level area while protecting routes, views, focal points, and a density target. Foliage means repeated plants or other environmental objects.

In plain words
What is it for?
It helps inspect available foliage, paint controlled patches, compare the scene from the same camera, validate physics and scene changes, measure performance when required, and save the level.
Why use it?
It reduces blocked paths and visual clutter while making scene and performance effects easier to check. It also helps decide when repeated procedural placement is more suitable than hand-painting patches.

Skill for Claude CodeCodex

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

Good fit It helps inspect available foliage, paint controlled patches, compare the scene from the same camera, validate physics and scene changes, measure performance when required, and save the level.

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

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 hayba-foliage-layout

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/zajalist/hayba/hayba-foliage-layout"><img src="https://agentmods.dev/badge/skills/zajalist/hayba/hayba-foliage-layout.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 369 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.
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.00030 $0.00369
Opus 5.5 $0.00012 $0.00148
Sonnet 5.5 $0.00006 $0.00074
Haiku 4.5 $0.00003 $0.00037

Measured 13d ago against content hash 112485ee0660, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hayba-foliage-layout 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 13d ago.

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.

mcp-tools/hayba-mcp/addons/workflows/hayba-foliage-layout/SKILL.md · 25 lines

What it actually says

Lay out foliage

When to use

Use for a bounded region with known ground and a visual goal. Identify traversable space, sightlines, and no-scatter zones first. Ask for a density or performance target if one matters; otherwise treat density as a trial parameter.

Tool routing

  • Inspect the region with scene_export, foliage_list_types, and editor_capture_viewport. Select only available foliage assets or request a suitable asset choice.
  • Use foliage_paint_at for a controlled patch. A PCG graph is a better choice when the area must regenerate by seed, cover many cells, or express repeated spatial rules.
  • Read back the scene and capture the same camera. Run scene_validate_physics and validator_run for scene effects, then compare editor_get_performance_stats under the same editor conditions if a performance budget was supplied.
  • After accepting the patch, save the exact active map through level_save, inspect saved, dirty, and verified status, then re-read the foliage type/count and scene with foliage_list_types and scene_export. If the save or external actor coverage is uncertain, mark the patch unsaved and route it to hayba-world-save-integrity.

Evidence

Record the region, asset types, intended and observed density, visible route clearance, and measured frame/draw-call change if available. A successful paint response does not prove the intended coverage; inspect the result. Stop after one pilot patch before expanding across the level.

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. 13d ago First seen · 25 lines · 30 tokens per session scan A 112485ee0660

Subscribe to this mod's changes

hayba-foliage-layout is a skill published in the GitHub repository zajalist/hayba (13 stars, last pushed 3d ago), licensed MIT. It adds 30 tokens to every session and 369 once invoked, about $0.0001 per session on Opus 5.5. 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-10-04.

Related

Other skills, from other repositories

unreal-mcp

Automate Unreal Engine editor scenes, actors, and renders.

NousResearch/hermes-agent · 17 tokens

asset-management

Import files from disk (images, meshes, any format the editor imports), export textures, query the Content Browser selection, and check if an asset is open (AssetDiscoveryService). Search, load, save, move, rename, duplicate, and delete assets are handled by Unreal's native AssetTools toolset or EditorAssetLibrary.…

kevinpbuckley/VibeUE · 130 tokens

level-actors

List, find, place, move, rotate, and modify actors in the current level (ActorService + editor subsystems). Use when the user asks to find/list actors in the level, move or rotate an actor, set an actor's properties/folder/transform, or spawn/delete level actors.

kevinpbuckley/VibeUE · 64 tokens

materials

Create and edit materials and material instances — graph nodes, parameters, functions, custom HLSL, and instance overrides (MaterialService + MaterialNodeService). Use when the user asks to create or edit a material/material instance, wire material nodes, add material parameters, set blend/shading modes, or recreate a…

kevinpbuckley/VibeUE · 95 tokens

vibeue

Unreal Engine 5 development using the VibeUE Python API. Use when working in Unreal Engine — blueprints, state trees, materials, actors, landscapes, animation, niagara, widgets, sound, foliage, gameplay tags, enhanced input, skeletons, PCG (procedural content generation), and more. VibeUE is an extension of Unreal's…

kevinpbuckley/VibeUE · 82 tokens

project-settings

Configure Unreal Engine project settings and editor preferences — UI appearance, toolbar icons, scale, colors, and any UDeveloperSettings subclass (ProjectSettingsService). Use when the user asks to change a project setting or editor preference, configure a UDeveloperSettings category, or read/write project config…

kevinpbuckley/VibeUE · 61 tokens