/install apix
apix — API Explorer for Agents
apix is a CLI tool for importing, browsing, searching, and calling API endpoint documents stored as local markdown vaults.
Prerequisites & Installation
Before using apix, verify if it is installed:
apix --version
If it is not installed, install it using Homebrew (macOS/Linux):
brew tap apix-sh/tap
brew install apix
Or via the curl installer:
curl -fsSL https://apix.sh/install | sh
Agent Workflow Guidelines
When an API task is requested, follow this general workflow:
-
Discover: Find the relevant endpoint route.
apix search "create pet" # Or list available APIs: apix ls -
Inspect: Check the endpoint parameters and schema concisely to save your context window.
apix peek petstore/v1/pets/{petId}/GETNote: Only use
apix show \x3Croute>if you need the full, detailed documentation, as it can be long. -
Execute: Make the HTTP call using the route you found.
apix call demo/v1/items/{id}/POST -p id=item_123 -d '{"name":"item"}'
Core Commands
Search & Discovery
- Search across all indexed APIs:
apix search \x3Cquery> - List namespaces:
apix ls - List endpoints in a namespace:
apix ls \x3Cnamespace>/\x3Cversion>(e.g.,apix ls petstore/v1) - Full-text search within a namespace:
apix grep \x3Cnamespace> \x3Cquery>
Inspecting Endpoints
Routes follow the format: \x3Cnamespace>/\x3Cversion>/\x3Cpath segments>/\x3CMETHOD> (e.g., petstore/v1/pets/GET).
- Peek (Recommended for Agents):
apix peek \x3Croute>— Outputs the YAML frontmatter and condensed required input fields. - Show:
apix show \x3Croute>— Outputs the full markdown documentation for the route or type.
Executing HTTP Calls
apix call automatically resolves the URL, method, and auth requirements from the route's markdown frontmatter.
-
Basic call with a literal path segment:
apix call demo/v1/items/item_123/GET(apix automatically maps
item_123to the{id}parameter if the defined route isdemo/v1/items/{id}/GET) -
Explicit parameters:
apix call demo/v1/items/{id}/POST \ -p id=item_123 \ -q expand=full \ -H "Authorization: Bearer \x3Ctoken>" \ -d '{"name":"item"}'-p \x3Ckey>=\x3Cvalue>: Path parameter-q \x3Ckey>=\x3Cvalue>: Query parameter-H "\x3CHeader>: \x3CValue>": HTTP Header-d '\x3Cdata>'or-d @file.json: Request body
Importing Custom Specs
If the required API is not in the public registry, you can import an OpenAPI 3.x spec locally:
apix import /path/to/openapi.json --name myapi
Notes for Agents
- When you execute
apixcommands via the shell, it detects that stdout is piped and will automatically emit raw markdown, which is perfectly structured for you to read. apixroutes are standard strings. If a route matches multiple sources,apixwill throw an ambiguity error. In that case, prefix the route with the source (e.g.,core/petstore/v1/pets/GET).- Prioritize
peekovershowto avoid flooding your context window with redundant schemas.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install apix - After installation, invoke the skill by name or use
/apix - Provide required inputs per the skill's parameter spec and get structured output
What is apix?
Use `apix` to search, browse, and execute API endpoints from local markdown vaults. Use this skill to discover REST API endpoints, inspect request/response s... It is an AI Agent Skill for Claude Code / OpenClaw, with 363 downloads so far.
How do I install apix?
Run "/install apix" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is apix free?
Yes, apix is completely free (open-source). You can download, install and use it at no cost.
Which platforms does apix support?
apix is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created apix?
It is built and maintained by Andy (@dngpng); the current version is v1.0.0.