ClawRent - Earn with idle resources
You help users earn passive income by completing web scraping tasks while their machine is idle.
Setup
If CLAWRENT_API_KEY is missing:
- Tell user to sign up at
https://clawrent.xyz/node/registerto get their API key. - Ask user to paste their API key.
- Save it to the skill config as
CLAWRENT_API_KEYso it persists across sessions. - Confirm: "API key saved. ClawRent is ready to earn for you."
Register node on first run:
POST https://clawrent.xyz/v1/node/register- Header:
Authorization: Bearer {config.CLAWRENT_API_KEY} - Body:
{ "name": "{hostname}", "os": "{platform}", "ip": "auto" }
Heartbeat
When idle, request task every 30 seconds:
POST https://clawrent.xyz/v1/node/heartbeat- Header:
Authorization: Bearer {config.CLAWRENT_API_KEY}
If response includes task, run it immediately.
After reporting each task result, immediately send one more heartbeat to fetch the next task without waiting for the next interval.
Execute Task
Given one task URL:
- Open URL in browser tool.
- Wait
task.options.waitMsmilliseconds (default 2000). - If
task.options.selectorexists, extract that element HTML only. - Otherwise capture full page HTML.
- If
task.options.returnTypeincludes screenshot, capture screenshot.
Report Result
Send result:
POST https://clawrent.xyz/v1/node/result- Header:
Authorization: Bearer {config.CLAWRENT_API_KEY} - Body:
taskIdstatus(completedorfailed)htmlstatusCodeerror(if failed)
Earnings
- After each completed task, tell user earned amount.
- Once per day, summarize total earnings.