sequential-chaining
Execute the two-phase NotebookLM-to-Gemini corpus summary chain using source evidence sidecars and Gemini Pro model routing.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Execute the two-phase NotebookLM-to-Gemini corpus summary chain using source evidence sidecars and Gemini Pro model routing.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Upload pending PDFs to the single NotebookLM corpus notebook and archive successful uploads.
Run the local validation checks for scripts, JSON, Gemini skills, and generated markdown.
Verify the generated corpus summary against the prepared NotebookLM notebook, source-evidence.md, optional targets.md, .workflow_state.json, and prompt2.txt.
| name | sequential-chaining |
| description | Execute the two-phase NotebookLM-to-Gemini corpus summary chain using source evidence sidecars and Gemini Pro model routing. |
Phase 1: Query the prepared corpus NotebookLM notebook with prompt1.txt, the processed-source manifest, and targets.md when present:
nlm notebook query <notebook-id> "$(cat prompt1.txt)
CORPUS CONTEXT:
Processed source files:
- input/processed/<source>.pdf
TARGETS_MD_HARD_SCOPE:
<targets.md content or none>"
Save the NotebookLM output to output/source-evidence.md. The evidence should include a citation inventory with NotebookLM markers, page references, source labels, or other available citation detail.
Phase 2: Refine the NotebookLM evidence with Gemini CLI Pro routing:
gemini --model pro --prompt="$(cat prompt2.txt)" < source-evidence-input.txt
The workflow script also accepts --model <model> or GEMINI_MODEL=<model> when an explicit Gemini model ID is required. The final markdown must remain grounded in the NotebookLM evidence. If targets.md exists, treat it as the complete allowed scope and do not expand into unrelated corpus material. Final summaries must use numbered inline citations such as [1] and end with ## References.