Agent skill

Gemini History Analyzer

by daymade in daymade/claude-code-skills

Analyze Google Takeout exports of Gemini conversation history.

MITAuto-check passed

Install Gemini History Analyzer

skills CLI
$ npx skills add daymade/claude-code-skills --skill gemini-history-analyzer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install daymade/claude-code-skills gemini-history-analyzer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/daymade/claude-code-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/gemini-history-analyzer .claude/skills/gemini-history-analyzer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gemini-history-analyzer
GitHub stars
1.4k
Token cost
~2.3k tokens
SKILL.md length
868 words
Files
1
Skills in repo
104
Repo updated
First seen
Licence
MIT

At a glance

Analyze Google Takeout exports of Gemini conversation history.

  • Works in 8 steps: Extract the ZIP → Inventory and Categorize → Sample and Classify → …
  • The user mentions Gemini takeout
  • SKILL.md covers Quick Judgment: Meeting…, Step 1: Extract the ZIP, Step 2: Inventory and Categorize and Step 3: Sample and Classify, plus 6 more sections
  • Calls brew

What it does

Gemini History Analyzer is an agent skill from daymade/claude-code-skills. Analyze Google Takeout exports of Gemini conversation history. Use when the user mentions Gemini takeout, Gemini export, Gemini history, Gemini conversation analysis, Google Takeout zip analysis, or drags a takeout zip into the project. Also use when the user asks to "analyze my Gemini data", "what did I talk to Gemini about", or wants to extract insights from Gemini chat logs.

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It works with Google Gemini. The repository describes itself as: Professional Claude Code skills marketplace featuring production-ready skills for enhanced development workflows. The licence is MIT.

When your agent uses it

  • The user mentions Gemini takeout
  • Gemini conversation analysis
  • Google Takeout zip analysis
  • Drags a takeout zip into the project

Example prompts

  • “analyze my Gemini data”
  • “what did I talk to Gemini about”
  • “/gemini-history-analyzer”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. Extract the ZIP
  2. Inventory and Categorize
  3. Sample and Classify
  4. Full Content Analysis
  5. Domain-Specific Keyword Search
  6. Generate Report
  7. Memory File Generation (Optional)
  8. Cleanup

What it can do on your machine

Read from SKILL.md and the folder at commit 0e52df5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • brew

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gemini History Analyzer loads about 2.3k tokens when it runs. Until then it costs about 101 tokens; SKILL.md has 868 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~101
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from daymade/claude-code-skills at commit 0e52df5, republished under its MIT licence (© daymade). 868 words, ~2,288 tokens.

