AgentSkillsCN

warp-guidelines

Warp 协议有效 Warp JSON 定义的完整指南。

SKILL.md
--- frontmatter
name: warp-guidelines
description: Complete guide for creating valid Warp JSON definitions for the Warp Protocol
metadata:
  tags: warps, blockchain, web3, transactions, smart-contracts, ai
  version: 3.0.0

Warp Protocol

This skill enables creating Warp JSON definitions. A Warp is a declarative JSON object that defines executable blockchain actions, smart contract interactions, data collection, and AI tool integrations.

When to Use

Use this skill when:

  • Creating new Warp definitions
  • Modifying existing Warps
  • Building blockchain transaction UIs
  • Integrating smart contracts with AI agents
  • Working with the JoAi or usewarp.to platforms

How to Use

Read the rule files for detailed explanations and examples:

Core Concepts

Action Types

Advanced Features

Quick Reference

Minimal Warp Structure

json
{
  "protocol": "warp:3.0.0",
  "name": "Category: Name",
  "title": "User-Facing Title",
  "description": "Brief description of what this Warp does.",
  "actions": [
    {
      "type": "transfer",
      "label": "Send"
    }
  ]
}

Supported Action Types

TypePurposeRequired Fields
transferSend tokens/currencylabel
contractCall smart contractlabel, gasLimit
queryRead contract statelabel
collectHTTP data collectionlabel
linkNavigate to URLlabel, url
mcpMCP tool executionlabel
promptAI text generationlabel, prompt

Supported Chains

multiversx, vibechain, sui, ethereum, base, arbitrum, polygon, somnia, fastset, solana, near

Validation Checklist

Before finalizing a Warp:

  1. ✅ Protocol is "warp:3.0.0"
  2. ✅ Action type matches user intent
  3. ✅ All {{variables}} have corresponding inputs with as field
  4. ✅ Input type fields are explicit (string, uint256, address)
  5. ✅ Contract actions have abi signature and gasLimit
  6. ✅ Required inputs are marked with required: true