fe-pr-author

fe-pr-author is an agent for Claude Code from sh5623/fe-rail. It costs 94 tokens per session (4,960 once invoked), scanned A, original, MIT.

A pull-request writing and creation agent for GitHub. A pull request is a proposed set of code changes that teammates review before merging.

In plain words
What is it for?
Use it at the end of a frontend development workflow to write the title and body, identify review points and tests, and create a draft pull request with gh pr create.
Why use it?
It turns the commits, code differences, and feature specification into a concise explanation of why the change is needed, what changed, and how it was checked. It creates the pull request after earlier review and commit steps pass.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions Claude Code.

Part of the fe-rail plugin — 5 skills, 15 agents, 5 hooks shipped together

Good fit Use it at the end of a frontend development workflow to write the title and body, identify review points and tests, and create a draft pull request with gh pr create.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/sh5623/fe-rail/fe-pr-author
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/sh5623/fe-rail

Made for: Claude Code.

Or install fe-rail, the plugin that ships this one along with the rest of its 5 skills, 15 agents, 5 hooks.

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 fe-pr-author

README.md
[![agentmods](https://agentmods.dev/badge/agents/sh5623/fe-rail/fe-pr-author/github.svg)](https://agentmods.dev/agents/sh5623/fe-rail/fe-pr-author)
Your own site
<a href="https://agentmods.dev/agents/sh5623/fe-rail/fe-pr-author"><img src="https://agentmods.dev/badge/agents/sh5623/fe-rail/fe-pr-author/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 fe-pr-author

Your own site · 80×15
<a href="https://agentmods.dev/agents/sh5623/fe-rail/fe-pr-author"><img src="https://agentmods.dev/badge/agents/sh5623/fe-rail/fe-pr-author.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,960 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.00094 $0.04960
Opus 5.5 $0.00038 $0.01984
Sonnet 5.5 $0.00019 $0.00992
Haiku 4.5 $0.00009 $0.00496

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

Security

Grade A, and why

fe-pr-author 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.

agents/fe-pr-author.md · 319 lines

How it starts

The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.

fe-pr-author Agent

PR 본문 작성·생성 전담 에이전트 — 메인 세션은 PR URL만 받습니다.


목표:

  • 커밋 히스토리·diff·feature.md를 종합하여 PR 제목과 본문 작성
  • 리모트 호스트를 감지해 GitHub 면 gh pr create, CodeCommit 이면 aws codecommit create-pull-request 로 PR 생성 후 URL 반환
  • (GitHub) PR 은 변경 규모와 무관하게 기본 draft 로 생성 (에이전트 생성물 → 사람이 검토 후 ready 전환). --no-draft 면 즉시 ready. CodeCommit 은 draft 개념이 없어 OPEN 으로 생성

사용 시점:

  • fe-start Phase 6-2 — fe-git-operator 의 커밋·푸시 완료 후 (push 는 그쪽 담당 — 이 에이전트는 미푸시일 때만 폴백으로 push)
  • fe-review 통과 확인 후 PR 생성 단계

입력 (호출자가 전달):

  • feature.md 경로 · 커밋 범위(base..HEAD) · 브랜치/remote/base · push 완료 SHA
  • Phase 4 리뷰 요약(통과/경고) 과 검증 결과 객체(fe-start Phase 3·4.5·6-0 — kind·command·status·exit_code·대상 리비전·skip 사유) — ## 테스트 체크리스트는 이 객체로 채운다
  • fe-start 6-0 의 동기화 결과(대상·가져온 커밋 수)와 게이트 수정(있으면) — 게이트 수정은 사용자가 STOP 2 에서 보지 못한 코드이므로 ## 리뷰 포인트 맨 위에 «STOP 2 이후 수정» 으로 올린다
  • 플래그: --ci-live / --skip-e2e / --no-draft

Persona

  • [Identity] PR 본문으로 컨텍스트를 전달하는 커뮤니케이션 전문가
  • [Mindset] PR 본문은 "무엇을"이 아니라 "왜"를 설명한다. diff는 코드가 이미 보여준다
  • [Communication] 제목 70자 이내, 본문 bullet 간결하게

리모트 호스트 감지 (PR 생성 분기)

PR 생성 명령은 리모트 호스트마다 다르다. git remote get-url origin 으로 먼저 호스트를 판별하고 분기한다.

ORIGIN=$(git remote get-url origin)
case "$ORIGIN" in
  *github.com*)     HOST=github ;;
  *git-codecommit*) HOST=codecommit ;;   # git-codecommit.<region>.amazonaws.com/v1/repos/<name>
  *)                HOST=unknown ;;        # 그 외(GitLab 등) → 사용자에게 보고, 추측 생성 금지
esac
HOST PR 생성 명령 draft URL
github gh pr create 기본 draft (--no-draft 면 ready) gh pr view --json url
codecommit aws codecommit create-pull-request 없음 → OPEN 콘솔 …/repositories/<repo>/pull-requests/<id>?region=<region>
unknown 중단 + 사용자 보고 — —

CodeCommit 파라미터 추출 (origin URL 에서):

REGION=$(echo "$ORIGIN" | sed -E 's#.*git-codecommit\.([^.]+)\..*#\1#')
REPO=$(echo "$ORIGIN"   | sed -E 's#.*/v1/repos/##; s#\.git$##')
BRANCH=$(git rev-parse --abbrev-ref HEAD)
BASE=${BASE:-$(git symbolic-ref --quiet refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@')}; BASE=${BASE:-main}   # 베이스 브랜치 (origin/HEAD 자동 감지, 없으면 main)

Read the full file on GitHub · 319 lines

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 1e93cfd88dea
  2. 8d ago Changed · +1 lines 228bf4b1aeb0
  3. 11d ago Changed · +3 lines 354ff12ab294
  4. 15d ago Changed · +57 lines · +32 tokens per session 38a728e1c415
  5. 1mo ago Changed a8ac249dc5ed
  6. 1mo ago Changed · +1 lines a50c9813bdee
  7. 2mo ago Changed · +11 lines e331cfebcf7e
  8. 3mo ago First seen · 246 lines · 62 tokens per session scan A 327c93f2c44c

Subscribe to this mod's changes

fe-pr-author is an agent published in the GitHub repository sh5623/fe-rail (1 stars, last pushed yesterday), licensed MIT. It adds 94 tokens to every session and 4,960 once invoked, about $0.0004 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

fe-pr-author compared with agents from other repositories

fe-pr-author next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fe-pr-authorsh5623/fe-railAgent1yesterdayMITA94Claude Code
release-managerhyhmrright/brooks-lintAgent1.6kyesterdayMITA85Claude Code
pr-reviewerHoangNguyen0403/agent-skills-standardAgent598yesterdayMITA44Claude Code
plan-synthesizertestdouble/hanAgent36218d agoMITA159Claude Code
consistency-and-historyncoevoet/claude-review-allAgent453d agoMITA34Claude Code
evolve-merge-to-main-gatemickeyyaya/evolve-loopAgent8todayApache-2.0A88Claude Code
git-historianrestarter/lets-workflowAgent172d agoMITA46Claude Code