push-and-watch

push-and-watch is a skill for Claude Code, Codex from paultyng/skill-issue. It costs 49 tokens per session (539 once invoked), scanned A, original, MIT.

A workflow for sending local Git commits to a remote repository, ensuring a draft pull request exists, and watching its automated checks. A pull request is a proposed change for review before it is merged.

In plain words
What is it for?
Use it when you want to push a branch, open or confirm a draft pull request, monitor GitHub Actions, and report the final check results.
Why use it?
It combines pushing code, creating a review request when needed, and checking whether the build and tests finish successfully. It stops when the repository is not ready to push or the push fails.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit Use it when you want to push a branch, open or confirm a draft pull request, monitor GitHub Actions, and report the final check results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/paultyng/skill-issue/push-and-watch
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 paultyng/skill-issue --skill push-and-watch
Clone the repo
git clone --depth 1 https://github.com/paultyng/skill-issue

Made for: Claude Code, Codex.

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 push-and-watch

README.md
[![agentmods](https://agentmods.dev/badge/skills/paultyng/skill-issue/push-and-watch/github.svg)](https://agentmods.dev/skills/paultyng/skill-issue/push-and-watch)
Your own site
<a href="https://agentmods.dev/skills/paultyng/skill-issue/push-and-watch"><img src="https://agentmods.dev/badge/skills/paultyng/skill-issue/push-and-watch/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 push-and-watch

Your own site · 80×15
<a href="https://agentmods.dev/skills/paultyng/skill-issue/push-and-watch"><img src="https://agentmods.dev/badge/skills/paultyng/skill-issue/push-and-watch.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 539 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.
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.00049 $0.00539
Opus 5.5 $0.00020 $0.00216
Sonnet 5.5 $0.00010 $0.00108
Haiku 4.5 $0.00005 $0.00054

Measured today against content hash 52e1909acd7b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

push-and-watch 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 today.

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.

skills/push-and-watch/SKILL.md · 61 lines

What it actually says

Push and Watch

Push local commits to the remote and monitor the CI run until completion.

1. Pre-flight Checks

  • Verify the working tree is clean (git status). If there are uncommitted changes, stop and ask.
  • Verify there are local commits ahead of the remote (git status should show "Your branch is ahead"). If not, report "nothing to push" and stop.

2. Push

git push -u origin HEAD

If the push fails (e.g. rejected, no access), stop and report the error.

3. Ensure Pull Request Exists

Skip this step if on main or master.

Check whether a PR already exists for the current branch:

gh pr view --json url 2>/dev/null

If no PR exists, run create-pr. It fills the repo's PR template and asks for approval before it creates the draft. Do not use gh pr create --fill, which skips the template.

Report the PR URL.

4. Wait for Run

Wait a few seconds for CI to pick up the push, then list runs for the current branch:

gh run list --branch $(git branch --show-current) --limit 1 --json databaseId,status,name,url

If no run appears after 30 seconds of polling, report and stop.

5. Watch

Use gh run watch <run_id> --exit-status to stream the run status until completion.

6. Report

After the run completes, report:

  • Status: passed or failed, with the run URL
  • Review: the line from ~/.claude/scripts/review-status.sh (Review: current | stale | none, matched to the pushed head SHA). Informational only; do not run /review-all from here.
  • Jobs: list each job with its status and duration
  • Failures: if any job failed, fetch its logs with gh run view <run_id> --log-failed and include the relevant error output (truncated to the last 50 lines per failed job)

If the run passed, report success concisely. If it failed, include enough log context to diagnose the failure.

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. today Changed · +1 lines 52e1909acd7b
  2. 6d ago Changed · -4 lines ab15e5e85ddd
  3. 7d ago Changed 53895fd3022a
  4. 3mo ago First seen · 64 lines · 49 tokens per session scan A 5c106d1d0625

Subscribe to this mod's changes

push-and-watch is a skill published in the GitHub repository paultyng/skill-issue (8 stars, last pushed today), licensed MIT. It adds 49 tokens to every session and 539 once invoked, about $0.0002 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-08-31.

Related

push-and-watch compared with skills from other repositories

push-and-watch next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
push-and-watchpaultyng/skill-issueSkill8todayMITA49Claude Code, Codex
chinese-git-workflowjnMetaCode/superpowers-zhSkill8.6ktodayMITA69Claude Code
gitlab-mcp-skillzereight/gitlab-mcpSkill2.1ktodayMITA53Claude Code, Codex
turborepo-cachingwshobson/agentsSkill43k2d agoMITC42Claude Code
oma-dev-workflowfirst-fluke/oh-my-agentSkill1.5ktodayMITA29Claude Code, Codex
releasing-prodPrismer-AI/PrismerCloudSkill1.4k1mo agoMITA74Claude Code, Codex
renovatenitinjain999/platform-skillsSkill742d agoApache-2.0A42Claude Code