gemini-file-analysis

gemini-file-analysis is a skill for Claude Code from azmym/gemini-plugin. It costs 49 tokens per session (891 once invoked), scanned A, original, MIT.

A procedure for sending files to Gemini for analysis when they are difficult to inspect directly, such as PDFs, images, audio, video, binary files, or very large source files.

In plain words
What is it for?
Summarizing documents, reading screenshots and diagrams, transcribing recordings, interpreting videos, and analyzing large or unsupported files.
Why use it?
It lets an agent examine file contents that do not fit ordinary text processing or require visual, audio, or video understanding.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the gemini-plugin plugin — 9 skills, 6 commands, 5 agents, 7 hooks shipped together

Good fit Summarizing documents, reading screenshots and diagrams, transcribing recordings, interpreting videos, and analyzing…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/azmym/gemini-plugin/gemini-file-analysis
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add azmym/gemini-plugin --skill gemini-file-analysis
Clone the repo
git clone --depth 1 https://github.com/azmym/gemini-plugin

Made for: Claude Code.

Or install gemini-plugin, the plugin that ships this one along with the rest of its 9 skills, 6 commands, 5 agents, 7 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gemini-file-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/azmym/gemini-plugin/gemini-file-analysis.svg)](https://agentmods.dev/skills/azmym/gemini-plugin/gemini-file-analysis)
Your own site
<a href="https://agentmods.dev/skills/azmym/gemini-plugin/gemini-file-analysis"><img src="https://agentmods.dev/badge/skills/azmym/gemini-plugin/gemini-file-analysis.svg" alt="Measured on agentmods" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 891 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00891
Opus 5 $0.00024 $0.00445
Sonnet 5 $0.00010 $0.00178
Haiku 4.5 $0.00005 $0.00089

Measured 6d ago against content hash b48d10b3c0a0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

gemini-file-analysis scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/gemini-file-analysis/SKILL.md · 95 lines

How it starts

The opening of the file, as written. The whole thing — 95 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Gemini File Analysis

Use this skill to send files to Gemini for multi-modal analysis. Gemini can read PDFs, interpret images, transcribe audio, understand video frames, and reason over large source files that exceed Claude's context window.

When to use this skill

  • PDF documents: Research papers, contracts, architecture decision records, runbooks, changelogs.
  • Images: Screenshots with error messages, diagrams, UI mockups, charts, or photos requiring visual interpretation.
  • Audio files: Meeting recordings, user interviews, voiceovers that need transcription or content extraction.
  • Video files: Screen recordings, demo clips, or short videos requiring frame-level understanding.
  • Large source files: A codebase archive, minified bundle, or log file that is too large to fit in Claude's context.
  • Binary formats: Any file format Claude cannot read as plain text.

MCP tools

Tool Purpose
gemini_analyze_file Upload a file and run a prompt against its contents

Usage pattern

Analyze a PDF

{
  "tool": "gemini_analyze_file",
  "arguments": {
    "file_path": "/path/to/architecture-decision-record.pdf",
    "prompt": "Summarize the key architectural decisions and list any open questions."
  }
}

Interpret a screenshot

{
  "tool": "gemini_analyze_file",
  "arguments": {
    "file_path": "/path/to/error-screenshot.png",
    "prompt": "What error is shown and what are the most likely root causes?"
  }
}

Transcribe an audio recording

{
  "tool": "gemini_analyze_file",
  "arguments": {
    "file_path": "/path/to/meeting-recording.mp3",
    "prompt": "Transcribe the key action items and decisions from this meeting."
  }
}

Analyze a large source file

{
  "tool": "gemini_analyze_file",
  "arguments": {
    "file_path": "/path/to/large-codebase.tar.gz",
    "prompt": "Identify the main modules, entry points, and any obvious code quality issues."
  }
}

Read the full file on GitHub · 95 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 95 lines · 49 tokens per session scan A b48d10b3c0a0

Subscribe to this mod's changes

gemini-file-analysis is a skill published in the GitHub repository azmym/gemini-plugin (1 stars, last pushed 23d ago), licensed MIT. It adds 49 tokens to every session and 891 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories