alapi

Search ALAPI catalog endpoints and generate integration code from OpenAPI specs.

2|Updated Apr 9, 2026
One-click install
npx skills add https://github.com/ALAPI-SDK/skill --skill alapi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: alapi
Source: https://github.com/ALAPI-SDK/skill/tree/main
Command: npx skills add https://github.com/ALAPI-SDK/skill --skill alapi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Helps developers and AI agents quickly find ALAPI platform endpoints, understand their parameters and responses, and produce ready-to-run integration code while minimizing accidental token exposure.

Core Features & Use Cases

  • Search the ALAPI catalog for capabilities and list candidate endpoints with documentation links.
  • Retrieve OpenAPI specs and extract required and optional parameters, request methods, and response structure.
  • Generate minimal, dependency-light code samples (Python, JS/TS, PHP, Go, cURL) and perform live calls only when an explicit token is provided and the user confirms.
  • Use Case: Locate an IP lookup endpoint, show its parameters and response schema, and produce a Python example that uses ALAPI_TOKEN without executing the request unless permitted.

Quick Start

Ask the skill to search ALAPI for "IP 查询", inspect the top candidate's OpenAPI, and generate a Python integration example without performing a live call.

Frequently Asked Questions about alapi

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find the right ALAPI endpoint for a specific capability like IP lookup?

To find ALAPI endpoints, search the platform catalog for your desired capability. The skill lists candidate endpoints with documentation links and retrieves OpenAPI specs to show parameters and response structures for integration.

How do I generate integration code from an OpenAPI spec for ALAPI?

Generate dependency-light integration code from ALAPI OpenAPI specs by extracting request methods, required parameters, and response schemas. The skill produces minimal examples in Python, JS/TS, PHP, Go, and cURL for ready-to-run implementation.

Can I perform a live API call to ALAPI without exposing my token accidentally?

You can perform live ALAPI calls safely by providing an explicit token and confirming execution. The skill minimizes accidental token exposure by only executing live requests when a token is supplied and user confirmation is granted.

Do I need to install external dependencies to use the ALAPI search and code generation CLI?

No external dependencies are required. The skill provides a zero-dependency CLI to fetch search data and OpenAPI specs from the ALAPI platform, outputting JSON for machine consumption without needing additional package installations.

What's the best way to inspect ALAPI response structures before writing integration code?

The best way to inspect ALAPI response structures is retrieving the OpenAPI spec for your target endpoint. The skill extracts response schemas and parameters automatically, allowing you to understand the data structure before generating code.

Why does the generated ALAPI integration code include an ALAPI_TOKEN variable instead of hardcoding credentials?

Generated code uses an ALAPI_TOKEN variable to minimize accidental token exposure. This approach prevents hardcoded credentials in source files, requiring explicit token provision only when executing confirmed live API calls.