exif-turbo: Command for Claude Code

.github/prompts/update-dmg-arm.prompt.md

Update ARM DMG on existing release is a command for Claude Code, GitHub Copilot from baddonkey/exif-turbo. It costs 25 tokens per session (647 once invoked), scanned A, original, MIT.

A release command that rebuilds the macOS ARM DMG and replaces that file on an existing GitHub release. A DMG is a macOS installer disk image, and ARM refers to Apple Silicon Macs.

In plain words
What is it for?
Use it to verify a release, compile translation files, build the ARM app and DMG, and upload the replacement asset.
Why use it?
It provides a repeatable way to update the Apple Silicon installer for a release without making a new release.

Command for Claude CodeGitHub Copilot

Written for Claude Code and GitHub Copilot: argument-hint in frontmatter, but also a Copilot chat mode or prompt. Also seen: agent in frontmatter.

This is baddonkey/exif-turbo's own configuration. It tells Claude Code and 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/update-dmg-arm.prompt.md
Clone the repo
git clone --depth 1 https://github.com/baddonkey/exif-turbo

Made for: Claude Code, 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 Update ARM DMG on existing release

README.md
[![agentmods](https://agentmods.dev/badge/commands/baddonkey/exif-turbo/update-dmg-arm/github.svg)](https://agentmods.dev/commands/baddonkey/exif-turbo/update-dmg-arm)
Your own site
<a href="https://agentmods.dev/commands/baddonkey/exif-turbo/update-dmg-arm"><img src="https://agentmods.dev/badge/commands/baddonkey/exif-turbo/update-dmg-arm/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 Update ARM DMG on existing release

Your own site · 80×15
<a href="https://agentmods.dev/commands/baddonkey/exif-turbo/update-dmg-arm"><img src="https://agentmods.dev/badge/commands/baddonkey/exif-turbo/update-dmg-arm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 647 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00025 $0.00647
Opus 5.5 $0.00010 $0.00259
Sonnet 5.5 $0.00005 $0.00129
Haiku 4.5 $0.00003 $0.00065

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

Security

Grade A, and why

Update ARM DMG on existing release scanned grade A with 1 finding 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 15d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `curl -s -H "Authorization: token $TOKEN" "https://api.github.com/repos/baddonkey/exif-turbo/releases/tags/v<version>"`
.github/prompts/update-dmg-arm.prompt.md · 54 lines

How it starts

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

Rebuild the macOS Apple Silicon (arm64) DMG for an existing release and upload it, replacing any previous ARM macOS asset.

Inputs

Target version (tag): $ARGUMENTS

Steps

  1. Verify the release exists

    • Retrieve release metadata via the GitHub API using the token from the macOS keychain (security find-internet-password -s github.com -w).
    • curl -s -H "Authorization: token $TOKEN" "https://api.github.com/repos/baddonkey/exif-turbo/releases/tags/v<version>"
    • Capture the release ID and upload URL for later steps.
    • If the release is not found, stop and tell the user.
  2. Compile .mo translation files — do NOT touch .po files.

    • Run: pybabel compile -d src/exif_turbo/i18n/locales -D exif_turbo
  3. Build the macOS ARM app bundle and DMG

    • Run: python scripts/build_macos.py --arch arm64
    • This uses exif-turbo-macos-arm.spec with target_arch='arm64'.
    • The expected output artifact is dist/exif-turbo-<version>-macos-arm64.dmg.
    • If the build fails, stop and show the error.
  4. Delete any existing ARM macOS DMG asset on the release

    • List current assets: parse the assets array from the release metadata fetched in step 1.
    • For each asset whose name ends with -macos-arm64.dmg, delete it: curl -X DELETE -H "Authorization: token $TOKEN" "https://api.github.com/repos/baddonkey/exif-turbo/releases/assets/<asset_id>"
  5. Upload the new DMG

    • Use the upload URL from step 1 (strip the {?name,label} template suffix).
    • Upload without a label parameter — the filename must be the display name.
    • Asset name: exif-turbo-<version>-macos-arm64.dmg
    curl -H "Authorization: token $TOKEN" \
         -H "Content-Type: application/octet-stream" \
         --data-binary @dist/exif-turbo-<version>-macos-arm64.dmg \
         "<upload_url>?name=exif-turbo-<version>-macos-arm64.dmg"
    
    • Verify the response is HTTP 201.
  6. Summary

    • Confirm the asset name and size visible on the release page.
    • Print: https://github.com/baddonkey/exif-turbo/releases/tag/v<version>

Read the full file on GitHub · 54 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. 15d ago First seen · 54 lines · 25 tokens per session scan A dbdb178aa2b3

Subscribe to this mod's changes

Update ARM DMG on existing release is a command published in the GitHub repository baddonkey/exif-turbo (11 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 647 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-14.