chapter-media-inventory

Audits chapter image folders and generates CSV inventories and HTML thumbnail galleries.

1|Updated May 26, 2026
One-click install
npx skills add https://github.com/nimdvir/dima-publishing --skill chapter-media-inventory-nimdvir
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: chapter-media-inventory
Source: https://github.com/nimdvir/dima-publishing/tree/main/.agents/skills/chapter-media-inventory
Command: npx skills add https://github.com/nimdvir/dima-publishing --skill chapter-media-inventory-nimdvir

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Textbook chapters accumulate dozens of image files, and it becomes hard to know which images are actually placed in the chapter, which are unused candidates, and which are already delivered via Cloudinary. This Skill answers those questions with a read-only audit that never edits chapter files or uploads assets. ## Core Features & Use Cases - Image Inventory: Scans a chapter's .images/ folder, cross-references each file against the chapter Markdown, and classifies every image as placed, unplaced, cloudinary, or unknown. - CSV and Table Reports: Produces a Markdown summary table and an optional CSV with filename, path, size, dimensions, format, and placement reference. - Unplaced Image Recommendations: Suggests which chapter sections unused images might fit, based on filenames and section headings, without ever auto-placing them. - HTML Gallery Generation: Builds a self-contained, filterable thumbnail gallery (gallery.html) with full-size preview on demand. - Use Case: Before finalizing BITM330 chapter 5, run an inventory to discover three unplaced screenshots, get section recommendations for each, and generate a gallery to review them visually with the editorial team. ## Quick Start Ask the assistant to generate an image inventory for chapter ch05 showing which images are placed and which are unused.

Frequently Asked Questions about chapter-media-inventory

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find unused images in a textbook chapter folder?▼

Run an image inventory on the chapter's image folder. The skill scans all image files, cross-references them against the chapter Markdown for image references, and lists every file not referenced as unplaced, with section recommendations.

How to generate an HTML image gallery for a chapter?▼

Request a gallery after running the inventory. The skill writes a self-contained gallery.html into the chapter's image folder with a 200px thumbnail grid, full-size modal view, and filters for placed, unplaced, and cloudinary images.

What image formats does the chapter inventory scan?▼

The scan covers PNG, JPG, JPEG, GIF, WebP, and SVG files. It excludes files inside used, optimized, and from-chapter subfolders so only candidate assets are inventoried.

Does the inventory skill modify chapter files or upload images?▼

No. The skill is read-only by design: it never edits chapter Markdown, never uploads to Cloudinary, never optimizes or deletes images, and never auto-places images. Gallery generation only happens when explicitly requested.

Can the inventory detect images already on Cloudinary?▼

Yes. It detects Cloudinary URLs referenced in the chapter Markdown and marks those images with cloudinary status. It does not query the Cloudinary API directly unless an asset-management MCP is available and explicitly requested.