NewsBlur is a personal RSS news reader and social network that displays stories, the original sites they come from, and tools for filtering and discussing them. Readers use it to follow subscriptions, train story preferences, search and tag articles, share reading, and optionally self-host the service. The catalogue entries provide commands, skills, instructions, hooks, and settings for working with the NewsBlur project.
Borrowing it
Nothing to install: this file belongs to samuelclay/NewsBlur. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/samuelclay/NewsBlur/main/.claude/commands/commit-update-pr.mdgit clone --depth 1 https://github.com/samuelclay/NewsBlurWrote 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/commands/samuelclay/newsblur/commit-update-pr)<a href="https://agentmods.dev/commands/samuelclay/newsblur/commit-update-pr"><img src="https://agentmods.dev/badge/commands/samuelclay/newsblur/commit-update-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/commands/samuelclay/newsblur/commit-update-pr"><img src="https://agentmods.dev/badge/commands/samuelclay/newsblur/commit-update-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.00016 | $0.01046 |
| Opus 5.5 | $0.00006 | $0.00418 |
| Sonnet 5.5 | $0.00003 | $0.00209 |
| Haiku 4.5 | $0.00002 | $0.00105 |
Grade A, and why
commit-update-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 2mo 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 — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Your task
Commit all staged/unstaged changes, push to remote, create or update the PR, then watch CI until it finishes and fix any failures.
Arguments provided: {{ arguments }}
Steps to execute
-
Check git status to see what changes exist:
git status git diff --stat git diff --staged --stat -
Check for existing PR for the current branch:
gh pr view --json number,title,url,state 2>/dev/null- If a PR exists and is OPEN, note its URL and number - we'll update it
- If no PR exists or it's closed/merged, we'll create a new one
-
Stage all changes (if there are unstaged changes):
git add -A -
Create the commit following the commit message conventions:
- Run
git log --oneline -5to see recent commit style - Run
git diff --stagedto understand the changes - Write a concise commit message summarizing the changes
- Use the format:
git commit -m "$(cat <<'EOF' <commit message here> Co-Authored-By: Claude Opus 4.5 <[email protected]> EOF )"
- Run
-
Push to remote:
git push -u origin HEAD -
Create or update the PR:
If a PR already exists:
- The push already updated the PR
- Note: "Updated existing PR: "
If no PR exists:
- Create a new PR:
gh pr create --title "<title>" --body "$(cat <<'EOF' ## Summary <1-3 bullet points summarizing the changes> ## Test plan - [ ] <testing checklist items> --- Generated with [Claude Code](https://claude.com/claude-code) EOF )"
-
Watch CI and auto-fix failures — do NOT stop after pushing. Monitor the PR's checks until every check has a terminal status (pass, fail, skipped, cancelled), and fix any failures before handing back to the user.
a. Poll for status. After pushing, wait ~30s for CI to register, then:
gh pr checks <PR_NUMBER>The first column is the check name, the second is status (
pending,pass,fail,skipping,cancelled). Re-run this periodically. Do not chainsleepcommands to wait — preferrun_in_backgroundso you don't block, and poll by callinggh pr checksagain on a reasonable cadence (30–60s). Keep going until no check showspending.
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.
- 2mo ago First seen · 102 lines · 16 tokens per session scan A e981e0f7d7e7
commit-update-pr is a command published in the GitHub repository samuelclay/NewsBlur (7,680 stars, last pushed yesterday), licensed MIT. It adds 16 tokens to every session and 1,046 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-08-30.
commit-update-pr compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| commit-update-prsamuelclay/NewsBlur | Command | 7.7k | yesterday | MIT | A | 16 | Claude Code |
| review-diffChatbotXIO/ChatbotX | Command | 1.1k | today | none | A | 26 | Claude Code |
| review-fixesChatbotXIO/ChatbotX | Command | 1.1k | today | none | A | 19 | Claude Code |
| copilotkelvinkosbab/AppBootstrapAI | Command | 8 | today | MIT | A | 19 | Claude Code |
| audit-claudekelvinkosbab/AppBootstrapAI | Command | 8 | today | MIT | A | 27 | Claude Code |
| audit-copilotkelvinkosbab/AppBootstrapAI | Command | 8 | today | MIT | A | 27 | Claude Code |
| claudekelvinkosbab/AppBootstrapAI | Command | 8 | today | MIT | A | 19 | Claude Code |