{
  "schemaVersion": "1.0",
  "item": {
    "slug": "chat-history-analyzer",
    "name": "Chat History Analyzer",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/RuneweaverStudios/chat-history-analyzer",
    "canonicalUrl": "https://clawhub.ai/RuneweaverStudios/chat-history-analyzer",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/chat-history-analyzer",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=chat-history-analyzer",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "_meta.json",
      "scripts/analyze_logs.py",
      "scripts/chat_history_analyzer.py",
      "scripts/combined_analysis.py"
    ],
    "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-04-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/chat-history-analyzer"
    },
    "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/chat-history-analyzer",
    "agentPageUrl": "https://openagent3.xyz/skills/chat-history-analyzer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chat-history-analyzer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chat-history-analyzer/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": "Description",
        "body": "Extracts and analyzes Cursor IDE chat history to identify key discoveries, obstacles, and solutions, saving findings to the journal."
      },
      {
        "title": "Chat History Analyzer | OpenClaw Skill",
        "body": "Extracts chat history from Cursor IDE's local SQLite databases, analyzes the last hour of conversations for key discoveries, obstacles, and solutions, and saves structured findings to the OpenClaw journal directory."
      },
      {
        "title": "Usage",
        "body": "As a scheduled cron job to continuously track insights from chat history\nManually to analyze recent chat activity\nTo identify recurring patterns, problems, or solutions in your workflow\n\n# Combined log and chat history analysis (for cron jobs)\npython3 /Users/ghost/.openclaw/workspace/skills/chat-history-analyzer/scripts/analyze_logs.py\n\n# Analyze last hour of chat history only\npython3 /Users/ghost/.openclaw/workspace/skills/chat-history-analyzer/scripts/chat_history_analyzer.py\n\n# Analyze last 2 hours\npython3 /Users/ghost/.openclaw/workspace/skills/chat-history-analyzer/scripts/chat_history_analyzer.py --hours 2\n\n# Output JSON format\npython3 /Users/ghost/.openclaw/workspace/skills/chat-history-analyzer/scripts/analyze_logs.py --json"
      },
      {
        "title": "What this skill does",
        "body": "Extracts chat history from Cursor's SQLite databases (global and workspace-specific)\nAnalyzes the last hour of messages for patterns indicating discoveries, obstacles, and solutions\nSaves structured findings to /Users/ghost/.openclaw/journal/ as markdown files\nRuns automatically via cron job every hour"
      },
      {
        "title": "Integration as a Cron Job",
        "body": "This skill is designed to run hourly via OpenClaw cron. The analyze_logs.py script combines both log analysis and chat history analysis.\n\nExample Cron Job Configuration:\n\n{\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"Run analyze_logs.py script to analyze the last hour of logs and Cursor chat history, saving findings to journal.\",\n    \"model\": \"openrouter/google/gemini-2.5-flash\",\n    \"thinking\": \"low\",\n    \"timeoutSeconds\": 180\n  },\n  \"schedule\": {\n    \"kind\": \"cron\",\n    \"cron\": \"0 * * * *\"\n  },\n  \"delivery\": {\n    \"mode\": \"announce\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"name\": \"Chat History & Log Analysis\"\n}\n\nOr run directly via shell script:\n\n# Add to crontab (crontab -e)\n# Run every hour at minute 0\n0 * * * * /Users/ghost/.openclaw/workspace/skills/chat-history-analyzer/scripts/analyze_logs.py --json >> /Users/ghost/.openclaw/logs/analyze_logs.log 2>&1"
      },
      {
        "title": "Output Format",
        "body": "Findings are saved to /Users/ghost/.openclaw/journal/chat_analysis_YYYY-MM-DD_HHMMSS.md with sections for:\n\nKey Discoveries: Successful findings, realizations, and implementations\nObstacles Encountered: Errors, failures, and blockers\nSolutions Found: Fixes, workarounds, and resolutions"
      },
      {
        "title": "Requirements",
        "body": "Cursor IDE installed with chat history stored locally\nSQLite3 available (usually pre-installed on macOS)\nOpenClaw journal directory writable"
      },
      {
        "title": "How it works",
        "body": "Connects to Cursor's SQLite databases at ~/Library/Application Support/Cursor/User/globalStorage/state.vscdb and workspace-specific databases\nExtracts messages from the last N hours (default: 1 hour)\nAnalyzes message content using pattern matching for discoveries, obstacles, and solutions\nSaves structured markdown report to the journal directory"
      }
    ],
    "body": "Chat History Analyzer | OpenClaw Skill\nDescription\n\nExtracts and analyzes Cursor IDE chat history to identify key discoveries, obstacles, and solutions, saving findings to the journal.\n\nChat History Analyzer | OpenClaw Skill\n\nExtracts chat history from Cursor IDE's local SQLite databases, analyzes the last hour of conversations for key discoveries, obstacles, and solutions, and saves structured findings to the OpenClaw journal directory.\n\nUsage\nAs a scheduled cron job to continuously track insights from chat history\nManually to analyze recent chat activity\nTo identify recurring patterns, problems, or solutions in your workflow\n# Combined log and chat history analysis (for cron jobs)\npython3 /Users/ghost/.openclaw/workspace/skills/chat-history-analyzer/scripts/analyze_logs.py\n\n# Analyze last hour of chat history only\npython3 /Users/ghost/.openclaw/workspace/skills/chat-history-analyzer/scripts/chat_history_analyzer.py\n\n# Analyze last 2 hours\npython3 /Users/ghost/.openclaw/workspace/skills/chat-history-analyzer/scripts/chat_history_analyzer.py --hours 2\n\n# Output JSON format\npython3 /Users/ghost/.openclaw/workspace/skills/chat-history-analyzer/scripts/analyze_logs.py --json\n\nWhat this skill does\nExtracts chat history from Cursor's SQLite databases (global and workspace-specific)\nAnalyzes the last hour of messages for patterns indicating discoveries, obstacles, and solutions\nSaves structured findings to /Users/ghost/.openclaw/journal/ as markdown files\nRuns automatically via cron job every hour\nIntegration as a Cron Job\n\nThis skill is designed to run hourly via OpenClaw cron. The analyze_logs.py script combines both log analysis and chat history analysis.\n\nExample Cron Job Configuration:\n\n{\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"Run analyze_logs.py script to analyze the last hour of logs and Cursor chat history, saving findings to journal.\",\n    \"model\": \"openrouter/google/gemini-2.5-flash\",\n    \"thinking\": \"low\",\n    \"timeoutSeconds\": 180\n  },\n  \"schedule\": {\n    \"kind\": \"cron\",\n    \"cron\": \"0 * * * *\"\n  },\n  \"delivery\": {\n    \"mode\": \"announce\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"name\": \"Chat History & Log Analysis\"\n}\n\n\nOr run directly via shell script:\n\n# Add to crontab (crontab -e)\n# Run every hour at minute 0\n0 * * * * /Users/ghost/.openclaw/workspace/skills/chat-history-analyzer/scripts/analyze_logs.py --json >> /Users/ghost/.openclaw/logs/analyze_logs.log 2>&1\n\nOutput Format\n\nFindings are saved to /Users/ghost/.openclaw/journal/chat_analysis_YYYY-MM-DD_HHMMSS.md with sections for:\n\nKey Discoveries: Successful findings, realizations, and implementations\nObstacles Encountered: Errors, failures, and blockers\nSolutions Found: Fixes, workarounds, and resolutions\nRequirements\nCursor IDE installed with chat history stored locally\nSQLite3 available (usually pre-installed on macOS)\nOpenClaw journal directory writable\nHow it works\nConnects to Cursor's SQLite databases at ~/Library/Application Support/Cursor/User/globalStorage/state.vscdb and workspace-specific databases\nExtracts messages from the last N hours (default: 1 hour)\nAnalyzes message content using pattern matching for discoveries, obstacles, and solutions\nSaves structured markdown report to the journal directory"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/RuneweaverStudios/chat-history-analyzer",
    "publisherUrl": "https://clawhub.ai/RuneweaverStudios/chat-history-analyzer",
    "owner": "RuneweaverStudios",
    "version": "1.0.5",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/chat-history-analyzer",
    "downloadUrl": "https://openagent3.xyz/downloads/chat-history-analyzer",
    "agentUrl": "https://openagent3.xyz/skills/chat-history-analyzer/agent",
    "manifestUrl": "https://openagent3.xyz/skills/chat-history-analyzer/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/chat-history-analyzer/agent.md"
  }
}