Token导航 LogoToken导航

Agent Skill · 开发

infini-api(infini API 文档)

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

infini-api 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 7,562。

总安装 3,696周安装 154GitHub Stars 公开资料未说明下载 1,232核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install infini-api

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

引导完成 Infini 平台的 API 与 Webhook 集成流程。提供分步说明与可直接运行的 Node.js 示例代码。优先使用沙箱环境进行测试验证。infini-api 属于开发类 Skill,可作为该场景下的辅助能力补充。安装前应确认项目是否具备外部网络访问权限。注意密钥管理与敏感信息的安全存储要求。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install infini-api;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

infini-api 怎么安装?

在终端执行 openclaw skills install infini-api。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

infini-api 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

infini-api 需要什么权限?

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

infini-api 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

infini-api 用的人多吗?

公开数据是累计安装 3,696 次,近一周安装 154 次,下载 1,232 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

infini-api 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
infini-api

infini API 文档 · 本页

3,696—接触敏感数据MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
infini-api
description
Guide users through Infini's basic API integration and webhook integration with step-by-step explanations, sandbox-first setup, and directly runnable Node.js or Python examples. Use when the user asks for help integrating Infini API, Hosted Checkout, webhook callbacks, API signing, sandbox testing, or go-live preparation, including equivalent Chinese or English phrasing such as "指引我完成 Infini API 接入", "帮我接入 Infini 支付", "guide me through Infini integration", or "help me integrate Infini payment".

Infini API

Overview

Guide 0-base users through Infini's basic integration flow one step at a time. Default to explanation, links, and runnable examples only; do not modify local code unless the user clearly authorizes code changes.

This skill must support both Chinese and English. Match the user's interaction language by default:

  • if the user writes in Chinese, reply in Chinese and prefer https://developer.infini.money/docs/zh/...
  • if the user writes in English, reply in English and prefer https://developer.infini.money/docs/en/...
  • if the user switches language mid-conversation, switch with them

Always treat this English overview page as a valid official entry point when the user prefers English:

  • https://developer.infini.money/docs/en/1-overview

Operating Rules

  • Treat this as a guided integration session, not a one-shot answer.
  • Use simple, everyday language. Avoid dense jargon unless the user asks for deeper detail.
  • Match the user's interaction language for explanations, questions, code comments, and checklists.
  • Always keep the user on the current step until they confirm completion.
  • Show progress as <current>/<total>, for example 1/8.
  • Only ask for completion after steps that require the user to actually do something.
  • For explanation-only steps, use a lighter confirmation that matches the user's language.
  • Default to sandbox and say that clearly.
  • Explain how to switch to production after sandbox succeeds.
  • Provide the official document link for every step, using the language that matches the user whenever possible.
  • Provide runnable examples in the user's language only after asking whether they use Node.js or Python.
  • When showing code, explain the important variables in plain language and tell the user whether to place the new code in the same file or a new file.
  • When showing environment variables, explain .env usage in plain language before expecting the user to use it.
  • Do not modify local files or suggest edits as if they already happened unless the user explicitly asks for code changes.

Documentation Link Rule

Use the official docs in the same language as the user.

  • Chinese docs base: https://developer.infini.money/docs/zh
  • English docs base: https://developer.infini.money/docs/en
  • English overview entry: https://developer.infini.money/docs/en/1-overview

When giving a step link, prefer the same page in the user's language if both versions exist.

First Turn Behavior

When this skill triggers, do not jump straight into code. First:

  1. Detect whether the user is currently speaking Chinese or English.
  2. Confirm whether the user uses Node.js or Python.
  3. Ask which integration mode they want.
  4. Explain the two modes in simple words:

- Hosted Checkout: you create the order first, then Infini gives you a payment page link. The user completes payment on Infini's page, so you do not need to build the payment page yourself. This is the easiest option and should be the default recommendation. - Advanced Payment API: you control more of the payment flow yourself. This gives more flexibility, but also means more integration work and more things to handle correctly. - Key difference: Hosted Checkout saves effort because Infini hosts the payment page, while Advanced Payment API gives more control but needs a stronger technical setup.

  1. If the user does not choose, recommend Hosted Checkout.
  2. Tell the user the guide will start in sandbox.

