Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Glb Web Optimizer

    1

    Audit and optimize GLB/glTF models for the web using Draco, Meshopt, and WebP texture compression.

    Free

    1 useSecurity scanned
    Glb Web Optimizer

    Glb Web Optimizer

    Example session with this skill installed

    My hero_banner.glb is 15MB and making the site slow. Can you audit it and then optimize it for a landing page? Use Draco compression and resize textures.

    • Read your context and instructions
    • Compiled the glb web optimizer

    I have audited the model and performed the optimization. The file size has been reduced by 78% while staying within the 'hero' budget.

    Optimization Results

    MetricOriginal (hero_banner.glb)Optimized (hero_banner.optimized.glb)Status
    File Size15.42 MB3.24 MBClose to Budget
    Triangles182,400182,400Over Budget
    Draw Calls6464Over Budget
    Max Texture4096 px2048 pxWithin Budget
    Texture FormatPNG/JPEGWebPOptimized
    GPU Memory (Est)112 MB28 MBOptimized

    The optimization converted all textures to WebP and capped them at 2048px. I applied Draco geometry compression which significantly reduced the transfer size. Note that the triangle count is still above the 100k hero budget; if you need further reduction, we can run a simplification pass at the cost of some geometric detail.

    Next steps

    1. Inspect the model: Open hero_banner.optimized.glb in a viewer to ensure texture quality is acceptable.

    Update your loader: Ensure your Three.js GLTFLoader is configured with a DRACOLoader instance to decode the mesh.
    3.

    Further simplify: If the page is still sluggish on mobile, I can run node scripts/optimize.mjs --simplify 0.5 to halve the triangle count.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Large 3D models break web performance, leading to slow page loads and high memory usage. This skill audits glTF and GLB models against web-performance budgets and runs automated optimization pipelines to shrink them. It provides objective data on triangle counts, draw calls, and GPU memory usage before and after processing.

    What it does

    • Perform audits by checking models against hero or configurator performance budgets for size and complexity.
    • Compress geometry using Draco or Meshopt to significantly reduce the transfer size of meshes.
    • Optimize textures by converting to WebP, resizing dimensions, and pruning redundant assets.
    • Reduce complexity via mesh simplification and joining to lower draw calls on static models.
    • Estimate GPU memory to predict the actual impact on the user's hardware beyond just file size.
    • Generate reports showing a side-by-side comparison of metrics between the original and optimized files.

    How it works

    1. Analyze the source by running the audit script on a .glb or .gltf file to identify performance bottlenecks.
    2. Select a profile such as hero or configurator to establish the target budget for the optimization.
    3. Run optimization using specific flags for animation support, texture quality, or mesh simplification.
    4. Verify the output by auditing the new file to ensure it meets the target performance criteria.

    Frameworks & tools

    The skill uses Node.js scripts powered by gltf-transform and the sharp image processing library. It provides implementation snippets for Three.js and React Three Fiber.

    Why this beats prompting it yourself

    Generic AI prompting cannot inspect the binary structure of a GLB file or calculate actual GPU memory footprints. This skill uses local scripts to perform real audits and deterministic optimizations, ensuring the resulting files are valid and performant.

    Use cases

    • Shrinking landing page assets to improve Core Web Vitals and load speeds.
    • Preparing product configurators that require high-resolution textures without crashing mobile browsers.
    • Optimizing animated avatars for social or gaming applications using Meshopt compression.
    • Fixing draw call bottlenecks in complex scenes by joining static meshes.

    Known limitations

    Does not fix UV maps, bake lighting, or generate KTX2 textures. Requires Node.js 18 or newer to run the bundled scripts.

    Requires Node.js 18+. Does not support KTX2 generation, UV editing, or light baking. Optimization requires a local npm install of dependencies.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    1 use

    Times used to date

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Requires

    GitHub
    Gstatic
    Npmjs
    Opencollective
    Node.js

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access

    Allowed Hosts

    www.gstatic.com
    github.com
    registry.npmjs.org
    opencollective.com

    File Scopes

    glb-web-optimizer/**
    Listed1 month ago

    What's inside

    Frequently Asked Questions

    This skill automates the reduction of 3D file sizes through Draco/Meshopt geometry compression and WebP texture conversion, specifically targeting lower draw calls and reduced GPU memory usage to prevent mobile browser crashes.

    The skill includes a pre-configured audit and optimization pipeline powered by gltf-transform, along with implementation snippets for seamlessly loading the optimized assets into Three.js and React Three Fiber environments.

    It is compatible with any AI agent capable of executing Node.js scripts (version 18+) or interacting with local command-line tools to process binary files.

    While the skill excels at geometry and texture compression, it does not support KTX2 texture generation, UV map unwrapping, or light baking; these must be handled in your 3D modeling software prior to optimization.

    Yes, you can select specific profiles like 'Hero' for high-quality landing page assets or 'Configurator' for complex models, and further customize flags for animation support and mesh simplification levels.

    New in Frontend & Web Apps