# Send letheClaw 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "letheclaw",
    "name": "letheClaw",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/JoahTheron/letheclaw",
    "canonicalUrl": "https://clawhub.ai/JoahTheron/letheclaw",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/letheclaw",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=letheclaw",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "manifest.yaml",
      "README.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "letheclaw",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-12T05:45:22.787Z",
      "expiresAt": "2026-05-19T05:45:22.787Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=letheclaw",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=letheclaw",
        "contentDisposition": "attachment; filename=\"letheclaw-1.0.1.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "letheclaw"
      },
      "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/letheclaw"
    },
    "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/letheclaw",
    "downloadUrl": "https://openagent3.xyz/downloads/letheclaw",
    "agentUrl": "https://openagent3.xyz/skills/letheclaw/agent",
    "manifestUrl": "https://openagent3.xyz/skills/letheclaw/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/letheclaw/agent.md"
  }
}
```
## Documentation

### letheClaw — Agent memory

You can use the letheClaw API to store and retrieve memories for the user or the current session. The API base URL is in the environment variable LETHECLAW_API_URL.

Environment patterns:

Docker Compose with letheClaw API container: http://api:8080
Host machine from Docker Desktop (Windows/Mac): http://host.docker.internal:51234
Local testing (same machine): http://localhost:51234

If LETHECLAW_API_URL is unset, try http://host.docker.internal:51234 first (Docker Desktop default), then ask the user.

### Retrieval Rule

When the user asks about history, decisions, prior work, "what did we do", or any past context:

ALWAYS query letheClaw API FIRST:
curl -s "{LETHECLAW_API_URL}/memory/search?q=<query>&limit=5"



Use the returned content field directly — search results include full text. No need for memory_get or flat file access.


NEVER use memory_search tool as the first step. That tool searches flat markdown files, which are backup/reference only.


Apply criticality filtering when appropriate:

Security/config: add &min_criticality=0.7
General recall: add &min_criticality=0.5
Exploratory: no filter



Use tag pre-filtering when query domain is clear (e.g., tags=moltbook for Moltbook questions).


letheClaw is the authoritative memory system. Flat files may be stale or incomplete.

### Storage Rule

When the user says "log this", "remember that", or you observe something worth recording:

POST to letheClaw API (see "Store a memory" below)
Assign appropriate criticality: 0.3 (transient) → 0.5 (useful) → 0.7 (important) → 0.9 (critical)
Tag precisely: 2-5 specific tags (type + domain, e.g. ["episodic", "security", "moltbook"])
Set source: operator_input (user said it), direct_observation (you verified it), inferred (derived)

No exceptions. This is operator-mandated protocol.

### Store a memory

POST {LETHECLAW_API_URL}/memory
Body (JSON): content (required), optional: source (e.g. operator_input, direct_observation, inferred), tags (array), operator, session_key, context
Returns: memory_id (UUID). Save it to update criticality or fetch provenance later.

### Search memories (semantic)

GET {LETHECLAW_API_URL}/memory/search?q={query}&limit=5
Optional: min_criticality (0–1) to filter by importance.
Optional: tags (comma-separated) to pre-filter by tag before semantic search (e.g. tags=moltbook,security)
Returns: results array with id, content (full text), criticality, tags, source, created_at, access_count

Important: Search results include full content — you do NOT need to call memory_get afterward. Use the returned content directly.

Criticality filtering guidance:

Security/config queries: min_criticality=0.7 (critical knowledge only)
General recall: min_criticality=0.5 (useful and above)
Exploratory search: no filter (all results)

Tag pre-filtering (performance optimization):
When query intent is clear, pre-filter by tags to reduce search space:

# "Latest Moltbook posts"
curl "{LETHECLAW_API_URL}/memory/search?q=posts&tags=moltbook,episodic&limit=5"

# "Security findings"
curl "{LETHECLAW_API_URL}/memory/search?q=findings&tags=security,semantic&min_criticality=0.7&limit=3"

### Recent memories

GET {LETHECLAW_API_URL}/memory/recent
Returns: Recently stored memories (from cache or DB).

### Update criticality (manual)

POST {LETHECLAW_API_URL}/memory/{memory_id}/criticality
Body (JSON): criticality (0–1, required), optional reason
Use when the user or you want to mark a memory as more or less important.

### Mark operator correction

POST {LETHECLAW_API_URL}/memory/{memory_id}/correction
No body. Call when the user corrects something about this memory; this boosts criticality and increments a correction counter so provenance shows how often it was corrected.

### Get provenance

GET {LETHECLAW_API_URL}/memory/{memory_id}/provenance
Returns: Full memory object plus events (history of criticality changes: manual_boost, operator_correction, etc.) and correction_count.

### Errors

400 — Invalid request or invalid memory ID format.
404 — Memory not found (wrong or deleted ID).
5xx — Server/upstream error; suggest checking if letheClaw is running and reachable.

When the user says they want to remember something, search memory, see why a memory is important, or correct a memory, use the appropriate endpoint above.
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: JoahTheron
- Version: 1.0.1
## 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-05-12T05:45:22.787Z
- Expires at: 2026-05-19T05:45:22.787Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/letheclaw)
- [Send to Agent page](https://openagent3.xyz/skills/letheclaw/agent)
- [JSON manifest](https://openagent3.xyz/skills/letheclaw/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/letheclaw/agent.md)
- [Download page](https://openagent3.xyz/downloads/letheclaw)