| name | history-note-processor |
| description | Process Gemini chat exports into structured academic history notes following the Four-Step Deep Reading methodology (ð¢ Foundation â ðµ Critique â ð£ Context â ðŽ Synthesis). Use when (1) Processing Gemini chat history exports, (2) Expanding existing history notes, (3) Creating comprehensive academic notes from historical readings, (4) Structuring research notes with YAML frontmatter, Mermaid visualizations, and multi-stage analysis. |
History Note Processor
Transform Gemini chat exports and historical readings into comprehensive, academically-structured notes following established standards.
Workflow Overview
Input: Gemini chat export (zip file) containing conversation about a historical work
Output: Structured Markdown note with YAML frontmatter, Mermaid diagrams, and Four-Step Deep Reading analysis
Standard Operating Procedure
Phase 1: Extract and Analyze Source
-
Extract Gemini chat export:
unzip gemini-chat-*.zip
cat gemini-chat-*/session.json | jq -r '.messages[] | .text' > raw_content.txt
-
Identify core book/topic metadata:
- Title (Chinese + original)
- Author
- Publisher/year
- Core thesis
- Key concepts
Phase 2: Structure with YAML Frontmatter
Required frontmatter fields:
---
title: "äžæä¹Šå"
original_title: "Original Title"
author: "Author Name"
translator: "è¯è
å§åïŒåŠéçšïŒ"
publisher: "Publisher Name"
year: YYYY
series: "äžä¹Šç³»åïŒåŠéçšïŒ"
category:
- äž»åç±»
- 次åç±»
tags:
- å
³é®æŠå¿µ1
- å
³é®æŠå¿µ2
core_thesis: "æ žå¿è®ºç¹çäžå¥è¯æ»ç»"
key_concepts:
- å
³é®æŠå¿µ1诊ç»åç§°
- å
³é®æŠå¿µ2诊ç»åç§°
methodology:
- æ¹æ³è®º1
- æ¹æ³è®º2
related_works:
- "ãçžå
³èäœ1ã- äœè
"
- "ãçžå
³èäœ2ã- äœè
"
reading_date: YYYY
status: completed
---
Phase 3: Four-Step Deep Reading Structure
Organize content into four mandatory sections:
ð¢ Stage 1: Foundation (ææ¬ç»è¯»äžèç»æ¢³ç)
- Chapter-by-chapter logical breakdown
- Core concepts extraction
- Primary source analysis
- Historical timeline (Mermaid timeline)
ðµ Stage 2: Critique (åŠæ¯å®äœäžæç®ç»Œè¿°)
- Historiographical positioning
- Scholarly debates (intentionalist vs structuralist, etc.)
- Methodological analysis
- Critical assessment
ð£ Stage 3: Context (èæ¯æ©å±äžç¥è¯èå€)
- Institutional/technical archaeology
- Key figures deep dives
- Cross-cultural background
- Hidden historical details
ðŽ Stage 4: Synthesis (ç»æç»Œåäžç论åå)
- Logical closure
- Theoretical elevation
- Critical evaluation
- Contemporary relevance
Phase 4: Visualization Requirements
Include these Mermaid diagrams:
- Opening mindmap (æ žå¿æç»Žå¯ŒåŸ):
mindmap
root((Book Title))
æ¹æ³è®ºåæ°
ç平鶿®µ/åå²åæ
æ žå¿æŠå¿µ
å
³é®äººç©
å²åŠèŽ¡ç®
- Timeline (å
³é®æ¶éŽèœŽ):
timeline
title äž»é¢å
³é®èç¹
section 第äžé¶æ®µ
æ¶éŽç¹1 : äºä»¶æè¿°
æ¶éŽç¹2 : äºä»¶æè¿°
- Flowcharts/graphs as needed for:
- Causal chains
- Power structures
- Conceptual relationships
- Historical processes
Phase 5: Search and Expansion Strategy
For each major topic/concept:
-
Verify with web search:
- Historical events: dates, participants, outcomes
- Key figures: biographical details, roles, fates
- Technical terms: precise definitions, scholarly usage
- Scholarly debates: major positions, representatives
-
Cross-reference framework:
- Check claims against established historiography
- Verify statistical data
- Confirm quotations and attributions
- Identify missing context
-
Add "Sources æ¥æºæ±æ»" section:
- Academic sources
- Wikipedia/encyclopedias
- Specialized databases
- All web search results used
Phase 6: Quality Checklist
Before finalizing, verify:
Output Formatting Standards
Section markers:
- Use
## for main sections (åäžªé¶æ®µ)
- Use
### for subsections
- Use
#### for detailed breakdowns
Visual emphasis:
- Use
*** for horizontal rules between major sections
- Use
> **Blockquotes** for key quotations or important findings
- Use tables for structured comparisons
- Use code blocks for specific examples
Chinese academic style:
- Maintain formal academic tone
- Use traditional scholarly markers (åŠãå³ãç¶ãåãç)
- Balance accessibility with rigor
File Organization
Save location: /Users/leo/Desktop/æ°ç¬è®°/åå²åŠ/ã乊åã-æç».md
Naming convention: Chinese title in full-width guillemets ãã, followed by -æç»
Reference Format
See references/template-example.md for a complete example following all standards.
Common Pitfalls to Avoid
- Incomplete YAML: Don't skip methodology or key_concepts fields
- Missing visualizations: Each stage should have at least one diagram
- Unsourced claims: Always verify dates, statistics, and major historical claims with web search
- Flat structure: Use subsections generously to create hierarchical organization
- No critical analysis: Stage 2 (ðµ Critique) must engage with scholarly debates, not just summarize