简介
系统化整合多源信息,通过来源追踪、冲突显式解决和覆盖验证,生成可靠统一洞察,避免隐性矛盾与信息缺口。
原始描述
Combine multiple sources into unified insights with source tracking, conflict resolution, and coverage verification.
通过你的 Agent 添加
安装目录:synthesize/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: synthesize type: python flattens_collections: true description: "Integrate content across multiple documents to produce new understanding. Use for cross-document synthesis, comparison, and reporting from Collections." schema_hint: target: "$variable (Collection or Note, required)" other: "$variable (second input for comparison, optional)" focus: "string (what to attend to, optional)" format: "string (narrative|comparison|executive|technical|comprehensive, default: narrative)" instruction: "string (free-form override, optional)" out: "$variable (optional)"
synthesize
Integrate content across multiple documents (or between two documents) to produce new understanding. Always crosses the document boundary — this is the tool for combining, comparing, and generating insight from a Collection.
Input
target: Collection (variable or ID) — the primary input. May also be a single Note whenotheris provided for two-input comparison.other: Optional second Note or Collection for explicit comparison. When provided, the operation compares target against other.focus: Optional string guiding what to attend to ("architectural improvements", "methodology differences", "emerging trends")format: Output format (optional, default:"narrative"):"narrative": Prose synthesis"comparison": Structured JSON with similarity_score, shared_themes, unique_to_first, unique_to_second, contradictions"executive": High-level overview, 300-500 words"technical": Balanced detail with compression"comprehensive": Low compression, preserves nuance
compression_ratio: Optional float (default: 3.0). Controls output length relative to input. Only meaningful for narrative/technical/comprehensive formats.instruction: Optional free-form instruction for specialized synthesis tasks. Overrides format-specific defaults when provided.target_tokens: Integer (optional). Target output length in tokens. Overrides computed target length when provided via OUTPUT GUIDANCE.out: Variable name for resulting Note
Output
Success (status: "success"):
value: Synthesized content as a new Note.- For
format="narrative"/"executive"/"technical"/"comprehensive": prose text - For
format="comparison": JSON string with structure:{"similarity_score": 0.75, "shared_themes": [...], "unique_to_first": [...], "unique_to_second": [...], "contradictions": [...], "relationship": "...", "summary": "..."}
- For
Failure (status: "failed"):
reason:"target parameter required"|"target is empty"|"llm_generate_failed"|"comparison format requires 'other' parameter"
Behavior
- Flattens Collection items, applies focus filtering if
focusprovided - Uses hierarchical map-reduce for long inputs (auto-chunking at ~16k chars)
- Focus filtering applies relevance threshold — chunks below threshold excluded
- When
otheris provided: both inputs are processed, then compared/integrated - When
format="comparison"andotheris NOT provided: fails with error - Output may include observations, patterns, and integrative conclusions not present in any single input document — this is by design
Planning Notes
Use synthesize when:
- Identifying themes and trends across a Collection of papers
- Comparing two documents or Collections
- Producing a report from multiple sources
- Aggregating per-item extractions into a coherent narrative
Do NOT use synthesize when:
- Extracting, formatting, or reporting from a single document → use
extract(even if the goal says "summarize", "report", or "present" — if there is only ONE source, useextract) - Creating content with no source material → use
generate-note - Filtering or selecting items → use
filter-structuredorfilter-semantic - Structural operations on Collections → use
project,sort,head, etc.
Standard analytical pipeline:
map(extract)— per-item fact extractionsynthesize— cross-item integration
For comparison: use format="comparison" with other= (requires two inputs)
Examples
{"type":"synthesize","target":"$papers","focus":"significant architectural improvements","format":"technical","out":"$report"}
{"type":"synthesize","target":"$paper_a","other":"$paper_b","format":"comparison","instruction":"focus on methodology differences","out":"$comparison"}
{"type":"synthesize","target":"$innovations","focus":"dominant trends","format":"executive","out":"$executive_summary"}
{"type":"synthesize","target":"$extracted_methods","focus":"how attention mechanisms have evolved","format":"narrative","compression_ratio":2.0,"out":"$attention_report"}