gdrive_synthesize

仓库创建 2026年5月11日最近提交 7 天前SkillHot 收录 20 天前
▸ 精选理由

适合把散落文档转换为结构化知识库的场景。

▸ 风险提示

需要访问 Google Drive 数据,涉及用户隐私与权限。

这个 Skill 做什么

把 Google Drive 文档合成为可持久化的 ktx wiki 页面。

把从 Google Drive(尤其是 Google Doc)拉下来的原始文档整理并合成为长期保存的 KTX wiki 页面,把散乱的文档内容提炼成可复用的组织化知识。当一个 WorkUnit 包含 docs/** 下的 Google Doc 原始文件并需要入库为知识条目时就会触发使用。处理流程是读原始文件和元数据,写出少量耐久的 wiki 条目并直接写入最终 memory,不产出候选草稿。

▸ 展开 SKILL.md 英文原文

Synthesize durable KTX wiki pages from staged Google Drive document pulls. Load when a WorkUnit contains Google Doc raw files from `docs/**`.

数据与抓取Google Drive知识合成wiki通用
1.5k
Stars
96
Forks
17
仓库内 Skill
+49
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/Kaelio/ktx/main/packages/cli/src/skills/gdrive_synthesize/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/Kaelio/ktx/main/packages/cli/src/skills/gdrive_synthesize/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Google Drive Doc Synthesis

Use this skill when a WorkUnit contains staged Google Drive content from `docs/**`.

## Role

Each WorkUnit is one Google Doc plus its metadata. Read the assigned raw files, then write a small set of durable wiki entries that capture reusable organizational knowledge. Write final memory directly; do not write candidates.

## Required Workflow

1. Read the WorkUnit notes and `rawFiles` list. Document content lives in `page.md`; `metadata.json` holds title, path, url, modified time, and Drive folder context.
2. For each assigned doc, call `read_raw_file`, or `read_raw_span` for oversized docs when the notes specify a span.
3. Search `wiki_search` for existing page
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有