onequery: Skill for Claude Code

.agents/skills/onequery-pr-body/SKILL.md

onequery-pr-body is a skill for Claude Code, Codex from wordbricks/onequery. It costs 17 tokens per session (684 once invoked), scanned A, original, Apache-2.0.

A pull-request editing workflow that updates a GitHub pull request's title and description using the current branch or a specified request.

In plain words
What is it for?
Use it to update one or more pull requests after code changes, while keeping relevant images and other existing information.
Why use it?
It avoids manually finding the matching pull request and writing an incomplete summary. It also helps preserve important existing content while explaining why and what changed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is wordbricks/onequery's own configuration. It tells Claude Code and Codex how to work on onequery itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything onequery configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/wordbricks/onequery/main/.agents/skills/onequery-pr-body/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/wordbricks/onequery

Made for: Claude Code, Codex.

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 onequery-pr-body

README.md
[![agentmods](https://agentmods.dev/badge/skills/wordbricks/onequery/onequery-pr-body/github.svg)](https://agentmods.dev/skills/wordbricks/onequery/onequery-pr-body)
Your own site
<a href="https://agentmods.dev/skills/wordbricks/onequery/onequery-pr-body"><img src="https://agentmods.dev/badge/skills/wordbricks/onequery/onequery-pr-body/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 onequery-pr-body

Your own site · 80×15
<a href="https://agentmods.dev/skills/wordbricks/onequery/onequery-pr-body"><img src="https://agentmods.dev/badge/skills/wordbricks/onequery/onequery-pr-body.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 684 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.00017 $0.00684
Opus 5.5 $0.00007 $0.00274
Sonnet 5.5 $0.00003 $0.00137
Haiku 4.5 $0.00002 $0.00068

Measured 5d ago against content hash f3f926cbfe55, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-01, from the pricing page.

Security

Grade A, and why

onequery-pr-body 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 5d 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.

.agents/skills/onequery-pr-body/SKILL.md · 33 lines

How it starts

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

Determining the PR(s)

When this skill is invoked, the PR(s) to update may be specified explicitly, but in the common case, the PR(s) to update will be inferred from the branch / commit that the user is currently working on. For ordinary Git usage (i.e., not Sapling as discussed below), you may have to use a combination of git branch and gh pr view <branch> --repo wordbricks/onequery --json number --jq '.number' to determine the PR associated with the current branch / commit.

PR Body Contents

When invoked, use gh to edit the pull request body and title to reflect the contents of the specified PR. Make sure to check the existing pull request body to see if there is key information that should be preserved. For example, NEVER remove an image in the existing pull request body, as the author may have no way to recover it if you remove it.

It is critically important to explain why the change is being made. If the current conversation in which this skill is invoked has discussed the motivation, be sure to capture this in the pull request body.

The body should also explain what changed, but this should appear after the why.

Limit discussion to the net change of the commit. It is generally frowned upon to discuss changes that were attempted but later undone in the course of the development of the pull request. When rewriting the pull request body, you may need to eliminate details such as these when they are no longer appropriate / of interest to future readers.

Avoid references to absolute paths on my local disk. When talking about a path that is within the repository, simply use the repo-relative path.

It is generally helpful to discuss how the change was verified. That said, it is unnecessary to mention things that CI checks automatically, e.g., do not include "ran just fmt" as part of the test plan. Though identifying the new tests that were purposely introduced to verify the new behavior introduced by the pull request is often appropriate.

Read the full file on GitHub · 33 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. 5d ago First seen · 33 lines · 17 tokens per session scan A f3f926cbfe55

Subscribe to this mod's changes

onequery-pr-body is a skill published in the GitHub repository wordbricks/onequery (17 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 17 tokens to every session and 684 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-09-25.

Related

Other skills, from other repositories

work

Handle issue/PR work items with worktree isolation. Triggered by "/work [issuelink|description]" to start focused work.

x-cmd/x-cmd · 29 tokens

knowledge-shell-process-and-worktree

Shell and Git worktree support for running commands, managing long-lived processes, and giving sessions isolated working directories. A Git worktree is a separate checkout linked to the same repository.

echoVic/blade-code · 164 tokens

datalad

Retrieve, version, and publish scientific datasets with DataLad and git-annex, and capture computational provenance with datalad run, rerun, and containers-run. Use when cloning or fetching data from OpenNeuro, DANDI, datasets.datalad.org, or any DataLad dataset; when a file in a dataset reads as a broken symlink or a…

synthetic-sciences/openscience · 146 tokens

cf-commit

Smart conventional commit with diff analysis. Triggers: "commit this", "commit my changes", "save my work", "create a commit", "git commit", "stage and commit".

dinhanhthi/coding-friend · 42 tokens

github-auth-recovery

Recover from broken GitHub auth flows when git/gh operations fail. Use when gh is not logged in, HTTPS push/pull asks for credentials or errors like could not read Username, a repo remote is HTTPS but SSH may already work, or when GitHub operations fail and the agent needs a deterministic path to diagnose auth method…

davidtoby/agent-skills · 90 tokens

cf-commit-custom

Run npm run format and stage any formatting changes before proceeding.

dinhanhthi/coding-friend · 0 tokens