Install
openclaw skills install molt-siftValidate and extract high-confidence signals from JSON, text, or streams using customizable rules, with schema validation and integrated Solana bounty payments.
openclaw skills install molt-siftSift through the sand. Find the signal. Get paid.
# Validate JSON against a schema
molt-sift validate --input data.json --schema schema.json
# Sift text output for quality signals
molt-sift sift --input output.txt --rules crypto
# Run a bounty validation job
molt-sift bounty claim --job-id abc123 --payout-address YOUR_SOLANA_ADDRESS
from molt_sift import Sifter
sifter = Sifter(rules="crypto")
result = sifter.validate(raw_data, schema)
print(result) # {score: 0.92, clean: {...}, issues: [...]}
Start a bounty hunting agent that automatically claims and processes validation jobs:
# Start watching PayAClaw for bounty jobs
molt-sift bounty claim --auto --payout YOUR_SOLANA_ADDRESS
# Example output:
# [BountyAgent] 🦀 Starting bounty agent (watching PayAClaw)...
# [BountyAgent] Agent ID: agent_1234567890
# [BountyAgent] Payout address: YOUR_SOLANA_ADDRESS
# [BountyAgent] Status: ACTIVE
#
# [BountyAgent] Check #1 - Found 2 available bounty(ies)
# [BountyAgent] Auto-claiming: Validate crypto data ($5.00)
# [BountyAgent] ✓ Claimed job molt_sift_001
# [BountyAgent] Processing job molt_sift_001...
# [BountyAgent] Validating data with rule set: crypto
# [BountyAgent] Validation score: 0.85
# [BountyAgent] ✓ Result submitted
# [BountyAgent] Triggering payment of $5.00 USDC...
# [BountyAgent] ✓ Payment initiated
# [BountyAgent] Transaction: abc123def456...
The agent will:
Post validation bounties via HTTP API:
# Start the API server
molt-sift api start --port 8000
# In another terminal, post a bounty:
curl -X POST http://localhost:8000/bounty \
-H "Content-Type: application/json" \
-d '{
"raw_data": {
"symbol": "BTC",
"price": 42850.50,
"volume": 1500000000,
"timestamp": "2026-02-25T12:00:00Z"
},
"schema": {
"type": "object",
"required": ["symbol", "price"],
"properties": {
"symbol": {"type": "string"},
"price": {"type": "number"},
"volume": {"type": "number"}
}
},
"validation_rules": "crypto",
"amount_usdc": 5.00,
"payout_address": "AGENT_SOLANA_ADDRESS"
}'
Response:
{
"status": "validated",
"validation_score": 0.92,
"clean_data": {
"symbol": "BTC",
"price": 42850.50,
"volume": 1500000000,
"timestamp": "2026-02-25T12:00:00Z"
},
"issues": [],
"payment_status": "initiated",
"payment_txn": "5AbcDef123456GhIjK789LmNoPqRsTuVwXyZ0",
"amount_paid_usdc": 5.00,
"explorer_url": "https://solscan.io/tx/5AbcDef123456GhIjK789LmNoPqRsTuVwXyZ0?cluster=mainnet-beta"
}
Health Check:
curl http://localhost:8000/health
# {"status": "healthy", "timestamp": "2026-02-25T12:00:00Z"}
Post Bounty:
POST /bounty
Content-Type: application/json
{
"raw_data": {...}, # Data to validate
"schema": {...}, # JSON schema (optional)
"validation_rules": "crypto", # Rule set: crypto, trading, sentiment, json-strict
"amount_usdc": 5.00, # Bounty reward
"payout_address": "..." # Recipient Solana address
}
Get Job Status:
GET /bounty/<job_id>
# Returns job details and current status
Get Payment Status:
GET /payment/<transaction_signature>
# Returns payment confirmation and blockchain status
Get Statistics:
GET /stats
# Returns API statistics and volumes
1. Agent A posts bounty: "Validate this crypto data"
└─ Specifies data, validation rules, reward amount ($5)
└─ Provides payout address
2. Agent B watches PayAClaw for bounties
└─ Sees new "Molt Sift" job available
└─ Auto-claims the job
3. Agent B validates with Molt Sift
└─ Sifter processes data against rules
└─ Returns score, cleaned data, issues found
4. Agent B submits results to PayAClaw
└─ PayAClaw records the completion
5. Payment triggered via x402 Solana
└─ USDC transfer initiated to Agent B's wallet
└─ Transaction confirmed on-chain
└─ Agent B receives payment
Bounty Type: Crypto Data Validation
Bounty Type: Trading Order Validation
Bounty Type: Sentiment Analysis
These are micro-transactions perfect for autonomous agents that can process many jobs in parallel.
Pre-built rule sets for common domains:
See references/rules.md for complete list and examples.
molt-sift/
├── scripts/
│ ├── molt_sift.py (CLI entry point)
│ ├── sifter.py (core validation engine)
│ ├── bounty_agent.py (PayAClaw integration)
│ └── api_server.py (HTTP bounty endpoint)
├── references/
│ ├── rules.md (validation rule definitions)
│ └── schemas.md (common JSON schemas)
└── assets/
└── templates/ (example inputs/outputs)
Install locally:
pip install -e .
Test validation:
molt-sift validate --input sample.json --schema crypto
Start bounty agent:
molt-sift bounty claim --auto --payout YOUR_SOLANA_ADDR
Start API server:
molt-sift api start --port 8000
All results follow this structure:
{
"status": "validated|sifted|failed",
"score": 0.0-1.0,
"clean_data": {...},
"issues": [
{
"field": "price",
"issue": "missing required value",
"severity": "error|warning"
}
],
"metadata": {
"rule_set": "crypto",
"timestamp": "2026-02-25T12:00:00Z",
"processing_ms": 125
}
}
Ready for:
See references/deployment.md for setup guides.