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.
npx skills add tomzx/agents --skill deploy-prgit clone --depth 1 https://github.com/tomzx/agentsWrote 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.
[](https://agentmods.dev/skills/tomzx/agents/deploy-pr)<a href="https://agentmods.dev/skills/tomzx/agents/deploy-pr"><img src="https://agentmods.dev/badge/skills/tomzx/agents/deploy-pr/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.
<a href="https://agentmods.dev/skills/tomzx/agents/deploy-pr"><img src="https://agentmods.dev/badge/skills/tomzx/agents/deploy-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00021 | $0.01137 |
| Opus 5.5 | $0.00008 | $0.00455 |
| Sonnet 5.5 | $0.00004 | $0.00227 |
| Haiku 4.5 | $0.00002 | $0.00114 |
Grade A, and why
deploy-pr 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 22d 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.
How it starts
The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Deploy PR
Deploys a merged pull request to the target environment, runs smoke tests to verify the deployment, and confirms a rollback plan exists. Covers the step between merging code and having it running in production.
Prerequisites
- Apply the shared SDLC conventions in
skills/sdlc/references/shared.md. - If no argument is provided, target the pull request from
$PR_NUMBER(and$REPO). ghCLI authenticated with write access to the target repository- A merged PR number or merge SHA provided as
$1 - Deployment tooling available (CI/CD pipeline, container registry, or manual deployment scripts)
- Read any files present under
.sdlc/context/for project-level context, especiallyarchitecture.mdfor deployment topology
Workflow
Fetch merged PR details ($1)
|
v
Identify target environment
|
v
Confirm rollback plan exists
/ \
Yes No
| |
v v
Execute Document rollback
deployment procedure first,
| then proceed
v
Run smoke tests
/ \
Pass Fail
| |
v v
Verify Execute rollback
health Report failure
| |
v v
Report Stop, investigate
success
Steps
-
Fetch the merged PR details:
gh pr view $1 --json title,body,mergeCommit,headRefName,closingIssuesReferences -
Identify the target environment(s) from the PR labels, branch name, or project configuration. Common targets:
stagingfor non-production validationproductionfor user-facing releases- Feature-specific environments (e.g.,
preview,canary) If uncertain, ask the user which environment to deploy to.
-
Check for a rollback plan. Look for:
- A documented rollback procedure in the PR description or
.sdlc/artifacts - Previous deployment version or tag to roll back to
- Database migration rollback if applicable If no rollback plan exists, document one before proceeding.
- A documented rollback procedure in the PR description or
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.
- 22d ago Changed · +3 lines 32c64eaf2b29
- 24d ago Changed a4533c54e933
- 1mo ago First seen · 153 lines · 21 tokens per session scan A e23f63c8e638
deploy-pr is a skill published in the GitHub repository tomzx/agents (13 stars, last pushed yesterday), licensed MIT. It adds 21 tokens to every session and 1,137 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.
Other skills, from other repositories
github-release-management
Comprehensive GitHub release orchestration with AI swarm coordination for automated versioning, testing, deployment, and rollback management.
agent-github-modes
Agent skill for github-modes - invoke with $agent-github-modes.
xberg-release
Xberg release on top of the shared release-workflow: mise run version:sync to bindings and chart, CI/Publish/Benchmarks readiness. Use before a release.
factory-ship
Experimental workflow for publishing and completing configured software delivery work. Use when the user or an enabled factory policy asks to ship.
releasepr
Adopt, configure, run, or troubleshoot compozy/releasepr in a consuming repository, including Actions, beta/stable/legacy plans, notes, dry-runs, and publication. Excludes pr-release internals and general versioning advice.
gitlab-devops
GitLab DevOps operations — issues, merge requests, CI/CD pipelines, repository browsing, labels, milestones, releases, and wiki management. Use when querying GitLab project status, monitoring pipeline executions, browsing repository files, creating issues for network findings, opening merge requests for config…