From apijack
Configures apijack for OpenAPI APIs: sets up environments with URLs/credentials, generates TypeScript types/client/CLI commands, switches configs. Use for API CLI tooling.
How this skill is triggered — by the user, by Claude, or both
Slash command
/apijack:setup-apiThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Connect apijack to any API with an OpenAPI spec to generate a full CLI.
Connect apijack to any API with an OpenAPI spec to generate a full CLI.
apijack setup # Interactive: URL, credentials, auth detection
apijack generate # Pull spec, generate types/client/commands
apijack --help # See generated commands
apijack setup prompts for:
Credentials are stored in ~/.apijack/config.json for dev URLs. Production URLs require environment variables:
export APIJACK_URL=https://api.example.com
export [email protected]
export APIJACK_PASS=secret
When running as a Claude Code plugin, use the setup MCP tool instead of the interactive CLI:
Use the apijack setup tool to configure environment "dev" at http://localhost:8080
with username admin and password admin123
The MCP setup tool only accepts dev/staging URLs. Production APIs must use env vars.
apijack setup # Add another environment
apijack config list # Show all environments
apijack config switch staging # Switch active environment
apijack generate # Regenerate from new environment's spec
apijack generate creates four files from the OpenAPI spec:
| File | Contents |
|---|---|
types.ts | TypeScript interfaces from component schemas |
client.ts | API client with one method per operationId |
commands.ts | Commander subcommands grouped by tags |
command-map.ts | Lookup table mapping command paths to metadata |
After generating, all API operations are available as CLI commands.
Allow credential storage for internal IPs:
apijack plugin config add-cidr 192.168.1.0/24
apijack plugin config add-cidr 10.0.0.0/8
apijack setup or use the MCP setup toolapijack generate after setupapijack config switch <env> to verify active environment, then apijack generate to refreshnpx claudepluginhub normalled/apijackGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.