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.5 $0.00006 $0.00142
Sonnet 5.5 $0.00003 $0.00071
Haiku 4.5 $0.00002 $0.00036

Measured 2mo ago against content hash 1ecc01965af3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 2mo 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. 2mo 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 15d ago), licensed MIT. It adds 15 tokens to every session and 356 once invoked, about $0.0001 per session on Opus 5.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

promote compared with skills from other repositories

promote next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
promoteKevin-Liu-01/Agent-MachinesSkill2915d agoMITA15Claude Code
release-and-publishcyanheads/obsidian-mcp-serverSkill7026d agoApache-2.0A155Claude Code
release-pr-reviewcyanheads/obsidian-mcp-serverSkill7026d agoApache-2.0A136Claude Code
bob-exportvmihalis/hacker-bobSkill10113d agoApache-2.0A18Claude Code, Codex
studio-source-controlserac-labs/seracSkill7717d agoApache-2.0A59Claude Code
update-set-workflowserac-labs/seracSkill7717d agoApache-2.0A46Claude Code
make-releasejavded-itres/HolixSkill202d agoMITA77Claude Code, Codex