Content Digest 콘텐츠 → Quiz-First 학습 → 선택적 깊이 탐색 → 근본 개념 확장. Task Agent 기반 설계 : 긴 컨텍스트는 subagent가 처리하고, 메인 세션은 최종 결론만 소비 아키텍처 원칙 1. Context Separation : 긴 자막/본문은 Task agent가 처리, 메인 세션은 가벼운 md 파일만 Read 2. Clean Transcript : 자막에서 번호, 시간 제거 → 순수 영어 텍스트만 추출 3. Web Research Integration : 추출된 키워드로 자동 웹 리서치 4. Single Output : 모든 처리 결과는 단일 md 파일로 저장 지원 콘텐츠 | 타입 | 추출 방법 | 저장 경로 | |-----|----------|----------| | YouTube | Task agent (yt-dlp + 정제) | | | X/Twitter | fetch-tweet 스킬 (api.fxtwitter.com) | | | Webpage | Task agent (browser + 정제) | | | PDF | Task agent (Read + 정제) | | 핵심 원칙 1. Quiz-First : 요약 보…

# 빈 줄 삭제\n```\n\n정제 결과: 순수 영어 텍스트만 남음 (시간, 번호, 중복 없음)\n\n### 2-4. Webpage 추출 (Task Agent 내부)\n\n```\n1. mcp__claude-in-chrome__tabs_context_mcp\n2. mcp__claude-in-chrome__tabs_create_mcp\n3. mcp__claude-in-chrome__navigate: url=\"{URL}\"\n4. mcp__claude-in-chrome__get_page_text: tabId={tabId}\n5. 스크롤 후 추가 콘텐츠 확인\n```\n\n### 2-5. PDF 추출 (Task Agent 내부)\n\n```\nRead: file_path=\"{PDF 경로}\"\n```\n\n### 2-6. 웹 리서치 (Task Agent 내부)\n\n추출된 텍스트에서 핵심 키워드 5-10개 식별 후:\n\n```\nWebSearch (병렬 실행):\n - \"{키워드1} explained\"\n - \"{키워드2} research\"\n - \"{저자/발표자} {주제}\"\n - \"{핵심개념} fundamentals\"\n```\n\n### 2-7. 최종 md 파일 저장 (Task Agent 내부)\n\n경로: `research/digests/{type}/{YYYY-MM-DD}-{sanitized-title}.md`\n\n```markdown\n---\ntitle: {콘텐츠 제목}\ntype: {youtube|web|pdf}\nurl: {URL 또는 파일경로}\nauthor: {저자/채널명}\ndate: {발행 날짜}\nprocessed_at: {처리 일시}\nkeywords: [{키워드1}, {키워드2}, ...]\n---\n\n# {콘텐츠 제목}\n\n## 핵심 요약\n{3-5문장 요약}\n\n## 주요 인사이트\n1. **{인사이트1}**: 설명\n2. **{인사이트2}**: 설명\n3. **{인사이트3}**: 설명\n\n## 웹 리서치 결과\n### {키워드1}\n- 발견 내용 요약\n- 출처: {URL}\n\n### {키워드2}\n- 발견 내용 요약\n- 출처: {URL}\n\n## 원문 (정제됨)\n{번호/시간 제거된 순수 텍스트}\n\n## Quiz 재료 (Pre-Quiz + 본 Quiz용)\n> **생성 순서**: 반드시 위의 \"핵심 요약\"과 \"주요 인사이트\"를 먼저 작성한 후, 이를 기반으로 퀴즈 생성\n> **출제 원칙**: 핵심 주제만 출제. 날짜, 통계, 지엽적 세부사항 제외.\n\n### 기본 레벨 (3문제 후보)\n- Q1: {핵심 개념/메시지 관련}\n- Q2: {주요 원칙 관련}\n- Q3: {저자 핵심 주장 관련}\n\n### 중급 레벨 (3문제 후보)\n- Q4: {개념 간 관계}\n- Q5: {근거와 논리 연결}\n- Q6: {핵심 아이디어 비교}\n\n### 심화 레벨 (3문제 후보)\n- Q7: {실제 적용/응용}\n- Q8: {핵심 원리의 확장}\n- Q9: {저자 관점의 함의}\n```\n\n---\n\n## Phase 3: 메인 세션에서 결과 Read\n\nTask Agent 완료 후:\n\n```\nRead: file_path=\"research/digests/{type}/{YYYY-MM-DD}-{sanitized-title}.md\"\n```\n\n> **메인 세션은 정제된 md 파일만 읽음** → context 효율 극대화\n\n---\n\n## Phase 4: Pre-Quiz (핵심)\n\n> **목적**: 정보 갭 생성 → 주의력 프라이밍 → 능동적 학습 유도\n\n### 퀴즈 출제 원칙\n\n**핵심 주제만 질문**: 사소한 세부사항이나 숫자가 아닌, 콘텐츠의 핵심 메시지와 직결되는 내용만 출제\n- ✅ 핵심 개념, 주요 원칙, 저자의 핵심 주장\n- ❌ 날짜, 통계 수치, 부수적 예시, 지엽적 세부사항\n\n결과 md 파일의 \"Quiz 재료\" 섹션을 활용하여 3문제 출제:\n\n```\nAskUserQuestion:\nquestions:\n - question: \"[Pre-Quiz] 이 콘텐츠에서 다룰 것 같은 핵심 개념은?\"\n header: \"PQ1\"\n options: [4개 선택지]\n - question: \"[Pre-Quiz] 저자가 강조할 것 같은 메시지는?\"\n header: \"PQ2\"\n options: [4개 선택지]\n - question: \"[Pre-Quiz] 이 주제에서 가장 중요한 원칙은?\"\n header: \"PQ3\"\n options: [4개 선택지]\n```\n\n**결과 처리**:\n- 정답/오답 즉시 표시\n- 틀린 문제 → \"이 부분을 콘텐츠에서 확인해보세요\" 안내\n- **Knowledge Gap 생성**: \"이제 콘텐츠를 보면 답을 찾고 싶어질 것입니다\"\n\n---\n\n## Phase 5: 선택적 콘텐츠 제공\n\nPre-Quiz 결과에 따라 사용자에게 선택지 제공:\n\n```\nAskUserQuestion:\nquestions:\n - question: \"어떤 콘텐츠를 먼저 보시겠습니까?\"\n header: \"Content\"\n options:\n - label: \"틀린 문제 관련 섹션만\"\n description: \"Pre-Quiz에서 틀린 부분의 답을 찾아보기\"\n - label: \"핵심 인사이트 3개\"\n description: \"콘텐츠의 가장 중요한 포인트만\"\n - label: \"전체 요약 + 인사이트\"\n description: \"종합적인 콘텐츠 분석\"\n - label: \"바로 본 퀴즈로\"\n description: \"요약 없이 9문제 퀴즈 진행\"\n```\n\n### 5-1. 틀린 문제 관련 섹션\n\nPre-Quiz 오답과 관련된 섹션만 추출:\n- YouTube: 해당 타임스탬프\n- Webpage: 관련 단락\n- PDF: 해당 페이지/섹션\n\n### 5-2. 핵심 인사이트 (간결 모드)\n\n```markdown\n## 핵심 인사이트 3개\n\n1. **[키워드]**: 1-2문장 설명\n2. **[키워드]**: 1-2문장 설명\n3. **[키워드]**: 1-2문장 설명\n```\n\n### 5-3. 전체 요약 + 인사이트\n\n```markdown\n## 요약\n{3-5문장}\n\n## 인사이트\n### 핵심 아이디어\n### 적용 가능한 점\n```\n\n---\n\n## Phase 6: 본 퀴즈 (9문제)\n\n3단계 × 3문제. AskUserQuestion으로 각 단계 진행.\n\n> **출제 원칙**: 모든 문제는 콘텐츠의 핵심 주제와 직결되어야 함. 지엽적 세부사항, 날짜, 통계 수치는 출제 금지.\n\n| 단계 | 난이도 | 출제 기준 |\n|------|--------|----------|\n| 1 | 기본 | 핵심 메시지, 주요 개념 |\n| 2 | 중급 | 개념 간 관계, 근거 연결 |\n| 3 | 심화 | 사례 분석, 적용, 구체적 데이터 |\n\n문제 유형 상세: `references/quiz-patterns.md`\n\n**즉각 피드백**: 각 단계 완료 후 정답/해설 즉시 제공\n\n---\n\n## Phase 7: Elaborative Interrogation\n\n> **\"왜?\" 질문이 깊은 처리를 유발 (76% vs 69% 정답률 향상)**\n\n퀴즈 완료 후, 핵심 개념에 대해 심화 질문:\n\n```\nAskUserQuestion:\nquestions:\n - question: \"다음 중 더 깊이 이해하고 싶은 개념은?\"\n header: \"Deep Dive\"\n multiSelect: true\n options:\n - label: \"{개념 A}\"\n description: \"왜 이것이 중요한지 탐구\"\n - label: \"{개념 B}\"\n description: \"이것의 근본 원리 이해\"\n - label: \"{개념 C}\"\n description: \"실제 적용 사례 확장\"\n - label: \"바로 다음 단계로\"\n description: \"현재 이해 수준으로 충분\"\n```\n\n선택된 개념에 대해:\n1. \"왜 이것이 사실인가?\" 질문과 답변\n2. 콘텐츠 내 근거 위치 (타임스탬프/페이지/섹션)\n3. 웹 검색으로 추가 맥락 제공\n\n---\n\n## Phase 8: Foundation Expansion (근본 확장)\n\n> **콘텐츠 너머의 기초 지식 확장**\n\n### 8-1. 기초 개념 웹 검색 (WebSearch 병렬 3-5개)\n\n```\n검색 쿼리:\n- \"{핵심 개념} fundamentals explained\"\n- \"{핵심 개념} 기초 원리\"\n- \"{이론/방법론} research paper original\"\n- \"{저자/발표자} other works recommendations\"\n```\n\n### 8-2. 근본 지식 정리\n\n```markdown\n## Foundation Expansion\n\n### 이 콘텐츠의 기초가 되는 개념들\n\n| 개념 | 설명 | 출처 |\n|------|------|------|\n| {기초 개념 1} | 1줄 설명 | {URL} |\n| {기초 개념 2} | 1줄 설명 | {URL} |\n\n### 더 깊이 들어가려면\n\n- **선수 지식**: {이 콘텐츠를 완전히 이해하려면 알아야 할 것}\n- **후속 학습**: {이 콘텐츠 다음에 볼 만한 것}\n- **관련 연구**: {학술적 배경}\n```\n\n---\n\n## Phase 9: 스키마 연결 (이전 학습과 연결)\n\n> **기존 지식과 연결할 때 학습 효과 극대화**\n\n`research/digests/` 폴더의 기존 다이제스트 스캔:\n\n```markdown\n## 관련 학습 기록\n\n이 콘텐츠와 연결되는 이전 학습:\n\n| 콘텐츠 | 타입 | 연결 포인트 | 날짜 |\n|-------|------|------------|------|\n| {이전 제목} | {youtube/web/pdf} | {공통 개념/대조되는 관점} | {날짜} |\n\n### 지식 네트워크\n\n```mermaid\ngraph LR\n A[이번 콘텐츠] --> B[공통 개념]\n C[이전 콘텐츠 1] --> B\n D[이전 콘텐츠 2] --> B\n```\n```\n\n---\n\n## Phase 10: 문서 업데이트 (퀴즈 결과 반영)\n\nTask Agent가 저장한 md 파일에 퀴즈 결과 추가:\n\n```markdown\n## Pre-Quiz 결과\n{점수 및 Knowledge Gap 기록}\n\n## 본 퀴즈 결과\n{점수, 오답 노트}\n\n## Elaborative Interrogation\n{선택한 개념에 대한 심화 탐구}\n```\n\n> 기본 콘텐츠는 Phase 2에서 이미 저장됨. 여기서는 학습 결과만 추가.\n\n---\n\n## Phase 11: 후속 선택\n\n```\nAskUserQuestion:\nquestions:\n - question: \"다음으로 무엇을 하시겠습니까?\"\n header: \"Next\"\n options:\n - label: \"다른 문제로 재퀴즈\"\n description: \"같은 콘텐츠, 새로운 9문제\"\n - label: \"Deep Research\"\n description: \"웹 심층 조사로 확장 (references/deep-research.md)\"\n - label: \"관련 콘텐츠 추천\"\n description: \"이 주제의 다른 콘텐츠 찾기\"\n - label: \"종료\"\n description: \"학습 완료\"\n```\n\n---\n\n## 필수: Quiz-First 모드\n\n> **모드 선택 없음**. 항상 Quiz-First로 진행.\n>\n> 연구에 따르면 학습 전 테스트가 9-12% 향상 효과를 가져오며,\n> 요약을 먼저 보면 이 효과가 사라짐.\n\n```\n워크플로우 (고정):\n1. 콘텐츠 타입 감지\n2. Task Agent 실행 (추출 + 정제 + 웹 리서치 + md 저장)\n3. 메인 세션에서 결과 md Read\n4. Pre-Quiz (3문제) ← 반드시 먼저\n5. 선택적 콘텐츠 제공\n6. 본 퀴즈 (9문제)\n7-9. 심화 학습 (Elaboration, Foundation, 스키마)\n10. 문서 업데이트\n11. 후속 선택\n```\n\n사용자가 \"요약만\", \"퀴즈 없이\" 등을 요청해도:\n- \"Quiz-First가 학습 효과가 9-12% 더 높습니다. 먼저 3문제만 풀어볼까요?\"\n- 강하게 요청 시에만 요약 제공, 단 퀴즈 권유 메시지 포함\n\n---\n\n## 콘텐츠 타입별 참고사항\n\n### YouTube\n\n#### 자막 언어 우선순위\n1. 한국어 수동 → 2. 영어 수동 → 3. 한국어 자동 → 4. 영어 자동\n\n#### yt-dlp 옵션\n- `--list-subs`: 자막 목록 확인\n- `--cookies-from-browser chrome`: 로그인 필요 시\n\n### Webpage\n\n> **항상 claude-in-chrome 사용**. WebFetch 사용 금지.\n\n#### claude-in-chrome 워크플로우\n```\n1. tabs_context_mcp로 탭 컨텍스트 확인\n2. tabs_create_mcp로 새 탭 생성\n3. navigate로 URL 이동\n4. get_page_text로 텍스트 추출\n5. scroll로 전체 콘텐츠 로드 (무한 스크롤 대응)\n6. get_page_text 재호출로 추가 콘텐츠 확인\n7. read_page로 구조 파악 (필요시)\n```\n\n#### 장점\n- 동적 콘텐츠 완벽 지원\n- 페이월/로그인 콘텐츠 접근 가능\n- 무한 스크롤 페이지 처리\n- 본문 전체를 정확히 가져옴\n\n### PDF\n\n#### Read 도구 특성\n- 텍스트와 이미지를 동시에 인식\n- 페이지별로 처리\n- 표/차트 구조 인식 가능\n\n#### 대용량 PDF\n- 페이지 범위 지정하여 분할 처리\n- 목차 먼저 확인 후 관심 섹션 집중\n\n---\n\n## 리소스\n\n- `scripts/extract_metadata.sh` - YouTube 메타데이터 추출\n- `scripts/extract_transcript.sh` - YouTube 자막 추출\n- `references/quiz-patterns.md` - 퀴즈 문제 유형 상세\n- `references/deep-research.md` - Deep Research 워크플로우\n- `references/learning-science.md` - 학습 과학 연구 근거\n\n---\n\n## 학습 과학 근거\n\n이 워크플로우는 다음 연구에 기반:\n\n1. **Pretesting Effect** (Richland et al., Roediger & Karpicke)\n - 학습 전 테스트 → 9-12% 향상, effect size g = 0.34-0.54\n\n2. **Information Gap Theory** (Loewenstein, 1994)\n - 지식 갭 인식 → 도파민 회로 활성화 → 기억 강화\n\n3. **Elaborative Interrogation** (Dunlosky et al., 2013)\n - \"왜?\" 질문 → 깊은 처리 → 76% vs 69% 정답률\n\n4. **PACE Framework** (Gruber et al., 2019)\n - 호기심 상태에서 무관한 정보도 기억력 향상\n\n상세: `references/learning-science.md`\n---","attachment_filenames":[],"attachments":[],"content_json":{"type":"doc","content":[{"type":"heading","attrs":{"level":1},"content":[{"text":"Content Digest","type":"text"}]},{"type":"paragraph","content":[{"text":"콘텐츠 → Quiz-First 학습 → 선택적 깊이 탐색 → 근본 개념 확장.","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"Task Agent 기반 설계","type":"text","marks":[{"type":"strong"}]},{"text":": 긴 컨텍스트는 subagent가 처리하고, 메인 세션은 최종 결론만 소비","type":"text"}]}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"아키텍처 원칙","type":"text"}]},{"type":"ordered_list","attrs":{"order":1,"listStyle":"number"},"content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Context Separation","type":"text","marks":[{"type":"strong"}]},{"text":": 긴 자막/본문은 Task agent가 처리, 메인 세션은 가벼운 md 파일만 Read","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Clean Transcript","type":"text","marks":[{"type":"strong"}]},{"text":": 자막에서 번호, 시간 제거 → 순수 영어 텍스트만 추출","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Web Research Integration","type":"text","marks":[{"type":"strong"}]},{"text":": 추출된 키워드로 자동 웹 리서치","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Single Output","type":"text","marks":[{"type":"strong"}]},{"text":": 모든 처리 결과는 단일 md 파일로 저장","type":"text"}]}]}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"지원 콘텐츠","type":"text"}]},{"type":"table","attrs":{"layout":null},"content":[{"type":"tr","content":[{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"타입","type":"text"}]}]},{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"추출 방법","type":"text"}]}]},{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"저장 경로","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"YouTube","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Task agent (yt-dlp + 정제)","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"research/digests/youtube/","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"X/Twitter","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"fetch-tweet 스킬 (api.fxtwitter.com)","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"research/digests/tweet/","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Webpage","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Task agent (browser + 정제)","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"research/digests/web/","type":"text","marks":[{"type":"code_inline"}]}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"PDF","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Task agent (Read + 정제)","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"research/digests/pdf/","type":"text","marks":[{"type":"code_inline"}]}]}]}]}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"핵심 원칙","type":"text"}]},{"type":"ordered_list","attrs":{"order":1,"listStyle":"number"},"content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Quiz-First","type":"text","marks":[{"type":"strong"}]},{"text":": 요약 보기 전에 퀴즈부터 (Pretesting Effect → 9-12% 향상)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Knowledge Gap","type":"text","marks":[{"type":"strong"}]},{"text":": 틀린 문제가 호기심을 만들고, 호기심이 기억을 강화","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"선택적 깊이","type":"text","marks":[{"type":"strong"}]},{"text":": 사용자가 더 알고 싶은 부분만 깊게","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"근본 확장","type":"text","marks":[{"type":"strong"}]},{"text":": 콘텐츠 너머의 기초 개념까지 웹 검색으로 확장","type":"text"}]}]}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"워크플로우 개요 (Task Agent 기반)","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"Phase 1: 콘텐츠 타입 감지\nPhase 2: Task Agent 실행 (콘텐츠 추출 + 정제 + 웹 리서치 + md 저장)\nPhase 3: 메인 세션에서 결과 md Read\nPhase 4: Pre-Quiz (3문제)\nPhase 5: 선택적 콘텐츠 제공\nPhase 6: 본 퀴즈 (9문제)\nPhase 7: Elaborative Interrogation\nPhase 8: Foundation Expansion\nPhase 9: 스키마 연결\nPhase 10: 문서 업데이트 (퀴즈 결과 반영)\nPhase 11: 후속 선택","type":"text"}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"Phase 1: 콘텐츠 타입 감지","type":"text"}]},{"type":"paragraph","content":[{"text":"입력 패턴에 따라 콘텐츠 타입 자동 결정:","type":"text"}]},{"type":"table","attrs":{"layout":null},"content":[{"type":"tr","content":[{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"패턴","type":"text"}]}]},{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"타입","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"youtube.com","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"youtu.be","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"YouTube","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"x.com","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"twitter.com","type":"text","marks":[{"type":"code_inline"}]}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"X/Twitter","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"http://","type":"text","marks":[{"type":"code_inline"}]},{"text":", ","type":"text"},{"text":"https://","type":"text","marks":[{"type":"code_inline"}]},{"text":" (기타)","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"Webpage","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":".pdf","type":"text","marks":[{"type":"code_inline"}]},{"text":" 파일 경로","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"PDF","type":"text"}]}]}]}]},{"type":"paragraph","content":[{"text":"명확하지 않으면 사용자에게 확인:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"AskUserQuestion:\nquestions:\n - question: \"어떤 콘텐츠를 분석할까요?\"\n header: \"Type\"\n options:\n - label: \"YouTube 영상\"\n description: \"URL을 알려주세요\"\n - label: \"웹페이지/아티클\"\n description: \"URL을 알려주세요\"\n - label: \"PDF 문서\"\n description: \"파일 경로를 알려주세요\"","type":"text"}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"Phase 2: Task Agent 실행 (핵심)","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"메인 세션의 context를 보호하면서 긴 콘텐츠를 처리","type":"text","marks":[{"type":"strong"}]}]}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2-1. Task Agent 호출 패턴","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"Task:\n subagent_type: \"general-purpose\"\n description: \"콘텐츠 추출 및 분석\"\n prompt: |\n ## 목표\n {URL/파일경로}에서 콘텐츠를 추출하고 분석하여 md 파일로 저장\n\n ## 단계 (순서 중요)\n 1. 콘텐츠 추출 (타입별 방법 적용)\n 2. 텍스트 정제 (번호, 시간 제거 → 영어만 추출)\n 3. 핵심 키워드 추출 (5-10개)\n 4. 웹 리서치 (키워드별 WebSearch)\n 5. **핵심 요약 생성** (3-5문장)\n 6. **주요 인사이트 도출** (3개)\n 7. **퀴즈 재료 생성** (요약/인사이트 기반으로 핵심 주제만)\n 8. md 파일 저장\n\n ## 출력 경로\n research/digests/{type}/{YYYY-MM-DD}-{sanitized-title}.md","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2-2. X/Twitter 추출 (fetch-tweet 스킬 활용)","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"Task Agent 불필요","type":"text","marks":[{"type":"strong"}]},{"text":" - fetch-tweet 스크립트로 직접 추출 (짧은 콘텐츠)","type":"text"}]}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# 트윗 원문 + 인게이지먼트 데이터 추출\npython3 .claude/skills/fetch-tweet/scripts/fetch_tweet.py \"{URL}\" --json","type":"text"}]},{"type":"paragraph","content":[{"text":"JSON 응답에서 활용할 필드:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"tweet.text","type":"text","marks":[{"type":"code_inline"}]},{"text":": 트윗 본문","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"tweet.author","type":"text","marks":[{"type":"code_inline"}]},{"text":": 작성자 정보 (name, bio, followers)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"tweet.likes/retweets/views","type":"text","marks":[{"type":"code_inline"}]},{"text":": 인게이지먼트","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"tweet.quote","type":"text","marks":[{"type":"code_inline"}]},{"text":": 인용 트윗 (있을 경우 동일 구조)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"tweet.media","type":"text","marks":[{"type":"code_inline"}]},{"text":": 첨부 이미지/영상","type":"text"}]}]}]},{"type":"paragraph","content":[{"text":"트윗은 짧으므로 Task Agent 없이 메인 세션에서 직접 처리. 인용 트윗이 있으면 함께 포함하여 분석. 저장 경로: ","type":"text"},{"text":"research/digests/tweet/{YYYY-MM-DD}-{author}-{short-topic}.md","type":"text","marks":[{"type":"code_inline"}]}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2-3. YouTube 추출 (Task Agent 내부)","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"bash"},"content":[{"text":"# 1. 자막 추출\nyt-dlp --write-auto-sub --sub-lang \"en\" --skip-download \\\n --convert-subs vtt -o \"%(title)s\" \"{URL}\"\n\n# 2. VTT → 순수 텍스트 변환\nsed -E 's/^[0-9]+$//' | \\ # 번호 제거\nsed -E 's/[0-9]{2}:[0-9]{2}:[0-9]{2}.*//g' | \\ # 타임스탬프 제거\nsed -E 's/\u003c[^>]+>//g' | \\ # HTML 태그 제거\ntr -s '\\n' | \\ # 빈 줄 정리\ngrep -v '^

