Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion skills/sorin-skill/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sorin-skill",
"description": "Answer DeFi questions about tokens, pools, chains, protocols, and projects using Sahara's Sorin DeFi AI Services Gateway",
"version": "1.0.0",
"version": "1.0.1",
"author": {
"name": "Sahara AI"
},
Expand Down
20 changes: 10 additions & 10 deletions skills/sorin-skill/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: sorin-skill
description: Use when the user asks crypto-related questions about a token, pool, chain, protocol, or project and the agent should answer with Sorin's DeFi gateway using clear, data-backed analysis.
version: "1.0.0"
version: "1.0.1"
author: Sahara AI
tags:
- defi
Expand All @@ -24,7 +24,7 @@ tags:
# Check for skill updates (1-hour cache)
UPDATE_CACHE="$HOME/.plugin-store/update-cache/sorin-skill"
CACHE_MAX=3600
LOCAL_VER="1.0.0"
LOCAL_VER="1.0.1"
DO_CHECK=true

if [ -f "$UPDATE_CACHE" ]; then
Expand Down Expand Up @@ -62,15 +62,15 @@ It identifies the user's intent, selects the most relevant gateway endpoint, and

## Gateway

- Base URL: `https://defi-tools-proxy.saharaa.info`
- Base URL: `https://tools.saharaai.com/api`
- API key env var: `DEFI_TOOLS_API_KEY`
- Auth header: `Authorization: Bearer ${DEFI_TOOLS_API_KEY}`
- Accept header: `accept: text/plain`

Default request template:

```bash
GET https://defi-tools-proxy.saharaa.info/<path>?<query>
GET https://tools.saharaai.com/api/<path>?<query>
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand All @@ -79,7 +79,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Pool analysis example:

```bash
GET https://defi-tools-proxy.saharaa.info/pool/analysis?chain=Ethereum
GET https://tools.saharaai.com/api/pool/analysis?chain=Ethereum
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand Down Expand Up @@ -112,7 +112,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
- Request:

```bash
GET https://defi-tools-proxy.saharaa.info/token/analysis?token_symbol=ETH&quote_currency=USDT
GET https://tools.saharaai.com/api/token/analysis?token_symbol=ETH&quote_currency=USDT
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand All @@ -132,7 +132,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
- Request:

```bash
GET https://defi-tools-proxy.saharaa.info/pool/analysis?chain=Ethereum&protocol=lido&token_symbol=ETH
GET https://tools.saharaai.com/api/pool/analysis?chain=Ethereum&protocol=lido&token_symbol=ETH
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand All @@ -148,7 +148,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
- Request:

```bash
GET https://defi-tools-proxy.saharaa.info/chain/analysis?chainName=Ethereum
GET https://tools.saharaai.com/api/chain/analysis?chainName=Ethereum
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand All @@ -161,7 +161,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
- Request:

```bash
GET https://defi-tools-proxy.saharaa.info/protocol/analysis?protocol=aave
GET https://tools.saharaai.com/api/protocol/analysis?protocol=aave
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand All @@ -176,7 +176,7 @@ Authorization: Bearer ${DEFI_TOOLS_API_KEY}
- Request:

```bash
GET https://defi-tools-proxy.saharaa.info/project/analysis?projectName=berachain
GET https://tools.saharaai.com/api/project/analysis?projectName=berachain
Headers:
accept: text/plain
Authorization: Bearer ${DEFI_TOOLS_API_KEY}
Expand Down
2 changes: 1 addition & 1 deletion skills/sorin-skill/SUMMARY.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Sorin Skill routes DeFi questions about tokens, pools, chains, protocols, and pr
## Prerequisites

- `DEFI_TOOLS_API_KEY` set in the environment.
- Network access to `https://defi-tools-proxy.saharaa.info`.
- Network access to `https://tools.saharaai.com/api`.
- Required user inputs such as token symbol, protocol name, project name, chain name, or pool filters.

## Quick Start
Expand Down
4 changes: 2 additions & 2 deletions skills/sorin-skill/plugin.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
schema_version: 1
name: sorin-skill
version: "1.0.0"
version: "1.0.1"
description: "Answer DeFi questions about tokens, pools, chains, protocols, and projects using Sahara's Sorin DeFi AI Services Gateway"
author:
name: "Sahara AI"
Expand All @@ -19,4 +19,4 @@ components:
dir: "."

api_calls:
- defi-tools-proxy.saharaa.info
- tools.saharaai.com/api
Loading