What problem does it solve?
Developers building apps on inference.sh often scaffold projects incorrectly, misconfigure GPU resources, or lose usage tracking data due to subtle mistakes like extending the wrong base class. This Skill guides the full app lifecycle — scaffolding, local testing, deployment, and cloud verification — using the belt CLI so apps are structured and configured correctly from the start.
Core Features & Use Cases
- CLI-Driven Scaffolding: Enforces
belt app init for project creation, generating correct inf.yml, inference.py/inference.js, and dependency files for both Python and Node.js.
- Mandatory Development Workflow: Walks through scaffold → implement → local test → deploy → cloud verification, including
output_meta validation for usage-based pricing.
- GPU & Resource Configuration: Covers VRAM/RAM settings, accelerate-based device detection,
device_map for fast large-model loading, and CPU-only app setups.
- Use Case: You want to wrap an external image-generation API as an inference.sh app. The Skill provides the API-wrapper template, secrets declaration, File handling, and ImageMeta usage tracking so the deployed app reports accurate per-request metadata.
Quick Start
Ask the AI to scaffold a new inference.sh app called my-app, implement a run function, test it locally, and deploy it with the belt CLI.