promote

promote is a skill for Claude Code from Kevin-Liu-01/Agent-Machines. It costs 15 tokens per session (356 once invoked), scanned A, original, MIT.

A workflow for promoting changes from a development Git branch to a preview branch by creating a changelog-style pull request.

In plain words
What is it for?
Use it to fetch branch changes, generate the pull-request description, create a promotion branch, or preview the result with a dry run.
Why use it?
It organizes branch promotion and keeps the preview branch in sync without manually assembling the pull request.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to fetch branch changes, generate the pull-request description, create a promotion branch, or preview the result with a dry run.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kevin-liu-01/agent-machines/promote
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.

Any agent
npx skills add Kevin-Liu-01/Agent-Machines --skill promote
Clone the repo
git clone --depth 1 https://github.com/Kevin-Liu-01/Agent-Machines

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 promote

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kevin-liu-01/agent-machines/promote"><img src="https://agentmods.dev/badge/skills/kevin-liu-01/agent-machines/promote.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 356 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00015 $0.00356
Opus 5 $0.00008 $0.00178
Sonnet 5 $0.00003 $0.00071
Haiku 4.5 $0.00002 $0.00036

Measured 7d ago against content hash 1ecc01965af3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

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

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.

knowledge/skills/promote/SKILL.md · 37 lines

What it actually says

Context (auto-detected)

  • Commits to promote: !git log --oneline upstream/preview..upstream/dev 2>/dev/null || echo "(run git fetch upstream first)"

Script

${CLAUDE_SKILL_DIR}/scripts/promote.ts handles everything: fetch, changelog generation, and PR creation. It opens the PR from a generated promote/<from>-to-<to> branch so preview lockfile sync can commit generated lockfiles without pushing directly to dev.

Flags:

  • --from <branch> source branch (default: dev)
  • --to <branch> target branch (default: preview)
  • --remote <name> git remote (default: upstream)
  • --promote-branch <branch> generated PR branch override
  • --dry-run print the PR body to stdout without creating the PR

Note: This skill is ONLY for dev -> preview. Promoting preview -> main is handled by a fast-forward push (pnpm ship prod) after release-please runs on preview.

Task

Run the script. Pass through any flags from $ARGUMENTS.

node --experimental-strip-types ${CLAUDE_SKILL_DIR}/scripts/promote.ts $ARGUMENTS

If the script exits non-zero, report the error to the user and stop. Otherwise, print the PR URL it outputs.

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 First seen · 37 lines · 15 tokens per session scan A 1ecc01965af3

Subscribe to this mod's changes

promote is a skill published in the GitHub repository Kevin-Liu-01/Agent-Machines (29 stars, last pushed yesterday), licensed MIT. It adds 15 tokens to every session and 356 once invoked, about $0.0001 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-09-03.

Related

Other skills, from other repositories

release-and-publish

Ship a release end-to-end across every registry the project targets (npm, MCP Registry, GitHub Releases for .mcpb bundles, GHCR). Runs the final verification gate, fast-forwards main when the release rode a release PR, creates the annotated tag on the commit main now points at, pushes commits and tags, then publishes…

cyanheads/obsidian-mcp-server · 155 tokens

git-wrapup

Land working-tree changes as logical commits — the work grouped by concern, topped by a release commit (version bump, changelog, regenerated artifacts). Verify, commit. Stops at "committed locally on main" — or, when the project releases through a release PR, at "release branch pushed, PR open". No tag, no push to…

cyanheads/obsidian-mcp-server · 104 tokens

release-pr-review

Review pass on an open release PR (release/ → main) — the step between git-wrapup and release-and-publish when a project releases in gated release PR mode. Reads the PR's commit range through the code-simplifier lens plus a correctness review, verifies whatever an automated reviewer left on the PR, lands fixes as…

cyanheads/obsidian-mcp-server · 139 tokens

polish-docs-meta

Finalize documentation and project metadata for a ship-ready release. Use after implementation is complete, tests pass, and devcheck is clean. Safe to run at any stage — each step checks current state and only acts on what still needs work.

cyanheads/git-mcp-server · 53 tokens

studio-source-control

Drive a scoped application's linked git repository from the instance — what has to be true before Source Control works at all, the commit-then-push order, stashes and branches over /api/snsourcecontrol, and when this replaces update sets rather than sitting next to them.

serac-labs/serac · 59 tokens

update-set-workflow

Manage ServiceNow update sets — create named sets before any development, ensure autoswitch tracks API changes under the OAuth service account, complete on done, and export for promotion. Mandatory for all change-producing work.

serac-labs/serac · 46 tokens