FlowSubmitNWatchPR

FlowSubmitNWatchPR is an agent for Claude Code from jpoley/flowspec. It costs 30 tokens per session (592 once invoked), scanned A, original, Apache-2.0.

A pull-request workflow that submits a branch, watches automated checks and Copilot review comments, and fixes reported problems until the change is ready for approval. Automated checks are tests or other jobs run by the repository after a change is submitted.

In plain words
What is it for?
Use it to push a branch, create a pull request, monitor CI and review feedback, address issues, and repeat validation.
Why use it?
It keeps track of review and CI results after submission instead of stopping when the pull request is created. CI, or continuous integration, automatically builds and tests proposed changes.

Agent for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the flowspec plugin — 20 skills, 100 commands, 11 agents, 4 hooks, 9 MCP servers shipped together

Good fit Use it to push a branch, create a pull request, monitor CI and review feedback, address issues, and repeat validation.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jpoley/flowspec/flow.submit-n-watch-pr
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.

Clone the repo
git clone --depth 1 https://github.com/jpoley/flowspec

Made for: Claude Code.

Or install flowspec, the plugin that ships this one along with the rest of its 20 skills, 100 commands, 11 agents, 4 hooks, 9 MCP servers.

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 FlowSubmitNWatchPR

README.md
[![agentmods](https://agentmods.dev/badge/agents/jpoley/flowspec/flow.submit-n-watch-pr/github.svg)](https://agentmods.dev/agents/jpoley/flowspec/flow.submit-n-watch-pr)
Your own site
<a href="https://agentmods.dev/agents/jpoley/flowspec/flow.submit-n-watch-pr"><img src="https://agentmods.dev/badge/agents/jpoley/flowspec/flow.submit-n-watch-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.

agentmods 80×15 button for FlowSubmitNWatchPR

Your own site · 80×15
<a href="https://agentmods.dev/agents/jpoley/flowspec/flow.submit-n-watch-pr"><img src="https://agentmods.dev/badge/agents/jpoley/flowspec/flow.submit-n-watch-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 592 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.00030 $0.00592
Opus 5.5 $0.00012 $0.00237
Sonnet 5.5 $0.00006 $0.00118
Haiku 4.5 $0.00003 $0.00059

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

Security

Grade A, and why

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

.github/agents/flow.submit-n-watch-pr.agent.md · 102 lines

What it actually says

/flow:submit-n-watch-pr - Autonomous PR Management

Submit a PR and autonomously monitor CI checks and code review feedback until approval-ready.

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Critical Success Criteria

Your PR is ONLY ready for merge when you see BOTH:

  1. All CI checks pass (green checkmarks)
  2. Zero Copilot review comments or all addressed

Instructions

Prerequisites:

  1. Run /flow:validate first to ensure quality
  2. All local tests pass
  3. Branch is rebased from main

Workflow:

Step 1: Pre-Submit Validation

# Verify branch is up to date
git fetch origin main
git rebase origin/main

# Run final validation
uv run ruff check .
uv run pytest tests/ -x -q

Step 2: Create PR

# Push branch
git push origin $(git branch --show-current)

# Create PR with proper description
gh pr create \
  --title "feat(scope): description" \
  --body "## Summary\n- Change 1\n- Change 2\n\n## Test Plan\n- [ ] Test 1\n- [ ] Test 2"

Step 3: Monitor and Iterate

  1. Wait for CI checks to complete
  2. Check for Copilot review comments: gh pr view --comments
  3. If issues found:
    • Fix the issues locally
    • Push updates: git push
    • Wait for re-check
  4. Repeat until all checks pass and no comments remain

Step 4: Request Review

# When ready, request human review
gh pr ready
gh pr edit --add-reviewer <reviewer>

Key Commands:

# Check PR status
gh pr status
gh pr checks

# View review comments
gh pr view --comments

# Update PR after fixes
git add .
git commit --amend --no-edit
git push --force-with-lease

Exit Conditions:

  • All CI checks green
  • Zero unresolved Copilot comments
  • PR marked ready for review
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 · 102 lines · 30 tokens per session scan A 47a3e5830a65

Subscribe to this mod's changes

FlowSubmitNWatchPR is an agent published in the GitHub repository jpoley/flowspec (50 stars, last pushed 6d ago), licensed Apache-2.0. It adds 30 tokens to every session and 592 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-10-09.

Related

Other agents, from other repositories

release-validator

Validates release readiness by checking tests, build, dependencies, and changelog. Use before creating a release.

rlajous/claude-code-commands · 25 tokens

pr-creator

Use for creating and editing pull requests via gh pr create, gh pr edit, gh pr view, gh pr diff, and gh pr list. Does NOT merge or mark ready (use pr-merger for that). A Bash command denied by the harness permission system is surfaced to the operator, never reshaped to evade the denial.

axiomantic/spellbook · 75 tokens

consistency-and-history

Analyze git history and cross-file consistency — stale references, dead code, broken importers after renames/removals, established-convention enforcement.

ncoevoet/claude-review-all · 34 tokens

author-code-review

Fetches open PRs, reads review comments (including CoderabbitAI), identifies actionable code changes, implements fixes, and pushes commits.

openshift-online/gcp-hcp · 32 tokens

sealer

The one broad run. Spawn after the review rounds settle and before the draft pull request is marked ready: it runs the repository's broad command and the plugin's own checks through broad-gate, reports what they said, and writes the last round record's Broad gate cell. It judges nothing.

MichaelYcJo/SpecSeal · 69 tokens

engineer

Use this agent for code exploration, architecture design, refactoring analysis, git operations, and code review. Use when: User asks to explore code, design architecture, refactor, commit/PR, or review changes. Do NOT use when: User needs test generation (use qa-engineer), security audit (use security-scanner), or…

Zate/cc-plugins · 174 tokens