Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

lap

Agent Skill

lap 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,309

周安装

271

GitHub Stars

公开资料未说明

下载量

2,211
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:lap(圈)
来源仓库:https://github.com/mickmicksh/lap
安装命令:
openclaw skills install lap
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install lap

简介

API 规范编译与管理 CLI 工具,支持 OpenAPI、GraphQL 等格式。

  • 适合在 OpenClaw 中统一梳理接口定义与版本变更。
  • 通过 clawhub 安装,调用 lap search 等命令操作规范库。
  • 使用前请确认项目是否已存在有效 API 描述文件。
  • 建议定期同步最新规范模板以保证结构合规性。lap 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
lap
description
LAP CLI -- compile, search, and manage API specs for AI agents. Use when working with API specifications (OpenAPI, GraphQL, AsyncAPI, Protobuf, Postman), compiling specs to LAP format, searching the LAP registry, generating skills from API specs, or publishing APIs. Commands: compile, search, get, skill, skill-install, skill-batch, publish, login, logout, whoami.
user-invocable
true
version
1.0.0
metadata
openclaw
emoji
\⚡
requires
anyBins
["npx", "lapsh"]
install
kind
node
package
@lap-platform/lapsh
bins
["lapsh"]
label
Install LAP CLI (npm)

LAP CLI

Compile, search, and manage API specs for AI agents.

Command Resolution

Detect the available CLI binary once per session:

# Prefer global install, fall back to npx
if command -v lapsh &>/dev/null; then
  LAP_CMD="lapsh"
else
  LAP_CMD="npx @lap-platform/lapsh"
fi

Use $LAP_CMD (or the resolved form) for all commands below.


Agent Flow -- Consuming APIs

Use this flow when a user needs to find, download, or work with an API.

1. Discover

lapsh search <query> [--tag <tag>] [--sort relevance|popularity|date] [--limit <n>]

Search the LAP registry. Results show name, endpoint count, compression ratio, and a [skill] marker for installable skills.

# Find payment APIs sorted by popularity
lapsh search payment --sort popularity

# JSON output for scripting
lapsh search payment --json | jq '.results[] | select(.has_skill) | .name'

2. Acquire

Option A -- Install a skill (if [skill] marker present):

lapsh skill-install <name>
# Installs to ~/.claude/skills/<name>/

Option B -- Download the spec:

lapsh get <name> -o <name>.lap
lapsh get <name> --lean -o <name>.lean.lap

Option C -- Compile a local spec:

lapsh compile <spec-file> -o output.lap
lapsh compile <spec-file> -o output.lean.lap --lean

Supported formats: OpenAPI (YAML/JSON), GraphQL (SDL), AsyncAPI, Protobuf, Postman, Smithy. Format is auto-detected.

3. Use

Once you have a .lap file, read it directly -- LAP is designed for AI consumption. Key markers:

MarkerMeaning
@apiAPI name, version, base URL
@endpointHTTP method + path
@paramParameter (query, path, header)
@bodyRequest body schema
@responseResponse status + schema
@requiredRequired fields
@errorError response

Publisher Flow -- Publishing APIs

Use this flow when a user wants to compile, package, and publish an API spec.

1. Authenticate

lapsh login
lapsh whoami        # verify

2. Compile

lapsh compile spec.yaml -o spec.lap
lapsh compile spec.yaml -o spec.lean.lap --lean

3. Generate Skill

# Basic skill (Layer 1 -- mechanical)
lapsh skill spec.yaml -o skills/ --no-ai

# AI-enhanced skill (Layer 2 -- requires claude CLI)
lapsh skill spec.yaml -o skills/ --ai

# Generate and install directly
lapsh skill spec.yaml --install

4. Publish

lapsh publish spec.yaml --provider stripe.com
lapsh publish spec.yaml --provider stripe.com --name charges --source-url https://...
lapsh publish spec.yaml --provider stripe.com --skill          # include skill
lapsh publish spec.yaml --provider stripe.com --skill --skill-ai  # with AI skill

5. Verify

lapsh search <name>   # confirm it appears in registry

6. Batch Operations

# Generate skills for all specs in a directory
lapsh skill-batch specs/ -o skills/

Quick Reference

Core Commands

CommandDescription
compile <spec>Compile API spec to LAP format

Registry Commands

CommandDescription
search <query>Search the LAP registry
get <name>Download a LAP spec
publish <spec>Compile and publish to registry
loginAuthenticate via GitHub OAuth
logoutRevoke token
whoamiShow authenticated user

Skill Commands

CommandDescription
skill <spec>Generate Claude Code skill from spec
skill-batch <dir>Batch generate skills
skill-install <name>Install skill from registry

Error Recovery

ProblemFix
command not found: lapshnpm install -g @lap-platform/lapsh or use npx @lap-platform/lapsh
Not authenticatedRun lapsh login first
Format detection failedPass -f openapi (or graphql, asyncapi, protobuf, postman, smithy)
403 Forbidden on getSpec may be private or registry may block without User-Agent -- update lapsh
YAML parse errorCheck spec is valid YAML/JSON -- use a linter first
Layer 2 requires claudeInstall Claude CLI or use --no-ai for Layer 1 skills
Provider requiredpublish needs --provider <domain> (e.g., --provider stripe.com)

Environment Variables

VariablePurposeDefault
LAP_REGISTRYOverride registry URLhttps://registry.lap.sh

References

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

87.43%
按下载量换算1,933

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills