agentsclimarketplace

Letherdo

Skill letherdo/skill/skills/letherdo

Automate Android devices and web browsers via the Letherdo API. Create tasks for mobile app automation or web browsing, send instructions, poll for completion, manage schedules, and monitor results. Use when the user wants to automate mobile or browser tasks, interact with Letherdo, or orchestrate device workflows via API.From its SKILL.md

Install
npx -y skills add letherdo/skill --skill letherdo

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

10.1 KB, as published. Nobody here has run it

Letherdo API

Programmatic access to the Letherdo device automation platform. Create tasks that run on Android emulators or web browsers, send follow-up instructions, poll for results, and manage recurring schedules.

Authentication

API key required. Check LETHERDO_API_KEY environment variable. If not set, ask the user for their key.

All requests use:

  • Base URL: https://app.letherdo.com/api
  • Header: Authorization: Bearer <LETHERDO_API_KEY>

Use curl, fetch, or any HTTP client. All request/response bodies are JSON.

API keys start with rb_ and are 67 characters long. Generate one at https://app.letherdo.com/settings or via POST /keys.

Agent Types

ValueDescription
letherdoAndroid device automation (default). Controls an Android emulator — tap, type, swipe, install apps.
browserWeb browser automation. Navigates websites, fills forms, extracts data.

Set agent_type when creating a task. Default is letherdo.

Core Workflow

Every task follows this lifecycle:

Step 1: Create a task

curl -X POST https://app.letherdo.com/api/tasks \
  -H "Authorization: Bearer $LETHERDO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"description": "Open youtube.com and search for Claude AI demos", "agent_type": "browser"}'

Response:

{
  "id": "a1b2c3d4",
  "status": "assigned",
  "agent_type": "browser",
  "description": "Open youtube.com and search for Claude AI demos"
}

Status after creation:

  • browser tasks → assigned immediately (no device needed)
  • letherdo tasks → assigned if an emulator is free, otherwise queued

Step 2: Wait for assignment (if queued)

If status is queued, poll until it becomes assigned:

curl https://app.letherdo.com/api/tasks/a1b2c3d4 \
  -H "Authorization: Bearer $LETHERDO_API_KEY"

Poll every 3-5 seconds. Tasks auto-cancel after 30 minutes in queue.

Step 3: Poll events

Once assigned, the agent is working. Poll for events using a cursor:

curl "https://app.letherdo.com/api/tasks/a1b2c3d4/events?after_seq=0" \
  -H "Authorization: Bearer $LETHERDO_API_KEY"

Response — array of events ordered by seq:

[
  {"seq": 1, "event_type": "task_created", "timestamp": 1712345678.0, "data": {}},
  {"seq": 2, "event_type": "llm_call", "timestamp": 1712345680.0, "data": {"model": "claude-opus-4-6", "input_tokens": 500, "output_tokens": 120}},
  {"seq": 3, "event_type": "tool_executed", "timestamp": 1712345682.0, "data": {"tool": "navigate", "summary": "Opened youtube.com"}},
  {"seq": 4, "event_type": "state_captured", "timestamp": 1712345683.0, "data": {"screenshot": "/api/tasks/a1b2c3d4/screenshots/4"}}
]

Polling pattern:

  • Start with after_seq=0
  • After each poll, set after_seq to the highest seq you received
  • Poll every 3-5 seconds
  • Stop when you see a terminal event

Key event types:

EventMeaningTerminal?
llm_callAgent made an LLM API call (includes token counts)No
tool_executedAgent performed an action (tap, type, navigate, etc.)No
state_capturedDevice/browser state captured — screenshot URL in data.screenshotNo
human_neededAgent is stuck and needs human inputYes
task_completedTask finished successfullyYes
task_errorTask failed with an errorYes

Step 4: Send follow-up messages (optional)

While a task is running (assigned or paused), send additional instructions:

curl -X POST https://app.letherdo.com/api/tasks/a1b2c3d4/chat \
  -H "Authorization: Bearer $LETHERDO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"message": "Now click on the first video result"}'

Also use this to respond when the agent emits human_needed.

Step 5: Get results

After the task completes, retrieve the conversation:

curl https://app.letherdo.com/api/tasks/a1b2c3d4/chat-messages \
  -H "Authorization: Bearer $LETHERDO_API_KEY"

Fetch a specific screenshot:

curl https://app.letherdo.com/api/tasks/a1b2c3d4/screenshots/1 \
  -H "Authorization: Bearer $LETHERDO_API_KEY" \
  --output screenshot.png

Task Lifecycle

queued → assigned ↔ paused → suspended → expired
                  ↘ completed
  • queued — waiting for a free emulator (Android only)
  • assigned — agent is actively working
  • paused — frozen after 5 min inactivity (auto by system)
  • suspended — snapshot saved, device released (auto after 15 min paused)
  • completed — agent finished successfully
  • expired — suspended task exceeded 7-day TTL
  • cancelled — task was cancelled by user or system

