← ClaudeAtlas

aomi-buildlisted

Scaffold new Aomi apps and plugins from API docs, OpenAPI/Swagger specs, or SDK references. aomi-build generates production-ready Rust SDK crates (lib.rs, client.rs, tool.rs) with tool schemas, preambles, host-interop flows, and validation — turning a vendor's API surface into AI-agent-callable tools. Use when the user wants to scaffold a new Aomi app from a spec, wrap a REST API as agent-callable tools, port an existing SDK, or extend an Aomi runtime with new integrations. Trigger with prompts about wrapping APIs, scaffolding Rust crates from specs, or adding protocol integrations that aomi-transact can drive. Output crates support sync HTTP, async tools (DynAsyncSink), proxy-unwrap (EIP-1967), and multi-step quote→approval→swap flows. Same runtime that aomi-transact drives.
aomi-labs/skills · ★ 5 · AI & Automation · score 76
Install: claude install-skill aomi-labs/skills
# Aomi Build ## Overview Aomi Build scaffolds production-ready Rust SDK crates for Aomi apps and plugins from OpenAPI/Swagger specs, SDK docs, or product requirements. Generates `lib.rs`, `client.rs`, `tool.rs` with typed tool schemas, host-interop flows, and validation steps. ## When to Use - Scaffold a new Aomi app from an OpenAPI spec or REST API - Wrap an existing SDK as agent-callable Aomi tools - Extend an Aomi runtime with new protocol integrations Do **not** use this skill for executing transactions — use **aomi-transact** for that. ## Prerequisites - Rust toolchain (2024 edition) and `cargo` on PATH - `git` on PATH - Aomi SDK v0.1.15 or newer - Local `aomi-apps` checkout at `../aomi-apps` (recommended) ## Quick Start ```bash cd ../aomi-apps cargo run -p xtask -- new-app my-integration cargo run -p xtask -- build-aomi --app my-integration ``` ## Instructions 1. Identify the integration target and its callable surface. 2. State the proposed toolset (3–8 intent-shaped tools) before coding. 3. Scaffold with `cargo run -p xtask -- new-app <name>`. 4. Implement `client.rs` (HTTP, auth, models), `tool.rs` (`DynAomiTool` impls), `lib.rs` (manifest + preamble). 5. For execution apps, return `ToolReturn::with_routes(...)` instead of bare JSON. 6. Build and validate: `cargo run -p xtask -- build-aomi --app <name>`. ## Examples ```bash grep -r "dyn_aomi_app!" ../aomi-apps/apps/ cargo run -p xtask -- build-aomi --app binance cargo test --manifest-path apps/my-integra