probuilder-subdivide-edges

Subdivides edges of ProBuilder meshes in Unity by inserting new vertices.

1|Updated Apr 1, 2026
One-click install
npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill probuilder-subdivide-edges-fermisloth
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: probuilder-subdivide-edges
Source: https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment/tree/main/.agent/skills/probuilder-subdivide-edges
Command: npx skills add https://github.com/Fermisloth/Project-Aegis-Adaptive-Outbreak-Containment --skill probuilder-subdivide-edges-fermisloth

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Adding geometric detail to specific edges of a ProBuilder mesh in Unity normally requires manual vertex insertion in the editor, which is slow and hard to automate. This Skill subdivides selected edges into smaller segments programmatically through the unity-mcp-cli tool. ## Core Features & Use Cases - Targeted Edge Subdivision: Subdivide specific edges by passing vertex index pairs such as [[0,1], [2,3]]. - Directional Face Selection: Subdivide all edges of faces facing a given direction (Up, Down, Left, Right, Forward, Back) without listing edges manually. - Configurable Subdivision Count: Control how many segments each edge is split into, where 1 halves the edge and 2 splits it into thirds. - Use Case: While building a level blockout, you need more vertices along the top face of a wall to sculpt a curved silhouette. Call the tool with faceDirection="up" and subdivisions=2 to add the required geometry in one step. ## Quick Start Ask the AI to subdivide the top face edges of your ProBuilder mesh into two segments by running the probuilder-subdivide-edges tool with the GameObject reference, faceDirection set to up, and subdivisions set to 2.

Frequently Asked Questions about probuilder-subdivide-edges

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I subdivide edges of a ProBuilder mesh in Unity?

Run the probuilder-subdivide-edges tool via unity-mcp-cli with a gameObjectRef pointing to the GameObject that has a ProBuilderMesh component. Pass either an edges array of vertex index pairs or a faceDirection to select edges, plus a subdivisions count.

How do I find vertex indices for ProBuilder edge selection?

Use the ProBuilder_GetMeshInfo tool to retrieve vertex indices for the mesh. Each edge is defined as a pair of vertex indices like [0,1], and multiple edges can be passed as an array of pairs.

Can I subdivide all edges of a face without listing them individually?

Yes, use the faceDirection parameter with a value such as Up, Down, Left, Right, Forward, or Back. The tool subdivides all edges of faces facing that direction, so you do not need to enumerate edge indices.

What does the subdivisions parameter control in ProBuilder edge subdivision?

The subdivisions parameter sets how many segments each edge is split into. A value of 1 splits the edge in half, 2 splits it into thirds, and higher values add proportionally more vertices. The default is 1.

Why is unity-mcp-cli not found when running the tool?

The CLI is not installed or not on your PATH. Install it globally with npm install -g unity-mcp-cli, or invoke it through npx unity-mcp-cli. The unity-initial-setup skill covers detailed installation steps.