exif-turbo: Command for GitHub Copilot

.github/prompts/rebuild-docs.prompt.md

Rebuild documentation is a command for GitHub Copilot from baddonkey/exif-turbo. It costs 23 tokens per session (549 once invoked), scanned A, original, MIT.

A command that rebuilds exif-turbo's documentation materials from the source project. It updates the user manual, recreates a sample database and screenshots, and produces a PDF.

In plain words
What is it for?
Use it to refresh the manual, demo data, screenshots, and PDF after application or interface changes.
Why use it?
It keeps written instructions and visual documentation aligned with the current application instead of updating them manually in separate steps.

Command for GitHub Copilot

Written for GitHub Copilot: a Copilot chat mode or prompt. Also seen: agent in frontmatter; mentions subagents.

This is baddonkey/exif-turbo's own configuration. It tells GitHub Copilot how to work on exif-turbo itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything exif-turbo configures →

Reuse

Borrowing it

Nothing to install: this file belongs to baddonkey/exif-turbo. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/baddonkey/exif-turbo/main/.github/prompts/rebuild-docs.prompt.md
Clone the repo
git clone --depth 1 https://github.com/baddonkey/exif-turbo

Made for: GitHub Copilot.

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 Rebuild documentation

README.md
[![agentmods](https://agentmods.dev/badge/commands/baddonkey/exif-turbo/rebuild-docs/github.svg)](https://agentmods.dev/commands/baddonkey/exif-turbo/rebuild-docs)
Your own site
<a href="https://agentmods.dev/commands/baddonkey/exif-turbo/rebuild-docs"><img src="https://agentmods.dev/badge/commands/baddonkey/exif-turbo/rebuild-docs/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Rebuild documentation

Your own site · 80×15
<a href="https://agentmods.dev/commands/baddonkey/exif-turbo/rebuild-docs"><img src="https://agentmods.dev/badge/commands/baddonkey/exif-turbo/rebuild-docs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 23 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 549 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.00023 $0.00549
Opus 5.5 $0.00009 $0.00220
Sonnet 5.5 $0.00005 $0.00110
Haiku 4.5 $0.00002 $0.00055

Measured 10d ago against content hash 1d28fed16f7a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Rebuild documentation 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 10d 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.

.github/prompts/rebuild-docs.prompt.md · 46 lines

How it starts

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

Fully rebuild the exif-turbo documentation artefacts from scratch.

Steps

1. Update user manual content

Run the documentation subagent to review and update docs/user-manual.md so it accurately reflects the current application behaviour, UI labels, and features. The agent should read the QML sources, view models, and existing manual, then apply any necessary corrections in place.

2. Rebuild screenshots and the demo database

Run the screenshot script. It will:

  • Delete and re-create the demo SQLite database
  • Re-index all sample images from tests/sample-data/schweiz/
  • Register the folder in the indexed_folders table
  • Copy the attributed deer sample to a temporary folder for demo-only tagging
  • Seed the demo database with three sets, a saved filter, custom tags, and a description
  • Launch the QML application, capture all 15 standard UI states, and save PNGs to docs/screenshots/
.venv\Scripts\python.exe scripts/take_screenshots.py

Wait for the script to finish (it takes 1–3 minutes). Confirm that all 15 standard screenshots were saved, including 06_indexed_folders_basic.png and 06_indexed_folders_expert.png. Expected size profile:

  • Captures with loaded photo previews or result imagery (02_search_all, 03_search_eagle, 04_search_milky_way, 05_browse_tab, 07_folder_filter, 08_gps_location_bar, 09_ai_search_mode) should normally be > 300 KB.
  • UI-focused captures (01_lock_screen, both 06_indexed_folders images, and 10–14) are smaller because they show mostly controls or overlays. A low file size alone does not mean a capture failed; visually inspect the Sets, filter, tagging, copy-panel, and Action-menu screenshots for the intended state.

3. Generate the PDF

.venv\Scripts\python.exe scripts/export_manual_pdf.py

Confirm that docs/user-manual.pdf was created and is larger than 1 MB (a PDF without embedded screenshots will be much smaller). Confirm that each newly embedded screenshot has a credit immediately below it and is listed in the screenshot licensing and sample-photo attribution records.

Read the full file on GitHub · 46 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. 10d ago Changed · +3 lines 1d28fed16f7a
  2. 15d ago First seen · 43 lines · 23 tokens per session scan A eee5dc11886e

Subscribe to this mod's changes

Rebuild documentation is a command published in the GitHub repository baddonkey/exif-turbo (11 stars, last pushed yesterday), licensed MIT. It adds 23 tokens to every session and 549 once invoked, about $0.0001 per session on Opus 5.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-10-14.