Content Digest 콘텐츠 → Quiz-First 학습 → 선택적 깊이 탐색 → 근본 개념 확장. Task Agent 기반 설계 : 긴 컨텍스트는 subagent가 처리하고, 메인 세션은 최종 결론만 소비 아키텍처 원칙 1. Context Separation : 긴 자막/본문은 Task agent가 처리, 메인 세션은 가벼운 md 파일만 Read 2. Clean Transcript : 자막에서 번호, 시간 제거 → 순수 영어 텍스트만 추출 3. Web Research Integration : 추출된 키워드로 자동 웹 리서치 4. Single Output : 모든 처리 결과는 단일 md 파일로 저장 지원 콘텐츠 | 타입 | 추출 방법 | 저장 경로 | |-----|----------|----------| | YouTube | Task agent (yt-dlp + 정제) | | | X/Twitter | fetch-tweet 스킬 (api.fxtwitter.com) | | | Webpage | Task agent (browser + 정제) | | | PDF | Task agent (Read + 정제) | | 핵심 원칙 1. Quiz-First : 요약 보…

# 빈 줄 삭제","type":"text"}]},{"type":"paragraph","content":[{"text":"정제 결과: 순수 영어 텍스트만 남음 (시간, 번호, 중복 없음)","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2-4. Webpage 추출 (Task Agent 내부)","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"1. mcp__claude-in-chrome__tabs_context_mcp\n2. mcp__claude-in-chrome__tabs_create_mcp\n3. mcp__claude-in-chrome__navigate: url=\"{URL}\"\n4. mcp__claude-in-chrome__get_page_text: tabId={tabId}\n5. 스크롤 후 추가 콘텐츠 확인","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2-5. PDF 추출 (Task Agent 내부)","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"Read: file_path=\"{PDF 경로}\"","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2-6. 웹 리서치 (Task Agent 내부)","type":"text"}]},{"type":"paragraph","content":[{"text":"추출된 텍스트에서 핵심 키워드 5-10개 식별 후:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"WebSearch (병렬 실행):\n - \"{키워드1} explained\"\n - \"{키워드2} research\"\n - \"{저자/발표자} {주제}\"\n - \"{핵심개념} fundamentals\"","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"2-7. 최종 md 파일 저장 (Task Agent 내부)","type":"text"}]},{"type":"paragraph","content":[{"text":"경로: ","type":"text"},{"text":"research/digests/{type}/{YYYY-MM-DD}-{sanitized-title}.md","type":"text","marks":[{"type":"code_inline"}]}]},{"type":"code_block","attrs":{"wrap":false,"language":"markdown"},"content":[{"text":"---\ntitle: {콘텐츠 제목}\ntype: {youtube|web|pdf}\nurl: {URL 또는 파일경로}\nauthor: {저자/채널명}\ndate: {발행 날짜}\nprocessed_at: {처리 일시}\nkeywords: [{키워드1}, {키워드2}, ...]\n---\n\n# {콘텐츠 제목}\n\n## 핵심 요약\n{3-5문장 요약}\n\n## 주요 인사이트\n1. **{인사이트1}**: 설명\n2. **{인사이트2}**: 설명\n3. **{인사이트3}**: 설명\n\n## 웹 리서치 결과\n### {키워드1}\n- 발견 내용 요약\n- 출처: {URL}\n\n### {키워드2}\n- 발견 내용 요약\n- 출처: {URL}\n\n## 원문 (정제됨)\n{번호/시간 제거된 순수 텍스트}\n\n## Quiz 재료 (Pre-Quiz + 본 Quiz용)\n> **생성 순서**: 반드시 위의 \"핵심 요약\"과 \"주요 인사이트\"를 먼저 작성한 후, 이를 기반으로 퀴즈 생성\n> **출제 원칙**: 핵심 주제만 출제. 날짜, 통계, 지엽적 세부사항 제외.\n\n### 기본 레벨 (3문제 후보)\n- Q1: {핵심 개념/메시지 관련}\n- Q2: {주요 원칙 관련}\n- Q3: {저자 핵심 주장 관련}\n\n### 중급 레벨 (3문제 후보)\n- Q4: {개념 간 관계}\n- Q5: {근거와 논리 연결}\n- Q6: {핵심 아이디어 비교}\n\n### 심화 레벨 (3문제 후보)\n- Q7: {실제 적용/응용}\n- Q8: {핵심 원리의 확장}\n- Q9: {저자 관점의 함의}","type":"text"}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"Phase 3: 메인 세션에서 결과 Read","type":"text"}]},{"type":"paragraph","content":[{"text":"Task Agent 완료 후:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"Read: file_path=\"research/digests/{type}/{YYYY-MM-DD}-{sanitized-title}.md\"","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"메인 세션은 정제된 md 파일만 읽음","type":"text","marks":[{"type":"strong"}]},{"text":" → context 효율 극대화","type":"text"}]}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"Phase 4: Pre-Quiz (핵심)","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"목적","type":"text","marks":[{"type":"strong"}]},{"text":": 정보 갭 생성 → 주의력 프라이밍 → 능동적 학습 유도","type":"text"}]}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"퀴즈 출제 원칙","type":"text"}]},{"type":"paragraph","content":[{"text":"핵심 주제만 질문","type":"text","marks":[{"type":"strong"}]},{"text":": 사소한 세부사항이나 숫자가 아닌, 콘텐츠의 핵심 메시지와 직결되는 내용만 출제","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"✅ 핵심 개념, 주요 원칙, 저자의 핵심 주장","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"❌ 날짜, 통계 수치, 부수적 예시, 지엽적 세부사항","type":"text"}]}]}]},{"type":"paragraph","content":[{"text":"결과 md 파일의 \"Quiz 재료\" 섹션을 활용하여 3문제 출제:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"AskUserQuestion:\nquestions:\n - question: \"[Pre-Quiz] 이 콘텐츠에서 다룰 것 같은 핵심 개념은?\"\n header: \"PQ1\"\n options: [4개 선택지]\n - question: \"[Pre-Quiz] 저자가 강조할 것 같은 메시지는?\"\n header: \"PQ2\"\n options: [4개 선택지]\n - question: \"[Pre-Quiz] 이 주제에서 가장 중요한 원칙은?\"\n header: \"PQ3\"\n options: [4개 선택지]","type":"text"}]},{"type":"paragraph","content":[{"text":"결과 처리","type":"text","marks":[{"type":"strong"}]},{"text":":","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"정답/오답 즉시 표시","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"틀린 문제 → \"이 부분을 콘텐츠에서 확인해보세요\" 안내","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Knowledge Gap 생성","type":"text","marks":[{"type":"strong"}]},{"text":": \"이제 콘텐츠를 보면 답을 찾고 싶어질 것입니다\"","type":"text"}]}]}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"Phase 5: 선택적 콘텐츠 제공","type":"text"}]},{"type":"paragraph","content":[{"text":"Pre-Quiz 결과에 따라 사용자에게 선택지 제공:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"AskUserQuestion:\nquestions:\n - question: \"어떤 콘텐츠를 먼저 보시겠습니까?\"\n header: \"Content\"\n options:\n - label: \"틀린 문제 관련 섹션만\"\n description: \"Pre-Quiz에서 틀린 부분의 답을 찾아보기\"\n - label: \"핵심 인사이트 3개\"\n description: \"콘텐츠의 가장 중요한 포인트만\"\n - label: \"전체 요약 + 인사이트\"\n description: \"종합적인 콘텐츠 분석\"\n - label: \"바로 본 퀴즈로\"\n description: \"요약 없이 9문제 퀴즈 진행\"","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"5-1. 틀린 문제 관련 섹션","type":"text"}]},{"type":"paragraph","content":[{"text":"Pre-Quiz 오답과 관련된 섹션만 추출:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"YouTube: 해당 타임스탬프","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Webpage: 관련 단락","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"PDF: 해당 페이지/섹션","type":"text"}]}]}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"5-2. 핵심 인사이트 (간결 모드)","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"markdown"},"content":[{"text":"## 핵심 인사이트 3개\n\n1. **[키워드]**: 1-2문장 설명\n2. **[키워드]**: 1-2문장 설명\n3. **[키워드]**: 1-2문장 설명","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"5-3. 전체 요약 + 인사이트","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"markdown"},"content":[{"text":"## 요약\n{3-5문장}\n\n## 인사이트\n### 핵심 아이디어\n### 적용 가능한 점","type":"text"}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"Phase 6: 본 퀴즈 (9문제)","type":"text"}]},{"type":"paragraph","content":[{"text":"3단계 × 3문제. AskUserQuestion으로 각 단계 진행.","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"출제 원칙","type":"text","marks":[{"type":"strong"}]},{"text":": 모든 문제는 콘텐츠의 핵심 주제와 직결되어야 함. 지엽적 세부사항, 날짜, 통계 수치는 출제 금지.","type":"text"}]}]},{"type":"table","attrs":{"layout":null},"content":[{"type":"tr","content":[{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"단계","type":"text"}]}]},{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"난이도","type":"text"}]}]},{"type":"th","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"출제 기준","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"1","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"기본","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"핵심 메시지, 주요 개념","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"2","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"중급","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"개념 간 관계, 근거 연결","type":"text"}]}]}]},{"type":"tr","content":[{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"3","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"심화","type":"text"}]}]},{"type":"td","attrs":{"colspan":1,"rowspan":1,"colwidth":null,"alignment":""},"content":[{"type":"paragraph","content":[{"text":"사례 분석, 적용, 구체적 데이터","type":"text"}]}]}]}]},{"type":"paragraph","content":[{"text":"문제 유형 상세: ","type":"text"},{"text":"references/quiz-patterns.md","type":"text","marks":[{"type":"code_inline"}]}]},{"type":"paragraph","content":[{"text":"즉각 피드백","type":"text","marks":[{"type":"strong"}]},{"text":": 각 단계 완료 후 정답/해설 즉시 제공","type":"text"}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"Phase 7: Elaborative Interrogation","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"\"왜?\" 질문이 깊은 처리를 유발 (76% vs 69% 정답률 향상)","type":"text","marks":[{"type":"strong"}]}]}]},{"type":"paragraph","content":[{"text":"퀴즈 완료 후, 핵심 개념에 대해 심화 질문:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"AskUserQuestion:\nquestions:\n - question: \"다음 중 더 깊이 이해하고 싶은 개념은?\"\n header: \"Deep Dive\"\n multiSelect: true\n options:\n - label: \"{개념 A}\"\n description: \"왜 이것이 중요한지 탐구\"\n - label: \"{개념 B}\"\n description: \"이것의 근본 원리 이해\"\n - label: \"{개념 C}\"\n description: \"실제 적용 사례 확장\"\n - label: \"바로 다음 단계로\"\n description: \"현재 이해 수준으로 충분\"","type":"text"}]},{"type":"paragraph","content":[{"text":"선택된 개념에 대해:","type":"text"}]},{"type":"ordered_list","attrs":{"order":1,"listStyle":"number"},"content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"\"왜 이것이 사실인가?\" 질문과 답변","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"콘텐츠 내 근거 위치 (타임스탬프/페이지/섹션)","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"웹 검색으로 추가 맥락 제공","type":"text"}]}]}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"Phase 8: Foundation Expansion (근본 확장)","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"콘텐츠 너머의 기초 지식 확장","type":"text","marks":[{"type":"strong"}]}]}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"8-1. 기초 개념 웹 검색 (WebSearch 병렬 3-5개)","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"검색 쿼리:\n- \"{핵심 개념} fundamentals explained\"\n- \"{핵심 개념} 기초 원리\"\n- \"{이론/방법론} research paper original\"\n- \"{저자/발표자} other works recommendations\"","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"8-2. 근본 지식 정리","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"markdown"},"content":[{"text":"## Foundation Expansion\n\n### 이 콘텐츠의 기초가 되는 개념들\n\n| 개념 | 설명 | 출처 |\n|------|------|------|\n| {기초 개념 1} | 1줄 설명 | {URL} |\n| {기초 개념 2} | 1줄 설명 | {URL} |\n\n### 더 깊이 들어가려면\n\n- **선수 지식**: {이 콘텐츠를 완전히 이해하려면 알아야 할 것}\n- **후속 학습**: {이 콘텐츠 다음에 볼 만한 것}\n- **관련 연구**: {학술적 배경}","type":"text"}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"Phase 9: 스키마 연결 (이전 학습과 연결)","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"기존 지식과 연결할 때 학습 효과 극대화","type":"text","marks":[{"type":"strong"}]}]}]},{"type":"paragraph","content":[{"text":"research/digests/","type":"text","marks":[{"type":"code_inline"}]},{"text":" 폴더의 기존 다이제스트 스캔:","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":"markdown"},"content":[{"text":"## 관련 학습 기록\n\n이 콘텐츠와 연결되는 이전 학습:\n\n| 콘텐츠 | 타입 | 연결 포인트 | 날짜 |\n|-------|------|------------|------|\n| {이전 제목} | {youtube/web/pdf} | {공통 개념/대조되는 관점} | {날짜} |\n\n### 지식 네트워크\n\n```mermaid\ngraph LR\n A[이번 콘텐츠] --> B[공통 개념]\n C[이전 콘텐츠 1] --> B\n D[이전 콘텐츠 2] --> B","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"\n---\n\n## Phase 10: 문서 업데이트 (퀴즈 결과 반영)\n\nTask Agent가 저장한 md 파일에 퀴즈 결과 추가:\n\n```markdown\n## Pre-Quiz 결과\n{점수 및 Knowledge Gap 기록}\n\n## 본 퀴즈 결과\n{점수, 오답 노트}\n\n## Elaborative Interrogation\n{선택한 개념에 대한 심화 탐구}","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"기본 콘텐츠는 Phase 2에서 이미 저장됨. 여기서는 학습 결과만 추가.","type":"text"}]}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"Phase 11: 후속 선택","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"AskUserQuestion:\nquestions:\n - question: \"다음으로 무엇을 하시겠습니까?\"\n header: \"Next\"\n options:\n - label: \"다른 문제로 재퀴즈\"\n description: \"같은 콘텐츠, 새로운 9문제\"\n - label: \"Deep Research\"\n description: \"웹 심층 조사로 확장 (references/deep-research.md)\"\n - label: \"관련 콘텐츠 추천\"\n description: \"이 주제의 다른 콘텐츠 찾기\"\n - label: \"종료\"\n description: \"학습 완료\"","type":"text"}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"필수: Quiz-First 모드","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"모드 선택 없음","type":"text","marks":[{"type":"strong"}]},{"text":". 항상 Quiz-First로 진행.","type":"text"}]},{"type":"paragraph","content":[{"text":"연구에 따르면 학습 전 테스트가 9-12% 향상 효과를 가져오며, 요약을 먼저 보면 이 효과가 사라짐.","type":"text"}]}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"워크플로우 (고정):\n1. 콘텐츠 타입 감지\n2. Task Agent 실행 (추출 + 정제 + 웹 리서치 + md 저장)\n3. 메인 세션에서 결과 md Read\n4. Pre-Quiz (3문제) ← 반드시 먼저\n5. 선택적 콘텐츠 제공\n6. 본 퀴즈 (9문제)\n7-9. 심화 학습 (Elaboration, Foundation, 스키마)\n10. 문서 업데이트\n11. 후속 선택","type":"text"}]},{"type":"paragraph","content":[{"text":"사용자가 \"요약만\", \"퀴즈 없이\" 등을 요청해도:","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"\"Quiz-First가 학습 효과가 9-12% 더 높습니다. 먼저 3문제만 풀어볼까요?\"","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"강하게 요청 시에만 요약 제공, 단 퀴즈 권유 메시지 포함","type":"text"}]}]}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"콘텐츠 타입별 참고사항","type":"text"}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"YouTube","type":"text"}]},{"type":"heading","attrs":{"level":4},"content":[{"text":"자막 언어 우선순위","type":"text"}]},{"type":"ordered_list","attrs":{"order":1,"listStyle":"number"},"content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"한국어 수동 → 2. 영어 수동 → 3. 한국어 자동 → 4. 영어 자동","type":"text"}]}]}]},{"type":"heading","attrs":{"level":4},"content":[{"text":"yt-dlp 옵션","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"--list-subs","type":"text","marks":[{"type":"code_inline"}]},{"text":": 자막 목록 확인","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"--cookies-from-browser chrome","type":"text","marks":[{"type":"code_inline"}]},{"text":": 로그인 필요 시","type":"text"}]}]}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"Webpage","type":"text"}]},{"type":"blockquote","content":[{"type":"paragraph","content":[{"text":"항상 claude-in-chrome 사용","type":"text","marks":[{"type":"strong"}]},{"text":". WebFetch 사용 금지.","type":"text"}]}]},{"type":"heading","attrs":{"level":4},"content":[{"text":"claude-in-chrome 워크플로우","type":"text"}]},{"type":"code_block","attrs":{"wrap":false,"language":""},"content":[{"text":"1. tabs_context_mcp로 탭 컨텍스트 확인\n2. tabs_create_mcp로 새 탭 생성\n3. navigate로 URL 이동\n4. get_page_text로 텍스트 추출\n5. scroll로 전체 콘텐츠 로드 (무한 스크롤 대응)\n6. get_page_text 재호출로 추가 콘텐츠 확인\n7. read_page로 구조 파악 (필요시)","type":"text"}]},{"type":"heading","attrs":{"level":4},"content":[{"text":"장점","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"동적 콘텐츠 완벽 지원","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"페이월/로그인 콘텐츠 접근 가능","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"무한 스크롤 페이지 처리","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"본문 전체를 정확히 가져옴","type":"text"}]}]}]},{"type":"heading","attrs":{"level":3},"content":[{"text":"PDF","type":"text"}]},{"type":"heading","attrs":{"level":4},"content":[{"text":"Read 도구 특성","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"텍스트와 이미지를 동시에 인식","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"페이지별로 처리","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"표/차트 구조 인식 가능","type":"text"}]}]}]},{"type":"heading","attrs":{"level":4},"content":[{"text":"대용량 PDF","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"페이지 범위 지정하여 분할 처리","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"목차 먼저 확인 후 관심 섹션 집중","type":"text"}]}]}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"리소스","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"scripts/extract_metadata.sh","type":"text","marks":[{"type":"code_inline"}]},{"text":" - YouTube 메타데이터 추출","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"scripts/extract_transcript.sh","type":"text","marks":[{"type":"code_inline"}]},{"text":" - YouTube 자막 추출","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"references/quiz-patterns.md","type":"text","marks":[{"type":"code_inline"}]},{"text":" - 퀴즈 문제 유형 상세","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"references/deep-research.md","type":"text","marks":[{"type":"code_inline"}]},{"text":" - Deep Research 워크플로우","type":"text"}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"references/learning-science.md","type":"text","marks":[{"type":"code_inline"}]},{"text":" - 학습 과학 연구 근거","type":"text"}]}]}]},{"type":"hr","attrs":{"markup":"---"}},{"type":"heading","attrs":{"level":2},"content":[{"text":"학습 과학 근거","type":"text"}]},{"type":"paragraph","content":[{"text":"이 워크플로우는 다음 연구에 기반:","type":"text"}]},{"type":"ordered_list","attrs":{"order":1,"listStyle":"number"},"content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Pretesting Effect","type":"text","marks":[{"type":"strong"}]},{"text":" (Richland et al., Roediger & Karpicke)","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"학습 전 테스트 → 9-12% 향상, effect size g = 0.34-0.54","type":"text"}]}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Information Gap Theory","type":"text","marks":[{"type":"strong"}]},{"text":" (Loewenstein, 1994)","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"지식 갭 인식 → 도파민 회로 활성화 → 기억 강화","type":"text"}]}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"Elaborative Interrogation","type":"text","marks":[{"type":"strong"}]},{"text":" (Dunlosky et al., 2013)","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"\"왜?\" 질문 → 깊은 처리 → 76% vs 69% 정답률","type":"text"}]}]}]}]},{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"PACE Framework","type":"text","marks":[{"type":"strong"}]},{"text":" (Gruber et al., 2019)","type":"text"}]},{"type":"bullet_list","content":[{"type":"list_item","content":[{"type":"paragraph","content":[{"text":"호기심 상태에서 무관한 정보도 기억력 향상","type":"text"}]}]}]}]}]},{"type":"heading","attrs":{"level":2},"content":[{"text":"상세: ","type":"text"},{"text":"references/learning-science.md","type":"text","marks":[{"type":"code_inline"}]}]}]},"metadata":{"date":"2026-06-05","name":"content-digest","author":"@skillopedia","source":{"stars":17,"repo_name":"camp-2","origin_url":"https://github.com/ai-native-camp/camp-2/blob/HEAD/.claude/skills/content-digest/SKILL.md","repo_owner":"ai-native-camp","body_sha256":"354c57706f91f905b66451ab83c85f003e1e7b2a8809963b1382f1ed81a14e18","cluster_key":"e31bc371175511152a92b7f6cb1f7e8fce0df319b9a79ccfe7be66f3fd941d16","clean_bundle":{"format":"clean-skill-bundle-v1","source":"ai-native-camp/camp-2/.claude/skills/content-digest/SKILL.md","bundle_sha256":"4774433c30f65e6a529a0ed11e27ddc6e97c41867556b4b1b30c392c3345a4bd","attachment_count":0,"text_attachments":0,"binary_attachments":0},"cluster_size":1,"skill_md_path":".claude/skills/content-digest/SKILL.md","import_metadata":{"date":"2026-06-05","author":"@skillopedia","version":"v1","category":"browser-automation-scraping","category_label":"Browser"},"exact_dupes_collapsed_into_this":0},"version":"v1","category":"browser-automation-scraping","import_tag":"clean-skills-v1","description":"This skill should be used when the user asks to \"콘텐츠 정리\", \"아티클 요약\", \"PDF 학습\", \"영상 정리\", \"트윗 정리\", \"digest\", \"summarize\", \"정리해줘\", or provides a YouTube URL, X/Twitter URL (x.com, twitter.com), webpage URL, or PDF file for analysis. Supports YouTube (transcript), X/Twitter (via fetch-tweet skill), webpage (full content via browser), and PDF (text + image per page). Generates Quiz-First learning with 9 questions across 3 difficulty levels."}},"renderedAt":1782980223845}

Content Digest 콘텐츠 → Quiz-First 학습 → 선택적 깊이 탐색 → 근본 개념 확장. Task Agent 기반 설계 : 긴 컨텍스트는 subagent가 처리하고, 메인 세션은 최종 결론만 소비 아키텍처 원칙 1. Context Separation : 긴 자막/본문은 Task agent가 처리, 메인 세션은 가벼운 md 파일만 Read 2. Clean Transcript : 자막에서 번호, 시간 제거 → 순수 영어 텍스트만 추출 3. Web Research Integration : 추출된 키워드로 자동 웹 리서치 4. Single Output : 모든 처리 결과는 단일 md 파일로 저장 지원 콘텐츠 | 타입 | 추출 방법 | 저장 경로 | |-----|----------|----------| | YouTube | Task agent (yt-dlp + 정제) | | | X/Twitter | fetch-tweet 스킬 (api.fxtwitter.com) | | | Webpage | Task agent (browser + 정제) | | | PDF | Task agent (Read + 정제) | | 핵심 원칙 1. Quiz-First : 요약 보…