Install
openclaw skills install aomi-buildUse when the user wants to build, scaffold, or update an Aomi app/plugin from API docs, OpenAPI or Swagger specs, SDK docs, repository examples, endpoint notes, runtime interfaces, or product requirements. Converts specs into Aomi SDK crates with `lib.rs`, `client.rs`, and `tool.rs`, plus tool schemas, preambles, host-interop flows, and validation steps. Prefer real product integrations over docs-only helpers whenever a callable surface exists.
openclaw skills install aomi-buildUse this skill for tasks like:
If a local aomi-sdk checkout exists, inspect these first:
sdk/examples/app-template-http/src/lib.rssdk/examples/app-template-http/src/client.rssdk/examples/app-template-http/src/tool.rsdocs/repo-structure.mddocs/host-interop.mdapps/*/src/{lib,client,tool}.rsIf the supplied docs mostly point to GitHub repositories, SDKs, or examples instead of listing public endpoints:
If the current repo is aomi-widget, also inspect:
apps/landing/content/examples/*.mdxapps/landing/content/guides/build/**/*.mdxIf the SDK repo is not available, read:
lib.rs for manifest and preambleclient.rs for HTTP client, auth, models, and normalizationtool.rs for DynAomiTool implementationssearch_*, get_*, build_*, submit_*, list_*, or resolve_*.*_rpc or *_raw is fine, but it should not replace a clean core workflow.JsonSchema. Field doc comments are model-facing and matter.client.rs or helper functions.lib.rsPREAMBLE or a small build_preamble() hook.dyn_aomi_app!.client.rsreqwest::blocking::Client with explicit timeouts for sync tools, matching the current SDK examples.tool.rsDynAomiTool.DynToolCallCtx when host state such as connected wallet, session state, or caller attributes is needed.Write the preamble from the app's real contract:
For deeper patterns and examples, read references/aomi-sdk-patterns.md.
For execution-oriented apps:
docs/host-interop.md.SYSTEM_NEXT_ACTION guidance.When working inside aomi-sdk:
cargo run -p xtask -- new-app <name> if starting from scratch, or copy sdk/examples/app-template-http.cargo run -p xtask -- build-aomi --app <name>.build-aomi reports zero built plugins for a brand new app, check whether the new apps/<name>/Cargo.toml is still untracked. The current xtask prefers git ls-files discovery for app manifests.cargo build --manifest-path apps/<name>/Cargo.toml.aomi_sdk::testing::{TestCtxBuilder, run_tool, run_async_tool}.When the task also touches docs or demos in aomi-widget, update the relevant examples or guides to match the new app behavior.
Aim to leave behind: