release-swift
Skill4.3k starsChanged 5 months agoMITView on GitHub
Cut a release of OpenUsage (Swift menu-bar app): pick a version, generate a categorized changelog, tag from `main`, and publish the GitHub Release with notes. Use to ship an Early Access beta or a stable release.
- Commits and pushes
Trending
Quiet since October.about the whole repository
Who's talking about robinebers/openusage
- A Hacker News story“OpenUsage: Track all your AI usage, in one panel”Hacker News · Apr 30, 2026 · 2 points
- @github-trending-js.bsky.social“📦 robinebers / openusage ⭐ 1,831 (+53) 🗒 JavaScript Burning through your subscriptions too fast? Paying …”Bluesky · Apr 12, 2026 · 1 likes
- @mikestaub2.bsky.social“This is a useful too to track your AI agent usage: github.com/robinebers/o...”Bluesky · Feb 3, 2026 · 1 likes
- XusBadia/altillo“Upstream openusage: cambios en proveedores”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-skills.github.robinebers.openusage: 0.7.12 → 0.7.13”GitHub · Oct 3, 2026
The biggest 5 of 26 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 26
Talked about on GitHub, Bluesky and Hacker News (26 times).
On GitHub · 23
- Oct 5, 2026Upstream openusage: cambios en proveedores — XusBadia/altillo0 reactions
- Oct 3, 2026agent-skills.github.robinebers.openusage: 0.7.12 → 0.7.13 — sudosubin/agents.nix0 reactions
- Oct 3, 2026Z.ai GLM Coding Plan detected but usage resources are empty — LuigiElleBalotta/AIUsage.NET0 reactions
- Oct 1, 2026agent-skills.github.robinebers.openusage: init at 0.7.12 — sudosubin/agents.nix0 reactions
- Sep 26, 2026[quota-watch] 2026-09-26 — Claude'un oauth/usage'ı artık User-Agent'a göre dallanıyor (cedar_ember); Codex refresh token'ının tek kullanımlık olduğu doğrulandı — erayendes/mimir0 reactions
18 more on GitHub
- Sep 24, 2026usage API が 429 を返し続けると、入札も回復待ちの判定も効かなくなり、自動の着手が止まり、走っている run も stall として止められうる — maimuzo/continuo0 reactions · 130 comments
- Sep 19, 2026[quota-watch] 2026-09-19 — Claude CLAUDE_CONFIG_DIR hiç okunmuyor; Codex kendi auth.json'a token yazıyor; yeni bir oauth/profile ucu var — erayendes/mimir0 reactions · 4 comments
- Sep 16, 2026feat(cursor): Cursor card — plan usage by session token — Rast53/usage-board0 reactions · 1 comment
- Sep 13, 2026[P2][RELIABILITY][DOCUMENTATION] Complete or retire the expired Prometheus counter migration — Reese-max/lobsterpulse0 reactions · 2 comments
- Sep 9, 2026feat(muse) - Add muse-code from Meta as provider — janekbaraniewski/openusage0 reactions · 5 comments
- Sep 5, 2026[quota-watch] 2026-09-05 — Antigravity grup-kota alan adları iki bağımsız rakipte doğrulandı; Claude web endpoint'i Cloudflare engeline takılabiliyor — erayendes/mimir0 reactions · 1 comment
- Aug 29, 2026[quota-watch] 2026-08-29 — Codex 5 saatlik pencere Plus için canlıya geçti; Antigravity grup-kota alan adlarında olası uyuşmazlık — erayendes/mimir0 reactions · 3 comments
- Aug 28, 2026feat(providers): add grok quota monitoring — medokin/ReservePane0 reactions
- Aug 26, 2026feat(providers): add OpenCode Go quota monitoring — medokin/ReservePane0 reactions
- Aug 13, 2026Document OpenCode Go Rate limits from GET /zen/go/v1/usage — lidge-jun/opencodex0 reactions · 4 comments
- Aug 10, 2026[quota-watch] 2026-08-10 — Antigravity: olası app/bundle adı değişikliği ve RetrieveUserQuotaSummary'de auth race raporu (düşük güven) — erayendes/mimir0 reactions · 3 comments
- Aug 4, 2026feat(ai): add Cursor personal usage reporting — can1357/oh-my-pi0 reactions
- Jul 13, 2026openusage: 0.6.13 -> 0.7.5, add Br1ght0ne to maintainers — NixOS/nixpkgs0 reactions
- Jun 26, 2026Wire SQLite reader into getSummary() to fix usage accuracy drift (#23 root cause) — ltmoerdani/opencode-copilot-chat0 reactions · 1 comment
- Apr 30, 2026[feature]: Opencode Go without workspace ID and auth cookie — slkiser/opencode-quota0 reactions · 4 comments
- Apr 10, 2026Upstream merge — Rana-Faraz/usage-tray-windows0 reactions · 1 comment
- Apr 7, 2026limit what provider models show up (includes PR) — Rana-Faraz/usage-tray-windows0 reactions · 1 comment
- Apr 5, 2026openusage: init at 0.6.13 — NixOS/nixpkgs0 reactions · 2 comments
On Bluesky · 2
- Apr 12, 2026📦 robinebers / openusage ⭐ 1,831 (+53) 🗒 JavaScript Burning through your subscriptions too fast? Paying for stuff you never use? Stop… — @github-trending-js.bsky.social1 likes and repost
- Feb 3, 2026This is a useful too to track your AI agent usage: github.com/robinebers/o... — @mikestaub2.bsky.social1 likes and repost
On Hacker News · 1
- Apr 30, 2026OpenUsage: Track all your AI usage, in one panel2 points
In this repository29 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/openusage-preview-launch.mdcCursor rule
- appkit-interopSkill
- build-and-run-macos-appSkill
- build-run-debugSkill
- fix-codesign-errorSkill
- liquid-glassSkill
- macos-appkit-interopSkill
- macos-build-run-debugSkill
- macos-liquid-glassSkill
- macos-packaging-notarizationSkill
- macos-signing-entitlementsSkill
- macos-swiftpmSkill
- macos-swiftui-patternsSkill
- macos-telemetrySkill
- macos-test-triageSkill
- macos-view-refactorSkill
- macos-window-managementSkill
- packaging-notarizationSkill
- pricing-updateSkill
- signing-entitlementsSkill
- swiftpm-macosSkill
- swiftui-patternsSkill
- telemetrySkill
- test-macos-appSkill
- test-triageSkill
- view-refactorSkill
- window-managementSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 42
If the API returns null, fall back to the git author name.
- Distinctive: line 48
Wait for explicit approval of the changelog before changing any files.
- Distinctive: line 77
Never leave a release blank.
- Distinctive: line 105
Only include category sections that have entries.
- Distinctive: line 136
Never push or tag automatically — ask the owner first.
- Distinctive: line 137
Always publish notes to the GitHub Release — never blank.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Release Swift
Pushing a v* tag on main runs .github/workflows/release.yml, which builds, signs, notarizes, attaches OpenUsage-<version>.dmg to the GitHub Release, and updates the Sparkle appcast.xml on gh-pages. CI creates the release with an EMPTY body, so this skill generates the changelog, records it in CHANGELOG.md, and publishes the notes onto the release.
Channels
- Beta (Early Access): suffixed tag like
v0.7.1-beta.1. Marked a GitHub pre-release and added to Sparkle'sbetachannel. Only users with Early Access enabled get it; GitHub "Latest" is untouched. - Stable: plain tag like
v0.7.1. Marked non-prerelease, becomes GitHub "Latest", and ships to everyone.
The tag IS the version: v0.7.1-beta.1 becomes CFBundleShortVersionString = 0.7.1-beta.1, and CFBundleVersion is the git commit count. There are no version files to bump.
Cutting a release
1. Choose the version
Next number in the current lane (default bump: patch). Beta builds add a -beta.N suffix. Confirm with the owner before proceeding.
2. Generate the changelog
Collect commits since the previous release in the same channel and categorize each:
- Stable cut: span from the last stable tag to this one (e.g.
v0.7.0...v0.7.1), so the notes roll up the entire beta series plus any post-beta commits. Never start a stable changelog at the last beta — that would omit every beta in the lane. - Beta cut: span from the previous tag (the prior beta, or the last stable if it's the first beta in a lane) to this one.
| Commit prefix | Category |
feat, feature, or starts with "Add" | New Features |
fix or starts with "Fix" | Bug Fixes |
refactor, enhance | Refactor |
chore, style, docs, perf, test, ci, build | Chores |
| Uncategorized | Bug Fixes |
Author attribution (required on every entry):
- With a PR number
(#123):gh pr view 123 --json author -q '.author.login'. - Without a PR number:
gh api /repos/robinebers/openusage/commits/{full_hash} -q '.author.login'. - If the API returns null, fall back to the git author name.
Output the changelog in a code block (template below) for review.
3. Owner approval
Wait for explicit approval of the changelog before changing any files. Accept edits if offered.
4. Record it in CHANGELOG.md
Prepend the approved section right after the # Changelog header. Commit on main:
git switch main && git pull
git add CHANGELOG.md && git commit -m "docs: changelog for v{version}"5. Tag and push
git tag -a v{version} -m "v{version}"
git push origin main
git push origin v{version}6. Publish the notes
CI creates the release with an empty body, so attach the approved notes after it finishes:
gh run watch
gh release view v{version} >/dev/null 2>&1 # confirm CI created the release
gh release edit v{version} --notes-file /tmp/notes-v{version}.mdNever leave a release blank.
7. Verify (never leave a draft)
gh release view v{version} --json isDraft,isPrerelease,assets,body \
--jq '{isDraft, isPrerelease, assets:[.assets[].name], bodyLen:(.body|length)}'
git fetch origin gh-pages && git show origin/gh-pages:appcast.xml | grep -F "OpenUsage-{version}.dmg"
curl -s "https://robinebers.github.io/openusage/appcast.xml" | grep -F "OpenUsage-{version}.dmg"The second check matters: publishing is two hops — Release (or pricing-supplement) pushes appcast.xml to the gh-pages branch, then .github/workflows/deploy-pages.yml on main deploys that branch to the live site (Pages source is "GitHub Actions", not legacy branch deploy). Auto deploy runs on workflow_run after Release completes; GitHub sometimes returns "Deployment failed, try again later" even though gh-pages is already correct. If the branch has the version but the live URL does not after ~10 minutes, check gh run list --workflow=deploy-pages.yml and re-run gh workflow run deploy-pages.yml --ref main (must use main — the workflow file is not on gh-pages). Sparkle clients only see the live URL.
Require isDraft=false, isPrerelease=true for beta or false for stable, an OpenUsage-<version>.dmg asset, bodyLen>0, and the version present in the appcast. If a draft was left behind, migrate its notes/assets onto the published release, then delete it — but only once a separate PUBLISHED release for the tag already exists:
tag="v{version}"
if [ "$(gh release view "$tag" --json isDraft --jq '.isDraft')" = "false" ]; then
gh api repos/robinebers/openusage/releases --paginate \
--jq '.[] | select(.draft and .tag_name=="'"$tag"'") | .id' \
| xargs -I{} gh api -X DELETE repos/robinebers/openusage/releases/{}
else
echo "No published release for $tag yet - publish it first; do NOT delete the draft."
fiChangelog template
Only include category sections that have entries.
## v{version}
### New Features
- {message} ([#{pr}](https://github.com/robinebers/openusage/pull/{pr})) by @{author}
### Bug Fixes
- {message} ([#{pr}](https://github.com/robinebers/openusage/pull/{pr})) by @{author}
### Refactor
- {message} by @{author}
### Chores
- {message} by @{author}
---
### Changelog
**Full Changelog**: [{prev_tag}...v{version}](https://github.com/robinebers/openusage/compare/{prev_tag}...v{version})
- [{short_hash}](https://github.com/robinebers/openusage/commit/{full_hash}) {commit message} by @{author}{prev_tag} is the previous release in the same channel: last stable for a stable cut, last beta (or last stable for the first beta in a lane) for a beta cut.
Rules
- 7-char short commit hashes; tags always prefixed with
v. - Stable changelogs span last-stable → this-stable (roll up the whole beta series); beta changelogs span previous-tag → this-beta.
- Never push or tag automatically — ask the owner first.
- Always publish notes to the GitHub Release — never blank.
- The version is the tag; never edit version files.
- The appcast is append-only: older installs and the other channel's latest build must keep working, so the workflow aborts rather than shrink it.
Release secrets and one-time setup live in the README under Release setup.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

