mayar
Installation
SKILL.md
Mayar CLI — Agent Skill
This document describes how AI agents (Claude Code, OpenClaw, Codex, Cursor, and others)
should install, authenticate, select environments, search docs, and execute commands using the mayar CLI tool.
AI Agent Usage Guidelines & Decision Matrix
AI agents MUST distinguish between coding application integrations vs direct shell administration & testing:
| User Intent / Task | Correct Action | Recommended Tool / Command |
|---|---|---|
| A. Implementing Mayar API in Application Code (e.g. Node.js, Express, Next.js, FastAPI, Laravel) | 1. Read API specs & schemas via mayar docs2. Write native HTTP requests (fetch, axios) in app source code.(Do NOT wrap CLI commands in backend handlers) |
npx -y mayar@latest docs <topic> [--json] |
| B. Direct Shell Operations & Administrative Tasks (e.g. check balance, list invoices, create test product, register webhook) | Execute Mayar CLI commands directly in terminal for fast, convenient administration & testing | npx -y mayar@latest balancenpx -y mayar@latest invoice listnpx -y mayar@latest product createnpx -y mayar@latest status |