Borrowing it
Nothing to install: this file belongs to bybren-llc/safe-agentic-workflow. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bybren-llc/safe-agentic-workflow/main/.gemini/commands/media/analyze-images.tomlgit clone --depth 1 https://github.com/bybren-llc/safe-agentic-workflowWrote 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.
[](https://agentmods.dev/commands/bybren-llc/safe-agentic-workflow/analyze-images)<a href="https://agentmods.dev/commands/bybren-llc/safe-agentic-workflow/analyze-images"><img src="https://agentmods.dev/badge/commands/bybren-llc/safe-agentic-workflow/analyze-images.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00414 |
| Opus 5 | $0.00000 | $0.00207 |
| Sonnet 5 | $0.00000 | $0.00083 |
| Haiku 4.5 | $0.00000 | $0.00041 |
Grade A, and why
analyze-images 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 4d 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.
Copies of this mod
2 near-identical copies found in the catalogue:
- analyze-images — 100% identical, 0 lines differ
- analyze-images — 100% identical, 0 lines differ
What it actually says
description = "Analyze and describe images in a directory"
prompt = """
Analyze Images Command
Analyze images in the specified directory using Gemini's multimodal vision capabilities.
Target: {{args}}
Supported Formats
PNG, JPG, JPEG, GIF, WEBP, SVG, BMP
Workflow
1. Discover Images
Find all images in the target directory:
!{find {{args}} -type f \\( -iname "*.png" -o -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.gif" -o -iname "*.webp" -o -iname "*.svg" -o -iname "*.bmp" \\) 2>/dev/null | head -20}
2. Analyze Each Image
For each image found:
- Read the image file using multimodal input
- Describe the visual content
- Identify key elements (objects, text, colors, composition)
- Suggest appropriate filename based on content
3. Generate Report
Create a markdown report with:
## Image Analysis Report
### image1.png
- **Description**: [Visual description]
- **Key Elements**: [Objects, text, colors identified]
- **Suggested Name**: [content-based-name.png]
- **Dimensions**: [if available]
### image2.jpg
...
Output Options
Based on user request, can also:
- Rename files based on content
- Organize into category folders
- Extract text from images (OCR)
- Generate alt-text for accessibility
- Create thumbnails descriptions
Usage Examples
/media:analyze-images ./screenshots
/media:analyze-images ~/Downloads/images
/media:analyze-images ./assets/icons
Notes
- Gemini CLI multimodal: Images are base64-encoded for model consumption
- Large directories: Process in batches of 10-20 images
- Privacy: Image contents are sent to Gemini API for analysis """
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.
- 4d ago First seen · 72 lines · 0 tokens per session scan A 269b1e4d6b24
analyze-images is a command published in the GitHub repository bybren-llc/safe-agentic-workflow (406 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 414 tokens. 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-09-03.
Other commands, from other repositories
obsidian-connect
Bridge two unrelated domains using your vault's link graph - forces creative friction to spark new ideas.
obsidian-compatible-commands
Generated by python scripts/wiki.py obsidian export.
check-todos
List outstanding todos and select one to work on.
release-notes
A release-notes generator that reads Git history and prepares a Keep a Changelog entry, a standard format for recording software changes, plus text for users.
vd-help
User-invoked. Só humano chama. Não dispara automaticamente.
context
Manage workflow context (handoffs, todos, session status).