agent-sessions: Skill for Claude Code

.claude/skills/deploy/SKILL.md

deploy is a skill for Claude Code from jazzyalex/agent-sessions. It costs 37 tokens per session (3,773 once invoked), scanned B, original, MIT.

A release procedure for Agent Sessions, covering version changes, testing, building, signing, notarizing, publishing update information, and creating a GitHub release.

In plain words
What is it for?
Run the release QA checks and deploy a signed and notarized Agent Sessions build with its changelog, appcast, and GitHub release.
Why use it?
It defines the checks and order of work required before shipping a release. It also prevents deployment from an unclean local repository.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is jazzyalex/agent-sessions's own configuration. It tells Claude Code how to work on agent-sessions 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 agent-sessions configures →

Reuse

Borrowing it

Nothing to install: this file belongs to jazzyalex/agent-sessions. 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/jazzyalex/agent-sessions/main/.claude/skills/deploy/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/jazzyalex/agent-sessions

Made for: Claude Code.

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 deploy

README.md
[![agentmods](https://agentmods.dev/badge/skills/jazzyalex/agent-sessions/deploy/github.svg)](https://agentmods.dev/skills/jazzyalex/agent-sessions/deploy)
Your own site
<a href="https://agentmods.dev/skills/jazzyalex/agent-sessions/deploy"><img src="https://agentmods.dev/badge/skills/jazzyalex/agent-sessions/deploy/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 deploy

Your own site · 80×15
<a href="https://agentmods.dev/skills/jazzyalex/agent-sessions/deploy"><img src="https://agentmods.dev/badge/skills/jazzyalex/agent-sessions/deploy.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,773 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00037 $0.03773
Opus 5.5 $0.00015 $0.01509
Sonnet 5.5 $0.00007 $0.00755
Haiku 4.5 $0.00004 $0.00377

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

Security

Grade B, and why

deploy scanned grade B 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 7d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

nothing is lost. Try `sudo -n killall fseventsd` first. When that fails (no cached sudo),
.claude/skills/deploy/SKILL.md · 246 lines

How it starts

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

Deployment Skill (Agent Sessions)

This skill is an agent-facing entrypoint that avoids duplicating the deployment runbook.

Canonical Sources (Single Source of Truth)

  • Runbook: docs/deployment.md
  • Unified tool: tools/release/deploy (see tools/release/deploy --help)
  • Recommended pre-release QA checklist: docs/release/pre-release-qa.md

If anything here disagrees with the runbook, follow docs/deployment.md.

Workspace Policy (Hard Rule)

  • Always run deployment from the user's current local repository checkout.
  • Do not clone to temporary directories and do not switch to alternate worktrees as a deployment workaround.
  • If the local worktree is dirty, stop and tell the user to clean the tree first (commit, stash, or discard), then continue in the same local repo.

Resource Preflight (Before QA, Bump, and Release)

Heavy steps (QA test runs, the Release build, notarization) crawl when the Mac is out of memory. During 6.0 the Release build ran 20+ minutes at 15% CPU because swap was nearly full. The cause was fseventsd, a macOS daemon holding 21 GB (20 GB compressed). The machine reported "31% free" and ps RSS showed every process small, so both looked healthy. Run this check before each heavy step, and again if a Release build passes 12 minutes:

sysctl -n vm.swapusage                                    # swap used / total
top -l 1 -o mem -n 8 -stats pid,command,mem,cmprs         # MEM includes compressed memory
df -h / | tail -1                                         # free disk
du -sh ~/Library/Developer/Xcode/DerivedData .deriveddata-* 2>/dev/null

Use top, not ps: RSS hides compressed and swapped memory, which is where the problem was. Do not trust memory_pressure's "free percentage" either.

Act on what you find:

  • Swap above half of its total, or any process above 8 GB in top MEM — fix before the heavy step. If the process is fseventsd, restart it: launchd respawns it at once, and nothing is lost. Try sudo -n killall fseventsd first. When that fails (no cached sudo), stop and give the user that command without -n to run in Terminal, then re-check. Never kill other system daemons. For user apps (Chrome, other Claude sessions, test runners), name the biggest ones and ask the user to quit them; do not kill them yourself.
  • Free disk under 20 GB, or the DerivedData folders above 10 GB together — recommend deleting the repo's .deriveddata-* folders and ~/Library/Developer/Xcode/DerivedData. They are build caches and regenerate. Delete them only when the user agrees, and never while a build is running.
  • Otherwise continue. Report the swap and top-memory numbers in one line.

Read the full file on GitHub · 246 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. 7d ago Changed · +32 lines scan A → B e7bc5603b925
  2. 13d ago Changed · +5 lines 9b8edd6f4a7b
  3. 1mo ago Changed · +46 lines 2df43a774c12
  4. 1mo ago First seen · 163 lines · 37 tokens per session scan A 0cf4e54dca5a

Subscribe to this mod's changes

deploy is a skill published in the GitHub repository jazzyalex/agent-sessions (919 stars, last pushed today), licensed MIT. It adds 37 tokens to every session and 3,773 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.