Conversation Loop

Follow this loop for the whole session:

  1. Show a short status block in the user's current language.
  2. State the current step in plain language.
  3. Explain what this step does and why it matters.
  4. Give the official link for this step in the user's language whenever possible.
  5. Give language-specific runnable example code when code is needed.
  6. Tell the user how to check whether the step worked.
  7. Ask for completion only when the user needs to perform an actual action.
  8. Move to the next step only after the user clearly confirms completion.

Use a status block that matches the conversation language.

Chinese example:

Infini 接入进度
进度: <current>/<total>
当前步骤: <step>
环境: <sandbox|production>
语言: <Node.js|Python|unknown>
模式: <Hosted Checkout|Advanced Payment API|unknown>
已完成: <items or 无>
当前卡点: <issue or 无>
下一步: <single next action>

English example:

Infini Integration Progress
Progress: <current>/<total>
Current Step: <step>
Environment: <sandbox|production>
Language: <Node.js|Python|unknown>
Mode: <Hosted Checkout|Advanced Payment API|unknown>
Completed: <items or none>
Current Blocker: <issue or none>
Next Action: <single next action>

Default Workflow

For this skill, only support the basic integration path and webhook path.

Read workflow.md when guiding the user through the steps. Read api-notes.md when the user needs concrete endpoints, headers, signing details, or webhook verification details. Read troubleshooting.md when the user reports an error or gets stuck.

The default step order is:

  1. Confirm language and integration mode
  2. Confirm sandbox environment
  3. Get API key
  4. Implement request signing
  5. Create an order
  6. Open the returned checkout_url and complete one sandbox test payment
  7. Configure webhook and verify webhook signature
  8. Explain production switch-over

For users who say they do not need webhook yet:

  • allow them to stop after the sandbox payment test as a temporary checkpoint
  • explain clearly that this is not a full integration yet
  • do not mark the full integration complete until webhook is also handled or the user explicitly says they only want the partial flow for now

API Key Step Requirement

When the guide reaches the API key step, always give the user this direct sandbox URL:

https://business-sandbox.infini.money/developer

Also give the official authentication document in the user's language:

  • Chinese: https://developer.infini.money/docs/zh/4-authorization
  • English: https://developer.infini.money/docs/en/4-authorization

Tell the user to get:

  • key_id
  • secret_key

Remind the user:

  • start with sandbox keys
  • keep secret_key on the server side only
  • reply only after they have the keys ready

Troubleshooting Mode

When the user reports an error:

  1. Stay on the current step.
  2. Ask for the exact error text, request code, or webhook payload only if needed.
  3. Check troubleshooting.md first for common errors and fixes.
  4. If the issue matches a known case, answer with that fix first.
  5. If the issue does not match a known case, continue manual diagnosis using the current step and the official docs.
  6. Do not skip ahead just to keep momentum.

Webhook Testing Rule

Before asking the user to connect a real backend webhook endpoint, first guide them to use webhook.cool to receive one callback successfully in sandbox. Explain that this is only for quick testing and observation, then move to their real backend webhook after they understand the callback shape.

Field Accuracy Rule

When showing order creation examples, only use fields that are confirmed in the current official Infini documentation.

  • Do not present redirect_url as an official create-order field unless the current official docs explicitly show it.
  • Do not present notify_url as a default create-order field unless the current official docs explicitly show it.
  • If a user asks about those fields, say whether the current official docs confirm them or not.

Production Switch Rule

After sandbox passes, explain production in simple words:

  • replace the sandbox base URL with the production base URL
  • replace sandbox keys with production keys
  • recheck the webhook URL and signature handling
  • rerun a controlled end-to-end payment test before going live

Do not claim the integration is complete until the user explicitly says it is complete or no longer needs guidance.

平台分布

OpenClaw

86.27%
按下载量换算1,063

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

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

安装前确认

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

继续浏览同类 Skills