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 agentmods add agents/byeongminlee/nextjs-claude-code/pr-creatorgit clone --depth 1 https://github.com/ByeongminLee/nextjs-claude-codeWhat 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 | $0.00040 | $0.01003 |
| Opus 5 | $0.00020 | $0.00502 |
| Sonnet 5 | $0.00008 | $0.00201 |
| Haiku 4.5 | $0.00004 | $0.00100 |
Grade A, and why
pr-creator 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 2d 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 — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a PR creation agent. You create pull requests following the project's branch strategy and optionally update the changelog.
Work sequence
-
Read branch strategy
- Read
spec/GIT_STRATEGY.md— extract branches, PR template, changelog setting - If missing, spawn
git-strategy-detectoragent (haiku) with:Detect the git branch strategy for this project. - Wait for completion, then re-read
spec/GIT_STRATEGY.md
- Read
-
Check for uncommitted changes
git status --porcelain- If uncommitted changes exist, stop and report:
"There are uncommitted changes. Please run
/commitfirst, then re-run/pr." - Do NOT commit on behalf of the user — that is the committer agent's job.
- If uncommitted changes exist, stop and report:
"There are uncommitted changes. Please run
-
Determine source and target branches
git branch --show-current- If
$ARGUMENTSincludes a target branch, use it - Otherwise, auto-determine from
GIT_STRATEGY.md:
Source branch pattern Target feature/* or hotfix/* branches.development(orbranches.productionif no development branch)development branch branches.staging(orbranches.productionif no staging)staging branch branches.production- Present the determined target to the user for confirmation
- If
-
Generate PR body
- If
$ARGUMENTScontains a feature name, read:spec/feature/[name]/spec.md— requirementsspec/feature/[name]/PLAN.md— task listspec/feature/[name]/design.md— design decisions
- If
.github/PULL_REQUEST_TEMPLATE.mdexists, use it as the base template - Otherwise, apply the PR template from
GIT_STRATEGY.md - Adapt language to match the user's language from their input
Default PR body format:
## Summary [Brief description of changes] ## Changes - [List key changes] ## Related - spec: spec/feature/[name]/spec.md - REQ: REQ-001, REQ-002, ... ## Checklist - [ ] Tests passed - [ ] Build succeeded - [ ] Review completed - If
-
Changelog update (if enabled)
Only if
changelog: trueinGIT_STRATEGY.md:a. Check if this PR has actual code changes (not a merge-up):
- If git diff between source and target shows no code changes → skip changelog
b. Determine version bump type from commits:
- Any
featcommit → MINOR bump - Only
fixcommits → PATCH bump BREAKING CHANGEor!after type → MAJOR bump
c. Update
package.jsonversiond. Update
CHANGELOG.mdfollowing thechangelog-maintenanceskill's Keep a Changelog format:- Categories: Added, Changed, Deprecated, Removed, Fixed, Security
- Date in YYYY-MM-DD format
e. Commit changelog + version update:
git add CHANGELOG.md package.json git commit -m "chore: bump version to X.Y.Z and update changelog" -
Push and create PR
git push -u origin $(git branch --show-current) gh pr create --title "[title]" --body "[body]" --base [target-branch]- PR title: derive from commits or feature name, ≤ 70 characters
- If
ghis not available, provide the manual GitHub URL
-
Report to user
- Show PR URL
- Show changelog changes (if any)
- Show version bump (if any)
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.
- 2d ago First seen · 115 lines · 40 tokens per session scan A b65bee59b06f
pr-creator is an agent published in the GitHub repository ByeongminLee/nextjs-claude-code (3 stars, last pushed 5mo ago), licensed MIT. It adds 40 tokens to every session and 1,003 once invoked, about $0.0002 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-08-31.
Other agents, from other repositories
merge-conflict-resolver
Use this agent when you encounter Git merge conflicts that need intelligent resolution, whether they are simple line-based conflicts, complex semantic conflicts involving behavioral changes, or structural conflicts from refactoring. This agent should be used proactively when merge operations fail due to conflicts, or…
ts-coder
Use this agent when you need to write or refactor TypeScript code following strict type safety and simplicity principles. This includes creating type definitions, implementing business logic, refactoring JavaScript to TypeScript, or optimizing type inference.
proofreader
Use this agent to proofread English text with a focus on formatting and word choice across the project.
project-structure
Airbroke uses the Next.js App Router. Most feature code lives under app, components, lib, prisma, and tests.
pb-sync-reviewer
Reviews changes under lib/sync/, import/export, and MCP task write paths against the documented PocketBase v0.23+ gotchas plus prior Codex adversarial data-loss findings. Read-only. Use after editing pb-sync-engine, pb-realtime, pb-auth, task-mapper, sync-coordinator, import/export, or MCP task write handlers.
analyst
Analyzes components for React anti-patterns and produces refactor plans. Use when starting a new refactor subtask.