Borrowing it
Nothing to install: this file belongs to wordbricks/onequery. 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/wordbricks/onequery/main/.agents/skills/gh-pr-writing/SKILL.mdgit clone --depth 1 https://github.com/wordbricks/onequeryWrote 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/skills/wordbricks/onequery/gh-pr-writing)<a href="https://agentmods.dev/skills/wordbricks/onequery/gh-pr-writing"><img src="https://agentmods.dev/badge/skills/wordbricks/onequery/gh-pr-writing/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/skills/wordbricks/onequery/gh-pr-writing"><img src="https://agentmods.dev/badge/skills/wordbricks/onequery/gh-pr-writing.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.00057 | $0.00575 |
| Opus 5.5 | $0.00023 | $0.00230 |
| Sonnet 5.5 | $0.00011 | $0.00115 |
| Haiku 4.5 | $0.00006 | $0.00057 |
Grade A, and why
gh-pr-writing 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 — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
GH PR Writing
Workflow
- Inspect changed files (
git show --name-only --oneline HEADorgit diff --name-only). - Choose title type and scope from the mapping below.
- Build title in Conventional Commit PR style.
- Run
bun run formatmanually before commit/push to avoid push-time formatter diffs. - Load PR template from
.github/pull_request_template.mdwhen present. - Fill the template with concrete user-facing behavior, implementation details, and executed validation commands.
- Create or update the PR using
gh pr createorgh pr edit.
Title Rules
- Format:
<type>(<scope>): <summary>. - Keep summary imperative and specific.
- Do not omit scope unless scope is truly cross-cutting.
- If user requires a ticket marker at the end, append exactly as requested (for example
... WOR-2610).
Type And Scope Mapping
See the following example:
feat(web):for user-visible frontend behavior inapps/dashboard,packages/ui, routing/UI/UX changes.fix(web):for frontend bug fixes.feat(server):for backend/API behavior changes inpackages/server.fix(server):for backend/API bug fixes.feat(db):orfix(db):for schema/query/migration behavior inpackages/db.chore(repo):for tooling/config/lockfile/CI/repo maintenance.refactor(<scope>):for structural code changes without behavior change.test(<scope>):for test-only changes.docs(<scope>):for documentation-only changes.- ...
When multiple scopes are touched, choose the dominant user impact scope.
PR Body Rules
- Use the repository PR template verbatim section structure when it exists.
- Prefer concrete, observable outcomes over abstract summaries.
- Include exact command lines used for validation.
- Explicitly note excluded items (for example: "README unchanged") when relevant.
Commands
# Inspect latest commit
git show --name-only --oneline HEAD
# Format before push
bun run format
# Create PR from template body file
gh pr create --base main --head <branch> --title "<title>" --body-file <body.md>
# Update title/body later
gh pr edit <pr-number-or-url> --title "<title>" --body-file <body.md>
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 63 lines · 57 tokens per session scan A 3ad7b1f688ce
gh-pr-writing is a skill published in the GitHub repository wordbricks/onequery (16 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 575 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-09-25.
gh-pr-writing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| gh-pr-writingwordbricks/onequery | Skill | 16 | 4mo ago | Apache-2.0 | A | 57 | Codex |
| officecli-pitch-deckiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 163 | Claude Code, Codex |
| morph-pptiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 169 | Claude Code, Codex |
| officecli-academic-paperiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 141 | Claude Code, Codex |
| officecli-pptxiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 106 | Claude Code, Codex |
| officecliiOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 56 | Claude Code, Codex |
| morph-ppt-3diOfficeAI/OfficeCLI | Skill | 34k | 10d ago | Apache-2.0 | A | 37 | Claude Code, Codex |