Download SKILL.mdSave it as .claude/skills/gemini-history-analyzer/SKILL.md (or your agent's skills folder).
name
gemini-history-analyzer
description
Analyze Google Takeout exports of Gemini conversation history. Use when the user mentions Gemini takeout, Gemini export, Gemini history, Gemini conversation analysis, Google Takeout zip analysis, or drags a takeout zip into the project. Also use when the user asks to "analyze my Gemini data", "what did I talk to Gemini about", or wants to extract insights from Gemini chat logs.
argument-hint
[takeout-zip-path]

Gemini History Analyzer

Extract, categorize, and analyze Google Takeout ZIP exports of Gemini Apps activity. The skill handles:

  • Extraction (with Chinese/Unicode filename support)
  • Content categorization and topic analysis
  • User profile extraction from conversation patterns
  • Domain-specific keyword search with context verification
  • PII/sensitive content detection
  • Structured report generation with optional memory file creation

Quick Judgment: Meeting Transcripts vs Prompt-Response

Before full analysis, sample 3-5 files to determine the conversation type:

SignalMeeting TranscriptPrompt-Response
Speaker labels"张三:"、"李四:"、"Speaker 1:""User:"、"Assistant:"、"You:"
Content patternDiscussion flow, turn-taking, small talkQ&A, instruction→output
Length distributionVariable, lots of short turnsLonger assistant responses
File namingOften Chinese, meeting-style titlesEnglish, topic-based titles

The analysis approach differs:

  • Meeting transcripts → topic categorization, speaker analysis, decision tracking, user profile extraction
  • Prompt-response → usage pattern analysis, capability assessment, interest domain mapping

Step 1: Extract the ZIP

Google Takeout files contain Chinese/Unicode filenames. macOS unzip corrupts these — always use unar.

bash
# Install unar if missing
brew install unar 2>/dev/null || true

# Extract to a target directory
unar -o <output-dir> -q "<takeout-zip-path>"

The standard structure:

Takeout/
└── My Activity/
    └── Gemini Apps/
        ├── *.txt          # Conversation transcripts
        ├── *.html         # Web-format backups (rare)
        ├── *.png/jpg      # Images from conversations
        ├── *.mp3/mp4/wav  # Audio/video attachments
        ├── *.pdf          # Uploaded/shared documents
        ├── *.xlsx/docx    # Office documents
        └── *.zip          # Nested archives (animation frames, etc.)

Step 2: Inventory and Categorize

Run a full inventory before reading any single file:

bash
# Count by extension
find <extract-dir> -type f | sed 's/.*\.//' | sort | uniq -c | sort -rn

# List all txt files (these are the primary content)
find <extract-dir> -name "*.txt" -type f | sort

# Get total size per type
find <extract-dir> -type f -exec du -sh {} \; | sort -rh | head -30

Build a table of:

  • Total file count, total size
  • Breakdown by file type (txt count/size, media count/size, etc.)
  • Date range if file timestamps are meaningful

Step 3: Sample and Classify

Read 3-5 txt files spread across the file list (not just the first few — timestamps/file sizes may cluster by type). For each:

  1. Read the first ~100 lines to determine conversation type
  2. Identify language (Chinese/English/mixed)
  3. Classify topic area at a high level
  4. Note speaker count and pattern

Use this sample to decide the analysis strategy for the remaining files.

Step 4: Full Content Analysis

For each txt file, read and extract:

4a. Metadata
  • Title (filename minus hash suffix)
  • Approximate duration (from transcript timestamps)
  • Speaker count and identities
  • Language mix (Chinese % / English %)
4b. Topic Classification

Assign primary + secondary topics. Default categories (adjust based on actual content):

  • Software Development
  • AI/LLM Tools & Workflows
  • Infrastructure/Cloud/DevOps
  • Business/Strategy
  • Product/Design
  • Team/HR/Personnel
  • Finance/Investment (this is often the target of analysis)
  • Legal/Compliance
  • Personal/Other
4c. Key Findings Per File

For each file, capture:

  • Main discussion points (3-5 bullets)
  • Decisions made or action items
  • Notable quotes (verbatim, with context)
  • Relationships mentioned (people, companies, projects)

When looking for content in a specific domain (finance, legal, etc.):

  1. Design keyword list with AND/OR logic — e.g., finance: stock OR investment OR fund OR portfolio OR 股票 OR 投资 OR 基金, but also domain-specific terms like EPS, P/E, dividend, arbitrage
  2. Grep every txt file for each keyword batch
  3. Read surrounding context (10 lines before/after each match) — keyword matching alone produces massive false positives. "Investment" can mean business strategy, "option" can mean UI choice, "fund" can mean insurance feature
  4. Classify each match as:
    • Definite hit (the conversation is about this domain)
    • False positive (same word, different meaning)
    • Ambiguous (needs deeper reading)
  5. Re-read full files for definite + ambiguous hits

Never stop at grep output — context verification is mandatory.

Step 6: Generate Report

Report Structure
markdown
# Gemini History Analysis Report
**Source**: <zip filename>
**Date analyzed**: <today>
**Extraction size**: <N files, N MB>

## 1. Content Overview
- Total conversations: N
- Conversation type: [Meeting Transcripts | Prompt-Response | Mixed]
- Language distribution: X% Chinese, Y% English, Z% Mixed
- Date range: <earliest> to <latest>
- Media attachments: N images, N audio, N video

## 2. Topic Distribution
| Category | Count | % | Notes |
|----------|-------|---|-------|
| ... | | | |

## 3. Key Findings
(Bulleted, organized by significance)

## 4. Domain-Specific Analysis
(If user requested finance/legal/etc. keyword search)
- Matches found: N
- Confirmed relevant: N
- False positives: N (with examples of what caused them)

## 5. Notable Documents
Non-txt files worth attention: PDFs, spreadsheets, etc.

## 6. Valuable Quotes
Verbatim quotes that capture key insights

## 7. PII / Sensitive Content
(Flag if detected — do NOT include the actual PII in the report)
- File: <name>, Type: <resume/background-check/etc.>, Risk: <high/medium/low>

Step 7: Memory File Generation (Optional)

If the user wants to persist findings as project memory (like .claude/projects/<path>/memory/):

When to generate memory files
  • User explicitly asks ("build user profile", "remember this")
  • The analysis reveals reusable insights about the user's preferences, workflows, or constraints
  • The project has a memory system (check for existing memory/MEMORY.md)
Show full SKILL.md (332 more words)Show less
Memory file types to offer
  1. User profile (user-profile.md) — if conversations reveal user's role, preferences, personality
  2. Feedback/Workflow (feedback-*.md) — if conversations reveal proven workflows, dos/don'ts
  3. Project context (project-*.md) — if conversations reveal ongoing projects, decisions, constraints
Memory writing protocol
  • Follow the project's existing memory format (check other memory files for frontmatter conventions)
  • Include originSessionId or source tag pointing back to the analysis
  • Update MEMORY.md index with new entries
  • Never duplicate what's already in memory — update existing files instead

Step 8: Cleanup

bash
# Remove extracted files after analysis complete (user confirms)
rm -rf <extract-dir>

Critical Pitfalls (From Real Usage)

1. ZIP extraction: ALWAYS use unar

macOS unzip silently corrupts Chinese filenames — files become garbled paths, many fail to extract. brew install unar + unar -o <dir> <zip> handles everything correctly.

2. Keyword search: grep is step 1, not the answer

Keyword matching on "stock", "investment", "fund", "option", "portfolio", "trading" produced matches in 80%+ of files in a real analysis — every single one was a false positive. These words appear in software development contexts constantly. Always read surrounding context for every match.

3. Know what you're reading

Gemini Takeout txt files are NOT the original Gemini prompt-response pairs. They can be:

  • Meeting transcripts exported by 飞书妙记 (Feishu Miaojii) and then uploaded to Gemini
  • Manual notes copy-pasted into Gemini
  • PDF/article text pasted for analysis Read the first ~100 lines of each file before assuming its nature.
4. PII is likely present

Resumes, background check forms, contact lists — these routinely appear in conversation history. Flag them, do NOT include their contents in reports. If creating memory files or wiki pages, ensure PII is summarized, not copied.

5. Large files need triage

A 63KB transcript is a 2-hour meeting. Don't read the whole thing unless it's flagged as highly relevant. Read the first 10% + last 10% for gist; read fully only if keyword hits or topic relevance warrant it.

6. Parallel reads for scale

For 100+ files, spawn parallel sub-agents to read and summarize in batches (10-15 files each). Merge results. One agent reading all files sequentially will exhaust context.

© daymade, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in gemini-history-analyzer of daymade/claude-code-skills.

Open the folder on GitHubat commit 0e52df5

Compare with similar skills

Gemini History Analyzer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gemini History Analyzer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gemini History Analyzer this skilldaymade/claude-code-skills1.4k—~2.3kAutomated safety check: PassMIT
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k14 repos~2.4kAutomated safety check: NotesMIT
Brand and Design Toolkitnextlevelbuilder/ui-ux-pro-max-skill135k1 repos~3.5kAutomated safety check: PassMIT
AI Image Generation and Editingzhayujie/CowAgent47k—~1.3kAutomated safety check: PassMIT
OpenCLI Smart Search Routerjackwener/OpenCLI30k2 repos~753Automated safety check: PassApache-2.0
NotebookLM Automationteng-lin/notebooklm-py20k—~4.1kAutomated safety check: PassMIT

Similar skills

  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 14 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Brand and Design Toolkit

    nextlevelbuilder/ui-ux-pro-max-skill

    Bundles design tasks behind one skill: brand identity, tokens, UI styling, logos, corporate identity mockups, slides, banners, icons and social images.

    135k GitHub starsUsed in 1 repo~3.5k tokens
    Media & CreativeAuto-check passed
  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • Routes a search question to the most suitable opencli source, normally one AI site plus up to two specialist sites, with call limits per question and a recap at the end.

    30k GitHub starsUsed in 2 repos~753 tokens
    Productivity & AutomationAuto-check passed
  • NotebookLM Automation

    teng-lin/notebooklm-py

    Installs, authenticates and operates Gemini Notebook (NotebookLM) through the notebooklm-py CLI or its typed async Python API, for notebooks, sources, grounded chat and generated artifacts.

    20k GitHub stars~4.1k tokensUpdated yesterday
    Knowledge ManagementAuto-check passed
  • Nano Banana Pro Prompts Recommend Skill

    YouMind-OpenLab/nano-banana-pro-prompts-recommend-skill

    Recommend suitable prompts from 10,000+ Nano Banana Pro image generation prompts based on user needs.

    1.9k GitHub starsUsed in 1 repo~4.1k tokens
    Media & CreativeAuto-check passed

More from daymade/claude-code-skills

All 104 skills in this repo
  • Video Comparer

    daymade/claude-code-skills

    This skill should be used when comparing two videos to analyze compression results or quality differences.

    1.5k GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check: notes
  • CLI Demo Generator

    daymade/claude-code-skills

    Generates professional animated CLI demos as GIFs using VHS terminal recordings.

    1.5k GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • Doc To Markdown

    daymade/claude-code-skills

    Converts DOCX/PDF/PPTX and saved HTML/HTM to high-quality Markdown with automatic post-processing.

    1.5k GitHub stars~2.5k tokensUpdated today
    Auto-check passed
  • Interaction Design Board

    daymade/claude-code-skills

    Generates several distinct, clickable HTML interaction prototypes for one product surface into a Design Board and collects selection/remix feedback before implementation.

    1.5k GitHub stars~2.7k tokensUpdated today
    Auto-check passed
  • Skill Creator

    daymade/claude-code-skills

    Creates, edits and benchmarks skills; supersedes the official skill-creator plugin, so when both are listed, use this one.

    1.5k GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Auto Repo Setup

    daymade/claude-code-skills

    Diagnoses and repairs repository setup and guarded Git workflows for Claude Code or Codex — environment repair, startup sync, hook auditing, collaborator handoff.

    1.5k GitHub stars~2.9k tokensUpdated today
    Auto-check: notes

Works with

Questions about Gemini History Analyzer

What does Gemini History Analyzer do?

Analyze Google Takeout exports of Gemini conversation history. Gemini History Analyzer is an agent skill from daymade/claude-code-skills. Analyze Google Takeout exports of Gemini conversation history.

When should I use Gemini History Analyzer?

Gemini History Analyzer fits situations like: the user mentions Gemini takeout; gemini conversation analysis; google Takeout zip analysis; drags a takeout zip into the project.

How do I install Gemini History Analyzer in Claude Code?

Run `npx skills add daymade/claude-code-skills --skill gemini-history-analyzer -a claude-code`. Or copy the skill folder (gemini-history-analyzer in daymade/claude-code-skills) into .claude/skills/gemini-history-analyzer in your project. Claude Code loads it when a task matches its description.

How do I install Gemini History Analyzer in Codex?

Run `npx skills add daymade/claude-code-skills --skill gemini-history-analyzer -a codex`. Or copy the skill folder (gemini-history-analyzer in daymade/claude-code-skills) into .agents/skills/gemini-history-analyzer in your project. Codex loads it when a task matches its description.

Can I use Gemini History Analyzer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add daymade/claude-code-skills --skill gemini-history-analyzer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gemini-history-analyzer, .gemini/skills/gemini-history-analyzer, .github/skills/gemini-history-analyzer and .opencode/skills/gemini-history-analyzer in your project.

What does Gemini History Analyzer need to run?

Going by SKILL.md and its folder, Gemini History Analyzer needs the command-line tools its instructions call (brew).

Does Gemini History Analyzer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gemini History Analyzer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gemini History Analyzer use?

Gemini History Analyzer is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gemini History Analyzer use?

About 2.3k tokens (SKILL.md is roughly 9.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gemini History Analyzer?

Skills that share tags, products or a category with Gemini History Analyzer: NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars), Brand and Design Toolkit (nextlevelbuilder/ui-ux-pro-max-skill, 135k stars), AI Image Generation and Editing (zhayujie/CowAgent, 47k stars) and OpenCLI Smart Search Router (jackwener/OpenCLI, 30k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gemini History Analyzer?

daymade (a GitHub user) maintains it in daymade/claude-code-skills, which has 1,448 GitHub stars. The repository holds 104 skills in this directory. The repository was last updated on October 10, 2026.

Source: daymade/claude-code-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.