Imans Claw
Use the Imans CLI from OpenClaw agents to query Imans workspace, catalog, and sales order data as JSON. Use when OpenClaw users ask about Imans products, var...
Latest: v1.0.0
Initial release—integrates Imans CLI with OpenClaw agents for querying Imans product and order data.
- Enables querying workspace, catalog, product variants, and sales order data as JSON via the Imans CLI.
- Provides setup guidelines for both OpenClaw and Imans environments.
- Lists recommended safety and privacy practices for handling sensitive data.
- Includes common CLI commands and suggested response patterns for chat agents.
- Supports Homebrew and direct downloads for easy installation.
Full description
Use the Imans CLI from OpenClaw agents to query Imans workspace, catalog, and sales order data as JSON. Use when OpenClaw users ask about Imans products, variants, sales orders, workspace metadata, or CLI-based Imans automation.
Imans for OpenClaw
Use imans when an OpenClaw user asks for Imans workspace, catalog, product variant, sales order, order item, or classification data.
OpenClaw Setup
- The
imansbinary must be on the hostPATHwhere OpenClaw executes shell commands. - If the agent runs in a sandbox or container, install
imansinside that sandbox too. - Verify the skill is loaded with
openclaw skills list. - Test the skill explicitly with
/skill imans-clawor by asking for Imans product or order data.
Imans Setup
- Install:
curl -fsSL https://imans.ai/install | bash - Homebrew:
brew install imans-ai/tap/imans - Verify:
imans version - Login interactively:
imans login - Login without prompts:
imans login --token-env IMANS_TOKENorimans login --token-stdin < token.txt - Test auth:
imans auth test --quiet
OpenClaw Usage Rules
- Prefer
--jsonso the agent can parse results reliably. - Prefer
--all --jsonfor complete exports, but only when the user asks for full data. - Use
--profile <name>for a named workspace instead of changing the active profile. - Keep chat responses compact; summarize results rather than dumping raw JSON into mobile or group channels.
- Ask for confirmation before exposing large order/customer datasets or running broad unfiltered exports.
- Never print or request raw API tokens in chat.
Commands
- Workspace:
imans workspace get --json - Profiles:
imans profile list - Auth check:
imans auth test --quiet - Products:
imans products list --all --json - Product search:
imans products list --search "<query>" --json - Product details:
imans products get <id> --json - Variants:
imans product-variants list --product-id <product-id> --all --json - Sales orders by date:
imans sales-orders list --order-date-from <yyyy-mm-dd> --order-date-to <yyyy-mm-dd> --all --json - Sales orders by status:
imans sales-orders list --order-status <status> --json - Sales order details:
imans sales-orders get <id> --json - Sales order items:
imans sales-order-items list --order-id <order-id> --all --json - Classifications:
imans sales-order-classifications list --all --json
Response Pattern
- Identify the needed resource and filters from the user request.
- Run the narrowest
imanscommand that answers the question. - Parse JSON locally in the agent when possible instead of showing raw output.
- Summarize key fields, counts, anomalies, and next useful drill-downs.
- Mention the profile used if the user works with multiple workspaces.
Safety
- Treat Imans data as business-sensitive.
- Avoid
imans login --token <token>because it can leak through shell history. - Prefer
--token-envor--token-stdinfor automation. --debugis safe for auth headers, but only use it when troubleshooting.- Exit code
3means auth failed,4means insufficient scope,5means not found,6means network failure, and7means API server error.
