flow-primitive-commit

A procedure for creating a focused Git commit, which is a saved snapshot of selected repository changes.

In plain words
What is it for?
Use it to inspect changes, stage only task-related files, write a concise commit message, and check the worktree afterward.
Why use it?
It helps keep unrelated files out of the commit and verifies the repository state before the work is shared or archived.

Skill for Claude CodeCodex

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 skills/soundblaster/xcodemcpwrapper/flow-primitive-commit
Any agent
npx skills add SoundBlaster/XcodeMCPWrapper --skill flow-primitive-commit
Clone the repo
git clone --depth 1 https://github.com/SoundBlaster/XcodeMCPWrapper

Made for: Claude Code, Codex.

Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 225 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 $0.00055 $0.00225
Opus 5 $0.00028 $0.00112
Sonnet 5 $0.00011 $0.00045
Haiku 4.5 $0.00006 $0.00022

Measured 2d ago against content hash 7829eead5381, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

flow-primitive-commit 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 2d 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.

.agents/skills/flow-primitive-commit/SKILL.md · 43 lines

What it actually says

Flow Primitive Commit

Create a reliable commit snapshot that includes only files relevant to the active task.

Workflow

  1. Inspect status:
git status -sb
  1. Stage only task-relevant files:
git add <files...>
  1. Commit with a concise present-tense summary:
git commit -m "Add Web UI release task to workplan"
  1. Verify post-commit state:
git status -sb

Rules

  • Keep commits scoped to one task/PRD change.
  • Prefer explicit file staging over git add ..
  • Use present-tense commit subjects.
  • Split mixed deliverables into multiple commits when reviewability improves.
  • Do not amend or rewrite history unless explicitly requested.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 43 lines · 55 tokens per session scan A 7829eead5381

Subscribe to this mod's changes

flow-primitive-commit is a skill published in the GitHub repository SoundBlaster/XcodeMCPWrapper (20 stars, last pushed 2mo ago), licensed MIT. It adds 55 tokens to every session and 225 once invoked, about $0.0003 per session on Opus 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-08-30.

Related

Other skills, from other repositories

xcode-build-fixer

Apply approved Xcode build optimization changes following best practices, then re-benchmark to verify improvement. Use when a developer has an approved optimization plan from xcode-build-orchestrator, wants to apply specific build fixes, needs help implementing build setting changes, script phase guards, source-level…

AvdLee/Xcode-Build-Optimization-Agent-Skill · 77 tokens

xcode-build-orchestrator

Orchestrate Xcode build optimization by benchmarking first, running the specialist analysis skills, prioritizing findings, requesting explicit approval, delegating approved fixes to xcode-build-fixer, and re-benchmarking after changes. Use when a developer wants an end-to-end build optimization workflow, asks to speed…

AvdLee/Xcode-Build-Optimization-Agent-Skill · 94 tokens

spm-build-analysis

Analyze Swift Package Manager dependencies, package plugins, module variants, and CI-oriented build overhead that slow Xcode builds. Use when a developer suspects packages, plugins, or dependency graph shape are hurting clean or incremental build performance, mentions SPM slowness, package resolution time, build…

AvdLee/Xcode-Build-Optimization-Agent-Skill · 87 tokens

xcode-compilation-analyzer

Analyze Swift and mixed-language compile hotspots using build timing summaries and Swift frontend diagnostics, then produce a recommend-first source-level optimization plan. Use when a developer reports slow compilation, type-checking warnings, expensive clean-build compile phases, long CompileSwiftSources tasks…

AvdLee/Xcode-Build-Optimization-Agent-Skill · 74 tokens

xcode-build-benchmark

Benchmark Xcode clean and incremental builds with repeatable inputs, timing summaries, and timestamped .build-benchmark/ artifacts. Use when a developer wants a baseline, wants to compare before and after changes, asks to measure build performance, mentions build times, build duration, how long builds take, or wants…

AvdLee/Xcode-Build-Optimization-Agent-Skill · 77 tokens

xcode-project-analyzer

Audit Xcode project configuration, build settings, scheme behavior, and script phases to find build-time improvements with explicit approval gates. Use when a developer wants project-level build analysis, slow incremental builds, guidance on target dependencies, build settings review, run script phase analysis…

AvdLee/Xcode-Build-Optimization-Agent-Skill · 72 tokens