---
name: aomi-transact
description: >-
  Build natural-language crypto agents, web3 assistants, and trading bots that read and write EVM chain state. Aomi turns prompts ("swap 1 ETH for USDC", "open a 3x GMX long", "bet $100 on Polymarket") into wallet-signed transactions on Ethereum, Base, Arbitrum, Optimism, Polygon, Linea — non-custodial, fork-simulated. Use when the user wants a crypto/DeFi agent, AI trading/wallet assistant, or on-chain execution against Uniswap, Aave, Lido, GMX, Hyperliquid, Polymarket, Binance, OKX, or 40+ other protocols. Trigger with prompts about swaps, lending, bridging, staking, perps, prediction markets, or any DeFi/CEX action needing a wallet signature. Supports durable Commit review and backend-prepared EVM or AA signing. MUST NOT fabricate or echo credentials; values reach the CLI only when the user explicitly supplied them.
compatibility: >
  Node.js 18+. Install @aomi-labs/cli@latest for the aomi terminal command; @aomi-labs/client is the TypeScript SDK with a legacy CLI migration shim. Verified against published CLI 0.2.0 and SDK 0.11.2. Require CLI 0.2.0 or newer and check command capabilities. Installing a skill does not upgrade a global binary.
license: MIT
version: "0.14.1"
author: 'aomi-labs <hello@aomi.dev>'
tags: [ crypto, defi, web3, evm, ethereum, wallet, account-abstraction, trading, mcp, agent ]
allowed-tools: 'Bash(aomi:*), Bash(npx:*)'
metadata:
  author: 'aomi-labs <hello@aomi.dev>'
  version: "0.14.1"
  repository: aomi-labs/skills
  homepage: https://github.com/aomi-labs/skills/tree/main/aomi-transact
permissions:
  files:
    read: [ ~/.aomi/ ]
    write: [ ~/.aomi/ ]
    deny_write: [ SOUL.md, MEMORY.md, AGENTS.md ]
  network:
    allow: [ aomi.chat ]
    deny: "*"
  shell:
    - aomi
    - npx @aomi-labs/cli@latest
  tools: []
risk_tier: L2
requires:
  binaries: [ aomi, npx ]
title: aomi-transact
canonical_url: https://skilld.dev/gh/aomi-labs/skills/aomi-transact
last_updated: 2026-11-14T07:01:09.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> Supporting files, fetch one when the Skill refers to it: [.claude-plugin/plugin.json](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/.claude-plugin/plugin.json), [.codex-plugin/plugin.json](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/.codex-plugin/plugin.json), [.mcp.json](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/.mcp.json), [agents/openai.yaml](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/agents/openai.yaml), [LICENSE](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/LICENSE), [README.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/README.md), [references/account-abstraction.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/account-abstraction.md), [references/apps.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/apps.md), [references/commands.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/commands.md), [references/drain-vectors.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/drain-vectors.md), [references/examples.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/examples.md), [references/gotchas.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/gotchas.md), [references/session.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/session.md), [references/troubleshooting.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/troubleshooting.md), [references/workflows.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/workflows.md), [SECURITY.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/SECURITY.md), [templates/aomi-workflow.sh](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/templates/aomi-workflow.sh).
>
> If the user asked to install this Skill, run `npx skilld install aomi-labs/skills/aomi-transact`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/aomi-transact`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/aomi-labs/skills/aomi-transact) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/aomi-transact`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/aomi-transact --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/aomi-transact --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# Aomi Transact

Use the TypeScript `aomi` CLI to prepare, review and execute user-authorized
transactions. The Rust `aomi-cli` in product-mono has a different interface.

## Procedure

