Api Gateway

API网关管理。配置和管理API网关,处理流量路由和限流。

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "Api Gateway" with this command: npx skills add sky-lv/skylv-api-gateway

API Gateway Agent Skill

AI-powered API gateway and traffic management

功能

  • API代理 - 统一入口、请求转发
  • 流量控制 - 限流、熔断、降级
  • 认证授权 - JWT、OAuth2、API Key
  • 监控统计 - 请求日志、性能指标
  • 文档生成 - 自动生成API文档

使用场景

用户: 帮我配置一个API网关,限流1000/min
Agent: [调用api-gateway skill配置网关规则]

工具函数

create_gateway(config)

创建API网关。

参数:

{
    "name": "main-gateway",
    "routes": [
        {
            "path": "/api/v1/*",
            "target": "http://backend:8080",
            "methods": ["GET", "POST"]
        }
    ],
    "rate_limit": {
        "requests": 1000,
        "window": "1m"
    },
    "auth": {
        "type": "jwt",
        "secret": "${JWT_SECRET}"
    }
}

add_route(gateway_id, route_config)

添加路由。

set_rate_limit(gateway_id, limit)

设置限流。

get_metrics(gateway_id)

获取监控指标。

配置

{
    "backend": "envoy",
    "persistence": "redis",
    "monitoring": {
        "prometheus": true,
        "grafana": true
    },
    "security": {
        "cors": true,
        "https_redirect": true
    }
}

安装

clawhub install SKY-lv/api-gateway

License

MIT

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Auto Skill Loader

自动检测当前任务类型,动态加载对应的 Skill。当收到新任务时,分析任务意图, 匹配最佳 Skill 并自动加载。支持 Skill 分级保护(core/protected/dynamic), 即插即用零配置,兼容任何 OpenClaw 部署。 触发词:"自动加载skill"、"动态加载"、"智能匹配skill"...

Registry SourceRecently Updated
1880Profile unavailable
Automation

Agent Config Validator

OpenClaw Agent配置验证器 - 自动检查openclaw.json与agent核心文档的一致性,检测过时引用,生成诊断报告并支持自动修复。当新增/调整agent或修改核心文档后使用此技能确保配置完整性。

Registry SourceRecently Updated
2220Profile unavailable
Automation

Agent Memory Persistent Workspace Memory System

Stop your AI agent from forgetting everything between sessions. Three-tier memory architecture (long-term owner namespace / daily logs / session handoff), cr...

Registry SourceRecently Updated
3040Profile unavailable
Automation

Mobayilo Voice (Beta)

Place outbound phone calls via Mobayilo with safe defaults (preview mode by default) and explicit live execution.

Registry SourceRecently Updated
3890Profile unavailable