
代理可以利用这些技能查询 AI-Oracle API,生成 API 调用代码。
概览
✅ 你的AI代理(掉期、清算、贷款)和需求 ✅ 你需要检测操纵✅行为 你正在构建一个需要可智能合约✅验证的标记价格 你需要通过ecrecover在链上验证的 查询带有和的实时加密价格。涵盖9个板块,1400+代币。 :CoinGecko ·CoinMarketCap ·DexAve ·DexDexTools 用TypeScript、Python、Go、Rust、React或Solidity生成。输出在交付前会自动编译和验证。 :TypeScript ·Python ·Go ·Rust ·React/Next.js ·Solidity 预构建兼容 OpenAI 的函数调用模式,用于(OpenAI SDK、LangChain、CrewAI、AutoGen)。 : - tools.json — 6个工具定义(OpenAI函数调用格式)- system_prompt.txt — 带有API约定的系统提示符- handler.py — Python工具执行器(零依赖) 公共测试密钥由APRO提供。无需注册。
概述(AI 翻译)
多源加密价格验证,带链上签名证明+生产准备的Oracle客户端代码生成。
🎯 APRO 的独特之处
与 CoinMarketCap / CoinGecko / 其他数据 API 的比较
| 功能 | APRO Oracle | CMC/CoinGecko |
|---|---|---|
| 链上签名✅ 5个ECDSA签名者 | ❌无 | |
| 多源聚合✅ 4个来源(中位数) | ❌单一来源 | |
| 智能合约可验证✅恢复 | ❌不可验证 | |
| 为AI代理设计 | ✅原生技能格式 | ⚠️通用API |
| 代码生成✅技能驱动 | ❌手动 |
当你需要APRO而不是CMC/CoinGecko时:
✅ 你的AI代理执行链上操作(掉期、清算、放贷),需要可验证的价格证明 ✅ 你需要比较4个数据源的价格以检测操纵 ✅ 你正在构建一个Perp DEX / DeFi协议,需要可通过智能合约验证的标记价格 ✅ 你需要加密签名的价格数据,可以通过[[T0]在链上验证]
📦 包含内容
🔍 技能1:行情查询——实时价格验证
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
APRO AI Oracle Skills
Multi-source crypto price verification with on-chain signature proofs + production-ready Oracle client code generation.
🎯 What Makes APRO Different
vs. CoinMarketCap / CoinGecko / Other Data APIs
| Feature | APRO Oracle | CMC/CoinGecko |
|---|---|---|
| On-chain signatures | ✅ 5 ECDSA signers | ❌ None |
| Multi-source aggregation | ✅ 4 sources (median) | ❌ Single source |
| Smart contract verifiable | ✅ ecrecover | ❌ Not verifiable |
| Designed for AI Agents | ✅ Native skill format | ⚠️ Generic API |
| Code generation | ✅ Skill-driven | ❌ Manual |
When you need APRO instead of CMC/CoinGecko:
✅ Your AI Agent executes on-chain operations (swaps, liquidations, lending) and needs verifiable price proofs
✅ You need to compare prices across 4 data sources to detect manipulation
✅ You’re building a Perp DEX / DeFi protocol that requires mark prices verifiable by smart contracts
✅ You need cryptographically signed price data that can be validated on-chain via ecrecover
📦 What’s Included
🔍 Skill 1: Ticker Query — Real-time Price Verification
Query real-time crypto prices with 4-source aggregation and 5 on-chain ECDSA signatures. Covers 9 sectors, 1400+ tokens.
Use cases:
💬 "What's the current BTC price? Show all data source quotes"
💬 "Top 5 AI sector coins by 24h gain"
💬 "Show me ETH daily OHLCV for the past week"
💬 "Get BTC price with signature data and signer addresses"
Data sources: CoinGecko · CoinMarketCap · DexAve · DexDexTools
🛠️ Skill 2: Oracle Integration — Code Generator
Generate production-ready Oracle client libraries in TypeScript, Python, Go, Rust, React, or Solidity. Output is automatically compiled and verified before delivery.
Use cases:
💬 "Generate a Python APRO Oracle client"
💬 "Create a TypeScript SDK for APRO"
💬 "I'm building a DeFi Agent with ElizaOS, integrate APRO Oracle"
💬 "Generate Solidity contract interface to verify APRO signatures"
Supported languages: TypeScript · Python · Go · Rust · React/Next.js · Solidity
⚙️ Bonus: OpenAI Function Calling Integration
Pre-built OpenAI-compatible function calling schemas for use with any LLM framework (OpenAI SDK, LangChain, CrewAI, AutoGen).
What’s included:
tools.json— 6 tool definitions (OpenAI function calling format)system_prompt.txt— System prompt with API conventionshandler.py— Python tool executor (zero dependencies)
⚡ Quick Start
Test Credentials
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add apro-com/ai-oracle-skills