{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/letheclaw",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=letheclaw",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "manifest.yaml",
      "README.md",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/letheclaw",
    "agentPageUrl": "https://openagent3.xyz/skills/letheclaw/agent",
    "manifestUrl": "https://openagent3.xyz/skills/letheclaw/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/letheclaw/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "letheClaw — Agent memory",
        "body": "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.\n\nEnvironment patterns:\n\nDocker Compose with letheClaw API container: http://api:8080\nHost machine from Docker Desktop (Windows/Mac): http://host.docker.internal:51234\nLocal testing (same machine): http://localhost:51234\n\nIf LETHECLAW_API_URL is unset, try http://host.docker.internal:51234 first (Docker Desktop default), then ask the user."
      },
      {
        "title": "Retrieval Rule",
        "body": "When the user asks about history, decisions, prior work, \"what did we do\", or any past context:\n\nALWAYS query letheClaw API FIRST:\ncurl -s \"{LETHECLAW_API_URL}/memory/search?q=<query>&limit=5\"\n\n\n\nUse the returned content field directly — search results include full text. No need for memory_get or flat file access.\n\n\nNEVER use memory_search tool as the first step. That tool searches flat markdown files, which are backup/reference only.\n\n\nApply criticality filtering when appropriate:\n\nSecurity/config: add &min_criticality=0.7\nGeneral recall: add &min_criticality=0.5\nExploratory: no filter\n\n\n\nUse tag pre-filtering when query domain is clear (e.g., tags=moltbook for Moltbook questions).\n\n\nletheClaw is the authoritative memory system. Flat files may be stale or incomplete."
      },
      {
        "title": "Storage Rule",
        "body": "When the user says \"log this\", \"remember that\", or you observe something worth recording:\n\nPOST to letheClaw API (see \"Store a memory\" below)\nAssign appropriate criticality: 0.3 (transient) → 0.5 (useful) → 0.7 (important) → 0.9 (critical)\nTag precisely: 2-5 specific tags (type + domain, e.g. [\"episodic\", \"security\", \"moltbook\"])\nSet source: operator_input (user said it), direct_observation (you verified it), inferred (derived)\n\nNo exceptions. This is operator-mandated protocol."
      },
      {
        "title": "Store a memory",
        "body": "POST {LETHECLAW_API_URL}/memory\nBody (JSON): content (required), optional: source (e.g. operator_input, direct_observation, inferred), tags (array), operator, session_key, context\nReturns: memory_id (UUID). Save it to update criticality or fetch provenance later."
      },
      {
        "title": "Search memories (semantic)",
        "body": "GET {LETHECLAW_API_URL}/memory/search?q={query}&limit=5\nOptional: min_criticality (0–1) to filter by importance.\nOptional: tags (comma-separated) to pre-filter by tag before semantic search (e.g. tags=moltbook,security)\nReturns: results array with id, content (full text), criticality, tags, source, created_at, access_count\n\nImportant: Search results include full content — you do NOT need to call memory_get afterward. Use the returned content directly.\n\nCriticality filtering guidance:\n\nSecurity/config queries: min_criticality=0.7 (critical knowledge only)\nGeneral recall: min_criticality=0.5 (useful and above)\nExploratory search: no filter (all results)\n\nTag pre-filtering (performance optimization):\nWhen query intent is clear, pre-filter by tags to reduce search space:\n\n# \"Latest Moltbook posts\"\ncurl \"{LETHECLAW_API_URL}/memory/search?q=posts&tags=moltbook,episodic&limit=5\"\n\n# \"Security findings\"\ncurl \"{LETHECLAW_API_URL}/memory/search?q=findings&tags=security,semantic&min_criticality=0.7&limit=3\""
      },
      {
        "title": "Recent memories",
        "body": "GET {LETHECLAW_API_URL}/memory/recent\nReturns: Recently stored memories (from cache or DB)."
      },
      {
        "title": "Update criticality (manual)",
        "body": "POST {LETHECLAW_API_URL}/memory/{memory_id}/criticality\nBody (JSON): criticality (0–1, required), optional reason\nUse when the user or you want to mark a memory as more or less important."
      },
      {
        "title": "Mark operator correction",
        "body": "POST {LETHECLAW_API_URL}/memory/{memory_id}/correction\nNo 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."
      },
      {
        "title": "Get provenance",
        "body": "GET {LETHECLAW_API_URL}/memory/{memory_id}/provenance\nReturns: Full memory object plus events (history of criticality changes: manual_boost, operator_correction, etc.) and correction_count."
      },
      {
        "title": "Errors",
        "body": "400 — Invalid request or invalid memory ID format.\n404 — Memory not found (wrong or deleted ID).\n5xx — Server/upstream error; suggest checking if letheClaw is running and reachable.\n\nWhen 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."
      }
    ],
    "body": "letheClaw — Agent memory\n\nYou 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.\n\nEnvironment patterns:\n\nDocker Compose with letheClaw API container: http://api:8080\nHost machine from Docker Desktop (Windows/Mac): http://host.docker.internal:51234\nLocal testing (same machine): http://localhost:51234\n\nIf LETHECLAW_API_URL is unset, try http://host.docker.internal:51234 first (Docker Desktop default), then ask the user.\n\n⚠️ PROTOCOL (NON-NEGOTIABLE)\nRetrieval Rule\n\nWhen the user asks about history, decisions, prior work, \"what did we do\", or any past context:\n\nALWAYS query letheClaw API FIRST:\n\ncurl -s \"{LETHECLAW_API_URL}/memory/search?q=<query>&limit=5\"\n\n\nUse the returned content field directly — search results include full text. No need for memory_get or flat file access.\n\nNEVER use memory_search tool as the first step. That tool searches flat markdown files, which are backup/reference only.\n\nApply criticality filtering when appropriate:\n\nSecurity/config: add &min_criticality=0.7\nGeneral recall: add &min_criticality=0.5\nExploratory: no filter\n\nUse tag pre-filtering when query domain is clear (e.g., tags=moltbook for Moltbook questions).\n\nletheClaw is the authoritative memory system. Flat files may be stale or incomplete.\n\nStorage Rule\n\nWhen the user says \"log this\", \"remember that\", or you observe something worth recording:\n\nPOST to letheClaw API (see \"Store a memory\" below)\nAssign appropriate criticality: 0.3 (transient) → 0.5 (useful) → 0.7 (important) → 0.9 (critical)\nTag precisely: 2-5 specific tags (type + domain, e.g. [\"episodic\", \"security\", \"moltbook\"])\nSet source: operator_input (user said it), direct_observation (you verified it), inferred (derived)\n\nNo exceptions. This is operator-mandated protocol.\n\nStore a memory\nPOST {LETHECLAW_API_URL}/memory\nBody (JSON): content (required), optional: source (e.g. operator_input, direct_observation, inferred), tags (array), operator, session_key, context\nReturns: memory_id (UUID). Save it to update criticality or fetch provenance later.\nSearch memories (semantic)\nGET {LETHECLAW_API_URL}/memory/search?q={query}&limit=5\nOptional: min_criticality (0–1) to filter by importance.\nOptional: tags (comma-separated) to pre-filter by tag before semantic search (e.g. tags=moltbook,security)\nReturns: results array with id, content (full text), criticality, tags, source, created_at, access_count\n\nImportant: Search results include full content — you do NOT need to call memory_get afterward. Use the returned content directly.\n\nCriticality filtering guidance:\n\nSecurity/config queries: min_criticality=0.7 (critical knowledge only)\nGeneral recall: min_criticality=0.5 (useful and above)\nExploratory search: no filter (all results)\n\nTag pre-filtering (performance optimization): When query intent is clear, pre-filter by tags to reduce search space:\n\n# \"Latest Moltbook posts\"\ncurl \"{LETHECLAW_API_URL}/memory/search?q=posts&tags=moltbook,episodic&limit=5\"\n\n# \"Security findings\"\ncurl \"{LETHECLAW_API_URL}/memory/search?q=findings&tags=security,semantic&min_criticality=0.7&limit=3\"\n\nRecent memories\nGET {LETHECLAW_API_URL}/memory/recent\nReturns: Recently stored memories (from cache or DB).\nUpdate criticality (manual)\nPOST {LETHECLAW_API_URL}/memory/{memory_id}/criticality\nBody (JSON): criticality (0–1, required), optional reason\nUse when the user or you want to mark a memory as more or less important.\nMark operator correction\nPOST {LETHECLAW_API_URL}/memory/{memory_id}/correction\nNo 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.\nGet provenance\nGET {LETHECLAW_API_URL}/memory/{memory_id}/provenance\nReturns: Full memory object plus events (history of criticality changes: manual_boost, operator_correction, etc.) and correction_count.\nErrors\n400 — Invalid request or invalid memory ID format.\n404 — Memory not found (wrong or deleted ID).\n5xx — Server/upstream error; suggest checking if letheClaw is running and reachable.\n\nWhen 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": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/JoahTheron/letheclaw",
    "publisherUrl": "https://clawhub.ai/JoahTheron/letheclaw",
    "owner": "JoahTheron",
    "version": "1.0.1",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}