bump

bump is a command for Claude Code from carloshpdoc/ios-workflow-claude. It costs 0 tokens per session (1,299 once invoked), scanned A, original, Apache-2.0.

A command for changing an app's version or build number across the project's targets. It can increment only the build number or update the patch, minor, or major version.

In plain words
What is it for?
Use `/bump build` for a build-only change, or `/bump patch`, `/bump minor`, and `/bump major` for standard semantic version updates; without an option, it uses `build`.
Why use it?
It avoids manually finding and editing version values in each target. The command also rejects unsupported bump types instead of choosing one silently.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the ios-workflow plugin — 22 commands, 3 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/carloshpdoc/ios-workflow-claude/bump
Clone the repo
git clone --depth 1 https://github.com/carloshpdoc/ios-workflow-claude

Made for: Claude Code.

Or install ios-workflow, the plugin that ships this one along with the rest of its 22 commands, 3 agents.

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 bump

README.md
[![agentmods](https://agentmods.dev/badge/commands/carloshpdoc/ios-workflow-claude/bump.svg)](https://agentmods.dev/commands/carloshpdoc/ios-workflow-claude/bump)
Your own site
<a href="https://agentmods.dev/commands/carloshpdoc/ios-workflow-claude/bump"><img src="https://agentmods.dev/badge/commands/carloshpdoc/ios-workflow-claude/bump.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 1,299 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.01299
Opus 5 $0.00000 $0.00649
Sonnet 5 $0.00000 $0.00260
Haiku 4.5 $0.00000 $0.00130

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

Security

Grade A, and why

bump 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.

plugins/ios-workflow/commands/bump.md · 119 lines

How it starts

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

Bump Version

Bump the app version or build number across all targets in the current project.

$ARGUMENTS: the bump type. If empty, defaults to build.

Argument Description Example
build Increment build number only 1 -> 2
patch Bump patch version, increment build 1.0.0 -> 1.0.1
minor Bump minor version, increment build 1.0.0 -> 1.1.0
major Bump major version, increment build 1.0.0 -> 2.0.0

Examples:

  • /bump - Increment build number (default)
  • /bump build - Increment build number
  • /bump patch - Bump patch version
  • /bump minor - Bump minor version
  • /bump major - Bump major version

Steps

1. Parse Arguments

Read $ARGUMENTS and determine the bump type:

  • If empty or build -> bump build number only
  • If patch -> bump patch, increment build
  • If minor -> bump minor, increment build
  • If major -> bump major, increment build
  • If anything else -> tell the user the valid options and stop

2. Detect Project Type

Check what version source exists in the current working directory:

Option A — XcodeGen (project.yml): Look for project.yml in the project root. If found, this is the source of truth. Extract the current MARKETING_VERSION and CURRENT_PROJECT_VERSION values from it.

Option B — Native Xcode (.pbxproj): If no project.yml exists, find the .pbxproj file (typically at *.xcodeproj/project.pbxproj). Extract the current MARKETING_VERSION and CURRENT_PROJECT_VERSION values from it.

If neither exists, tell the user no version source was found and stop.

3. Read Current Versions

Extract the current values:

  • MARKETING_VERSION (e.g., 1.0.0) — the user-facing version
  • CURRENT_PROJECT_VERSION (e.g., 3) — the build number

If multiple different values exist across targets (e.g., some targets at build 3, others at build 1), warn the user and show the discrepancies. Use the highest value as the baseline for bumping, and the bump will unify all targets to the same new value.

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

Subscribe to this mod's changes

bump is a command published in the GitHub repository carloshpdoc/ios-workflow-claude (7 stars, last pushed 3mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,299 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.