{
  "schemaVersion": "1.0",
  "item": {
    "slug": "gmail-secretary",
    "name": "Gmail Secretary",
    "source": "tencent",
    "type": "skill",
    "category": "效率提升",
    "sourceUrl": "https://clawhub.ai/OfficialDelta/gmail-secretary",
    "canonicalUrl": "https://clawhub.ai/OfficialDelta/gmail-secretary",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/gmail-secretary",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=gmail-secretary",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "references/voice.md",
      "scripts/apply-labels.sh",
      "scripts/build-voice-reference.sh",
      "scripts/triage-and-draft.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-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/gmail-secretary"
    },
    "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/gmail-secretary",
    "agentPageUrl": "https://openagent3.xyz/skills/gmail-secretary/agent",
    "manifestUrl": "https://openagent3.xyz/skills/gmail-secretary/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/gmail-secretary/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": "Safety rules (non-negotiable)",
        "body": "Never send email automatically. Only create drafts + summaries.\nPrefer labels over moving/deleting.\nKeep the voice reference style-focused (patterns + a few short redacted snippets), not a full archive."
      },
      {
        "title": "Labels (user-friendly)",
        "body": "Use/create these labels:\n\nUrgent\nNeeds Reply\nWaiting On\nRead Later\nReceipt / Billing\nSchool\nClubs\nMayo\nAdmin / Accounts"
      },
      {
        "title": "Classification: Agent-based (Haiku)",
        "body": "Classification uses a Haiku LLM agent (via sessions_spawn) instead of regex.\n\nscripts/triage-and-draft.sh fetches inbox → writes summaries to cache/gmail-inbox-summaries.json\nAgent reads summaries, classifies each email, writes results to cache/gmail-triage-labels.json\nscripts/apply-labels.sh reads classification results and applies Gmail labels via gog"
      },
      {
        "title": "Agent classification prompt context:",
        "body": "Student at Stanton College Prep (IB/AP classes)\nClubs: FBLA, Science Fair, Medical Society, Psi Alpha, NHS\nProject: Mayo Clinic cancer cell simulation\nCompanies (Apple, Google, Amazon, etc.) are NOT \"School\"\nNewsletters/promos → Read Later\nAccount security/password/verification → Admin / Accounts"
      },
      {
        "title": "Files",
        "body": "Voice reference (auto-maintained): references/voice.md\nDraft queue (generated): /home/delta/.openclaw/workspace/cache/gmail-drafts.md\nTriage digest (generated): /home/delta/.openclaw/workspace/cache/gmail-triage.md\nInbox summaries (intermediate): /home/delta/.openclaw/workspace/cache/gmail-inbox-summaries.json\nClassification results: /home/delta/.openclaw/workspace/cache/gmail-triage-labels.json"
      },
      {
        "title": "Scripts",
        "body": "Build/refresh voice reference from Sent mail:\n\nscripts/build-voice-reference.sh (samples last 50 sent messages)\n\n\nFetch inbox + extract summaries:\n\nscripts/triage-and-draft.sh\n\n\nApply labels from classification:\n\nscripts/apply-labels.sh"
      },
      {
        "title": "Workflow",
        "body": "Run triage-and-draft.sh — fetches inbox, extracts summaries\nAgent (Haiku) classifies emails from gmail-inbox-summaries.json\nAgent writes results to gmail-triage-labels.json\nRun apply-labels.sh — applies labels to Gmail threads\nAgent writes triage digest to cache/gmail-triage.md for nudges"
      }
    ],
    "body": "Gmail Secretary (Alan)\nSafety rules (non-negotiable)\nNever send email automatically. Only create drafts + summaries.\nPrefer labels over moving/deleting.\nKeep the voice reference style-focused (patterns + a few short redacted snippets), not a full archive.\nLabels (user-friendly)\n\nUse/create these labels:\n\nUrgent\nNeeds Reply\nWaiting On\nRead Later\nReceipt / Billing\nSchool\nClubs\nMayo\nAdmin / Accounts\nClassification: Agent-based (Haiku)\n\nClassification uses a Haiku LLM agent (via sessions_spawn) instead of regex.\n\nscripts/triage-and-draft.sh fetches inbox → writes summaries to cache/gmail-inbox-summaries.json\nAgent reads summaries, classifies each email, writes results to cache/gmail-triage-labels.json\nscripts/apply-labels.sh reads classification results and applies Gmail labels via gog\nAgent classification prompt context:\nStudent at Stanton College Prep (IB/AP classes)\nClubs: FBLA, Science Fair, Medical Society, Psi Alpha, NHS\nProject: Mayo Clinic cancer cell simulation\nCompanies (Apple, Google, Amazon, etc.) are NOT \"School\"\nNewsletters/promos → Read Later\nAccount security/password/verification → Admin / Accounts\nFiles\nVoice reference (auto-maintained): references/voice.md\nDraft queue (generated): /home/delta/.openclaw/workspace/cache/gmail-drafts.md\nTriage digest (generated): /home/delta/.openclaw/workspace/cache/gmail-triage.md\nInbox summaries (intermediate): /home/delta/.openclaw/workspace/cache/gmail-inbox-summaries.json\nClassification results: /home/delta/.openclaw/workspace/cache/gmail-triage-labels.json\nScripts\nBuild/refresh voice reference from Sent mail:\nscripts/build-voice-reference.sh (samples last 50 sent messages)\nFetch inbox + extract summaries:\nscripts/triage-and-draft.sh\nApply labels from classification:\nscripts/apply-labels.sh\nWorkflow\nRun triage-and-draft.sh — fetches inbox, extracts summaries\nAgent (Haiku) classifies emails from gmail-inbox-summaries.json\nAgent writes results to gmail-triage-labels.json\nRun apply-labels.sh — applies labels to Gmail threads\nAgent writes triage digest to cache/gmail-triage.md for nudges"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/OfficialDelta/gmail-secretary",
    "publisherUrl": "https://clawhub.ai/OfficialDelta/gmail-secretary",
    "owner": "OfficialDelta",
    "version": "1.0.22",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/gmail-secretary",
    "downloadUrl": "https://openagent3.xyz/downloads/gmail-secretary",
    "agentUrl": "https://openagent3.xyz/skills/gmail-secretary/agent",
    "manifestUrl": "https://openagent3.xyz/skills/gmail-secretary/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/gmail-secretary/agent.md"
  }
}