360 Secure SkillHub
360 安全技能中心

Tencent Doc Update Watcher

核心功能:重爬腾讯文档(支持表格、文档、多维表格),与历史快照对比检测更新,默认隐私优先(自动清理原始抓取数据、脱敏URL参数)。典型场景:定期核查腾讯文档内容是否更新。输入为含文档名称、URL的JSON配置,可指定基线快照;输出为机器可读的manifest.json和人可读的report.md,需调试可保留原始数据。

chinasilva
chinasilva
热度 54.38
最近更新 2026-05-11 17:28:46
分类:自动化依赖:代码执行 / 联网浏览搜索 / 读写文件应用场景:数据处理 / 报告撰写 / 工作流 / 自动化脚本

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add tencent-doc-update-watch
Metadata
name
tencent-doc-update-watch
description
Privacy-first re-crawl and diff workflow for Tencent Docs (docs.qq.com) update checks. Use when asked to re-crawl Tencent Docs links, verify whether content changed since last snapshot, and produce a structured update report. Supports sheet/doc/aio links and snapshot comparison.

Tencent Doc Update Watch

Overview

Use this skill to re-crawl Tencent Docs links and detect updates with snapshot diffing. The workflow outputs:

  • manifest.json (structured machine-readable result)
  • report.md (human-readable diff summary)

Quick Run

Run with default doc list:

python scripts/check-qq-doc-updates.py \
  --config references/default-docs.json \
  --workspace /tmp/tencent-doc-watch

Run with explicit baseline:

python scripts/check-qq-doc-updates.py \
  --config /abs/path/my-docs.json \
  --workspace /tmp/tencent-doc-watch \
  --compare /tmp/tencent-doc-watch/snapshots/20260305_101500/manifest.json

Privacy Defaults

Default behavior is privacy-first:

  • Raw HTML/opendoc/cookie files are removed after parsing.
  • URL query values are redacted in opendoc_url fields.
  • Public URL in manifest removes query strings to avoid leaking tokens.

Keep raw files only when explicitly needed for debugging:

python scripts/check-qq-doc-updates.py \
  --config references/default-docs.json \
  --workspace /tmp/tencent-doc-watch \
  --keep-raw

Config Format

Use JSON:

{
  "docs": [
    {
      "name": "Example Sheet",
      "url": "https://docs.qq.com/sheet/DEXAMPLE_SHEET_001?tab=sample"
    },
    {
      "name": "Example Doc",
      "url": "https://docs.qq.com/doc/DEXAMPLE_DOC_001"
    }
  ]
}

Optional field:

  • id: Tencent doc ID (auto-parsed from URL when omitted)

Output and Status

Generated under <workspace>/snapshots/<label>/:

  • manifest.json
  • report.md
  • raw/ only when --keep-raw is enabled

Report status values:

  • UNCHANGED
  • CHANGED
  • NEW
  • FIRST_RUN

Key Detection Signals

Comparison currently checks:

  • last_modify_ms
  • rev
  • cgi_code
  • title
  • pad_type

中文补充

此 Skill 固化“腾讯文档重新抓取 + 与历史快照对比”的流程。默认开启隐私最小化策略:

  • 不持久化原始抓取内容(除非加 --keep-raw)
  • 脱敏 opendoc_url 查询参数
  • 在 manifest.json 中移除页面 URL 的查询参数