summarize_cluster
Generate key findings, methodology, and relevance for each paper in a cluster using a local LLM. Optionally write results to Obsidian and Zotero.
Instructions
Generate per-paper Key Findings + Methodology + Relevance via LLM CLI.
For each paper in cluster_slug, builds a prompt from the abstract and
invokes the detected LLM CLI (claude, codex, or gemini — pass
llm_cli to override). With apply=False (default), returns the parsed
JSON without writing. With apply=True, writes back to BOTH the Obsidian
markdown blocks and the Zotero child note for each paper.
Use when: user says "summarize this cluster's papers", "fill the TODO
Findings", or after auto ingest before scanning the vault.
No LLM CLI on PATH: prompt is saved to artifacts//summarize-prompt.md; user can pipe it through their LLM and re-run with --apply (CLI) or pass the parsed payload to the apply_cluster_summaries MCP tool below.
Returns {cluster_slug, ok, error, cli_used, prompt_path, apply_result}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_slug | Yes | ||
| llm_cli | No | ||
| apply | No | ||
| write_zotero | No | ||
| write_obsidian | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||