{
  "schemaVersion": "1.0",
  "item": {
    "slug": "last30days-gemini",
    "name": "last30days (Gemini Synthesis)",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ralph-oei/last30days-gemini",
    "canonicalUrl": "https://clawhub.ai/ralph-oei/last30days-gemini",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/last30days-gemini",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=last30days-gemini",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL-original.md",
      "SKILL.md",
      "SPEC.md",
      "TASKS.md",
      "agents/openai.yaml"
    ],
    "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/last30days-gemini"
    },
    "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/last30days-gemini",
    "agentPageUrl": "https://openagent3.xyz/skills/last30days-gemini/agent",
    "manifestUrl": "https://openagent3.xyz/skills/last30days-gemini/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/last30days-gemini/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": "last30days v2.1",
        "body": "Research any topic across X (Twitter), YouTube, and web. Find what's actually being discussed, recommended, and debated right now."
      },
      {
        "title": "Setup",
        "body": "# Environment (should already be set)\nexport AUTH_TOKEN=your_x_auth_token\nexport CT0=your_x_ct0_token  \nexport BRAVE_API_KEY=your_brave_key\n\n# Config\nmkdir -p ~/.config/last30days\ncat > ~/.config/last30days/.env << 'EOF'\nBRAVE_API_KEY=your_key_here\nEOF"
      },
      {
        "title": "Usage",
        "body": "# Quick research (faster, fewer sources)\npython3 {baseDir}/scripts/last30days.py \"AI agents\" --quick\n\n# Full research\npython3 {baseDir}/scripts/last30days.py \"AI agents\" \n\n# Output formats\npython3 {baseDir}/scripts/last30days.py \"topic\" --emit=json    # JSON for parsing\npython3 {baseDir}/scripts/last30days.py \"topic\" --emit=compact  # Human readable\npython3 {baseDir}/scripts/last30days.py \"topic\" --emit=md       # Full report"
      },
      {
        "title": "Output for AI Synthesis",
        "body": "The --emit=json flag outputs structured JSON that can be fed to Gemini for:\n\nExpert briefing generation\nCopy-paste ready prompts\nTrend analysis"
      },
      {
        "title": "Sources",
        "body": "SourceAuthNotesX/TwitterCookiesUses bird CLI with existing AUTH_TOKEN/CT0YouTubeNoneRequires yt-dlp for transcriptsWebBrave APIRequires BRAVE_API_KEY"
      },
      {
        "title": "Synthesis",
        "body": "This skill researches and returns raw data. For AI-generated briefings and prompts, pipe the JSON output to Gemini:\n\npython3 {baseDir}/scripts/last30days.py \"topic\" --quick --emit=json | python3 -c \"\nimport json, sys, os\nimport urllib.request, urllib.parse\n\ndata = json.load(sys.stdin)\nprompt = f'Synthesize this research into an expert briefing and 3 copy-paste prompts:\\\\n{json.dumps(data)}'\n\nbody = json.dumps({\n    'contents': [{'parts': [{'text': prompt}]}],\n    'generationConfig': {'temperature': 0.7, 'maxOutputTokens': 2048}\n})\n\nreq = urllib.request.Request(\n    'https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=' + os.environ.get('GEMINI_API_KEY'),\n    data=body.encode(),\n    headers={'Content-Type': 'application/json'}\n)\nprint(json.load(urllib.request.urlopen(req))['candidates'][0]['content']['parts'][0]['text'])\n\""
      },
      {
        "title": "Attribution",
        "body": "Original Author: Mike Van Horn (mvanhorn)\nOriginal Repository: github.com/mvanhorn/last30days-skill\nLicense: MIT (per original)\nContributors: Thanks to @steipete for yt-dlp + summarize inspiration\n\nThis skill extends the original with Gemini synthesis for automated briefings."
      }
    ],
    "body": "Credit: This skill is based on last30days by @mvanhorn. The original skill researches topics across Reddit, X, YouTube, and web. This version adds Gemini synthesis for briefings and prompts.\n\nOriginal skill: github.com/mvanhorn/last30days-skill\n\nlast30days v2.1\n\nResearch any topic across X (Twitter), YouTube, and web. Find what's actually being discussed, recommended, and debated right now.\n\nSetup\n# Environment (should already be set)\nexport AUTH_TOKEN=your_x_auth_token\nexport CT0=your_x_ct0_token  \nexport BRAVE_API_KEY=your_brave_key\n\n# Config\nmkdir -p ~/.config/last30days\ncat > ~/.config/last30days/.env << 'EOF'\nBRAVE_API_KEY=your_key_here\nEOF\n\nUsage\n# Quick research (faster, fewer sources)\npython3 {baseDir}/scripts/last30days.py \"AI agents\" --quick\n\n# Full research\npython3 {baseDir}/scripts/last30days.py \"AI agents\" \n\n# Output formats\npython3 {baseDir}/scripts/last30days.py \"topic\" --emit=json    # JSON for parsing\npython3 {baseDir}/scripts/last30days.py \"topic\" --emit=compact  # Human readable\npython3 {baseDir}/scripts/last30days.py \"topic\" --emit=md       # Full report\n\nOutput for AI Synthesis\n\nThe --emit=json flag outputs structured JSON that can be fed to Gemini for:\n\nExpert briefing generation\nCopy-paste ready prompts\nTrend analysis\nSources\nSource\tAuth\tNotes\nX/Twitter\tCookies\tUses bird CLI with existing AUTH_TOKEN/CT0\nYouTube\tNone\tRequires yt-dlp for transcripts\nWeb\tBrave API\tRequires BRAVE_API_KEY\nSynthesis\n\nThis skill researches and returns raw data. For AI-generated briefings and prompts, pipe the JSON output to Gemini:\n\npython3 {baseDir}/scripts/last30days.py \"topic\" --quick --emit=json | python3 -c \"\nimport json, sys, os\nimport urllib.request, urllib.parse\n\ndata = json.load(sys.stdin)\nprompt = f'Synthesize this research into an expert briefing and 3 copy-paste prompts:\\\\n{json.dumps(data)}'\n\nbody = json.dumps({\n    'contents': [{'parts': [{'text': prompt}]}],\n    'generationConfig': {'temperature': 0.7, 'maxOutputTokens': 2048}\n})\n\nreq = urllib.request.Request(\n    'https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=' + os.environ.get('GEMINI_API_KEY'),\n    data=body.encode(),\n    headers={'Content-Type': 'application/json'}\n)\nprint(json.load(urllib.request.urlopen(req))['candidates'][0]['content']['parts'][0]['text'])\n\"\n\nAttribution\nOriginal Author: Mike Van Horn (mvanhorn)\nOriginal Repository: github.com/mvanhorn/last30days-skill\nLicense: MIT (per original)\nContributors: Thanks to @steipete for yt-dlp + summarize inspiration\n\nThis skill extends the original with Gemini synthesis for automated briefings."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ralph-oei/last30days-gemini",
    "publisherUrl": "https://clawhub.ai/ralph-oei/last30days-gemini",
    "owner": "ralph-oei",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/last30days-gemini",
    "downloadUrl": "https://openagent3.xyz/downloads/last30days-gemini",
    "agentUrl": "https://openagent3.xyz/skills/last30days-gemini/agent",
    "manifestUrl": "https://openagent3.xyz/skills/last30days-gemini/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/last30days-gemini/agent.md"
  }
}