用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/Lap-Platform/claude-marketplace --skill platform-api命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | platform-api |
| description | Platform API skill. Use when working with Platform for channels, push, keys. Covers 22 endpoints. |
| version | 1.0.0 |
| generator | lapsh |
API version: 1.1.1
Bearer basic | Bearer bearer
22 endpoints across 5 groups. See references/api-spec.lap for full details.
| Method | Path | Description |
|---|---|---|
| GET | /channels/{channel_id}/messages | Get message history for a channel |
| POST | /channels/{channel_id}/messages | Publish a message to a channel |
| GET | /channels/{channel_id}/presence | Get presence of a channel |
| GET | /channels/{channel_id}/presence/history | Get presence history of a channel |
| GET | /channels/{channel_id} | Get metadata of a channel |
| GET | /channels | Enumerate all active channels of the application |
| Method | Path | Description |
|---|---|---|
| GET | /push/deviceRegistrations | List devices registered for receiving push notifications |
| POST | /push/deviceRegistrations | Register a device for receiving push notifications |
| DELETE | /push/deviceRegistrations | Unregister matching devices for push notifications |
| GET | /push/deviceRegistrations/{device_id} | Get a device registration |
| PUT | /push/deviceRegistrations/{device_id} | Update a device registration |
| PATCH | /push/deviceRegistrations/{device_id} | Update a device registration |
| DELETE | /push/deviceRegistrations/{device_id} | Unregister a single device for push notifications |
| GET | /push/deviceRegistrations/{device_id}/resetUpdateToken | Reset a registered device's update token |
| GET | /push/channelSubscriptions | List channel subscriptions |
| POST | /push/channelSubscriptions | Subscribe a device to a channel |
| DELETE | /push/channelSubscriptions | Delete a registered device's update token |
| GET | /push/channels | List all channels with at least one subscribed device |
| POST | /push/publish | Publish a push notification to device(s) |
| Method | Path | Description |
|---|---|---|
| POST | /keys/{keyName}/requestToken | Request an access token |
| Method | Path | Description |
|---|---|---|
| GET | /stats | Retrieve usage statistics for an application |
| Method | Path | Description |
|---|---|---|
| GET | /time | Get the service time |
Match user requests to endpoints in references/api-spec.lap. Key patterns:
Generated from the official API spec by LAP
基于 SOC 职业分类