{
  "schemaVersion": "1.0",
  "item": {
    "slug": "douban-sync-skill",
    "name": "Douban Sync",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/cosformula/douban-sync-skill",
    "canonicalUrl": "https://clawhub.ai/cosformula/douban-sync-skill",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/douban-sync-skill",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=douban-sync-skill",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md",
      "scripts/douban-browser-scraper.mjs",
      "scripts/douban-extract.mjs",
      "scripts/douban-rss-sync.mjs",
      "scripts/douban-scraper.mjs",
      "scripts/lib.mjs"
    ],
    "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/douban-sync-skill"
    },
    "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/douban-sync-skill",
    "agentPageUrl": "https://openagent3.xyz/skills/douban-sync-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/douban-sync-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/douban-sync-skill/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": "Douban Sync",
        "body": "Export Douban collections (books, movies, music, games) to CSV and keep them in sync via RSS."
      },
      {
        "title": "1. Full Export (first time)",
        "body": "Use the browser tool to scrape all collection pages. Requires the user to be logged into Douban.\n\nbrowser → douban.com/people/{USER_ID}/{category}?start=0&sort=time&mode=list\n\nCategories and URL paths:\n\nBooks: book.douban.com/people/{ID}/collect (读过), /do (在读), /wish (想读)\nMovies: movie.douban.com/people/{ID}/collect (看过), /do (在看), /wish (想看)\nMusic: music.douban.com/people/{ID}/collect (听过), /do (在听), /wish (想听)\nGames: www.douban.com/people/{ID}/games?action=collect (玩过), =do (在玩), =wish (想玩)\n\nEach page shows up to 30 items in list mode (some pages may have fewer due to delisted entries). Paginate with ?start=0,30,60... — the script uses the paginator's \"next\" button to determine whether to continue.\n\nRate limiting: Wait 2-3 seconds between pages. If blocked, wait 30 seconds and retry.\n\nScripts:\n\nscripts/douban-scraper.mjs — HTTP-only, no browser needed (may get rate-limited)\nscripts/douban-browser-scraper.mjs — via Puppeteer CDP, needs a running browser\nscripts/douban-extract.mjs — generates a browser console script for manual extraction"
      },
      {
        "title": "2. Incremental Sync (daily, via RSS)",
        "body": "Run scripts/douban-rss-sync.mjs — no login needed.\n\nnode scripts/douban-rss-sync.mjs\n\nSetup: Set environment variables:\n\nDOUBAN_USER (required): Douban user ID\nDOUBAN_OUTPUT_DIR (optional): Output root directory, default ~/douban-sync\n\nRecommended: Add a daily cron job for automatic sync."
      },
      {
        "title": "Output Format",
        "body": "Four CSV files per user in the output directory:\n\ndouban-sync/\n└── {user_id}/\n    ├── 书.csv\n    ├── 影视.csv\n    ├── 音乐.csv\n    └── 游戏.csv\n\nCSV columns:\n\ntitle,url,date,rating,status,comment\n\"书名\",\"https://book.douban.com/subject/12345/\",\"2026-01-15\",\"★★★★★\",\"读过\",\"短评内容\"\n\nstatus: 读过/在读/想读, 看过/在看/想看, 听过/在听/想听, 玩过/在玩/想玩"
      },
      {
        "title": "Deduplication",
        "body": "Both full export and RSS sync deduplicate by Douban URL — safe to run multiple times."
      }
    ],
    "body": "Douban Sync\n\nExport Douban collections (books, movies, music, games) to CSV and keep them in sync via RSS.\n\nTwo Modes\n1. Full Export (first time)\n\nUse the browser tool to scrape all collection pages. Requires the user to be logged into Douban.\n\nbrowser → douban.com/people/{USER_ID}/{category}?start=0&sort=time&mode=list\n\n\nCategories and URL paths:\n\nBooks: book.douban.com/people/{ID}/collect (读过), /do (在读), /wish (想读)\nMovies: movie.douban.com/people/{ID}/collect (看过), /do (在看), /wish (想看)\nMusic: music.douban.com/people/{ID}/collect (听过), /do (在听), /wish (想听)\nGames: www.douban.com/people/{ID}/games?action=collect (玩过), =do (在玩), =wish (想玩)\n\nEach page shows up to 30 items in list mode (some pages may have fewer due to delisted entries). Paginate with ?start=0,30,60... — the script uses the paginator's \"next\" button to determine whether to continue.\n\nRate limiting: Wait 2-3 seconds between pages. If blocked, wait 30 seconds and retry.\n\nScripts:\n\nscripts/douban-scraper.mjs — HTTP-only, no browser needed (may get rate-limited)\nscripts/douban-browser-scraper.mjs — via Puppeteer CDP, needs a running browser\nscripts/douban-extract.mjs — generates a browser console script for manual extraction\n2. Incremental Sync (daily, via RSS)\n\nRun scripts/douban-rss-sync.mjs — no login needed.\n\nnode scripts/douban-rss-sync.mjs\n\n\nSetup: Set environment variables:\n\nDOUBAN_USER (required): Douban user ID\nDOUBAN_OUTPUT_DIR (optional): Output root directory, default ~/douban-sync\n\nRecommended: Add a daily cron job for automatic sync.\n\nOutput Format\n\nFour CSV files per user in the output directory:\n\ndouban-sync/\n└── {user_id}/\n    ├── 书.csv\n    ├── 影视.csv\n    ├── 音乐.csv\n    └── 游戏.csv\n\n\nCSV columns:\n\ntitle,url,date,rating,status,comment\n\"书名\",\"https://book.douban.com/subject/12345/\",\"2026-01-15\",\"★★★★★\",\"读过\",\"短评内容\"\n\nstatus: 读过/在读/想读, 看过/在看/想看, 听过/在听/想听, 玩过/在玩/想玩\nDeduplication\n\nBoth full export and RSS sync deduplicate by Douban URL — safe to run multiple times."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/cosformula/douban-sync-skill",
    "publisherUrl": "https://clawhub.ai/cosformula/douban-sync-skill",
    "owner": "cosformula",
    "version": "0.2.2",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/douban-sync-skill",
    "downloadUrl": "https://openagent3.xyz/downloads/douban-sync-skill",
    "agentUrl": "https://openagent3.xyz/skills/douban-sync-skill/agent",
    "manifestUrl": "https://openagent3.xyz/skills/douban-sync-skill/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/douban-sync-skill/agent.md"
  }
}