{
  "schemaVersion": "1.0",
  "item": {
    "slug": "scribe",
    "name": "Scribe",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/RuneweaverStudios/scribe",
    "canonicalUrl": "https://clawhub.ai/RuneweaverStudios/scribe",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/scribe",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=scribe",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "_meta.json",
      "scripts/scribe.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",
      "slug": "scribe",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T06:54:44.415Z",
      "expiresAt": "2026-05-08T06:54:44.415Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=scribe",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=scribe",
        "contentDisposition": "attachment; filename=\"scribe-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "scribe"
      },
      "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/scribe"
    },
    "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/scribe",
    "agentPageUrl": "https://openagent3.xyz/skills/scribe/agent",
    "manifestUrl": "https://openagent3.xyz/skills/scribe/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/scribe/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": "Scribe | OpenClaw Skill",
        "body": "Comprehensive note-taking system that scans multiple OpenClaw data sources to generate daily and weekly notes with summaries."
      },
      {
        "title": "Description",
        "body": "Scribe automatically scans and analyzes:\n\nOpenClaw logs - Errors, warnings, gateway events, subagent activity\nConfig files - Model preferences, gateway settings, agent configurations\nChat history - Cursor IDE chat messages from SQLite databases\nCursor history - Workspace-specific conversation history\nMemory files - Daily notes and long-term memory (MEMORY.md)\nBehavior files - BEHAVIOR.md, DESIRES.md, TASTES.md, PREFERENCES.md\nDrafts - Blog posts, tweets, and other draft files\n\nGenerates structured markdown notes with summaries at the top of each file."
      },
      {
        "title": "Installation",
        "body": "clawhub install scribe\n\nOr clone into your skills directory:\n\ngit clone https://github.com/Org/scribe.git workspace/skills/scribe"
      },
      {
        "title": "Daily Notes",
        "body": "Generate a daily note covering the last 24 hours:\n\npython3 workspace/skills/scribe/scripts/scribe.py --mode daily"
      },
      {
        "title": "Weekly Notes",
        "body": "Generate a weekly note covering the last 7 days:\n\npython3 workspace/skills/scribe/scripts/scribe.py --mode weekly"
      },
      {
        "title": "Both Daily and Weekly",
        "body": "Generate both notes at once:\n\npython3 workspace/skills/scribe/scripts/scribe.py --mode both"
      },
      {
        "title": "JSON Output",
        "body": "Get results in JSON format:\n\npython3 workspace/skills/scribe/scripts/scribe.py --mode daily --json"
      },
      {
        "title": "Examples",
        "body": "Example 1: Daily Note Generation\nScenario: You want a daily summary of OpenClaw activity.\nAction: Run python3 workspace/skills/scribe/scripts/scribe.py --mode daily.\nOutcome: A markdown file workspace/Notes/daily/YYYY-MM-DD.md with a summary at the top, followed by detailed sections for logs, chat history, memory, drafts, behavior, and config.\n\nExample 2: Weekly Summary\nScenario: You want a weekly overview of patterns and trends.\nAction: Run python3 workspace/skills/scribe/scripts/scribe.py --mode weekly.\nOutcome: A markdown file workspace/Notes/weekly/YYYY-MM-DD.md with weekly statistics, trends, and activity summaries.\n\nExample 3: Cron Job Integration\nScenario: Automate daily note generation.\nAction: Add a cron job that runs scribe.py --mode daily every day at midnight.\nOutcome: Daily notes are automatically generated and saved to workspace/Notes/daily/."
      },
      {
        "title": "Commands",
        "body": "python3 workspace/skills/scribe/scripts/scribe.py --mode daily    # Generate daily note\npython3 workspace/skills/scribe/scripts/scribe.py --mode weekly   # Generate weekly note\npython3 workspace/skills/scribe/scripts/scribe.py --mode both     # Generate both\npython3 workspace/skills/scribe/scripts/scribe.py --mode daily --json  # JSON output\npython3 workspace/skills/scribe/scripts/scribe.py --openclaw-home /path/to/openclaw  # Custom home directory\n\n--mode — Choose daily, weekly, or both (default: daily)\n--json — Output results in JSON format instead of markdown files\n--openclaw-home — Specify OpenClaw home directory (default: ~/.openclaw)"
      },
      {
        "title": "What this skill does",
        "body": "Scans logs - Analyzes all .log files in logs/ directory for errors, warnings, gateway events, and subagent spawns\nReads config - Extracts model preferences, gateway settings, and agent configurations from openclaw.json\nExtracts chat history - Queries Cursor's SQLite databases (state.vscdb) for recent chat messages\nScans memory files - Reads daily notes (memory/YYYY-MM-DD.md) and long-term memory (MEMORY.md)\nFinds drafts - Searches for draft files matching patterns like *draft*.txt, *draft*.md, blog/**/*.md, tweet*.txt\nReads behavior files - Looks for BEHAVIOR.md, DESIRES.md, TASTES.md, PREFERENCES.md\nGenerates notes - Creates structured markdown files with summaries at the top\nSaves to Notes - Writes daily notes to workspace/Notes/daily/YYYY-MM-DD.md and weekly notes to workspace/Notes/weekly/YYYY-MM-DD.md"
      },
      {
        "title": "Daily Note Structure",
        "body": "# Daily Summary - YYYY-MM-DD HH:MM:SS\n\n- **Logs**: X errors, Y warnings\n- **Gateway Events**: Z events\n- **Subagent Activity**: N spawns\n- **Chat Messages**: M messages\n- **Daily Notes**: K files\n- **Drafts**: L draft files\n- **Config**: Loaded successfully\n\n---\n\n# Daily Note\n\n## Logs\n### Errors (X)\n- [error details]\n\n### Warnings (Y)\n- [warning details]\n\n## Chat History\nFound M messages in the last 24 hours.\n### User (X messages)\n- [message previews]\n\n## Memory Files\n### Daily Notes (K)\n- **YYYY-MM-DD**: [content preview]\n\n## Drafts\n### [draft path]\n- Size: X bytes\n- Modified: [timestamp]\n- Preview: [content preview]\n\n## Behavior & Preferences\n### Behavior Files\n- **BEHAVIOR.md**: [content preview]\n\n## Configuration\n### Model Preferences\n- Default: [model]\n- Aliases: X configured"
      },
      {
        "title": "Weekly Note Structure",
        "body": "# Weekly Summary - YYYY-MM-DD HH:MM:SS\n\n[Summary statistics]\n\n---\n\n# Weekly Note - YYYY-MM-DD to YYYY-MM-DD\n\n## Weekly Summary\n- **Total Errors**: X\n- **Total Warnings**: Y\n- **Gateway Events**: Z\n- **Subagent Spawns**: N\n\n## Chat Activity (M messages)\n- **User**: X messages\n- **Assistant**: Y messages\n\n## Memory Activity (K daily notes)\n- **YYYY-MM-DD**: X bytes\n\n## Drafts (L files)\n- **[path]**: X bytes (modified: [timestamp])\n\n## Trends & Patterns\n- ⚠️ **Error Rate**: X errors this week\n- 🤖 **Subagent Activity**: N spawns this week\n- 💬 **Chat Activity**: M messages this week"
      },
      {
        "title": "Requirements",
        "body": "Python 3.7+\nOpenClaw installation with ~/.openclaw directory structure\nCursor IDE installed (for chat history scanning)\nSQLite3 available (usually pre-installed on macOS)\nWrite access to workspace/Notes/ directory"
      },
      {
        "title": "Integration as a Cron Job",
        "body": "Example Cron Job Configuration:\n\n{\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"Run scribe.py --mode daily to generate daily notes.\",\n    \"model\": \"openrouter/google/gemini-2.5-flash\",\n    \"thinking\": \"low\",\n    \"timeoutSeconds\": 300\n  },\n  \"schedule\": {\n    \"kind\": \"cron\",\n    \"cron\": \"0 0 * * *\"\n  },\n  \"delivery\": {\n    \"mode\": \"announce\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"name\": \"Daily Scribe Note\"\n}\n\nOr run directly via shell script:\n\n# Add to crontab (crontab -e)\n# Run daily at midnight\n0 0 * * * /Users/ghost/.openclaw/workspace/skills/scribe/scripts/scribe.py --mode daily >> /Users/ghost/.openclaw/logs/scribe.log 2>&1"
      },
      {
        "title": "Security & Privacy",
        "body": "File access: Reads openclaw.json (config only, no secrets), logs/*.log, memory/*.md, and Cursor SQLite databases\nNo data exfiltration: All data stays local; notes are saved to workspace/Notes/ directory\nSafe execution: Uses read-only access to config and logs; only writes to workspace/Notes/daily/ and workspace/Notes/weekly/ directories"
      },
      {
        "title": "Limitations",
        "body": "Chat history extraction depends on Cursor's database schema (may need updates if Cursor changes storage format)\nDraft file detection uses pattern matching; may miss files with non-standard naming\nBehavior file detection looks for common filenames; custom locations may not be found\nLarge log files may take time to process"
      }
    ],
    "body": "Scribe | OpenClaw Skill\n\nComprehensive note-taking system that scans multiple OpenClaw data sources to generate daily and weekly notes with summaries.\n\nDescription\n\nScribe automatically scans and analyzes:\n\nOpenClaw logs - Errors, warnings, gateway events, subagent activity\nConfig files - Model preferences, gateway settings, agent configurations\nChat history - Cursor IDE chat messages from SQLite databases\nCursor history - Workspace-specific conversation history\nMemory files - Daily notes and long-term memory (MEMORY.md)\nBehavior files - BEHAVIOR.md, DESIRES.md, TASTES.md, PREFERENCES.md\nDrafts - Blog posts, tweets, and other draft files\n\nGenerates structured markdown notes with summaries at the top of each file.\n\nInstallation\nclawhub install scribe\n\n\nOr clone into your skills directory:\n\ngit clone https://github.com/Org/scribe.git workspace/skills/scribe\n\nUsage\nDaily Notes\n\nGenerate a daily note covering the last 24 hours:\n\npython3 workspace/skills/scribe/scripts/scribe.py --mode daily\n\nWeekly Notes\n\nGenerate a weekly note covering the last 7 days:\n\npython3 workspace/skills/scribe/scripts/scribe.py --mode weekly\n\nBoth Daily and Weekly\n\nGenerate both notes at once:\n\npython3 workspace/skills/scribe/scripts/scribe.py --mode both\n\nJSON Output\n\nGet results in JSON format:\n\npython3 workspace/skills/scribe/scripts/scribe.py --mode daily --json\n\nExamples\n\nExample 1: Daily Note Generation\nScenario: You want a daily summary of OpenClaw activity.\nAction: Run python3 workspace/skills/scribe/scripts/scribe.py --mode daily.\nOutcome: A markdown file workspace/Notes/daily/YYYY-MM-DD.md with a summary at the top, followed by detailed sections for logs, chat history, memory, drafts, behavior, and config.\n\nExample 2: Weekly Summary\nScenario: You want a weekly overview of patterns and trends.\nAction: Run python3 workspace/skills/scribe/scripts/scribe.py --mode weekly.\nOutcome: A markdown file workspace/Notes/weekly/YYYY-MM-DD.md with weekly statistics, trends, and activity summaries.\n\nExample 3: Cron Job Integration\nScenario: Automate daily note generation.\nAction: Add a cron job that runs scribe.py --mode daily every day at midnight.\nOutcome: Daily notes are automatically generated and saved to workspace/Notes/daily/.\n\nCommands\npython3 workspace/skills/scribe/scripts/scribe.py --mode daily    # Generate daily note\npython3 workspace/skills/scribe/scripts/scribe.py --mode weekly   # Generate weekly note\npython3 workspace/skills/scribe/scripts/scribe.py --mode both     # Generate both\npython3 workspace/skills/scribe/scripts/scribe.py --mode daily --json  # JSON output\npython3 workspace/skills/scribe/scripts/scribe.py --openclaw-home /path/to/openclaw  # Custom home directory\n\n--mode — Choose daily, weekly, or both (default: daily)\n--json — Output results in JSON format instead of markdown files\n--openclaw-home — Specify OpenClaw home directory (default: ~/.openclaw)\nWhat this skill does\nScans logs - Analyzes all .log files in logs/ directory for errors, warnings, gateway events, and subagent spawns\nReads config - Extracts model preferences, gateway settings, and agent configurations from openclaw.json\nExtracts chat history - Queries Cursor's SQLite databases (state.vscdb) for recent chat messages\nScans memory files - Reads daily notes (memory/YYYY-MM-DD.md) and long-term memory (MEMORY.md)\nFinds drafts - Searches for draft files matching patterns like *draft*.txt, *draft*.md, blog/**/*.md, tweet*.txt\nReads behavior files - Looks for BEHAVIOR.md, DESIRES.md, TASTES.md, PREFERENCES.md\nGenerates notes - Creates structured markdown files with summaries at the top\nSaves to Notes - Writes daily notes to workspace/Notes/daily/YYYY-MM-DD.md and weekly notes to workspace/Notes/weekly/YYYY-MM-DD.md\nOutput Format\nDaily Note Structure\n# Daily Summary - YYYY-MM-DD HH:MM:SS\n\n- **Logs**: X errors, Y warnings\n- **Gateway Events**: Z events\n- **Subagent Activity**: N spawns\n- **Chat Messages**: M messages\n- **Daily Notes**: K files\n- **Drafts**: L draft files\n- **Config**: Loaded successfully\n\n---\n\n# Daily Note\n\n## Logs\n### Errors (X)\n- [error details]\n\n### Warnings (Y)\n- [warning details]\n\n## Chat History\nFound M messages in the last 24 hours.\n### User (X messages)\n- [message previews]\n\n## Memory Files\n### Daily Notes (K)\n- **YYYY-MM-DD**: [content preview]\n\n## Drafts\n### [draft path]\n- Size: X bytes\n- Modified: [timestamp]\n- Preview: [content preview]\n\n## Behavior & Preferences\n### Behavior Files\n- **BEHAVIOR.md**: [content preview]\n\n## Configuration\n### Model Preferences\n- Default: [model]\n- Aliases: X configured\n\nWeekly Note Structure\n# Weekly Summary - YYYY-MM-DD HH:MM:SS\n\n[Summary statistics]\n\n---\n\n# Weekly Note - YYYY-MM-DD to YYYY-MM-DD\n\n## Weekly Summary\n- **Total Errors**: X\n- **Total Warnings**: Y\n- **Gateway Events**: Z\n- **Subagent Spawns**: N\n\n## Chat Activity (M messages)\n- **User**: X messages\n- **Assistant**: Y messages\n\n## Memory Activity (K daily notes)\n- **YYYY-MM-DD**: X bytes\n\n## Drafts (L files)\n- **[path]**: X bytes (modified: [timestamp])\n\n## Trends & Patterns\n- ⚠️ **Error Rate**: X errors this week\n- 🤖 **Subagent Activity**: N spawns this week\n- 💬 **Chat Activity**: M messages this week\n\nRequirements\nPython 3.7+\nOpenClaw installation with ~/.openclaw directory structure\nCursor IDE installed (for chat history scanning)\nSQLite3 available (usually pre-installed on macOS)\nWrite access to workspace/Notes/ directory\nIntegration as a Cron Job\n\nExample Cron Job Configuration:\n\n{\n  \"payload\": {\n    \"kind\": \"agentTurn\",\n    \"message\": \"Run scribe.py --mode daily to generate daily notes.\",\n    \"model\": \"openrouter/google/gemini-2.5-flash\",\n    \"thinking\": \"low\",\n    \"timeoutSeconds\": 300\n  },\n  \"schedule\": {\n    \"kind\": \"cron\",\n    \"cron\": \"0 0 * * *\"\n  },\n  \"delivery\": {\n    \"mode\": \"announce\"\n  },\n  \"sessionTarget\": \"isolated\",\n  \"name\": \"Daily Scribe Note\"\n}\n\n\nOr run directly via shell script:\n\n# Add to crontab (crontab -e)\n# Run daily at midnight\n0 0 * * * /Users/ghost/.openclaw/workspace/skills/scribe/scripts/scribe.py --mode daily >> /Users/ghost/.openclaw/logs/scribe.log 2>&1\n\nSecurity & Privacy\nFile access: Reads openclaw.json (config only, no secrets), logs/*.log, memory/*.md, and Cursor SQLite databases\nNo data exfiltration: All data stays local; notes are saved to workspace/Notes/ directory\nSafe execution: Uses read-only access to config and logs; only writes to workspace/Notes/daily/ and workspace/Notes/weekly/ directories\nLimitations\nChat history extraction depends on Cursor's database schema (may need updates if Cursor changes storage format)\nDraft file detection uses pattern matching; may miss files with non-standard naming\nBehavior file detection looks for common filenames; custom locations may not be found\nLarge log files may take time to process"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/RuneweaverStudios/scribe",
    "publisherUrl": "https://clawhub.ai/RuneweaverStudios/scribe",
    "owner": "RuneweaverStudios",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/scribe",
    "downloadUrl": "https://openagent3.xyz/downloads/scribe",
    "agentUrl": "https://openagent3.xyz/skills/scribe/agent",
    "manifestUrl": "https://openagent3.xyz/skills/scribe/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/scribe/agent.md"
  }
}