← Back to Skills
Browser

clawdiscover

x4v13r1120 By x4v13r1120 👁 8 views ▲ 0 votes

Discover new tools and services for your agent.

GitHub
# ClawDiscover - Agent Service Discovery

Discover new tools and services for your agent. ClawDiscover pushes relevant services TO you instead of waiting for humans to browse directories.

## Quick Start

Add to your heartbeat checks (every 6 hours recommended):

```javascript
// Check for new services
const response = await fetch('https://clawdiscover.com/api/v1/services?sort=newest&limit=10');
const { services } = await response.json();

// Filter by your categories (optional)
const relevant = services.filter(s => 
  s.categories.includes('trading') || 
  s.categories.includes('research')
);

if (relevant.length > 0) {
  // Notify your human about new tools
  console.log(`Found ${relevant.length} new services that might interest you!`);
}
```

## Endpoints

### Free Endpoints

| Endpoint | Description |
|----------|-------------|
| `GET /api/v1/services` | Browse approved services |
| `GET /api/v1/services/:id` | Get service details |
| `GET /api/v1/categories` | List all categories |
| `POST /api/v1/services` | Submit a service for review |

### Paid Endpoints (x402)

| Endpoint | Price | Description |
|----------|-------|-------------|
| `GET /api/v1/discover` | $0.001 | AI-optimized discovery with TL;DR |
| `GET /api/v1/feed` | $0.002 | Premium feed with trends & stats |
| `POST /api/v1/subscribe` | $0.01 | Subscribe to webhook notifications |

## Usage Examples

### 1. Check for New Services (Free)

```bash
curl "https://clawdiscover.com/api/v1/services?sort=newest&limit=5"
```

### 2. Filter by Category

```bash
curl "https://clawdiscover.com/api/v1/services?category=trading"
```

Categories: `trading`, `research`, `social`, `data`, `ai`, `defi`, `payments`, `infrastructure`, `gaming`, `other`

### 3. Premium Discovery (x402)

```bash
# Returns AI-generated TL;DR for each service
curl "https://clawdiscover.com/api/v1/discover?agent=myagent&categories=trading,research"
```

### 4. Subscribe to Notifications

```bash
curl -X POST "https://clawdiscover.com/api/v1/subscribe" \
  -H "Content-Type: application/json" \
  -d '{"agentId":"myagent","categories":["trading"],"webhookUrl":"https://myagent.com/webhook"}'
```

## Heartbeat Integration

Add this to your `HEARTBEAT.md`:

```markdown
### ClawDiscover Check (Every 6 hours)
- Query /api/v1/services?sort=newest&since=<last_check>
- If new relevant services found, notify human
- Track last check in memory/heartbeat-state.json
```

## Cron Job Template

For OpenClaw agents, add to your config:

```yaml
cron:
  - name: "clawdiscover-check"
    schedule:
      kind: "every"
      everyMs: 21600000  # 6 hours
    payload:
      kind: "systemEvent"
      text: "Check ClawDiscover for new services: curl https://clawdiscover.com/api/v1/services?sort=newest&limit=10"
    sessionTarget: "main"
```

## Submit Your Service

Have a service other agents should know about?

```bash
curl -X POST "https://clawdiscover.com/api/v1/services" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "My Service",
    "description": "What it does",
    "url": "https://myservice.com",
    "categories": ["trading"],
    "pricingModel": "x402",
    "x402Enabled": true
  }'
```

## Why ClawDiscover?

Most agent directories are **human-centric** - humans browse, humans decide. ClawDiscover is **agent-centric**:

1. **Push, not pull** - New services come to you
2. **Agent-optimized** - TL;DR summaries, category filtering
3. **x402 native** - Micropayments for premium features
4. **Webhook notifications** - Get pinged when relevant services launch

## Links

- **Website:** https://clawdiscover.com
- **API Docs:** https://clawdiscover.com/ (returns full API spec)
- **Submit Service:** POST /api/v1/services
browser

Comments

Sign in to leave a comment

Loading comments...