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

ainative-api-discoveryainative API discovery 搜索

Agent Skill

用于辅助 API 设计、接口文档、请求响应结构和服务集成说明。它适合让 Agent 梳理 endpoint、生成 OpenAPI 草稿、检查字段命名、整理错误码或辅助前后端联调。使用时需要确认真实业务语义、鉴权方式、分页和错误处理规则;涉及生成接口文档时,应避免凭空补字段,最好从现有代码、schema 或接口样例中提取事实。

总安装

6,262

周安装

269

GitHub Stars

公开资料未说明

下载量

2,195
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install ainative-api-discovery

简介

ainative-api-discovery 发现并导航 AINative 的 89+ API 端点。

  • 适用于接口查询、任务寻址与集成开发指导。ainative-api-discovery 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 帮助代理快速定位正确 API 并理解其用途。
  • 通过 clawhub 安装,需授权访问内部 API 文档。
  • 输出字段命名应基于实际代码或样例,避免虚构。

SKILL.md

name
ainative-api-discovery
description
Help agents discover and navigate AINative's 89+ API endpoints. Use when (1) Asking "what endpoints exist?", (2) Finding the right API for a task, (3) Looking up endpoint paths/methods, (4) Exploring API categories, (5) Getting code examples for specific endpoints. Closes #1516.

AINative API Discovery

AINative exposes 89+ REST API endpoints at https://api.ainative.studio.

Endpoint Categories

Authentication & Users

EndpointMethodDescription
/api/v1/auth/loginPOSTEmail/password login → JWT
/api/v1/auth/registerPOSTCreate account
/api/v1/auth/refreshPOSTRefresh JWT token
/api/v1/auth/logoutPOSTInvalidate session
/api/v1/users/meGETGet current user profile

Chat & AI Completions

EndpointMethodDescription
/v1/public/chat/completionsPOSTChat completion (streaming + non-streaming)
/api/v1/public/managed-chatPOSTManaged chat with session tracking
/api/v1/public/modelsGETList available AI models

Memory (ZeroMemory)

EndpointMethodDescription
/api/v1/public/memory/v2/rememberPOSTStore a memory
/api/v1/public/memory/v2/recallPOSTSemantic search memories
/api/v1/public/memory/v2/forgetDELETERemove memories
/api/v1/public/memory/v2/reflectGETGet memory insights
/api/v1/public/memory/v2/profileGETBuild user profile from memories
/api/v1/public/memory/v2/graphGETMemory knowledge graph

Credits & Billing

EndpointMethodDescription
/api/v1/public/credits/balanceGETGet current credit balance
/api/v1/public/credits/usageGETCredit usage history
/api/v1/billing/subscribePOSTSubscribe to a plan
/api/v1/billing/invoicesGETList invoices

Developer Program (Echo)

EndpointMethodDescription
/api/v1/echo/registerPOSTRegister as a developer
/api/v1/echo/earningsGETGet earnings summary
/api/v1/echo/payoutsGETList payouts
/api/v1/echo/markupPUTSet your markup rate (0-40%)

ZeroDB (Vector/NoSQL/Storage)

EndpointMethodDescription
/api/v1/public/zerodb/vectors/upsertPOSTUpsert vector embedding
/api/v1/public/zerodb/vectors/searchPOSTSemantic vector search
/api/v1/public/zerodb/tablesGET/POSTList/create NoSQL tables
/api/v1/public/zerodb/files/uploadPOSTUpload file

Admin & Monitoring

EndpointMethodDescription
/admin/usersGETList all users (superuser)
/admin/monitoringGETSystem health metrics
/admin/databaseGETDatabase pool status
/healthGETHealth check (no auth)

Authentication

All public endpoints require an API key:

# Header format
X-API-Key: ak_your_key_here

# Or Bearer token (for user sessions)
Authorization: Bearer eyJ...

Code Examples

Python

import requests

API_KEY = "ak_your_key"
BASE = "https://api.ainative.studio"

# Chat completion
resp = requests.post(f"{BASE}/v1/public/chat/completions",
    headers={"X-API-Key": API_KEY},
    json={"model": "claude-3-5-sonnet-20241022",
          "messages": [{"role": "user", "content": "Hello"}]}
)
print(resp.json()["choices"][0]["message"]["content"])

# Credit balance
balance = requests.get(f"{BASE}/api/v1/public/credits/balance",
    headers={"X-API-Key": API_KEY}).json()
print(f"Credits: {balance['remaining_credits']}")

JavaScript/TypeScript

const API_KEY = "ak_your_key";
const BASE = "https://api.ainative.studio";

const resp = await fetch(`${BASE}/v1/public/chat/completions`, {
  method: "POST",
  headers: { "X-API-Key": API_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({
    model: "claude-3-5-sonnet-20241022",
    messages: [{ role: "user", content: "Hello" }]
  })
});
const data = await resp.json();

curl

curl -X POST https://api.ainative.studio/v1/public/chat/completions \
  -H "X-API-Key: ak_your_key" \
  -H "Content-Type: application/json" \
  -d '{"model":"claude-3-5-sonnet-20241022","messages":[{"role":"user","content":"Hello"}]}'

References

  • docs/api/API_REFERENCE.md — Complete endpoint documentation
  • docs/api/API_ENDPOINTS_REFERENCE.md — Full endpoint index
  • src/backend/app/api/v1/endpoints/ — Implementation source

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

能力 5

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

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

平台分布

OpenClaw

89.97%
按下载量换算1,975

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills