{
  "schemaVersion": "1.0",
  "item": {
    "slug": "clawdbot-logs",
    "name": "Clawdbot Logs",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/satriapamudji/clawdbot-logs",
    "canonicalUrl": "https://clawhub.ai/satriapamudji/clawdbot-logs",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/clawdbot-logs",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=clawdbot-logs",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/response-times.sh",
      "scripts/session-stats.sh"
    ],
    "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. 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. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-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/clawdbot-logs"
    },
    "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/clawdbot-logs",
    "agentPageUrl": "https://openagent3.xyz/skills/clawdbot-logs/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawdbot-logs/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawdbot-logs/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. 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. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Clawdbot Logs & Diagnostics",
        "body": "Analyze Clawdbot performance, errors, and session data."
      },
      {
        "title": "Response Times (last N messages)",
        "body": "scripts/response-times.sh [count]"
      },
      {
        "title": "Recent Errors",
        "body": "journalctl --user -u clawdbot-gateway.service --no-pager --since \"1 hour ago\" | grep -iE \"(error|fail|invalid)\" | tail -20"
      },
      {
        "title": "Session Stats",
        "body": "scripts/session-stats.sh"
      },
      {
        "title": "Gateway Status",
        "body": "systemctl --user status clawdbot-gateway.service --no-pager"
      },
      {
        "title": "Config Validation",
        "body": "cat ~/.clawdbot/clawdbot.json | jq . > /dev/null && echo \"Config valid\" || echo \"Config invalid\""
      },
      {
        "title": "Log Sources",
        "body": "SourceLocationContainsJournaljournalctl --user -u clawdbot-gateway.serviceSession state, errors, tool execDaily log/tmp/clawdbot/clawdbot-YYYY-MM-DD.logDetailed JSON logsSession file~/.clawdbot/agents/main/sessions/*.jsonlFull conversation, token usage, costsSessions meta~/.clawdbot/agents/main/sessions/sessions.jsonCurrent session state, model info"
      },
      {
        "title": "Slow Responses",
        "body": "Check response times: scripts/response-times.sh 20\nCheck token count in sessions.json: jq '.[\"agent:main:main\"].totalTokens' ~/.clawdbot/agents/main/sessions/sessions.json\nIf tokens > 30000, run /compact in Telegram or start new session"
      },
      {
        "title": "Config Errors",
        "body": "journalctl --user -u clawdbot-gateway.service --no-pager --since \"10 minutes ago\" | grep -i \"invalid config\""
      },
      {
        "title": "API Costs (from session)",
        "body": "scripts/session-stats.sh"
      },
      {
        "title": "Filter journal by category",
        "body": "# Session state changes\njournalctl --user -u clawdbot-gateway.service | grep \"session state\"\n\n# Tool execution\njournalctl --user -u clawdbot-gateway.service | grep \"\\[tools\\]\"\n\n# Telegram activity\njournalctl --user -u clawdbot-gateway.service | grep \"\\[telegram\\]\""
      },
      {
        "title": "Parse session file for recent messages",
        "body": "tail -20 ~/.clawdbot/agents/main/sessions/*.jsonl | jq -r 'select(.message.role==\"user\") | .message.content[0].text' 2>/dev/null | tail -10"
      }
    ],
    "body": "Clawdbot Logs & Diagnostics\n\nAnalyze Clawdbot performance, errors, and session data.\n\nQuick Commands\nResponse Times (last N messages)\nscripts/response-times.sh [count]\n\nRecent Errors\njournalctl --user -u clawdbot-gateway.service --no-pager --since \"1 hour ago\" | grep -iE \"(error|fail|invalid)\" | tail -20\n\nSession Stats\nscripts/session-stats.sh\n\nGateway Status\nsystemctl --user status clawdbot-gateway.service --no-pager\n\nConfig Validation\ncat ~/.clawdbot/clawdbot.json | jq . > /dev/null && echo \"Config valid\" || echo \"Config invalid\"\n\nLog Sources\nSource\tLocation\tContains\nJournal\tjournalctl --user -u clawdbot-gateway.service\tSession state, errors, tool exec\nDaily log\t/tmp/clawdbot/clawdbot-YYYY-MM-DD.log\tDetailed JSON logs\nSession file\t~/.clawdbot/agents/main/sessions/*.jsonl\tFull conversation, token usage, costs\nSessions meta\t~/.clawdbot/agents/main/sessions/sessions.json\tCurrent session state, model info\nCommon Diagnostics\nSlow Responses\nCheck response times: scripts/response-times.sh 20\nCheck token count in sessions.json: jq '.[\"agent:main:main\"].totalTokens' ~/.clawdbot/agents/main/sessions/sessions.json\nIf tokens > 30000, run /compact in Telegram or start new session\nConfig Errors\njournalctl --user -u clawdbot-gateway.service --no-pager --since \"10 minutes ago\" | grep -i \"invalid config\"\n\nAPI Costs (from session)\nscripts/session-stats.sh\n\nUseful Patterns\nFilter journal by category\n# Session state changes\njournalctl --user -u clawdbot-gateway.service | grep \"session state\"\n\n# Tool execution\njournalctl --user -u clawdbot-gateway.service | grep \"\\[tools\\]\"\n\n# Telegram activity\njournalctl --user -u clawdbot-gateway.service | grep \"\\[telegram\\]\"\n\nParse session file for recent messages\ntail -20 ~/.clawdbot/agents/main/sessions/*.jsonl | jq -r 'select(.message.role==\"user\") | .message.content[0].text' 2>/dev/null | tail -10"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/satriapamudji/clawdbot-logs",
    "publisherUrl": "https://clawhub.ai/satriapamudji/clawdbot-logs",
    "owner": "satriapamudji",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/clawdbot-logs",
    "downloadUrl": "https://openagent3.xyz/downloads/clawdbot-logs",
    "agentUrl": "https://openagent3.xyz/skills/clawdbot-logs/agent",
    "manifestUrl": "https://openagent3.xyz/skills/clawdbot-logs/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/clawdbot-logs/agent.md"
  }
}