api-client
Installation
SKILL.md
MikoPBX REST API Client
Overview
Universal skill for executing REST API requests to MikoPBX with automatic authentication, container detection, and response formatting. Eliminates manual token management and curl command construction.
Key Features
- ✅ Automatic Authentication - Gets JWT tokens automatically using auth-token-manager skill
- ✅ Container Auto-detection - Finds and uses running mikopbx-php83/mikopbx_php74 containers
- ✅ All HTTP Methods - Supports GET, POST, PATCH, DELETE, PUT
- ✅ Smart Response Formatting - JSON pretty-print with configurable line limits
- ✅ Parameter Handling - Query strings, form data, JSON payloads
- ✅ Error Handling - Clear error messages with troubleshooting hints
- ✅ Internal Container Execution - Runs requests inside container for network isolation testing