release

release is a command for Claude Code from athitupakan/garmin-dev-skills. It costs 0 tokens per session (531 once invoked), scanned A, original, MIT.

A command that compiles an optimized, debug-information-free Garmin build for the active device into a separate release .prg file.

In plain words
What is it for?
Use it to test the exact optimized build in the simulator before packaging it for the store; it does not upload the file.
Why use it?
Release builds can behave differently from debug builds because the compiler removes debug information and applies stronger optimizations.

Command for Claude Code

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

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./.claude/skills/garmin-dev/scripts/posix/release.sh.

Part of the garmin-dev plugin — 1 skill, 6 commands shipped together

Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/athitupakan/garmin-dev-skills
agentmods
npx agentmods add commands/athitupakan/garmin-dev-skills/release

Made for: Claude Code.

Or install garmin-dev, the plugin that ships this one along with the rest of its 1 skill, 6 commands.

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 release

README.md
[![agentmods](https://agentmods.dev/badge/commands/athitupakan/garmin-dev-skills/release.svg)](https://agentmods.dev/commands/athitupakan/garmin-dev-skills/release)
Your own site
<a href="https://agentmods.dev/commands/athitupakan/garmin-dev-skills/release"><img src="https://agentmods.dev/badge/commands/athitupakan/garmin-dev-skills/release.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 531 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00000 $0.00531
Opus 5 $0.00000 $0.00266
Sonnet 5 $0.00000 $0.00106
Haiku 4.5 $0.00000 $0.00053

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

Security

Grade A, and why

release 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/garmin-dev/references/commands/release.md · 56 lines

How it starts

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

release — release.ps1

Compile a release-stripped build for the active device → bin\<project>-release.prg. Single device, single .prg. Does not push.

Use to verify the optimized binary still runs in the simulator before packaging for the store.

Run

# Windows
.\.claude\skills\garmin-dev\scripts\windows\release.ps1
# macOS / Linux
./.claude/skills/garmin-dev/scripts/posix/release.sh

Why test release before packaging

The -r / --release flag strips debug info AND lets the compiler optimize more aggressively. This is exactly the build the store ships. Release builds can break in ways debug builds never see:

  • Type pruning — code reachable only from debug paths gets eliminated. If anything was relying on side effects in those paths, it disappears.
  • Latent null/type errors — debug builds tolerate some sloppy types via runtime checks; release strips those.
  • Aggressive inlining — exposes ordering assumptions that the debug build's slower dispatch hid.

So: always release.ps1 + push + verify in sim FIRST. Only then package.ps1.

Output naming

Output is intentionally distinct from bin\<project>.prg (the debug build) so push.ps1 / run.ps1 — which target the debug $Prg — don't accidentally push the release binary on the next dev-loop iteration.

Pushing the release build to the simulator

push targets $Prg (the debug name). To push the release binary, invoke monkeydo directly:

# Windows
. .\.claude\skills\garmin-dev\scripts\windows\_env.ps1
& "$Sdk\bin\monkeydo.bat" "bin\$Project-release.prg" $Device
# macOS / Linux
. ./.claude/skills/garmin-dev/scripts/posix/_env.sh
"$Sdk/bin/monkeydo" "bin/${Project}-release.prg" "$Device"

(Long-lived — pass run_in_background: true in PowerShell / Bash tool calls.)

On failure

  • Type errors that pass in debug → almost always a missing null guard. Fix in source.
  • Other unexpected errors → ../troubleshooting.md

Read the full file on GitHub · 56 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 · 56 lines · 0 tokens per session scan A ce42fdb1099d

Subscribe to this mod's changes

release is a command published in the GitHub repository athitupakan/garmin-dev-skills (2 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 531 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-08-31.