probuilder-connect-edges

Connects midpoints of selected edges in ProBuilder meshes to create new edge loops.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires unity-mcp-cli.

What problem does it solve? Adding geometry detail to ProBuilder meshes in Unity often requires manually inserting edge loops, which is tedious when done edge by edge through the editor UI. This Skill automates connecting edge midpoints within faces, inserting a center vertex when a face has more than two edges to connect. ## Core Features & Use Cases - Edge Midpoint Connection: Inserts new edges connecting the midpoints of selected edges within ProBuilder faces. - Semantic Face Selection: Connect edges on faces by direction (Up, Down, Left, Right, Forward, Back) instead of manual edge indices. - Detailed Result Reporting: Returns counts of edges connected, faces and edges created, and before/after mesh statistics. - Use Case: While prototyping a level blockout in Unity, ask the AI to connect the opposite edges of a cube's top face to add a new edge loop for further subdivision and detailing. ## Quick Start Ask the AI to connect the edges of the top face of your selected ProBuilder cube using the probuilder-connect-edges tool with faceDirection set to Up.

Frequently Asked Questions about probuilder-connect-edges

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

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

Run the probuilder-connect-edges tool via unity-mcp-cli with a gameObjectRef pointing to the GameObject that has a ProBuilderMesh component. Provide either explicit edge index pairs or a faceDirection to select which face edges to connect.

How do I select edges by face direction in ProBuilder?

Pass the faceDirection parameter with one of Up, Down, Left, Right, Forward, or Back. The tool connects edges of faces facing that direction, so you do not need to look up individual vertex indices.

What happens when a face has more than two edges to connect?

A center vertex is added to the face, and new edges are created connecting the edge midpoints through that center vertex. The response reports how many new faces and edges were created.

How do I find vertex indices for the edges parameter?

Use the ProBuilder_GetMeshInfo tool to retrieve vertex indices for the mesh, then define each edge as a [vertexA, vertexB] pair in the edges array. This is only needed when not using faceDirection.

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 with npx unity-mcp-cli instead.