# Send 4todo to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "4todo",
    "name": "4todo",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/blackstorm/4todo",
    "canonicalUrl": "https://clawhub.ai/blackstorm/4todo",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/4todo",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4todo",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "references/api_v0.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "4todo",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-28T23:51:59.801Z",
      "expiresAt": "2026-05-05T23:51:59.801Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4todo",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4todo",
        "contentDisposition": "attachment; filename=\"4todo-0.1.3.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "4todo"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/4todo"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/4todo",
    "downloadUrl": "https://openagent3.xyz/downloads/4todo",
    "agentUrl": "https://openagent3.xyz/skills/4todo/agent",
    "manifestUrl": "https://openagent3.xyz/skills/4todo/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/4todo/agent.md"
  }
}
```
## Documentation

### 4todo

4to.do Eisenhower Matrix To‑Do List

### Goal

Use curl to call the 4todo API (https://4to.do/api/v0) to manage:

workspaces
todos
recurring todos


Store the token in a way that is injectable but not leak-prone (prefer OpenClaw per-run env injection; do not paste secrets into prompts, logs, or repo files).

### Required Environment Variable

FOURTODO_API_TOKEN: your 4todo API token (Bearer token)
If missing, ask the user to set it via OpenClaw config (do not ask them to paste the token into chat).

### Runtime Requirement

curl must be available on PATH (and inside the sandbox container, if the agent is sandboxed).

### User-facing output rules (important)

Be non-technical by default. Focus on outcomes, not implementation.

Avoid mentioning: curl, endpoints, headers, API mechanics, JSON payloads, config patches.
Mention technical details only when debugging or if the user explicitly asks “how does it work?”.


Do not print internal IDs by default:

Do not show ws_..., todo_..., rec_todo_... unless the user asks.
Refer to workspaces and tasks by name.
If disambiguation is needed (duplicate names), ask a clarifying question and present a short numbered list of names; only offer IDs if the user requests them.


Quadrants:

In chat, prefer plain language: “urgent & important”, “important (not urgent)”, “urgent (not important)”, “neither”.
Use IU | IN | NU | NN internally for API calls. Only show codes if the user uses codes first or explicitly asks.

### Examples (preferred)

Workspaces:

Your workspaces:
1) Haoya (default)
2) 4todo
3) Echopark

Todos (summary):

Urgent & important:
1) UK company dissolution
2) Hetzner monthly payment (recurring, monthly)

Important (not urgent):
1) Weekly review (recurring, Fridays)

### Store / Inject the Token in OpenClaw (recommended)

OpenClaw can inject environment variables only for the duration of an agent run (then restores the original env), which helps keep secrets out of prompts.

Recommended (production): set FOURTODO_API_TOKEN in your Gateway process environment using your hosting provider’s secret store, and do not store tokens in chat logs.

### Host runs (not sandboxed): use skills.entries

Edit ~/.openclaw/openclaw.json:

{
  skills: {
    entries: {
      "4todo": {
        enabled: true,
        env: {
          FOURTODO_API_TOKEN: "YOUR_4TODO_API_TOKEN"
        }
      }
    }
  }
}

Notes:

skills.entries.<skill>.env is injected only if the variable is not already set.

### Sandboxed sessions: use agents.defaults.sandbox.docker.env

When a session is sandboxed, skill env injection does not propagate into the Docker container. Provide the token via Docker env:

{
  agents: {
    defaults: {
      sandbox: {
        docker: {
          env: {
            FOURTODO_API_TOKEN: "YOUR_4TODO_API_TOKEN"
          }
        }
      }
    }
  }
}

### Request Conventions

Every request must include Authorization: Bearer <token>.
Requests with a JSON body must include Content-Type: application/json.
GET /todos requires a workspace query parameter.
Quadrants: IU | IN | NU | NN (internal).

### Workflow (recommended order)

Copy this checklist and keep it updated while executing:

Task checklist:
- [ ] List workspaces (pick \`ws_...\`)
- [ ] List todos for that workspace
- [ ] Perform the requested mutation (create / complete / reorder / recurring)
- [ ] Re-fetch to verify the change

GET /workspaces: pick a target ws_... (usually the default workspace).
GET /todos?workspace=ws_...: fetch todos (grouped by quadrant).
Create: POST /todos.
Complete: POST /todos/:id/complete (idempotent).
Reorder / move quadrant: POST /todos/reorder.
Recurring todos: use the /recurring-todos endpoints.

### HTTP Examples (curl)

This skill intentionally uses curl for maximum portability across OSes and environments.

Notes:

HTTPS only (https://4to.do/api/v0).
Always pass the token via FOURTODO_API_TOKEN (never paste tokens into chat).

curl -sS -H "Authorization: Bearer $FOURTODO_API_TOKEN" -H "Accept: application/json" "https://4to.do/api/v0/workspaces"
curl -sS -H "Authorization: Bearer $FOURTODO_API_TOKEN" -H "Accept: application/json" "https://4to.do/api/v0/todos?workspace=ws_...&show=all"
curl -sS -X POST -H "Authorization: Bearer $FOURTODO_API_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" --data-raw '{"name":"...","quadrant":"IU","workspace_id":"ws_..."}' "https://4to.do/api/v0/todos"
curl -sS -X POST -H "Authorization: Bearer $FOURTODO_API_TOKEN" -H "Accept: application/json" "https://4to.do/api/v0/todos/todo_.../complete"
curl -sS -X POST -H "Authorization: Bearer $FOURTODO_API_TOKEN" -H "Accept: application/json" -H "Content-Type: application/json" --data-raw '{"moved_todo_id":"todo_...","previous_todo_id":"todo_...","next_todo_id":null,"quadrant":"IN"}' "https://4to.do/api/v0/todos/reorder"

Note: if moved_todo_id starts with rec_todo_, the API updates only the recurring todo quadrant and ignores previous_todo_id/next_todo_id.

### Common Error Handling (agent guidance)

401 token_expired / invalid_token: stop retrying; ask the user to create a new token in 4todo settings and update OpenClaw config.
402 WORKSPACE_RESTRICTED: the workspace is read-only; do not retry mutations; switch workspace or prompt user to upgrade/unlock.
429 rate_limited: honor Retry-After / X-RateLimit-* and back off before retry.
400 Invalid quadrant type: ensure quadrant is one of IU|IN|NU|NN.

### Reference

Full API doc bundled with this skill: {baseDir}/references/api_v0.md
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: blackstorm
- Version: 0.1.3
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-28T23:51:59.801Z
- Expires at: 2026-05-05T23:51:59.801Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/4todo)
- [Send to Agent page](https://openagent3.xyz/skills/4todo/agent)
- [JSON manifest](https://openagent3.xyz/skills/4todo/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/4todo/agent.md)
- [Download page](https://openagent3.xyz/downloads/4todo)