Building Mechanics
Analyzes building structures to identify weaknesses, suggest improvements, and estimate material requirements for repairs.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add building-mechanics npx -- -y @trustedskills/building-mechanics
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"building-mechanics": {
"command": "npx",
"args": [
"-y",
"@trustedskills/building-mechanics"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides a complete building system for Three.js games, focusing on performance optimization, structural physics simulation, and multiplayer networking capabilities. It allows AI agents to analyze and validate building placements, optimize stability, and manage networked building interactions within a game environment. The system offers different physics modes (arcade, heuristic, realistic) to suit various gameplay needs.
When to use it
- Validating Building Placements: To ensure new structures are stable and won't collapse based on defined rules.
- Optimizing Structural Integrity: To suggest improvements or reinforcements for existing building designs.
- Simulating Damage Propagation: To predict how damage affects a structure and potentially cause cascading collapses.
- Managing Multiplayer Building Interactions: To handle simultaneous builds and resolve conflicts between players in networked games.
Key capabilities
- Spatial Indexing: Uses
SpatialHashGridorOctreefor fast queries of nearby building pieces. - Structural Validation: Includes a heuristic validator (similar to those found in Rust/Valheim) to assess stability.
- Physics Modes: Supports Arcade, Heuristic, and Realistic physics simulations.
- Multiplayer Networking: Features client prediction, delta compression, and conflict resolution for networked building systems.
- Damage Propagation: Simulates how damage spreads through a structure.
Example prompts
- "Validate the placement of this new wall piece."
- "What is the stability percentage of this tower?"
- "Simulate the impact of damage to this support beam."
- “How can I optimize this building for multiplayer conflict resolution?”
Tips & gotchas
- The skill's performance depends on the distribution of building pieces; consider using
SpatialHashGridfor uniform distributions andOctreefor clustered bases. - Realistic physics mode is computationally expensive and may impact game performance.
- The system utilizes a server-authoritative model with client prediction for multiplayer functionality.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.