LogoClawIndex
案例技能关于
LogoClawIndex

ClawIndex

OpenClaw Skills 与 Use Case 索引

ClawIndex 是一个生态驱动的 OpenClaw Skills 与真实 Use Case 索引站。

索引

Skills·
Cases

Meta

关于·
声明·
邮箱·
GitHub
© 2026 ClawIndex 保留所有权利。

actions - 创建和运行确定性的 Agent Actions

说明如何为 Agent、前端、HTTP 和 MCP/A2A 接口创建、暴露、调用和维护确定性的 Actions。

标签

更新于: 2026-09-30

能力

典型输入

典型输出

该技能可以做什么

  • 为每个文件创建一个 Action
  • 定义经过验证的 Action Schema
  • 通过 HTTP 暴露 Actions
  • 从前端 Hooks 调用 Actions
  • 返回结构化 Action 数据
  • 维护精简的 Action 接口
  • 审计过时 Actions

输入

  • Action 名称
  • Action 描述
  • Zod Schema
  • HTTP 方法
  • 应用数据
  • Provider API 凭据
  • 前端 Action 参数

输出

  • 结构化 Action 结果
  • HTTP Action 端点
  • 前端查询结果
  • 持久化的应用记录
  • UI 刷新
  • 可供 Agent 调用的工具

要求

  • Agent Native 框架
  • TypeScript 应用
  • Zod 或 Standard Schema 支持
  • Drizzle PostgreSQL 查询构建器
  • 所需的 Provider 凭据
  • Action 执行权限

来源

  • 规范: SKILL.md
Agent Actions
工具调用
前端 Hooks
HTTP 集成
MCP
A2A
Schema 验证
TypeScript
为每个文件创建一个 Action
定义经过验证的 Action Schema
通过 HTTP 暴露 Actions
从前端 Hooks 调用 Actions
Action 名称
Action 描述
Zod Schema
结构化 Action 结果
HTTP Action 端点
前端查询结果