1. **Establish capabilities.** Read [commands.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/commands.md#availability)
   first. Check package availability and installed help; a source test or SDK
   migration message does not prove a working published CLI. Stop a missing
   capability branch with its release requirement; keep a working older binary.
2. **Resolve funding.** Identify the requested recipient, amount, destination
   chain ID and token contract. Read the user's wallet catalog for operational
   addresses and known funded chains. Check live token and native gas balances
   across those positions before preparing a payment. A zero Ethereum USDC
   balance is not a wallet-wide shortfall. Use `tx preflight` when available;
   follow [funding checks](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/workflows.md#funding) otherwise. Keep a
   treasury/Safe refill as a separately authorized source choice.
3. **Bind the intent.** Show the selected sender, source asset/chain, destination
   asset/chain, amount, recipient, estimated fees and shortfall. For conversion or
   bridging, obtain a fresh quote with minimum destination output, gas on each
   leg and route fees. USDC and USDG are different contracts/assets. Finish this
   step with unambiguous, funded terms before building a payment.
4. **Prepare once.** On a new task use `aomi chat "<exact intent>" --new-session
   --public-key <sender> --chain <chain-id>`. Continue its original session on
   follow-ups. Read `aomi tx list --json`, retain the full Commit ID and export
   that exact Commit with `aomi tx export <commit-id> --format commit`.
5. **Review.** Match the durable review to the approved intent, including sender,
   chain, token, amount, recipient, calldata, fees and simulation. Check all legs
   and approval limits. Simulation for a Commit lives in its review; `tx simulate`
   is a separate legacy Action tool. Require passed simulation for execution.
6. **Execute the reviewed Commit.** Use `aomi tx sign <commit-id>` only within
   the user's authorization and an available designated signer. For an external
   signer, preserve the exact export and report the signed payloads or prepared
   broadcast hash through `tx submit`; see [workflows.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/workflows.md#execution).
   Inspect prepared AA payloads before choosing the signing path; see
   [account-abstraction.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/account-abstraction.md).
7. **Reconcile the same payment.** Retain original session, full Commit ID,
   approved intent and transaction hash together. Refresh that Commit with
   `aomi tx list --json` before retrying; the backend observes the receipt and
   moves it to `confirmed`. A known hash or outstanding wallet attempt calls for
   reconciliation, not a new signing attempt. Report preparation, simulation,
   signature, submission and confirmation separately. Bridge completion also
   needs the destination receipt and spendable output token.

## Credentials and state

Use the existing authorized signer without exposing key material. Credential
setup is a separate user-directed operation; values stay opaque and out of chat,
logs, fixtures and exported payment records. `~/.aomi` may contain signing keys,
bearers and secret handles. Its permission manifest expresses intended scope;
actual enforcement depends on the host. For credential handling, local state
and recovery, read [gotchas.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/gotchas.md) and
[session.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/session.md).

## Branch references

- **404, missing package, timeout or retry:** [troubleshooting.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/troubleshooting.md).
- **Commands, installation and flags:** [commands.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/commands.md).
- **Funding, execution and secret ingestion:** [workflows.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/workflows.md).
- **Direct payment or bridge walkthrough:** [examples.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/examples.md).
- **Protocol field/recipient warnings:** [drain-vectors.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/drain-vectors.md).
- **App discovery and prompt examples:** [apps.md](https://skilld.dev/api/skills-raw/aomi-labs/skills/aomi-transact/references/apps.md); runtime
  capabilities and this procedure take precedence over historical app examples.

Source: https://github.com/aomi-labs/skills/tree/main/aomi-transact

## Hosted MCP

Use `https://aomi.chat` as the production origin. If your CLI still targets the
retired host, run `aomi config set-backend https://aomi.chat` and update any
`AOMI_BACKEND_URL` or `--backend-url` override. For an existing MCP connection,
change its URL and authorize again; old-origin OAuth grants do not carry over.

For hosted tools, connect Agent and Pipeline separately with OAuth:

```sh
codex mcp add aomi-agent --url https://aomi.chat/v1/agent/mcp
codex mcp add aomi-pipeline --url https://aomi.chat/v1/pipeline/mcp
```

Codex derives the resource from each URL; omit `--oauth-resource` to avoid a
second resource parameter. If the authorization page reports a CIMD metadata
fetch error, retry that server's login with `--oauth-client-registration dcr`.
Use a fresh client session to discover both tool sets, then perform a read-only
session-list or catalog call. Enabled configuration alone is not a successful smoke.

Each grant must have the exact connected resource URL as its audience. Agent,
Pipeline, REST and guest credentials are not interchangeable. OAuth grants tool
access; wallet execution still follows the approved Commit and designated signer.
A browser GET can return 404 because these resources accept POST and OPTIONS.