Resuming: Paused or suspended tasks can be resumed via POST /tasks/{id}/chat or POST /tasks/{id}/resume. The system restores the snapshot and continues.

Scheduling

Create recurring or one-time scheduled tasks:

# Recurring: every weekday at 9am IST
curl -X POST https://app.letherdo.com/api/schedules \
  -H "Authorization: Bearer $LETHERDO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "description": "Check my email inbox and summarize unread messages",
    "cron_expression": "0 9 * * MON-FRI",
    "timezone": "Asia/Kolkata",
    "agent_type": "browser"
  }'

# One-time: run at a specific time
curl -X POST https://app.letherdo.com/api/schedules \
  -H "Authorization: Bearer $LETHERDO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "description": "Post a tweet about our product launch",
    "scheduled_at": 1712400000.0,
    "timezone": "America/New_York",
    "agent_type": "letherdo"
  }'

Natural language parsing: Use POST /parse-schedule to convert text like "every Monday at 9am" into a cron expression or timestamp before creating the schedule.

Manual trigger: Run any schedule immediately with POST /schedules/{id}/run.

See API Reference for all schedule endpoints.

Rate Limits

ConstraintFreeProUltra
Messages/day25200Unlimited
Concurrent tasks2510
Concurrent workflows2510
New tasks/day303030
Max schedules252525
Max API keys101010

Additional constraints:

  • Tasks auto-cancel after 30 min in queue
  • Tasks auto-freeze after 5 min inactivity
  • Suspended tasks expire after 7 days

Examples

Example 1: Browser — search Google and return results

import os, time, requests

API = "https://app.letherdo.com/api"
KEY = os.environ["LETHERDO_API_KEY"]
H = {"Authorization": f"Bearer {KEY}", "Content-Type": "application/json"}

# 1. Create task
r = requests.post(f"{API}/tasks", json={
    "description": "Go to google.com, search for 'best restaurants in Mumbai', and list the top 5 results with their names and ratings",
    "agent_type": "browser"
}, headers=H)
task = r.json()
task_id = task["id"]

# 2. Poll events until done
seq = 0
while True:
    time.sleep(4)
    r = requests.get(f"{API}/tasks/{task_id}/events?after_seq={seq}", headers=H)
    events = r.json()
    for e in events:
        seq = e["seq"]
        if e["event_type"] in ("task_completed", "task_error", "human_needed"):
            print(f"Task finished: {e['event_type']}")
            break
        if e["event_type"] == "llm_call":
            print(f"Agent working: LLM call ({e['data'].get('input_tokens', 0)} tokens)")
    else:
        continue
    break

# 3. Get results
r = requests.get(f"{API}/tasks/{task_id}/chat-messages", headers=H)
messages = r.json()
for m in messages:
    if m["role"] == "assistant":
        for part in m.get("parts", []):
            if part.get("type") == "text":
                print(part["text"])

Example 2: Android — open YouTube and search

# 1. Create task (may queue if no emulator free)
r = requests.post(f"{API}/tasks", json={
    "description": "Open YouTube app, search for 'Claude AI demo', and tell me the title and view count of the top 3 results",
    "agent_type": "letherdo"
}, headers=H)
task = r.json()
task_id = task["id"]

# 2. Wait for device assignment
while task["status"] == "queued":
    time.sleep(3)
    r = requests.get(f"{API}/tasks/{task_id}", headers=H)
    task = r.json()

# 3. Poll events (same pattern as Example 1)
seq = 0
done = False
while not done:
    time.sleep(4)
    r = requests.get(f"{API}/tasks/{task_id}/events?after_seq={seq}", headers=H)
    for e in r.json():
        seq = e["seq"]
        if e["event_type"] in ("task_completed", "task_error", "human_needed"):
            done = True
            break

Example 3: Schedule a recurring check

# Parse natural language to cron
r = requests.post(f"{API}/parse-schedule", json={
    "text": "every weekday at 9:30am",
    "timezone": "Asia/Kolkata"
}, headers=H)
parsed = r.json()
# {"type": "recurring", "cron_expression": "30 9 * * MON-FRI", "cron_description": "At 09:30, Monday through Friday"}

# Create the schedule
r = requests.post(f"{API}/schedules", json={
    "description": "Check my Gmail inbox and summarize any urgent emails",
    "cron_expression": parsed["cron_expression"],
    "timezone": "Asia/Kolkata",
    "agent_type": "browser"
}, headers=H)
schedule = r.json()
print(f"Schedule created: {schedule['id']}, next run: {schedule['next_run_at']}")

# List all schedules
r = requests.get(f"{API}/schedules", headers=H)
for s in r.json():
    print(f"  {s['description']} — {'enabled' if s['enabled'] else 'disabled'}")

# Manually trigger it now
r = requests.post(f"{API}/schedules/{schedule['id']}/run", headers=H)
print(f"Manual run started: task {r.json()['task_id']}")

API Reference

For complete endpoint details (all request/response schemas, status codes, and parameters), see references/api.md.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.